Bugzilla – Bug 152175
Can't mount RCA Lyra 1080 USB mp3 player
Last modified: 2006-02-23 23:14:37 UTC
I'm having trouble mounting my RCA Lyra 1080 MP3 player (either its internal memory or SD card). I've compiled and am currently using kernel 2.6.15.4, but this identical problem occurs with the default kernel. When I plug the device in dmesg reveals the following: usb 1-1: new full speed USB device using ohci_hcd and address 6 scsi10 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 6 usb-storage: waiting for device to settle before scanning Vendor: Thomson Model: RD1080 Player Rev: 0.01 Type: Direct-Access ANSI SCSI revision: 02 SCSI device sdb: 1993728 512-byte hdwr sectors (1021 MB) sdb: Write Protect is off sdb: Mode Sense: 3f 00 00 08 sdb: assuming drive cache: write through SCSI device sdb: 1993728 512-byte hdwr sectors (1021 MB) sdb: Write Protect is off sdb: Mode Sense: 3f 00 00 08 sdb: assuming drive cache: write through sdb: sdb1 sd 10:0:0:0: Attached scsi removable disk sdb sd 10:0:0:0: Attached scsi generic sg1 type 0 usb-storage: device scan complete end_request: I/O error, dev sdb, sector 1993727 Buffer I/O error on device sdb1, logical block 1993480 end_request: I/O error, dev sdb, sector 1993727 Buffer I/O error on device sdb1, logical block 1993480 end_request: I/O error, dev sdb, sector 1993727 Buffer I/O error on device sdb1, logical block 1993480 [... more of the same Buffer I/O errors] Mounting as /dev/sdb1, dmesg gives: end_request: I/O error, dev sdb, sector 247 FAT: unable to read boot sector Mounting as /dev/sdb, dmesg gives: end_request: I/O error, dev sdb, sector 0 FAT: unable to read boot sector The command: fdisk /dev/sdb gives: Unable to read /dev/sdb I can successfully mount the Lyra's 1gb SD card in a separate USB 2 card reader using the same USB port. I can also use the player without problems in Windows XP and seem to recall getting it working in a version of Suse 9. I've got the latest firmware for the player installed.
Please also post the logs of the successful atempt with the other card reader. And please attach cat /proc/bus/usb/devices for both cases.
Created attachment 69537 [details] dmesg output when 1GB card is mounted using USB card reader
Created attachment 69538 [details] cat /proc/bus/usb/devices when card reader is plugged in with inserted SD card
Created attachment 69541 [details] cat /proc/bus/usb/devices when Lyra 1080 mp3 player is plugged in with inserted SD card
Is there any way you can run a 2.6.15.4 kernel with CONFIG_USB_STORAGE_DEBUG enabled? And if so, can you attach the kernel log output? That will help us try to figure out how to fix this device.
Created attachment 69697 [details] Verbose usb-storage dmesg output when Lyra 1080 is plugged in to USB port
Created attachment 69699 [details] Verbose usb-storage dmesg output after trying to mount connected Lyra 1080
Created attachment 69700 [details] Verbose usb-storage dmesg output after connecting USB card reader
Created attachment 69701 [details] Verbose usb-storage dmesg output after successfully mounting SD card in USB card reader
Created attachment 69871 [details] unusual_devs blacklist entry for the Lyra 1080 MP3 player Judging from your usb-storage debugging log, the player reports that the card has one more sector of storage than it really does. This patch should fix the problem.
Awesome! The patch worked -- the device mounts successfully and there are no problems reading or writing to it. Many thanks to all involved! I'm not sure what the process is to get this into future linux kernels (or if it's indeed appropriate to burden linux users with a few extra bytes in the kernel sources to allow for this device's weird behaviour). In any case I'll hold tight to that patch. Thanks again!
Alan has forwarded me the patch. It was just added to our internal kernel source tree and will show up in the next kernel update. It's also been added to my development tree and will make it into the main kernel source tree soon. Thanks for helping out in fixing this problem.