Yes, I did this earlier today and no disconnects occurred. However, it was so slow I terminated it after several minutes, which in retrospect probably didn't allow the amount of i/o that precedes the ehci disconnection. I'll see if I can produce a proper test involving dd.
I forgot to mention that once the disconnect has occurred, unplugging and replugging the ipod produces no kernel messages and I'm unable to remount it until after a reboot. So it does seem as though at least part of the problem is in the usb drivers. On Wed, Dec 27, at 04:08PM(-0800), Matthew Dharm wrote: > Have you tried unloading ehci_hcd? Slowing down the data access rate might > prevent the iPod from disconnecting. > > It's not a permanent solution, but it would give some interesting data for > analysis. > > Matt > > On Wed, Dec 27, 2006 at 08:46:56AM -0500, Vermont wrote: > > It seems as though my shiny new ipod nano can reproducibly trigger a > > spurious disconnect message, which happens during heavy read activity > > while having gtkpod scan for orphaned mp3s. I have a few hundred of > > these thanks to amarok. > > > > Here's what's printed after a few minutes of heavy scanning: > > > > Dec 27 08:06:42 eggnog kernel: usb 4-3: USB disconnect, address 3 > > Dec 27 08:07:12 eggnog kernel: usb 4-3: usb_sg_cancel, unlink --> -19 > > > > Here's all usb related messages from the log: > > > > Dec 27 07:49:34 eggnog kernel: Linux version 2.6.19.1 ([EMAIL PROTECTED]) > > (gcc version 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)) #2 PREEMPT Wed > > Dec 27 01:55:48 EST 2006 > > Dec 27 07:49:34 eggnog kernel: usbcore: registered new interface driver > > usbfs > > Dec 27 07:49:34 eggnog kernel: usbcore: registered new interface driver hub > > Dec 27 07:49:34 eggnog kernel: usbcore: registered new device driver usb > > Dec 27 07:49:34 eggnog kernel: uhci_hcd 0000:00:10.0: UHCI Host Controller > > Dec 27 07:49:34 eggnog kernel: uhci_hcd 0000:00:10.0: new USB bus > > registered, assigned bus number 1 > > Dec 27 07:49:34 eggnog kernel: uhci_hcd 0000:00:10.0: irq 11, io base > > 0x0000d000 > > Dec 27 07:49:34 eggnog kernel: usb usb1: configuration #1 chosen from 1 > > choice > > Dec 27 07:49:34 eggnog kernel: hub 1-0:1.0: USB hub found > > Dec 27 07:49:34 eggnog kernel: hub 1-0:1.0: 2 ports detected > > Dec 27 07:49:34 eggnog kernel: uhci_hcd 0000:00:10.1: UHCI Host Controller > > Dec 27 07:49:34 eggnog kernel: uhci_hcd 0000:00:10.1: new USB bus > > registered, assigned bus number 2 > > Dec 27 07:49:34 eggnog kernel: uhci_hcd 0000:00:10.1: irq 7, io base > > 0x0000d400 > > Dec 27 07:49:34 eggnog kernel: usb usb2: configuration #1 chosen from 1 > > choice > > Dec 27 07:49:34 eggnog kernel: hub 2-0:1.0: USB hub found > > Dec 27 07:49:34 eggnog kernel: hub 2-0:1.0: 2 ports detected > > Dec 27 07:49:34 eggnog kernel: uhci_hcd 0000:00:10.2: UHCI Host Controller > > Dec 27 07:49:34 eggnog kernel: uhci_hcd 0000:00:10.2: new USB bus > > registered, assigned bus number 3 > > Dec 27 07:49:34 eggnog kernel: uhci_hcd 0000:00:10.2: irq 10, io base > > 0x0000d800 > > Dec 27 07:49:34 eggnog kernel: usb usb3: configuration #1 chosen from 1 > > choice > > Dec 27 07:49:34 eggnog kernel: hub 3-0:1.0: USB hub found > > Dec 27 07:49:34 eggnog kernel: hub 3-0:1.0: 2 ports detected > > Dec 27 07:49:34 eggnog kernel: ehci_hcd 0000:00:10.3: EHCI Host Controller > > Dec 27 07:49:34 eggnog kernel: ehci_hcd 0000:00:10.3: new USB bus > > registered, assigned bus number 4 > > Dec 27 07:49:34 eggnog kernel: ehci_hcd 0000:00:10.3: irq 5, io mem > > 0xe6000000 > > Dec 27 07:49:34 eggnog kernel: ehci_hcd 0000:00:10.3: USB 2.0 started, EHCI > > 1.00, driver 10 Dec 2004 > > Dec 27 07:49:34 eggnog kernel: usb usb4: configuration #1 chosen from 1 > > choice > > Dec 27 07:49:34 eggnog kernel: hub 4-0:1.0: USB hub found > > Dec 27 07:49:34 eggnog kernel: hub 4-0:1.0: 6 ports detected > > Dec 27 07:49:34 eggnog kernel: usb 2-2: new low speed USB device using > > uhci_hcd and address 2 > > Dec 27 07:49:34 eggnog kernel: usb 2-2: configuration #1 chosen from 1 > > choice > > Dec 27 07:49:34 eggnog kernel: EXT3 FS on hda4, internal journal > > Dec 27 07:49:34 eggnog kernel: usbcore: registered new interface driver > > hiddev > > Dec 27 07:49:34 eggnog kernel: hiddev96: USB HID v1.10 Device [APC Back-UPS > > ES 500 FW:801.e5.D USB FW:e5] on usb-0000:00:10.1-2 > > Dec 27 07:49:34 eggnog kernel: usbcore: registered new interface driver > > usbhid > > Dec 27 07:49:34 eggnog kernel: drivers/usb/input/hid-core.c: v2.6:USB HID > > core driver > > Dec 27 07:51:16 eggnog kernel: usb 4-3: new high speed USB device using > > ehci_hcd and address 3 > > Dec 27 07:51:16 eggnog kernel: usb 4-3: configuration #1 chosen from 2 > > choices > > Dec 27 07:51:16 eggnog kernel: SCSI subsystem initialized > > Dec 27 07:51:16 eggnog kernel: Initializing USB Mass Storage driver... > > Dec 27 07:51:16 eggnog kernel: scsi0 : SCSI emulation for USB Mass Storage > > devices > > Dec 27 07:51:16 eggnog kernel: usb-storage: device found at 3 > > Dec 27 07:51:16 eggnog kernel: usb-storage: waiting for device to settle > > before scanning > > Dec 27 07:51:16 eggnog kernel: usbcore: registered new interface driver > > usb-storage > > Dec 27 07:51:16 eggnog kernel: USB Mass Storage support registered. > > Dec 27 07:51:21 eggnog kernel: scsi 0:0:0:0: Direct-Access Apple > > iPod 1.62 PQ: 0 ANSI: 0 > > Dec 27 07:51:21 eggnog kernel: usb-storage: device scan complete > > Dec 27 07:51:21 eggnog kernel: SCSI device sda: 1982464 2048-byte hdwr > > sectors (4060 MB) > > Dec 27 07:51:21 eggnog kernel: sda: Write Protect is off > > Dec 27 07:51:21 eggnog kernel: sda: Mode Sense: 68 00 00 08 > > Dec 27 07:51:21 eggnog kernel: sda: assuming drive cache: write through > > Dec 27 07:51:21 eggnog kernel: SCSI device sda: 1982464 2048-byte hdwr > > sectors (4060 MB) > > Dec 27 07:51:21 eggnog kernel: sda: Write Protect is off > > Dec 27 07:51:21 eggnog kernel: sda: Mode Sense: 68 00 00 08 > > Dec 27 07:51:21 eggnog kernel: sda: assuming drive cache: write through > > Dec 27 07:51:21 eggnog kernel: sda: sda1 sda2 > > Dec 27 07:51:21 eggnog kernel: sd 0:0:0:0: Attached scsi removable disk sda > > Dec 27 08:06:42 eggnog kernel: usb 4-3: USB disconnect, address 3 > > Dec 27 08:07:12 eggnog kernel: usb 4-3: usb_sg_cancel, unlink --> -19 > > Dec 27 08:07:12 eggnog last message repeated 22 times > > > > My other USB device is an APC UPS, which has been connected without > > incident for a few weeks now. > > > > Contents of /proc/interrupts: > > CPU0 > > 0: 817401 XT-PIC-XT timer > > 1: 8429 XT-PIC-XT i8042 > > 2: 0 XT-PIC-XT cascade > > 5: 111834 XT-PIC-XT ehci_hcd:usb4 > > 6: 3 XT-PIC-XT floppy > > 7: 6626 XT-PIC-XT uhci_hcd:usb2 > > 8: 4 XT-PIC-XT rtc > > 9: 0 XT-PIC-XT acpi > > 10: 12636 XT-PIC-XT uhci_hcd:usb3, VIA8233 > > 11: 201540 XT-PIC-XT uhci_hcd:usb1, eth0, fglrx > > 12: 49584 XT-PIC-XT i8042 > > 14: 72597 XT-PIC-XT ide0 > > 15: 31 XT-PIC-XT ide1 > > NMI: 0 > > LOC: 0 > > ERR: 0 > > MIS: 0 > > > > Would enabling USB debugging be a smart thing to do with all of this > > i/o going on? > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > linux-usb-devel@lists.sourceforge.net > > To unsubscribe, use the last form field at: > > https://lists.sourceforge.net/lists/listinfo/linux-usb-devel > > -- > Matthew Dharm Home: [EMAIL PROTECTED] > Maintainer, Linux USB Mass Storage Driver > > M: No, Windows doesn't have any nag screens. > C: Then what are those blue and white screens I get every day? > -- Mike and Cobb > User Friendly, 1/4/1999 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel