The MP3 player I ordered arrived! (2004-06-15 Gadgets) It’s a EMP-Z with 256MB of RAM, by beatsounds.
=> 2004-06-15 Gadgets | beatsounds
It doesn’t work!
Damn.
/etc# mount -t vfat /dev/sda1 /mnt/mp3 mount: /dev/sda1: can't read superblock /etc# cat /proc/bus/usb/devices T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 4 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.6-1-686 ohci_hcd S: Product=Advanced Micro Devices [AMD] AMD-756 [Viper] USB S: SerialNumber=0000:00:07.4 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 4 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=10cb ProdID=8001 Rev= 1.00 S: Manufacturer=Eratech Co., S: Product=BEATSOUNDS P C:* #Ifs= 1 Cfg#= 1 Atr=80 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=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
There it is!
It seems that somebody else has also had the same problem... ¹ A patch is proposed for Linux 2.6.7... 😢
=> ¹
And here I was, expecting it to always work. 🙁 ²
=> ²
I think I will have to build a custom kernel... Getting kernel-package, kernel-tree-2.6.6, etc. After some complications with my initrd.img, I finally got the new kernel to boot.
Then I tried patching the _usr_local/src/kernel-source-2.6.6/drivers/usb/core/config.c file which I had copied to tmp. I used the patch from the thread on linux-usb-users linked to above ³:
=> ³
/tmp $ cat usb.patch | patch -l patching file config.c Hunk #1 succeeded at 420 (offset -45 lines). Hunk #2 succeeded at 454 (offset -45 lines).
Weird differences... But what the heck...
Recompiled, installed – it works! I now have in my _etc_fstab:
/dev/sdb /mnt/mp3 vfat noauto,user 0 0
I then started copying files to the player... When I reached the storage limit, however, I got very weird error messages. I basically had to unmount the player and mount it again, before being able to do anything once this happened.
Here’s some output from _var_logs/syslog:
Jun 23 02:16:59 confusibombus kernel: ohci_hcd 0000:00:07.4: Advanced Micro Devices [AMD] AMD-756 [Viper] USB Jun 23 02:16:59 confusibombus kernel: ohci_hcd 0000:00:07.4: irq 5, pci mem c8909000 Jun 23 02:16:59 confusibombus kernel: ohci_hcd 0000:00:07.4: new USB bus registered, assigned bus number 1 Jun 23 02:16:59 confusibombus kernel: ohci_hcd 0000:00:07.4: AMD756 erratum 4 workaround Jun 23 02:16:59 confusibombus kernel: hub 1-0:1.0: USB hub found Jun 23 02:16:59 confusibombus kernel: hub 1-0:1.0: 4 ports detected Jun 23 02:16:59 confusibombus kernel: usb 1-1: new full speed USB device using address 2 Jun 23 02:16:59 confusibombus kernel: usb 1-2: new full speed USB device using address 3 Jun 23 02:16:59 confusibombus kernel: SCSI subsystem initialized Jun 23 02:16:59 confusibombus kernel: usb_storage: Unknown symbol scsi_report_device_reset Jun 23 02:16:59 confusibombus kernel: usb_storage: Unknown symbol scsi_remove_host Jun 23 02:16:59 confusibombus kernel: usb_storage: Unknown symbol scsi_host_put Jun 23 02:16:59 confusibombus kernel: usb_storage: Unknown symbol scsi_scan_host Jun 23 02:16:59 confusibombus kernel: usb_storage: Unknown symbol scsi_add_host Jun 23 02:16:59 confusibombus kernel: usb_storage: Unknown symbol scsi_host_alloc Jun 23 02:16:59 confusibombus kernel: Initializing USB Mass Storage driver... Jun 23 02:16:59 confusibombus kernel: usb-storage: This device (07cf,1001,1000 S 05 P 01) has an unneeded Protocol entry in unusual_devs.h Jun 23 02:16:59 confusibombus kernel: Please send a copy of this message toJun 23 02:16:59 confusibombus kernel: scsi0 : SCSI emulation for USB Mass Storage devices Jun 23 02:16:59 confusibombus kernel: Vendor: Casio Model: QV DigitalCamera Rev: 1000 Jun 23 02:16:59 confusibombus kernel: Type: Direct-Access ANSI SCSI revision: 02 Jun 23 02:16:59 confusibombus kernel: USB Mass Storage device found at 2 ... Jun 23 02:16:59 confusibombus kernel: scsi1 : SCSI emulation for USB Mass Storage devices Jun 23 02:16:59 confusibombus kernel: Vendor: Model: Rev: Jun 23 02:16:59 confusibombus kernel: Type: Direct-Access ANSI SCSI revision: 02 Jun 23 02:16:59 confusibombus kernel: SCSI device sda: 250880 512-byte hdwr sectors (128 MB) Jun 23 02:16:59 confusibombus kernel: sda: assuming Write Enabled Jun 23 02:16:59 confusibombus kernel: sda: assuming drive cache: write through Jun 23 02:16:59 confusibombus kernel: /dev/scsi/host0/bus0/target0/lun0: p1 Jun 23 02:16:59 confusibombus kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 Jun 23 02:16:59 confusibombus kernel: SCSI device sdb: 512000 512-byte hdwr sectors (262 MB) Jun 23 02:16:59 confusibombus kernel: sdb: assuming Write Enabled Jun 23 02:16:59 confusibombus kernel: sdb: assuming drive cache: write through Jun 23 02:16:59 confusibombus kernel: /dev/scsi/host1/bus0/target0/lun0: p1 p2 p3 p4 Jun 23 02:16:59 confusibombus kernel: Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 0 Jun 23 02:16:59 confusibombus kernel: USB Mass Storage device found at 3 Jun 23 02:16:59 confusibombus kernel: usbcore: registered new driver usb-storage Jun 23 02:16:59 confusibombus kernel: USB Mass Storage support registered. ... Jun 23 02:18:01 confusibombus kernel: FAT: unable to read boot sector Jun 23 02:18:56 confusibombus last message repeated 2 times Jun 23 02:19:08 confusibombus last message repeated 3 times ... Jun 23 02:21:24 confusibombus kernel: FAT: unable to read boot sector ... Jun 23 02:27:39 confusibombus kernel: SCSI error : <1 0 0 0> return code = 0x70000 Jun 23 02:27:39 confusibombus kernel: end_request: I/O error, dev sdb, sector 771 ... Jun 23 02:27:39 confusibombus kernel: end_request: I/O error, dev sdb, sector 275176 Jun 23 02:27:39 confusibombus kernel: SCSI error : <1 0 0 0> return code = 0x10000 Jun 23 02:27:39 confusibombus kernel: end_r device being removed ... Jun 23 02:27:39 confusibombus kernel: scsi1 (0:0): rejecti device being removed Jun 23 02:27:39 confusibombus kernel: scsi1 (0:0): rejecting I/O to device being removed Jun 23 02:27:39 confusibombus last message repeated 508 times Jun 23 02:27:39 confusibombus kernel: FAT: bread(block 771) in fat_access failed Jun 23 02:27:39 confusibombus kernel: scsi1 (0:0): rejecting I/O to device being removed Jun 23 02:27:39 confusibombus kernel: FAT: Directory bread(block 262961) failed Jun 23 02:27:39 confusibombus kernel: scsi1 (0:0): rejecting I/O to device being removed ... Jun 23 02:38:06 confusibombus kernel: usb 1-2: new full speed USB device using address 7 Jun 23 02:38:06 confusibombus kernel: scsi4 : SCSI emulation for USB Mass Storage devices Jun 23 02:38:07 confusibombus kernel: Vendor: Model: Rev: Jun 23 02:38:07 confusibombus kernel: Type: Direct-Access ANSI SCSI revision: 02 Jun 23 02:38:07 confusibombus usb.agent[3033]: usb-storage: already loaded Jun 23 02:38:07 confusibombus kernel: SCSI device sdc: 512000 512-byte hdwr sectors (262 MB) Jun 23 02:38:07 confusibombus kernel: sdc: assuming Write Enabled Jun 23 02:38:07 confusibombus kernel: sdc: assuming drive cache: write through Jun 23 02:38:07 confusibombus kernel: /dev/scsi/host4/bus0/target0/lun0: p1 p2 p3 p4 Jun 23 02:38:07 confusibombus kernel: Attached scsi removable disk sdc at scsi4, channel 0, id 0, lun 0 Jun 23 02:38:07 confusibombus kernel: USB Mass Storage device found at 7 Jun 23 02:38:08 confusibombus scsi.agent[3058]: disk at /devices/pci0000:00/0000:00:07.4/usb1/1-2/1-2:1.0/host4/4:0:0:0 Jun 23 02:38:16 confusibombus kernel: scsi3 (0:0): rejecting I/O to dead device Jun 23 02:38:16 confusibombus kernel: FAT: Directory bread(block 2032) failed ... Jun 23 02:42:58 confusibombus kernel: clusters badly computed (5 != 1073740391) Jun 23 02:42:58 confusibombus kernel: FAT: Filesystem panic (dev sdb) ...
#Gadgets
text/gemini
This content has been proxied by September (ba2dc).