MrMad Posted May 10, 2005 Report Share Posted May 10, 2005 I have a problem installing the mentioned mp3 player MP3 Player Foxda FM-6602 256 MB. After connection it is not auto mounted nor recogonized in harddrake2 .... Another devices like Creative Rhomba or HP camera works well. This is shown as unknown device ...:-( This is result of cat /proc/bus/usb/devices: T: Bus=01 Lev=01 Prnt=01 Port=02 Cnt=02 Dev#= 7 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=066f ProdID=8000 Rev=10.00 S: Manufacturer=<FOXDA Technology Industrial> S: Product=<FM6602 MP3 PLAYER> S: SerialNumber=5?A?4?8?012345 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=04(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms And this is dmesg result: usb 1-3: new full speed USB device using ohci_hcd and address 10 scsi6 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 10 usb-storage: waiting for device to settle before scanning Vendor: SigmaTel Model: MSCN Rev: 0100 Type: Direct-Access ANSI SCSI revision: 04 SCSI device sdb: 504576 512-byte hdwr sectors (258 MB) sdb: Write Protect is off sdb: Mode Sense: 03 00 00 00 sdb: assuming drive cache: write through SCSI device sdb: 504576 512-byte hdwr sectors (258 MB) sdb: Write Protect is off sdb: Mode Sense: 03 00 00 00 sdb: assuming drive cache: write through /dev/scsi/host6/bus0/target0/lun0: p1 Attached scsi removable disk sdb at scsi6, channel 0, id 0, lun 0 Attached scsi generic sg0 at scsi6, channel 0, id 0, lun 0, type 0 usb-storage: device scan complete '--------------------------Added ------------------------------------ This is kernal log after command: mount -t vfat /dev/sdb Foxda May 10 16:11:37 Zion kernel: sdb : READ CAPACITY failed. May 10 16:11:37 Zion kernel: sdb : status=0, message=00, host=7, driver=00 May 10 16:11:37 Zion kernel: sdb : sense not available. May 10 16:11:38 Zion kernel: sdb: Write Protect is off May 10 16:11:38 Zion kernel: sdb: assuming drive cache: write through May 10 16:11:38 Zion kernel: sdb : READ CAPACITY failed. May 10 16:11:38 Zion kernel: sdb : status=0, message=00, host=7, driver=00 May 10 16:11:38 Zion kernel: sdb : sense not available. May 10 16:11:38 Zion kernel: sdb: Write Protect is off May 10 16:11:38 Zion kernel: sdb: assuming drive cache: write through May 10 16:11:38 Zion kernel: /dev/scsi/host17/bus0/target0/lun0:<3>Buffer I/O error on device sdb, logical block 0 May 10 16:11:38 Zion kernel: Buffer I/O error on device sdb, logical block 0 May 10 16:11:38 Zion last message repeated 2 times May 10 16:11:38 Zion kernel: unable to read partition table May 10 16:11:38 Zion kernel: FAT: unable to read boot sector I tried to fromat it by mkfs /dev/sda but mkfs said that it partially sucessfull - can't write some blocks - in fact it dosen't destroy any data on the player !!!! Any clues ???? PS. Fdisk is saying that disk is not accesible so the cfdisk too ... Quote Link to comment Share on other sites More sharing options...
MrMad Posted May 13, 2005 Author Report Share Posted May 13, 2005 Any clues please .... I tried to use everything and check many sites .... nothing besides that at usb.cz people with similar mp3 players saying that their players works correctly. The chip is is: Bus 002 Device 013: ID 066f:8000 SigmaTel, Inc. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x066f SigmaTel, Inc. idProduct 0x8000 bcdDevice 10.00 iManufacturer 1 iProduct 2 iSerial 3 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 4 bmAttributes 0xc0 Self Powered MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk (Zip) iInterface 5 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 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 0x04 EP 4 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 I contact the maker too .... Foxda.com - unfrtunately their answer is not worth mentioning here.... Quote Link to comment Share on other sites More sharing options...
adamw Posted May 14, 2005 Report Share Posted May 14, 2005 go to control centre, boot configuration, disable APIC, reboot, report back. Quote Link to comment Share on other sites More sharing options...
MrMad Posted May 14, 2005 Author Report Share Posted May 14, 2005 Thx for suggestion - unfortunately this didn't help - same messages like above. I tested: a ) disable ACPI(should not have impact) in LILO - NG b ) disable APIC in LILO - NG c ) disable APIC in BIOS - NG d ) disable APIC in BIOS & LILO - NG c ) disable APIC in BIOS & APIC in LILO & ACPI in LILO - NG Quote Link to comment Share on other sites More sharing options...
adamw Posted May 17, 2005 Report Share Posted May 17, 2005 any BIOS settings relating to USB that you can poke? Try plugging it in some other USB ports on the machine? Quote Link to comment Share on other sites More sharing options...
MrMad Posted May 17, 2005 Author Report Share Posted May 17, 2005 I beg Your pardon but i check the BIOS and I don't see any related point .... Regarding ports I already tried. Here is the answer from usb-users list at sourceforge: "Probably you need a patch. Maybe this one will help: https://lists.one-eyed-alien.net/pipermail/...ary/001456.html Alan Stern" Following this link I can get solution. I checked the mentioned above fragment and the sources of Mandriva LE 2005. Unfortunately this is not corrected !!!!! SO : 1) Why it is not included - this patch is from February this year. I can see in the header of the mentioned file version 1.95 - in Mandriva 1.21 - What is wrong ? Is this part is very old in Mandriva for patch -> drivers/usb/storage/scsiglue.c 1.95 2) How to apply this patch ? Compile whole kernel after make this patch ? Only module ? Maybe some source with the latest usb/drivers/storage source ???? Help will be very much appreciated..... Quote Link to comment Share on other sites More sharing options...
MrMad Posted May 17, 2005 Author Report Share Posted May 17, 2005 (edited) Ok - I probably have some solution from usb mailing list at sourceforge. I recived an advice by Alan Stern: Below is a patch for usb-storage that should solve the problem you've both had: a drive crashing when it receives a REPORT LUNS command. This will eliminate the need to write anything to /proc/scsi/device_info or to update the SCSI blacklist (for Samuel). Please try it out and let me know if it works as intended. Alan Stern ===== drivers/usb/storage/scsiglue.c 1.95 vs edited ===== --- 1.95/drivers/usb/storage/scsiglue.c 2005-02-10 16:22:46 -05:00 +++ edited/drivers/usb/storage/scsiglue.c 2005-02-22 10:50:08 -05:00 @@ -154,6 +154,14 @@ * If this device makes that mistake, tell the sd driver. */ if (us->flags & US_FL_FIX_CAPACITY) sdev->fix_capacity = 1; + + /* Some devices report a SCSI revision level above 2 but are + * unable to handle the REPORT LUNS command (for which + * support is mandatory at level 3). Since we already have + * a Get-Max-LUN request, we won't lose much by setting the + * revision level down to 2. The only devices that would be + * affected are those with sparse LUNs. */ + sdev->scsi_level = SCSI_2; } else { /* Non-disk-type devices don't need to blacklist any pages The only problem I've got now is how to apply this patch: - By manualy changing this file drivers/usb/storage/scsiglue.c ? If Yes then why the version in even newest kernel is 1.20 and mentioned here is 1.95 ? (I check all Kernels from 2.6.11-6 up to 2.6.12.rc3) - Where to obtain latest version of usb-storage driver source files ? - Even if I modify this file do I need to recompile all kernel or it is enough to replace only usb-storage module ? - Or maybe somehow I can apply all released patches between 1.20 and 1.95 ? Can enybody give me some advice ? I had to bring this piece of hardware to work ....... Edited May 17, 2005 by MrMad Quote Link to comment Share on other sites More sharing options...
adamw Posted May 18, 2005 Report Share Posted May 18, 2005 It's a one-line patch; if you can find the appropriate place in the version of usb-storage in the MDV kernel, just add in that line. All the lines starting with # are just comments, the only line that *does* anything is sdev->scsi_level = SCSI_2; You wouldn't need to recompile anything except the usb-storage module, no. I'm not sure why there's such a large difference in the versioning of usb-storage; I'll make a note to myself to check this out later. As for why we don't have this patch, well, our kernel developers are not superhuman - there's a *lot* of kernel patches out there, and they can't just implement 'em all willy-nilly. If this patch does turn out to solve the problem, you could certainly file an RFE on the kernel package in Bugzilla and ask for it to be integrated to our kernel. Quote Link to comment Share on other sites More sharing options...
MrMad Posted May 18, 2005 Author Report Share Posted May 18, 2005 Thank You for information. I tried to apply this patch today for 2.6.11-6mdk Kernel. Finally I was able to load this module using moprobe but even with this patch this player won't work - messages are same like above. Seems that I need to push it into the trash ..... 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.