ljones Posted April 27, 2006 Report Share Posted April 27, 2006 (edited) Hi all, I've just recently bought a EM633X1G MP3 player and recorder (USB), it's a small device which can both quite unusually not only play back but record to mp3 as well. I am having problems using the device under linux, however. The distro I'm using is Mandrake 2005LE Whenever I try to use the device, the filesystem (FAT32) on the USB device always seems to be corrupt in some fashion. For example, I can record onto the MP3 player and play back ok on it ,but when I try to copy the file I made on the MP3 player, linux refuses to copy the file giving up with an I/O Error. BTW, the only other USB device I had plugged in was a netgear MA111 USB wlan, which I'm using for the internet (working fine). The device looks just like any other mp3 player that you can buy, it connects to the USB port via a cable. Here's the output of dmesg: [aaaaa@localhost ~]$ dmesg request: I/O error, dev sda, sector 73 end_request: I/O error, dev sda, sector 100 SCSI error : <0 0 0 0> return code = 0x10070000 end_request: I/O error, dev sda, sector 101 SCSI error : <0 0 0 0> return code = 0x10070000 end_request: I/O error, dev sda, sector 102 SCSI error : <0 0 0 0> return code = 0x10070000 end_request: I/O error, dev sda, sector 103 SCSI error : <0 0 0 0> return code = 0x10070000 end_request: I/O error, dev sda, sector 104 SCSI error : <0 0 0 0> return code = 0x10070000 end_request: I/O error, dev sda, sector 105 SCSI error : <0 0 0 0> return code = 0x10070000 end_request: I/O error, dev sda, sector 106 SCSI error : <0 0 0 0> return code = 0x10070000 end_request: I/O error, dev sda, sector 107 SCSI error : <0 0 0 0> return code = 0x10070000 end_request: I/O error, dev sda, sector 108 SCSI error : <0 0 0 0> return code = 0x10070000 end_request: I/O error, dev sda, sector 109 SCSI error : <0 0 0 0> return code = 0x10070000 end_request: I/O error, dev sda, sector 110 SCSI error : <0 0 0 0> return code = 0x10070000 end_request: I/O error, dev sda, sector 111 SCSI error : <0 0 0 0> return code = 0x10070000 end_request: I/O error, dev sda, sector 112 SCSI error : <0 0 0 0> return code = 0x10070000 end_request: I/O error, dev sda, sector 113 SCSI error : <0 0 0 0> return code = 0x10070000 end_request: I/O error, dev sda, sector 114 SCSI error : <0 0 0 0> return code = 0x10070000 end_request: I/O error, dev sda, sector 115 SCSI error : <0 0 0 0> return code = 0x10070000 end_request: I/O error, dev sda, sector 116 SCSI error : <0 0 0 0> return code = 0x10070000 end_request: I/O error, dev sda, sector 117 SCSI error : <0 0 0 0> return code = 0x10070000 end_request: I/O error, dev sda, sector 118 usb 1-2: USB disconnect, address 3 usb 1-2: new full speed USB device using ohci_hcd and address 4 scsi1 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 4 usb-storage: waiting for device to settle before scanning Vendor: EM633X Model: MP3 Player Rev: 1.00 Type: Direct-Access ANSI SCSI revision: 00 SCSI device sdb: 1999592 512-byte hdwr sectors (1024 MB) sdb: Write Protect is off sdb: Mode Sense: 00 c0 00 00 sdb: assuming drive cache: write through ioctl_internal_command: <1 0 0 0> return code = 8000002 : Current: sense key: No Sense Additional sense: No additional sense information Info fld=0x0 SCSI device sdb: 1999592 512-byte hdwr sectors (1024 MB) sdb: Write Protect is off sdb: Mode Sense: 00 c0 00 00 sdb: assuming drive cache: write through /dev/scsi/host1/bus0/target0/lun0: p1 ioctl_internal_command: <1 0 0 0> return code = 8000002 : Current: sense key: No Sense Additional sense: No additional sense information Info fld=0x0 Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 0 usb-storage: device scan complete ioctl_internal_command: <1 0 0 0> return code = 8000002 : Current: sense key: No Sense Additional sense: No additional sense information Info fld=0x0 ioctl_internal_command: <1 0 0 0> return code = 8000002 : Current: sense key: No Sense Additional sense: No additional sense information Info fld=0x0 ioctl_internal_command: <1 0 0 0> return code = 8000002 : Current: sense key: No Sense Additional sense: No additional sense information Info fld=0x0 ioctl_internal_command: <1 0 0 0> return code = 8000002 : Current: sense key: No Sense Additional sense: No additional sense information Info fld=0x0 ioctl_internal_command: <1 0 0 0> return code = 8000002 : Current: sense key: No Sense Additional sense: No additional sense information Info fld=0x0 SCSI error : <1 0 0 0> return code = 0x10070000 end_request: I/O error, dev sdb, sector 0 SCSI error : <1 0 0 0> return code = 0x10070000 end_request: I/O error, dev sdb, sector 118 ioctl_internal_command: <1 0 0 0> return code = 8000002 : Current: sense key: No Sense Additional sense: No additional sense information Info fld=0x0 ioctl_internal_command: <1 0 0 0> return code = 8000002 : Current: sense key: No Sense Additional sense: No additional sense information Info fld=0x0 Output of /var/log/messages: Apr 27 22:11:39 localhost kernel: : Current: sense key: No Sense Apr 27 22:11:39 localhost kernel: Additional sense: No additional sense information Apr 27 22:11:39 localhost kernel: Info fld=0x0 Apr 27 22:11:40 localhost kernel: SCSI error : <1 0 0 0> return code = 0x10070000 Apr 27 22:11:40 localhost kernel: end_request: I/O error, dev sdb, sector 55 Apr 27 22:11:40 localhost kernel: printk: 2 messages suppressed. Apr 27 22:11:40 localhost kernel: Buffer I/O error on device sdb1, logical block 0 Apr 27 22:11:40 localhost kernel: SCSI error : <1 0 0 0> return code = 0x10070000 Apr 27 22:11:40 localhost kernel: end_request: I/O error, dev sdb, sector 56 Apr 27 22:11:40 localhost kernel: Buffer I/O error on device sdb1, logical block 1 Apr 27 22:11:40 localhost kernel: SCSI error : <1 0 0 0> return code = 0x10070000 Apr 27 22:11:40 localhost kernel: end_request: I/O error, dev sdb, sector 57 Apr 27 22:11:40 localhost kernel: Buffer I/O error on device sdb1, logical block 2 Apr 27 22:11:40 localhost kernel: SCSI error : <1 0 0 0> return code = 0x10070000 Apr 27 22:11:40 localhost kernel: end_request: I/O error, dev sdb, sector 58 Apr 27 22:11:40 localhost kernel: Buffer I/O error on device sdb1, logical block 3 Apr 27 22:11:40 localhost kernel: SCSI error : <1 0 0 0> return code = 0x10070000 Apr 27 22:11:40 localhost kernel: end_request: I/O error, dev sdb, sector 59 Apr 27 22:11:40 localhost kernel: Buffer I/O error on device sdb1, logical block 4 Apr 27 22:11:40 localhost kernel: SCSI error : <1 0 0 0> return code = 0x10070000 Apr 27 22:11:40 localhost kernel: end_request: I/O error, dev sdb, sector 60 Apr 27 22:11:40 localhost kernel: Buffer I/O error on device sdb1, logical block 5 Apr 27 22:11:40 localhost kernel: SCSI error : <1 0 0 0> return code = 0x10070000 Apr 27 22:11:40 localhost kernel: end_request: I/O error, dev sdb, sector 61 Apr 27 22:11:40 localhost kernel: Buffer I/O error on device sdb1, logical block 6 Apr 27 22:11:40 localhost kernel: SCSI error : <1 0 0 0> return code = 0x10070000 Apr 27 22:11:40 localhost kernel: end_request: I/O error, dev sdb, sector 62 Apr 27 22:11:40 localhost kernel: Buffer I/O error on device sdb1, logical block 7 Apr 27 22:11:40 localhost kernel: SCSI error : <1 0 0 0> return code = 0x10070000 Apr 27 22:11:40 localhost kernel: end_request: I/O error, dev sdb, sector 63 Apr 27 22:11:40 localhost kernel: Buffer I/O error on device sdb1, logical block 8 Apr 27 22:11:41 localhost kernel: end_request: I/O error, dev sdb, sector 116 Apr 27 22:11:41 localhost kernel: SCSI error : <1 0 0 0> return code = 0x10070000 Apr 27 22:11:41 localhost kernel: end_request: I/O error, dev sdb, sector 117 Apr 27 22:11:41 localhost kernel: SCSI error : <1 0 0 0> return code = 0x10070000 Apr 27 22:11:41 localhost kernel: end_request: I/O error, dev sdb, sector 118 Apr 27 22:11:41 localhost kernel: ioctl_internal_command: <1 0 0 0> return code= 8000002 Apr 27 22:11:41 localhost kernel: : Current: sense key: No Sense Apr 27 22:11:41 localhost kernel: Additional sense: No additional sense information Apr 27 22:11:41 localhost kernel: Info fld=0x0 Apr 27 22:11:41 localhost kernel: ioctl_internal_command: <1 0 0 0> return code= 8000002 Apr 27 22:11:41 localhost kernel: : Current: sense key: No Sense Apr 27 22:11:41 localhost kernel: Additional sense: No additional sense information Apr 27 22:11:41 localhost kernel: Info fld=0x0 Apr 27 22:13:11 localhost gconfd (root-9308): starting (version 2.8.1), pid 9308 user 'root' Apr 27 22:13:11 localhost gconfd (root-9308): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only configuration source at position 0 Apr 27 22:13:11 localhost gconfd (root-9308): Resolved address "xml:readwrite:/root/.gconf" to a writable configuration source at position 1 Apr 27 22:13:11 localhost gconfd (root-9308): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only configuration source at position 2 Apr 27 22:19:33 localhost su(pam_unix)[11147]: session opened for user root by aaaaa(uid=500) Output of lsusb: Bus 003 Device 003: ID 0846:6a00 NetGear, Inc. Bus 003 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus 001 Device 004: ID 0419:aa0a Samsung Info. Systems America, Inc. Bus 001 Device 001: ID 0000:0000 Output of lsusb -v: Bus 003 Device 003: ID 0846:6a00 NetGear, Inc Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x0846 NetGear, Inc. idProduct 0x6a00 bcdDevice 1.00 iManufacturer 1 iProduct 2 iSerial 3 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 39 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 4 bmAttributes 0x80 MaxPower 500mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 0 (Defined at Interface level) bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 5 Bulk-IN,Bulk-OUT,Bulk-OUT Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x03 EP 3 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 bNumConfigurations 1 Bus 003 Device 001: ID 0000:0000 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 1 Single TT bMaxPacketSize0 8 idVendor 0x0000 idProduct 0x0000 bcdDevice 2.06 iManufacturer 3 Linux 2.6.11-6mdk ehci_hcd iProduct 2 EHCI Host Controller iSerial 1 0000:00:13.2 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xc0 Self Powered MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0002 1x 2 bytes bInterval 12 Hub Descriptor: bLength 9 bDescriptorType 41 nNbrPorts 6 wHubCharacteristic 0x0008 Ganged power switching Per-port overcurrent protection TT think time 8 FS bits bPwrOn2PwrGood 10 * 2 milli seconds bHubContrCurrent 0 milli Ampere DeviceRemovable 0xb7 PortPwrCtrlMask 0xc0 Hub Port Status: Port 1: 0000.0100 power Port 2: 0001.0000 C_CONNECT Port 3: 0000.0503 highspeed power enable connect Port 4: 0000.0100 power Port 5: 0000.0100 power Port 6: 0000.0100 power Bus 002 Device 001: ID 0000:0000 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0000 idProduct 0x0000 bcdDevice 2.06 iManufacturer 3 Linux 2.6.11-6mdk ohci_hcd iProduct 2 OHCI Host Controller iSerial 1 0000:00:13.1 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xc0 Self Powered MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0002 1x 2 bytes bInterval 255 Hub Descriptor: bLength 9 bDescriptorType 41 nNbrPorts 3 wHubCharacteristic 0x0002 No power switching (usb 1.0) Ganged overcurrent protection bPwrOn2PwrGood 2 * 2 milli seconds bHubContrCurrent 0 milli Ampere DeviceRemovable 0xb7 PortPwrCtrlMask 0xc0 Hub Port Status: Port 1: 0000.0100 power Port 2: 0000.0100 power Port 3: 0000.0100 power Bus 001 Device 004: ID 0419:aa0a Samsung Info. Systems America, Inc. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 16 idVendor 0x0419 Samsung Info. Systems America, Inc. idProduct 0xaa0a bcdDevice 1.00 iManufacturer 0 iProduct 0 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 39 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 1 SEMINIX Co., Ltd. bmAttributes 0xc0 Self Powered MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk (Zip) iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x03 EP 3 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0008 1x 8 bytes bInterval 255 Bus 001 Device 001: ID 0000:0000 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0000 idProduct 0x0000 bcdDevice 2.06 iManufacturer 3 Linux 2.6.11-6mdk ohci_hcd iProduct 2 OHCI Host Controller iSerial 1 0000:00:13.0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xc0 Self Powered MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0002 1x 2 bytes bInterval 255 Hub Descriptor: bLength 9 bDescriptorType 41 nNbrPorts 3 wHubCharacteristic 0x0002 No power switching (usb 1.0) Ganged overcurrent protection bPwrOn2PwrGood 2 * 2 milli seconds bHubContrCurrent 0 milli Ampere DeviceRemovable 0xb7 PortPwrCtrlMask 0xc0 Hub Port Status: Port 1: 0000.0100 power Port 2: 0000.0103 power enable connect Port 3: 0000.0100 power Can anyone think why the filesystem on this USB device would be corrupt? Or is it encrypted in some way, am I looking at a windows only device? x.x BTW Mandrake 2005LE mounts this device, giving it the odd name of "----------" ! I've tried reformatting the drive btw, which didn't work. :( thanks ljones Edited April 27, 2006 by ljones Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted April 28, 2006 Report Share Posted April 28, 2006 You've probably already done this, but just in case, try plugging the device in on a different port. If you are using a usb hub, try plugging directly into your computer instead of the hub. Also, swap out the usb cable and see if that helps. Quote Link to comment Share on other sites More sharing options...
ljones Posted April 28, 2006 Author Report Share Posted April 28, 2006 Yep, tried that - even tried mounting it manually but to no avail. I've even tried downloading a newer kernel but the problem still persists (mind you, maybe there's something I'm still not doing right?). ljones Quote Link to comment Share on other sites More sharing options...
ljones Posted April 29, 2006 Author Report Share Posted April 29, 2006 Additional information: The command sfdisk outputs this: sfdisk -l /dev/sda Disk /dev/sda: 1007 cylinders, 32 heads, 62 sectors/track Warning: The partition table looks like it was made for C/H/S=*/16/32 (instead of 1007/32/62). For this listing I'll assume that geometry. Units = cylinders of 262144 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System /dev/sda1 * 0+ 3905- 3906- 999768+ 6 FAT16 end: (c,h,s) expected (1023,15,32) found (499,15,32) /dev/sda2 0 - 0 0 0 Empty /dev/sda3 0 - 0 0 0 Empty /dev/sda4 0 - 0 0 0 Empty Maybe the drive geometry detected by linux is wrong? ljones Quote Link to comment Share on other sites More sharing options...
ljones Posted April 29, 2006 Author Report Share Posted April 29, 2006 I made a diskovery (getit?) :) :) I have found that if I use the drivers "USBASPI4.SYS" and "DI1000DD.SYS" in freedos, the drive works! I can copy files just fine, so maybe it's down to a drive geometry problem. If that's the case, how do you mount a drive in linux but with a different drive geometery, I know to use mount to mount a drive (e.g. mount /dev/sda1 /mnt/removable) but what if I wanted to mount it with a different geometry? ljones Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted April 29, 2006 Report Share Posted April 29, 2006 I would be tempted to repartition it from scratch to sort out the partition. I'd recreate it under Windows though using the Disk Manager, and set it back up for FAT32 again. Quote Link to comment Share on other sites More sharing options...
ljones Posted April 29, 2006 Author Report Share Posted April 29, 2006 :) thanks for that, I gave it a go but it didn't seem to make any difference, all the lines about SCSI errors in dmesg are still there x.x . ljones Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted April 29, 2006 Report Share Posted April 29, 2006 What does this command show now that you've repartitioned it? fdisk -l /dev/sda just want to make sure only one partition exists on it now, and whether it still shows as before or not with the CHS problems. Quote Link to comment Share on other sites More sharing options...
ljones Posted April 30, 2006 Author Report Share Posted April 30, 2006 (edited) Here's the output of fdisk; Disk /dev/sda: 1023 MB, 1023791104 bytes 16 heads, 32 sectors/track, 3905 cylinders Units = cylinders of 512 * 512 = 262144 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 3906 999768+ 6 FAT16 If it helps here's the output of another program called "sfdisk". It seems to find more of a problem than fdisk; Disk /dev/sda: 1007 cylinders, 32 heads, 62 sectors/track Old situation: Warning: The partition table looks like it was made for C/H/S=*/16/32 (instead of 1007/32/62). For this listing I'll assume that geometry. Units = cylinders of 262144 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System /dev/sda1 * 0+ 3905- 3906- 999768+ 6 FAT16 end: (c,h,s) expected (1023,15,32) found (499,15,32) /dev/sda2 0 - 0 0 0 Empty /dev/sda3 0 - 0 0 0 Empty /dev/sda4 0 - 0 0 0 Empty Input in the following format; absent fields get a default value. <start> <size> <type [E,S,L,X,hex]> <bootable [-,*]> <c,h,s> <c,h,s> Usually you only need to specify <start> and <size> (and perhaps <type>) Only snag is to format the drive correctly I have to use the USB drive's function to do this, and it'll get rid of any partition I put on it! I can format the drive, but then the record functionality of the drive is lost x.x If only I could type somethling like mount /dev/sda1 /mnt/removable CHS=1023,15,32 :) !! ljones Edited April 30, 2006 by ljones Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.