On Fri, 28 Apr 2006, Patrick Agrain wrote: > Hi all, > > I have a mount problem which occurs only on the first try after a replug of > any available USB2.0 Memory Key. > The EHCI controller and USB storage drivers are from 2.4.32 kernel (Yes, I > know ;-)
Then you also know that you're not going to receive very much help until you upgrade. Sorry, but not many people here are interested in supporting 2.4 kernels any more. > Console output: > [EMAIL PROTECTED] root]# mount -t vfat /dev/sda1 /mnt/usbdisk/ > I/O error: dev 08:01, sector 0 > FAT: unable to read boot sector > mount: wrong fs SCSI device sda: 251904 512-byte hdwr sectors (129 MB) > type, bad optionsda: Write Protect is off > , bad superblock sda1 on /dev/sda1, > > or too many mounted file systems > > The second try always succeeds. > Replacing 'vfat' by 'auto' is always successful, even on the first try. > > Something weird happens on the first READ_10 operation (see below). > > Following is the dmesg output from unplug - replug - mount operations : ... > usb-storage: Command READ_10 (10 bytes) > usb-storage: 28 00 00 00 00 20 00 00 01 00 00 00 > usb-storage: Bulk command S 0x43425355 T 0x5b Trg 0 LUN 0 L 512 F 128 CL 10 > usb-storage: Bulk command transfer result=0 > usb-storage: usb_stor_transfer_partial(): xfer 512 bytes > usb-storage: usb_stor_bulk_msg() returned -32 xferred 0/512 > usb-storage: clearing endpoint halt for pipe 0xc0008480 > usb-storage: usb_stor_clear_halt: result=0 > usb-storage: usb_stor_transfer_partial(): unknown error > usb-storage: Bulk data transfer result 0x2 > usb-storage: Attempting to get CSW... > usb-storage: Bulk status result = 0 > usb-storage: Bulk status Sig 0x53425355 T 0x5b R 0 Stat 0x1 > usb-storage: -- transport indicates command failure > usb-storage: Issuing auto-REQUEST_SENSE > usb-storage: Bulk command S 0x43425355 T 0x5c Trg 0 LUN 0 L 18 F 128 CL 6 > usb-storage: Bulk command transfer result=0 > usb-storage: usb_stor_transfer_partial(): xfer 18 bytes > usb-storage: usb_stor_bulk_msg() returned 0 xferred 18/18 > usb-storage: usb_stor_transfer_partial(): transfer complete > usb-storage: Bulk data transfer result 0x0 > usb-storage: Attempting to get CSW... > usb-storage: Bulk status result = 0 > usb-storage: Bulk status Sig 0x53425355 T 0x5c R 0 Stat 0x0 > usb-storage: -- Result from auto-sense is 0 > usb-storage: -- code: 0x70, key: 0x6, ASC: 0x28, ASCQ: 0x0 > usb-storage: Unit Attention: not ready to ready transition > usb-storage: scsi cmd done, result=0x2 > usb-storage: *** thread sleeping. > I/O error: dev 08:01, sector 0 > FAT: unable to read boot sector Is this what you're asking about? > Thanks in advance for any information about this behavior. This is completely normal. The device is simply informing the computer that it has just been turned on. If you install a 2.6 kernel, you'll find that the device continues to behave the same way but it no longer will generate any sort of error. Alan Stern ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel