LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-04-2005, 09:45 AM   #1
DaveQB
Member
 
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: Debian, Ubuntu
Posts: 400

Rep: Reputation: 39
USB mp3 player configuration


I have a 256 MB mp3 player that works "out of the box" in Mandrake (same system). In Kubuntu it intially didnt work as use-storage wasnt loaded. So i modprobed that and then plugged in and got this error

Code:
eth0: no IPv6 routers present
mtrr: 0x40000000,0x800000 overlaps existing 0x40000000,0x400000
mtrr: 0x40000000,0x800000 overlaps existing 0x40000000,0x400000
SCSI subsystem initialized
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb 1-1: new full speed USB device using uhci_hcd and address 2
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
  Vendor: Generic   Model: SND1 MP3 Player   Rev: 0.00
  Type:   Direct-Access                      ANSI SCSI revision: 00
usb-storage: device scan complete
SCSI device sda: 512000 512-byte hdwr sectors (262 MB)
sda: Write Protect is on
sda: Mode Sense: 1b 00 80 00
sda: assuming drive cache: write through
SCSI device sda: 512000 512-byte hdwr sectors (262 MB)
sda: Write Protect is on
sda: Mode Sense: 1b 00 80 00
sda: assuming drive cache: write through
 /dev/scsi/host0/bus0/target0/lun0:SCSI error : <0 0 0 0> return code = 0x10070000
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
SCSI error : <0 0 0 0> return code = 0x10070000
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
 unable to read partition table
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI error : <0 0 0 0> return code = 0x10070000
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
SCSI error : <0 0 0 0> return code = 0x10070000
end_request: I/O error, dev sda, sector 8
Buffer I/O error on device sda, logical block 1
SCSI error : <0 0 0 0> return code = 0x10070000
end_request: I/O error, dev sda, sector 16
And that continues on for several more lines there.

It, of course, never gets mounted and even fdisk -l doesnt display it on the system.

Its probably not a Kubuntu only problem, but as it works fine in Mandriva i thought i would start here.

Thanx
 
Old 05-04-2005, 12:12 PM   #2
webterractive
Member
 
Registered: Apr 2004
Location: Richmond, Canada
Distribution: Mandriva 2006/XPSP2
Posts: 265

Rep: Reputation: 30
try to use mount /dev/sda or /dev/sda2 to load it, if it didn't load automatically. Make sure they are connected well. If that fails then try to refresh hotplug sudo /etc/init.d/hotplug restart. And if that fails then reboot your computer and leaving the mp3 player plugged in and let hotplug make an entry for it and find it at the boot. That used to be the workaround for ubuntu 4.10 for me and my ipod mini without having to redo a new kernel to disable one option.

Last edited by webterractive; 05-04-2005 at 01:09 PM.
 
Old 05-05-2005, 09:19 AM   #3
DaveQB
Member
 
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: Debian, Ubuntu
Posts: 400

Original Poster
Rep: Reputation: 39
Ok got to doing all that and none worked

sda and sda2 said didnt exist.

restarting hotplug lost me sda1 as well (not that it was working)

Restarting the system with it in lost me the device from all logs all together. unplug and back in and back to square one.

Thanx for the effort.

I know it works in Linux, this mp3 player, as i use it on my work and home Mandrake systems everyday no problems.

So whats Mandrake doing that (K)Ubuntu/Debian isn't ??
 
Old 05-05-2005, 12:20 PM   #4
webterractive
Member
 
Registered: Apr 2004
Location: Richmond, Canada
Distribution: Mandriva 2006/XPSP2
Posts: 265

Rep: Reputation: 30
MP3 Player

Ok well if your sda/sda2 devices don't exist you wil have to make them.

1. cd /dev/
2. Execute sudo MAKEDEV sda
3. And then restart your computer by typing sudo init 6
4. When your computer restarts plug in your device and wait for the hotplug script to find it when it boots.
5. If in case it was not found during the boot you can always try to edit /etc/fstab. But that should make it work. I had the same issue with Ubuntu 4.10 and the iPOD mini.

On 4.10 this was my fstab layout:

/dev/sda /media/Cris's IPOD vfat rw,user,noauto,0 0

Now on 5.04 the iPOD is automatically recognized.

Last edited by webterractive; 05-05-2005 at 12:21 PM.
 
Old 05-05-2005, 06:24 PM   #5
DaveQB
Member
 
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: Debian, Ubuntu
Posts: 400

Original Poster
Rep: Reputation: 39
Cool, i will try this when i get home.

Still concerns me that i am getting I/O errors. Makes me think that the kernel is misisng something to coomunicate with this device.
I know fstab wont help here as the kernel ishaving trouble recognising it as a block device.
 
Old 05-05-2005, 09:55 PM   #6
Arch Stanton
LQ Newbie
 
Registered: Nov 2004
Location: Halifax, Nova Scotia
Distribution: elementaryOS
Posts: 23

Rep: Reputation: 15
I had similar problems getting my Creative muvo to mount.

had to remove ehci_hcd..

<sudo rmmod ehci_hcd>

Arch
 
Old 05-06-2005, 01:40 AM   #7
DaveQB
Member
 
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: Debian, Ubuntu
Posts: 400

Original Poster
Rep: Reputation: 39
Ahh okee.

