LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   USB mp3 player configuration (https://www.linuxquestions.org/questions/ubuntu-63/usb-mp3-player-configuration-320048/)

DaveQB 05-04-2005 09:45 AM

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

webterractive 05-04-2005 12:12 PM

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.

DaveQB 05-05-2005 09:19 AM

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 ??

webterractive 05-05-2005 12:20 PM

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.

DaveQB 05-05-2005 06:24 PM

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.

Arch Stanton 05-05-2005 09:55 PM

I had similar problems getting my Creative muvo to mount.

had to remove ehci_hcd..

<sudo rmmod ehci_hcd>

Arch

DaveQB 05-06-2005 01:40 AM

Ahh okee.

I'll give that a try tonight. Thanx

webterractive 05-06-2005 05:06 PM

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.

DaveQB 05-08-2005 04:54 PM

Hmm this is not good.

All my years of Linux use, i have managed to avoind needing to re-compile a kernel :D

DaveQB 05-09-2005 06:10 AM

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 :(

Arch Stanton 05-09-2005 07:22 PM

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 ..

DaveQB 05-09-2005 07:32 PM

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 )

DaveQB 05-22-2005 09:51 AM

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.....

DaveQB 05-25-2005 12:34 AM

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.

DaveQB 05-25-2005 01:46 AM

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 :)


All times are GMT -5. The time now is 12:04 AM.