Alan Stern wrote: > > To diagnose the hub problem, we need to have CONFIG_USB_DEBUG set as well. [snip] > > No. Apparently the kernel you used did not have CONFIG_USB_STORAGE_DEBUG > set after all; none of the usb-storage debugging messages were present in > your log.
You are, of course, right. The kernel I used was my old one, although I don't know why the changes didn't take. I did a clean make of the kernel, with the new options and your patch. The hub now works. Thanks. One down, one to go. Is it ok if I submit your patch to the ubuntu kernel mainteners / developers so that can include it in their next release of 2.6.15 kernel (they are supposed to support that kernel for 3 years!)? > > Also, you don't need to post the entire dmesg log starting from boot-up. > It will be enough to include only the messages starting from when you plug > in the iPod. (Use "dmesg -c >/dev/null" to clear the log buffer before > plugging in the iPod.) OK, sorry about that. It is not always obvious to me what info might be useful. The dmesg output with the debug flags is, obviously, very verbose, and dmesg give me only(!) the last 123 Kbs of the output. I am attaching about 20 lines before and after one of the errors when trying to read data off the ipod. Again, I appreciate the help: ---- [17180495.032000] usb-storage: Issuing auto-REQUEST_SENSE [17180495.032000] usb-storage: Bulk Command S 0x43425355 T 0x12e L 18 F 128 Trg 0 LUN 0 CL 6 [17180495.032000] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes [17180495.036000] usb-storage: Status code 0; transferred 31/31 [17180495.036000] usb-storage: -- transfer complete [17180495.036000] usb-storage: Bulk command transfer result=0 [17180495.036000] usb-storage: usb_stor_bulk_transfer_buf: xfer 18 bytes [17180495.036000] usb-storage: Status code 0; transferred 18/18 [17180495.036000] usb-storage: -- transfer complete [17180495.036000] usb-storage: Bulk data transfer result 0x0 [17180495.036000] usb-storage: Attempting to get CSW... [17180495.036000] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes [17180495.036000] usb-storage: Status code 0; transferred 13/13 [17180495.036000] usb-storage: -- transfer complete [17180495.036000] usb-storage: Bulk status result = 0 [17180495.036000] usb-storage: Bulk Status S 0x53425355 T 0x12e R 0 Stat 0x0 [17180495.036000] usb-storage: -- Result from auto-sense is 0 [17180495.036000] usb-storage: -- code: 0xf0, key: 0x3, ASC: 0x11, ASCQ: 0x0 [17180495.036000] usb-storage: Medium Error: Unrecovered read error [17180495.036000] usb-storage: scsi cmd done, result=0x2 [17180495.036000] usb-storage: *** thread sleeping. [17180495.040000] usb-storage: queuecommand called [17180495.040000] usb-storage: *** thread awakened. [17180495.040000] usb-storage: Command READ_10 (10 bytes) [17180495.040000] usb-storage: 28 00 00 05 b2 01 00 00 7c 00 [17180495.040000] usb-storage: Bulk Command S 0x43425355 T 0x12f L 63488 F 128 Trg 0 LUN 0 CL 10 [17180495.040000] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes [17180495.040000] usb-storage: Status code 0; transferred 31/31 [17180495.040000] usb-storage: -- transfer complete [17180495.040000] usb-storage: Bulk command transfer result=0 [17180495.040000] usb-storage: usb_stor_bulk_transfer_sglist: xfer 63488 bytes, 2 entries [17180495.568000] usb-storage: queuecommand called [17180495.568000] usb-storage: *** thread awakened. [17180495.568000] usb-storage: Command TEST_UNIT_READY (6 bytes) [17180495.568000] usb-storage: 00 00 00 00 00 00 [17180495.568000] usb-storage: Bulk Command S 0x43425355 T 0x1a80 L 0 F 0 Trg 0 LUN 0 CL 12 [17180495.568000] usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes [17180495.568000] usb-storage: Status code 0; transferred 31/31 [17180495.568000] usb-storage: -- transfer complete [17180495.568000] usb-storage: Bulk command transfer result=0 [17180495.568000] usb-storage: Attempting to get CSW... [17180495.568000] usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes [17180495.568000] usb-storage: Status code 0; transferred 13/13 [17180495.568000] usb-storage: -- transfer complete [17180495.568000] usb-storage: Bulk status result = 0 [17180495.568000] usb-storage: Bulk Status S 0x53425355 T 0x1a80 R 0 Stat 0x1 [17180495.568000] usb-storage: -- transport indicates command failure [17180495.568000] usb-storage: Issuing auto-REQUEST_SENSE -- Ylan ------------------------------------------------------------------------- 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-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users