I'll give that a try tonight. Thanx
 
Old 05-06-2005, 05:06 PM   #8
webterractive
Member
 
Registered: Apr 2004
Location: Richmond, Canada
Distribution: Mandriva 2006/XPSP2
Posts: 265

Rep: Reputation: 30
Kernel Problem Maybe

There might be a problem with the kernel, apparently its something to do with the recognition of partitions I read something about it on the Ubuntu 4.10 forums. This was an issue with the iPOD, and people's work around was to recompile the kernel without that partition recognition option.
 
Old 05-08-2005, 04:54 PM   #9
DaveQB
Member
 
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: Debian, Ubuntu
Posts: 400

Original Poster
Rep: Reputation: 39
Hmm this is not good.

All my years of Linux use, i have managed to avoind needing to re-compile a kernel
 
Old 05-09-2005, 06:10 AM   #10
DaveQB
Member
 
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: Debian, Ubuntu
Posts: 400

Original Poster
Rep: Reputation: 39
Quote:
Originally posted by Arch Stanton
I had similar problems getting my Creative muvo to mount.

had to remove ehci_hcd..

<sudo rmmod ehci_hcd>

Arch
It seems i havent ehci_hcd mod loaded
 
Old 05-09-2005, 07:22 PM   #11
Arch Stanton
LQ Newbie
 
Registered: Nov 2004
Location: Halifax, Nova Scotia
Distribution: elementaryOS
Posts: 23

Rep: Reputation: 15
Quote:
Originally posted by DaveQB
It seems i havent ehci_hcd mod loaded

Sorry I couldn't help, I feel your pain. Took me about 2 weeks of googling and a lot of failed attempts to mount my player, and then i just stumbled on some post about ehci_hcd module and scii usb drives and tried that.

It just worked for me ..
 
Old 05-09-2005, 07:32 PM   #12
DaveQB
Member
 
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: Debian, Ubuntu
Posts: 400

Original Poster
Rep: Reputation: 39
Thanx mate.

Appreciate.

I might have to continue my search. a week down ... a week to go ?

Or i might go with another distro, just need something small and fast for this old laptop.

(and KDE 3.4 is a must )
 
Old 05-22-2005, 09:51 AM   #13
DaveQB
Member
 
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: Debian, Ubuntu
Posts: 400

Original Poster
Rep: Reputation: 39
Well tried Mepis 3.3.1 and same deal, heaps and heaps and heaps of I/O errors and buffer errors.

Plugged the same device into my Mandriva 2005 Desktop and dmesg reports


Code:
ohci_hcd 0000:00:02.0: wakeup
usb 1-3: new full speed USB device using ohci_hcd and address 2
SCSI subsystem initialized
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
  Vendor: Generic   Model: SND1 MP3 Player   Rev: 0.00
  Type:   Direct-Access                      ANSI SCSI revision: 00
usb-storage: device scan complete
SCSI device sda: 512000 512-byte hdwr sectors (262 MB)
sda: Write Protect is off
sda: Mode Sense: 1b 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 512000 512-byte hdwr sectors (262 MB)
sda: Write Protect is off
sda: Mode Sense: 1b 00 00 00
sda: assuming drive cache: write through
 /dev/scsi/host0/bus0/target0/lun0: p1
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
And KDE puts an icon on the desktop

Mepis is using kernel 2.6.10

My Desktop is using 2.6.11 but was using a 2.6.8 and it worked fine there too.

Seems Debian based distro's are out of the question for me on this laptop.

hmmm what to try next.....
 
Old 05-25-2005, 12:34 AM   #14
DaveQB
Member
 
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: Debian, Ubuntu
Posts: 400

Original Poster
Rep: Reputation: 39
Well to update this.

I have gone on to try,
Mepis
Arch
Vidalinux

And now back on Slack trying to compile a brand new kernel fresh from kernel.org (yep, i learnt how to compile a kernel in the process )

This still didnt work

But a little more probing, talking to guys on #mandriva, and I found this through google

Link to google discovery

I have just applied the patch to the kernel sources in Slack and compiling as we speak.

PS thank god for distcc otherwise this would be taking me forever on a PIII 600mhz

PSS i checked the kernel source for my Mandrake system and the patch wasnt there. So I have no idea how Mandrake gets this thing working so flawlessly.
 
Old 05-25-2005, 01:46 AM   #15
DaveQB
Member
 
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: Debian, Ubuntu
Posts: 400

Original Poster
Rep: Reputation: 39
Well it worked !!! YIPPEEEEEEEEEE!

Now I have done this I am not sure if I want to stick to Slackware on here or not :P

But I least now I know how to get this thing working with any kernel (besides Mandriva, has it works "out of the box")

/me goes to look up kernel compiling on Kubuntu
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
usb mp3 player trawler Linux - Hardware 7 10-14-2005 05:56 PM
USB MP3 Player driver=(none) Davidian1024 Linux - Software 8 07-24-2005 03:53 PM
usb-mp3 player godders48 Mandriva 3 10-01-2003 09:24 PM
USB Mp3 Player jmc_z28 Linux - Hardware 2 08-19-2003 09:28 AM
USB MP3 Player... Need Help!! SuSE 8.1 eallen Linux - Hardware 1 12-26-2002 01:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration