[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Force USB Storage geometry



Hi *,

I'm trying to use a LT-100 MP3 USB player under kernel 2.6.5-1, on my
C840, but with no success. On plugging it, the kernel report:

kernel: usb 1-1: new full speed USB device using address 8
kernel: scsi8 : SCSI emulation for USB Mass Storage devices
kernel:   Vendor: Generic   Model: SND1 MP3 Player   Rev: 0.00
kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
kernel: SCSI device sda: 128000 512-byte hdwr sectors (66 MB)
kernel: sda: assuming Write Enabled
kernel:  /dev/scsi/host8/bus0/target0/lun0: p1
kernel: Attached scsi removable disk sda at scsi8, channel 0, id 0, lun 0
usb.agent[5926]:      usb-storage: already loaded
scsi.agent[5958]: disk at /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1:1.0/host8/8:0:0:0

so the 128MB device is recognized as a 66MB one, and fdisk report:

Disk /dev/sda: 65 MB, 65536000 bytes
16 heads, 32 sectors/track, 250 cylinders
Units = cylinders of 512 * 512 = 262144 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         500      127968+   6  FAT16

End cylinder is past (twice) the declared cyl. max

Everything is good on the first 66MB of storage, but IO errors appears
after this frontier.

Is there a way to bypass this problem ?

Thanks in advance.

-- 
The one sure way to make a lazy man look respectable is to put a fishing
rod in his hand.



Reply to: