-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Alan,

thank you for your prompt response!

> This is probably the 36 bytes of INQUIRY data, sent when the computer was 
> expecting only a 13-byte CSW.  That creates a babble condition.  Your 
> USB controller appears to be made by VIA, and their controllers have the 
> unfortunate habit of shutting down when they receive a babble packet.  
> From this point on, nothing at all works.

good guess... yes, it's a via board :-)

Hmm, I played around a bit and tested it on different platforms:
  * winXP: works
  * knoppix 3.4: works (kernel 2.4.23)
  * SuSE kernel 2.6.5: works somewhat (/dev/sda seems to be created, but I 
    can't access it)
  * kernel 2.6.7: doesn't work at all
  * kernel 2.6.7bk20: doesn't work at all

So it doesn't look like it's completly broken. Is it be possible that 
it's only the GetMaxLUN command that gets the device confused?
Below you may find the output of the partially working SuSE 2.6.5 kernel.
The knoppix kernel unfortunatly didn't produce very much of useful 
output (or at least I didn't find it :-)

Jul 10 17:03:23 phoenix kernel: usb 1-2: new full speed USB device using address 3
Jul 10 17:03:23 phoenix /etc/hotplug/usb.agent[3206]: need a device for this command
Jul 10 17:03:29 phoenix kernel: Initializing USB Mass Storage driver...
Jul 10 17:03:29 phoenix kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Jul 10 17:03:29 phoenix kernel:   Vendor:           Model: Digital Audio     Rev: 1.00
Jul 10 17:03:29 phoenix kernel:   Type:   Direct-Access                      ANSI SCSI 
revision: 02
Jul 10 17:03:29 phoenix kernel: SCSI device sda: 512000 512-byte hdwr sectors (262 MB)
Jul 10 17:03:29 phoenix kernel: sda: assuming Write Enabled
Jul 10 17:03:29 phoenix kernel: sda: assuming drive cache: write through
Jul 10 17:03:29 phoenix /etc/hotplug/block.agent[3285]: try 1 while waiting for 
/block/sda's bus_id 0:0:0:0
Jul 10 17:03:29 phoenix kernel:  sda: sda1
Jul 10 17:03:29 phoenix kernel: Attached scsi removable disk sda at scsi0, channel 0, 
id 0, lun 0
Jul 10 17:03:29 phoenix kernel: Attached scsi generic sg0 at scsi0, channel 0, id 0, 
lun 0,  type 0
Jul 10 17:03:29 phoenix kernel: USB Mass Storage device found at 3
Jul 10 17:03:29 phoenix kernel: usbcore: registered new driver usb-storage
Jul 10 17:03:29 phoenix kernel: USB Mass Storage support registered.
Jul 10 17:03:29 phoenix /etc/hotplug/block.agent[3307]: new block device 
/block/sda/sda1
Jul 10 17:03:30 phoenix /etc/hotplug/block.agent[3285]: waiting for 
/var/lock/block.agent.lock, process 3307 holds it
Jul 10 17:03:32 phoenix kernel: sda : READ CAPACITY failed.
Jul 10 17:03:32 phoenix kernel: sda : status=0, message=00, host=7, driver=00
Jul 10 17:03:32 phoenix kernel: sda : sense not available.
Jul 10 17:03:32 phoenix kernel: sda: assuming Write Enabled
Jul 10 17:03:32 phoenix kernel: sda: assuming drive cache: write through
Jul 10 17:03:32 phoenix /etc/hotplug/block.agent[3471]: waiting for 
/var/lock/block.agent.lock, process 3307 holds it
Jul 10 17:03:32 phoenix kernel: sda : READ CAPACITY failed.
Jul 10 17:03:32 phoenix kernel: sda : status=0, message=00, host=7, driver=00
Jul 10 17:03:32 phoenix kernel: sda : sense not available.
Jul 10 17:03:32 phoenix kernel: sda: assuming Write Enabled
Jul 10 17:03:32 phoenix kernel: sda: assuming drive cache: write through
Jul 10 17:03:32 phoenix kernel:  sda:<3>Buffer I/O error on device sda, logical block 0
Jul 10 17:03:32 phoenix kernel: Buffer I/O error on device sda, logical block 0
Jul 10 17:03:32 phoenix kernel: Buffer I/O error on device sda, logical block 262143
Jul 10 17:03:32 phoenix kernel: Buffer I/O error on device sda, logical block 262143
Jul 10 17:03:32 phoenix kernel: Buffer I/O error on device sda, logical block 0
Jul 10 17:03:32 phoenix kernel: ldm_validate_partition_table(): Disk read failed.
Jul 10 17:03:32 phoenix kernel: Buffer I/O error on device sda, logical block 0
Jul 10 17:03:32 phoenix kernel:  unable to read partition table
Jul 10 17:03:32 phoenix kernel:  unable to read partition table
Jul 10 17:03:32 phoenix kernel: sda : READ CAPACITY failed.
Jul 10 17:03:32 phoenix kernel: sda : status=0, message=00, host=7, driver=00
Jul 10 17:03:32 phoenix kernel: sda : sense not available.
Jul 10 17:03:32 phoenix kernel: sda: assuming Write Enabled
Jul 10 17:03:32 phoenix kernel: sda: assuming drive cache: write through
Jul 10 17:03:33 phoenix kernel: sda : READ CAPACITY failed.
Jul 10 17:03:33 phoenix kernel: sda : status=0, message=00, host=7, driver=00
Jul 10 17:03:33 phoenix kernel: sda : sense not available.
Jul 10 17:03:33 phoenix kernel: sda: assuming Write Enabled
Jul 10 17:03:33 phoenix kernel: sda: assuming drive cache: write through
Jul 10 17:03:33 phoenix kernel:  sda:<3>Buffer I/O error on device sda, logical block 0
Jul 10 17:03:33 phoenix kernel: Buffer I/O error on device sda, logical block 0
Jul 10 17:03:33 phoenix kernel: Buffer I/O error on device sda, logical block 262143
....
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: You may find my public key at http://www.galois.de/florian.schmitt.pubkey.asc

iD8DBQFA8AsWH7Gei80C0lQRAgEyAKCbubuDpGLsANGOTSwcBYIS0DJyDACffA+8
4Q4N++oc8Qpwm9kj3ocnL78=
=Y5Tl
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to