On Jul 08 2004, Alan Stern wrote: > On Thu, 8 Jul 2004, Rogério Brito wrote: > > I will try anyway to put that if right after the "case 0:" clause. > > Yes, please do. The output from the printk inside the "if" statement is > all that matters.
Well, I think that these are some good news: it printed that the actual length was 8, as you can see below. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - (...) usb 1-1.1: new full speed USB device using address 3 usb 1-1.1: new device strings: Mfr=1, Product=4, SerialNumber=0 usb 1-1.1: default language 0x0409 usb 1-1.1: Product: USB Mass Storage Device usb 1-1.1: Manufacturer: Leading Driver Co.,LTD. usb 1-1.1: hotplug usb 1-1.1: adding 1-1.1:1.0 (config #1, interface 0) usb 1-1.1:1.0: hotplug (...) scsi0 : SCSI emulation for USB Mass Storage devices usb-storage: queuecommand called usb-storage: *** thread awakened. usb-storage: Command INQUIRY (6 bytes) usb-storage: 12 00 00 00 24 00 usb-storage: Bulk Command S 0x43425355 T 0x1 L 36 F 128 Trg 0 LUN 0 CL 6 usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes hub_irq: actual_length = 8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - I still haven't compiled the kernel with the 8 in the place of the 64, though. [Problems with SCSI errors] > > Ok. Should I do that after the issue above is resolved? > > It's a separate question so it can be discussed independently. Before, > after, or during are all okay. Well, I put some logs of what I got at <http://www.ime.usp.br/~rbrito/usb>, since they are long and I don't know exactly what is relevant. This time, differently from the log that I generated above, I didn't issue the "echo 4 > /proc/driver/uhci/..." commands, but still usb-storage generated huge amounts of logs and, as a result, the latter logs had enough data in them that they don't include parts of the earlier logs. I don't know if there is any discontinuity in the contents of the logs. The logs were taken in single user mode, without hotplug scripts and right after I loaded the usb-hci module and the usb-storage module. Then, I plugged the drive, mounted it, unmounted it and unplugged it. I hope that their names reflect the order in which I took these actions. Let me know if you want me to send the information in a different manner in future e-mails. Thanks, Rogério. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rogério Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ------------------------------------------------------- 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-devel