[Bug 349767] Re: external USB hard drive disconnects
lucid has seen the end of its life and is no longer receiving any updates. Marking the lucid task for this ticket as Won't Fix. ** Changed in: linux (Ubuntu Lucid) Status: Confirmed = Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/349767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
I am facing the same issue on 3.2.0-32-generic-pae #51-Ubuntu 12.04 LTS, for my iomega320GB external usb drive. Please let me know if their is a fi x avaialable or should i tweak something.thnaks in advance. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/349767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 349767] Re: external USB hard drive disconnects
Now everything works fine with Ubuntu 12.04 and my computer. I fix the problem updating the motherboard bios. So the problem was an hardware problem and not an Ubuntu problem for me. I have a motherboard with USB 3. 2012/10/21 avinash avinashred...@gmail.com I am facing the same issue on 3.2.0-32-generic-pae #51-Ubuntu 12.04 LTS, for my iomega320GB external usb drive. Please let me know if their is a fi x avaialable or should i tweak something.thnaks in advance. -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects Status in The Linux Kernel: Fix Released Status in “linux” package in Ubuntu: Won't Fix Status in “linux” source package in Lucid: Confirmed Bug description: This is a new external drive enclosure. I can easily reproduce this: Plug in the usb cable and power up the drive. System log shows: Mar 27 11:05:07 XPS-1 kernel: [ 7259.584108] usb 2-2: new high speed USB device using ehci_hcd and address 7 Mar 27 11:05:07 XPS-1 kernel: [ 7259.720027] usb 2-2: configuration #1 chosen from 1 choice Mar 27 11:05:07 XPS-1 kernel: [ 7259.757608] Initializing USB Mass Storage driver... Mar 27 11:05:07 XPS-1 kernel: [ 7259.762530] scsi5 : SCSI emulation for USB Mass Storage devices Mar 27 11:05:07 XPS-1 kernel: [ 7259.768158] usbcore: registered new interface driver usb-storage Mar 27 11:05:07 XPS-1 kernel: [ 7259.768167] USB Mass Storage support registered. Mar 27 11:05:12 XPS-1 kernel: [ 7264.769258] scsi 5:0:0:0: Direct-Access WDC WD16 00JB-75GVA0 08.0 PQ: 0 ANSI: 0 Mar 27 11:05:12 XPS-1 kernel: [ 7264.773347] sd 5:0:0:0: [sdb] 31249 512-byte hardware sectors: (159 GB/149 GiB) Mar 27 11:05:12 XPS-1 kernel: [ 7264.793936] sd 5:0:0:0: [sdb] Write Protect is off Mar 27 11:05:12 XPS-1 kernel: [ 7264.801920] sd 5:0:0:0: [sdb] 31249 512-byte hardware sectors: (159 GB/149 GiB) Mar 27 11:05:12 XPS-1 kernel: [ 7264.804738] sd 5:0:0:0: [sdb] Write Protect is off Mar 27 11:05:12 XPS-1 kernel: [ 7264.804760] sdb: sdb1 Mar 27 11:05:12 XPS-1 kernel: [ 7264.837230] sd 5:0:0:0: [sdb] Attached SCSI disk Mar 27 11:05:12 XPS-1 kernel: [ 7264.837377] sd 5:0:0:0: Attached scsi generic sg2 type 0 Mar 27 11:05:13 XPS-1 kernel: [ 7265.513967] kjournald starting. Commit interval 5 seconds Mar 27 11:05:13 XPS-1 kernel: [ 7265.513995] EXT3-fs warning: maximal mount count reached, running e2fsck is recommended Mar 27 11:05:13 XPS-1 kernel: [ 7265.515031] EXT3 FS on sdb1, internal journal Mar 27 11:05:13 XPS-1 kernel: [ 7265.515040] EXT3-fs: recovery complete. Mar 27 11:05:13 XPS-1 kernel: [ 7265.522316] EXT3-fs: mounted filesystem with ordered data mode. Now if I do anything that causes reads from the drive (in this case du -sh /media/disk, I get the following in the log: Mar 27 11:05:48 XPS-1 kernel: [ 7300.911188] usb 2-2: reset high speed USB device using ehci_hcd and address 7 Mar 27 11:05:49 XPS-1 kernel: [ 7301.173948] sd 5:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK Mar 27 11:05:49 XPS-1 kernel: [ 7301.174001] usb 2-2: USB disconnect, address 7 Mar 27 11:05:49 XPS-1 kernel: [ 7301.174266] sd 5:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK Mar 27 11:05:49 XPS-1 kernel: [ 7301.174448] sd 5:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK Mar 27 11:05:49 XPS-1 kernel: [ 7301.174617] sd 5:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK Mar 27 11:05:49 XPS-1 kernel: [ 7301.174776] sd 5:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK Mar 27 11:05:49 XPS-1 kernel: [ 7301.174956] lost page write due to I/O error on sdb1 Mar 27 11:05:49 XPS-1 kernel: [ 7301.175588] [ cut here ] Mar 27 11:05:49 XPS-1 kernel: [ 7301.175594] WARNING: at /build/buildd/linux-2.6.28/fs/buffer.c:1186 mark_buffer_dirty+0x7d/0xa0() Mar 27 11:05:49 XPS-1 kernel: [ 7301.175599] Modules linked in: usb_storage aes_i586 aes_generic xt_limit xt_tcpudp ipt_LOG ipt_MASQUERADE xt_DSCP ipt_REJECT nf_conntrack_irc nf_conntrack_ftp xt_state i915 drm binfmt_misc ppdev bnep bridge stp kvm_intel kvm kqemu input_polldev joydev sbp2 lp parport iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables x_tables snd_hda_intel arc4 ecb snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss iwlagn iwlcore snd_seq_midi snd_rawmidi snd_seq_midi_event uvcvideo snd_seq snd_timer snd_seq_device led_class compat_ioctl32 videodev hid_dell snd psmouse mac80211 soundcore intel_agp usbhid serio_raw agpgart snd_page_alloc v4l1_compat video cfg80211 sdhci_pci sdhci iTCO_wdt iTCO_vendor_support output dcdbas ohci1394 ieee1394 tg3 fbcon tileblit font bitblit softcursor [last unloaded: pcspkr]
[Bug 349767] Re: external USB hard drive disconnects
I had the problem re-occur recently, but it was fixed with an updated/improved cable. No problems with 12.04 and the right cable now. The original software problem that I experienced prior to kernels 3.x seems to have gone. :-) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/349767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
I am seeing this on 12.04 LTS , 3.2.0-24-generic with all fixes/updates applied as of this morning with an iomega 2TB 'eGo' external USB drive. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/349767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
I am sorry to say that I am hitting this bug with 3.2.0-24-generic (stock precise kernel)., with a Samsung 500GB USB 2.0 2.5 external drive (other external hdds work just fine). Can I provide any more information? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/349767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
** Changed in: linux Status: Invalid = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/349767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
** Changed in: linux Status: Confirmed = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/349767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
Hi, all! Any news on whether this will be backported to 2.6.38 for Natty? At this point I'm reluctant to upgrade to Oneiric (b/c I don't like to be forced into using Unity, which I've not quite warmed up to yet), but I'd still like to enjoy this fix. Please advise. Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/349767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
I did a search for the error that you get: device not accepting address 4, error -32. It seems that it is related to using ehci USB and not to the problem discussed in this bug: For example, see this page: http://ubuntuforums.org/showthread.php?t=898939 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/349767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 349767] Re: external USB hard drive disconnects
Thank you for link but I already found it and directions give there don't apply to my system. That forum discussion suggest to disable ehci_hcd but I don't have that modules loaded on my system. I have xhci_hcd loaded on my system but if I do: sudo rmmod xhci_hcd my USB mouse and keyboard stop working. The only USB connection that work are USB 3.0 where I connect mouse and keyboard. All others USB give errors if I connect something. My opinion is that the xhci_hcd module can manage only USB 3.0 hardware. This is my module list: Module Size Used by rfcomm 48294 0 bluetooth 179403 3 rfcomm parport_pc 37530 0 ppdev 17141 0 binfmt_misc17646 1 dm_crypt 23761 0 usbhid 48081 0 hid 100109 1 usbhid snd_hda_codec_hdmi 33315 4 snd_hda_codec_realtek 321980 1 snd_hda_intel 34236 3 snd_seq_midi 13370 0 snd_rawmidi30426 1 snd_seq_midi snd_hda_codec 108530 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel snd_seq_midi_event 14899 1 snd_seq_midi snd_hwdep 13782 1 snd_hda_codec snd_seq62088 2 snd_seq_midi,snd_seq_midi_event snd_pcm98267 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec snd_seq_device 14528 3 snd_seq_midi,snd_rawmidi,snd_seq snd_timer 30240 2 snd_seq,snd_pcm snd68651 16 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_rawmidi,snd_hda_codec,snd_hwdep,snd_seq,snd_pcm,snd_seq_device,snd_timer soundcore 12680 1 snd sp5100_tco 13787 0 lp 17868 0 snd_page_alloc 18572 2 snd_hda_intel,snd_pcm eeepc_wmi 12911 0 psmouse70214 0 edac_core 54597 0 asus_wmi 25013 1 eeepc_wmi sparse_keymap 13995 1 asus_wmi k10temp13159 0 i2c_piix4 13287 0 edac_mce_amd 23747 0 serio_raw 13294 0 parport42788 3 parport_pc,ppdev,lp dm_mirror 22684 1 dm_region_hash 21033 1 dm_mirror dm_log 18788 3 dm_mirror,dm_region_hash e1000e162398 0 pata_atiixp13157 0 nouveau 757797 2 xhci_hcd 88842 0 ttm77625 1 nouveau ahci 26150 4 drm_kms_helper 43171 1 nouveau libahci31646 1 ahci drm 238528 4 nouveau,ttm,drm_kms_helper i2c_algo_bit 13436 1 nouveau mxm_wmi12979 1 nouveau video 20027 1 nouveau wmi19269 2 asus_wmi,mxm_wmi Maybe I need some other module laded to make all my USB connection to work? 2011/9/8 Matej Kenda matej...@gmail.com I did a search for the error that you get: device not accepting address 4, error -32. It seems that it is related to using ehci USB and not to the problem discussed in this bug: For example, see this page: http://ubuntuforums.org/showthread.php?t=898939 -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects Status in The Linux Kernel: Confirmed Status in “linux” package in Ubuntu: Won't Fix Status in “linux” source package in Lucid: Confirmed Bug description: This is a new external drive enclosure. I can easily reproduce this: Plug in the usb cable and power up the drive. System log shows: Mar 27 11:05:07 XPS-1 kernel: [ 7259.584108] usb 2-2: new high speed USB device using ehci_hcd and address 7 Mar 27 11:05:07 XPS-1 kernel: [ 7259.720027] usb 2-2: configuration #1 chosen from 1 choice Mar 27 11:05:07 XPS-1 kernel: [ 7259.757608] Initializing USB Mass Storage driver... Mar 27 11:05:07 XPS-1 kernel: [ 7259.762530] scsi5 : SCSI emulation for USB Mass Storage devices Mar 27 11:05:07 XPS-1 kernel: [ 7259.768158] usbcore: registered new interface driver usb-storage Mar 27 11:05:07 XPS-1 kernel: [ 7259.768167] USB Mass Storage support registered. Mar 27 11:05:12 XPS-1 kernel: [ 7264.769258] scsi 5:0:0:0: Direct-Access WDC WD16 00JB-75GVA0 08.0 PQ: 0 ANSI: 0 Mar 27 11:05:12 XPS-1 kernel: [ 7264.773347] sd 5:0:0:0: [sdb] 31249 512-byte hardware sectors: (159 GB/149 GiB) Mar 27 11:05:12 XPS-1 kernel: [ 7264.793936] sd 5:0:0:0: [sdb] Write Protect is off Mar 27 11:05:12 XPS-1 kernel: [ 7264.801920] sd 5:0:0:0: [sdb] 31249 512-byte hardware sectors: (159 GB/149 GiB) Mar 27 11:05:12 XPS-1 kernel: [ 7264.804738] sd 5:0:0:0: [sdb] Write Protect is off Mar 27 11:05:12 XPS-1 kernel: [ 7264.804760] sdb: sdb1 Mar 27 11:05:12 XPS-1 kernel: [ 7264.837230] sd 5:0:0:0: [sdb] Attached SCSI disk Mar 27 11:05:12 XPS-1 kernel: [ 7264.837377] sd 5:0:0:0: Attached scsi generic sg2 type 0 Mar 27
[Bug 349767] Re: external USB hard drive disconnects
I installed oneiric and the USB bug for my computer is present. If I connect Sundisk pen drive and do dmesg | tail command show this: sudo dmesg | tail [10434.820037] usb 7-2: device descriptor read/64, error -32 [10435.080034] usb 7-2: device descriptor read/64, error -32 [10435.360040] usb 7-2: new full speed USB device number 3 using ohci_hcd [10435.510035] usb 7-2: device descriptor read/64, error -32 [10435.770034] usb 7-2: device descriptor read/64, error -32 [10436.050036] usb 7-2: new full speed USB device number 4 using ohci_hcd [10436.470032] usb 7-2: device not accepting address 4, error -32 [10436.640034] usb 7-2: new full speed USB device number 5 using ohci_hcd [10437.060042] usb 7-2: device not accepting address 5, error -32 [10437.060074] hub 7-0:1.0: unable to enumerate USB device on port 2 Any idea about why the new kernell 3.0.1 don't work for my Asus Crosshair V Formula? Please help me! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/349767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
Sorry my kernel it's 3.0.0.10.11. Is this patched with USB fix? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/349767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
Now I installed kernel 3.1.0-0301rc4-generic on Oneiric but also this version don't fix my problem with USB. I found again same error sudo dmesg | tail [sudo] password for paolo: [ 49.430060] usb 7-2: device descriptor read/64, error -32 [ 49.690061] usb 7-2: device descriptor read/64, error -32 [ 49.950063] usb 7-2: new full speed USB device number 3 using ohci_hcd [ 50.100062] usb 7-2: device descriptor read/64, error -32 [ 50.360064] usb 7-2: device descriptor read/64, error -32 [ 50.620062] usb 7-2: new full speed USB device number 4 using ohci_hcd [ 51.040046] usb 7-2: device not accepting address 4, error -32 [ 51.210061] usb 7-2: new full speed USB device number 5 using ohci_hcd [ 51.630080] usb 7-2: device not accepting address 5, error -32 [ 51.630111] hub 7-0:1.0: unable to enumerate USB device on port 2 If I use different flash drive I receive always the same error Witch is the fixed kernel version? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/349767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 349767] Re: external USB hard drive disconnects
Ok I try to give some of my log. When I connect my flash drive lsusb report: Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 010 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 011 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 012 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 013 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 012 Device 002: ID 046d:c043 Logitech, Inc. MX320/MX400 Laser Mouse Bus 012 Device 003: ID 046d:c223 Logitech, Inc. G11/G15 Keyboard / USB Hub Bus 012 Device 004: ID 046d:c221 Logitech, Inc. G11/G15 Keyboard / Keyboard Bus 012 Device 005: ID 046d:c225 Logitech, Inc. G11/G15 Keyboard / G keys Bus 010 Device 002: ID 0781:5567 SanDisk Corp. Cruzer Blade If I start to copy a large file from USB flash drive to the desktop on Oneiric, after just a few seconds, I get an error message and my kernel log file say: Sep 6 13:40:12 ninobox kernel: [ 266.120038] usb 10-2: new high speed USB device number 2 using xhci_hcd Sep 6 13:40:12 ninobox kernel: [ 266.140290] xhci_hcd :05:00.0: WARN: short transfer on control ep Sep 6 13:40:12 ninobox kernel: [ 266.140368] xhci_hcd :05:00.0: WARN: short transfer on control ep Sep 6 13:40:12 ninobox kernel: [ 266.140448] xhci_hcd :05:00.0: WARN: short transfer on control ep Sep 6 13:40:12 ninobox kernel: [ 266.140534] xhci_hcd :05:00.0: WARN: short transfer on control ep Sep 6 13:40:13 ninobox kernel: [ 266.785415] usbcore: registered new interface driver uas Sep 6 13:40:13 ninobox kernel: [ 266.786057] Initializing USB Mass Storage driver... Sep 6 13:40:13 ninobox kernel: [ 266.786214] scsi8 : usb-storage 10-2:1.0 Sep 6 13:40:13 ninobox kernel: [ 266.786297] usbcore: registered new interface driver usb-storage Sep 6 13:40:13 ninobox kernel: [ 266.786298] USB Mass Storage support registered. Sep 6 13:40:14 ninobox kernel: [ 267.780629] scsi 8:0:0:0: Direct-Access SanDisk Cruzer Blade 1.03 PQ: 0 ANSI: 2 Sep 6 13:40:14 ninobox kernel: [ 268.650211] sd 8:0:0:0: Attached scsi generic sg5 type 0 Sep 6 13:40:14 ninobox kernel: [ 268.650903] sd 8:0:0:0: [sde] 15633408 512-byte logical blocks: (8.00 GB/7.45 GiB) Sep 6 13:40:14 ninobox kernel: [ 268.651828] xhci_hcd :05:00.0: WARN: Stalled endpoint Sep 6 13:40:14 ninobox kernel: [ 268.652084] sd 8:0:0:0: [sde] Write Protect is off Sep 6 13:40:14 ninobox kernel: [ 268.652086] sd 8:0:0:0: [sde] Mode Sense: 03 00 00 00 Sep 6 13:40:14 ninobox kernel: [ 268.652199] xhci_hcd :05:00.0: WARN: Stalled endpoint Sep 6 13:40:14 ninobox kernel: [ 268.652453] sd 8:0:0:0: [sde] No Caching mode page present Sep 6 13:40:14 ninobox kernel: [ 268.652455] sd 8:0:0:0: [sde] Assuming drive cache: write through Sep 6 13:40:14 ninobox kernel: [ 268.653286] xhci_hcd :05:00.0: WARN: Stalled endpoint Sep 6 13:40:14 ninobox kernel: [ 268.653649] xhci_hcd :05:00.0: WARN: Stalled endpoint Sep 6 13:40:14 ninobox kernel: [ 268.653902] sd 8:0:0:0: [sde] No Caching mode page present Sep 6 13:40:14 ninobox kernel: [ 268.653904] sd 8:0:0:0: [sde] Assuming drive cache: write through Sep 6 13:40:14 ninobox kernel: [ 268.660978] sde: sde1 Sep 6 13:40:14 ninobox kernel: [ 268.661463] xhci_hcd :05:00.0: WARN: Stalled endpoint Sep 6 13:40:14 ninobox kernel: [ 268.661828] xhci_hcd :05:00.0: WARN: Stalled endpoint Sep 6 13:40:14 ninobox kernel: [ 268.662080] sd 8:0:0:0: [sde] No Caching mode page present Sep 6 13:40:14 ninobox kernel: [ 268.662083] sd 8:0:0:0: [sde] Assuming drive cache: write through Sep 6 13:40:14 ninobox kernel: [ 268.662085] sd 8:0:0:0: [sde] Attached SCSI removable disk Sep 6 13:41:25 ninobox kernel: [ 339.090034] xhci_hcd :05:00.0: xHCI host not responding to stop endpoint command. Sep 6 13:41:25 ninobox kernel: [ 339.090037] xhci_hcd :05:00.0: Assuming host is dying, halting host. Sep 6 13:41:25 ninobox kernel: [ 339.090055] xhci_hcd :05:00.0: HC died; cleaning up Sep 6 13:41:25 ninobox kernel: [ 339.090081] usb 10-2: USB disconnect, device number 2 Sep 6 13:41:25 ninobox kernel: [ 339.090128] sd 8:0:0:0: Device offlined - not ready after error recovery Sep 6 13:41:25 ninobox kernel: [ 339.090137] sd 8:0:0:0: [sde] Unhandled error code Sep 6 13:41:25 ninobox kernel: [ 339.090138] sd 8:0:0:0: [sde] Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK Sep 6 13:41:25 ninobox kernel: [ 339.090141] sd 8:0:0:0: [sde] CDB: Write(10): 2a 00 00 00 00 21
[Bug 349767] Re: external USB hard drive disconnects
The change that supposedly fixes this issue was added to Linux kernel 3.0.1 and should be in the Linux kernel used in Oneiric as well. Can you provide kernel log from the time of the disconnect? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/349767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 349767] Re: external USB hard drive disconnects
Yes I will be happy to give the kernel log but I'm not familiar with command line. Can you please give me the command I need to use to get the kernel log about USB problem I mention. 2011/9/5 Matej Kenda matej...@gmail.com The change that supposedly fixes this issue was added to Linux kernel 3.0.1 and should be in the Linux kernel used in Oneiric as well. Can you provide kernel log from the time of the disconnect? -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects Status in The Linux Kernel: Confirmed Status in “linux” package in Ubuntu: Won't Fix Status in “linux” source package in Lucid: Confirmed Bug description: This is a new external drive enclosure. I can easily reproduce this: Plug in the usb cable and power up the drive. System log shows: Mar 27 11:05:07 XPS-1 kernel: [ 7259.584108] usb 2-2: new high speed USB device using ehci_hcd and address 7 Mar 27 11:05:07 XPS-1 kernel: [ 7259.720027] usb 2-2: configuration #1 chosen from 1 choice Mar 27 11:05:07 XPS-1 kernel: [ 7259.757608] Initializing USB Mass Storage driver... Mar 27 11:05:07 XPS-1 kernel: [ 7259.762530] scsi5 : SCSI emulation for USB Mass Storage devices Mar 27 11:05:07 XPS-1 kernel: [ 7259.768158] usbcore: registered new interface driver usb-storage Mar 27 11:05:07 XPS-1 kernel: [ 7259.768167] USB Mass Storage support registered. Mar 27 11:05:12 XPS-1 kernel: [ 7264.769258] scsi 5:0:0:0: Direct-Access WDC WD16 00JB-75GVA0 08.0 PQ: 0 ANSI: 0 Mar 27 11:05:12 XPS-1 kernel: [ 7264.773347] sd 5:0:0:0: [sdb] 31249 512-byte hardware sectors: (159 GB/149 GiB) Mar 27 11:05:12 XPS-1 kernel: [ 7264.793936] sd 5:0:0:0: [sdb] Write Protect is off Mar 27 11:05:12 XPS-1 kernel: [ 7264.801920] sd 5:0:0:0: [sdb] 31249 512-byte hardware sectors: (159 GB/149 GiB) Mar 27 11:05:12 XPS-1 kernel: [ 7264.804738] sd 5:0:0:0: [sdb] Write Protect is off Mar 27 11:05:12 XPS-1 kernel: [ 7264.804760] sdb: sdb1 Mar 27 11:05:12 XPS-1 kernel: [ 7264.837230] sd 5:0:0:0: [sdb] Attached SCSI disk Mar 27 11:05:12 XPS-1 kernel: [ 7264.837377] sd 5:0:0:0: Attached scsi generic sg2 type 0 Mar 27 11:05:13 XPS-1 kernel: [ 7265.513967] kjournald starting. Commit interval 5 seconds Mar 27 11:05:13 XPS-1 kernel: [ 7265.513995] EXT3-fs warning: maximal mount count reached, running e2fsck is recommended Mar 27 11:05:13 XPS-1 kernel: [ 7265.515031] EXT3 FS on sdb1, internal journal Mar 27 11:05:13 XPS-1 kernel: [ 7265.515040] EXT3-fs: recovery complete. Mar 27 11:05:13 XPS-1 kernel: [ 7265.522316] EXT3-fs: mounted filesystem with ordered data mode. Now if I do anything that causes reads from the drive (in this case du -sh /media/disk, I get the following in the log: Mar 27 11:05:48 XPS-1 kernel: [ 7300.911188] usb 2-2: reset high speed USB device using ehci_hcd and address 7 Mar 27 11:05:49 XPS-1 kernel: [ 7301.173948] sd 5:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK Mar 27 11:05:49 XPS-1 kernel: [ 7301.174001] usb 2-2: USB disconnect, address 7 Mar 27 11:05:49 XPS-1 kernel: [ 7301.174266] sd 5:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK Mar 27 11:05:49 XPS-1 kernel: [ 7301.174448] sd 5:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK Mar 27 11:05:49 XPS-1 kernel: [ 7301.174617] sd 5:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK Mar 27 11:05:49 XPS-1 kernel: [ 7301.174776] sd 5:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK Mar 27 11:05:49 XPS-1 kernel: [ 7301.174956] lost page write due to I/O error on sdb1 Mar 27 11:05:49 XPS-1 kernel: [ 7301.175588] [ cut here ] Mar 27 11:05:49 XPS-1 kernel: [ 7301.175594] WARNING: at /build/buildd/linux-2.6.28/fs/buffer.c:1186 mark_buffer_dirty+0x7d/0xa0() Mar 27 11:05:49 XPS-1 kernel: [ 7301.175599] Modules linked in: usb_storage aes_i586 aes_generic xt_limit xt_tcpudp ipt_LOG ipt_MASQUERADE xt_DSCP ipt_REJECT nf_conntrack_irc nf_conntrack_ftp xt_state i915 drm binfmt_misc ppdev bnep bridge stp kvm_intel kvm kqemu input_polldev joydev sbp2 lp parport iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables x_tables snd_hda_intel arc4 ecb snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss iwlagn iwlcore snd_seq_midi snd_rawmidi snd_seq_midi_event uvcvideo snd_seq snd_timer snd_seq_device led_class compat_ioctl32 videodev hid_dell snd psmouse mac80211 soundcore intel_agp usbhid serio_raw agpgart snd_page_alloc v4l1_compat video cfg80211 sdhci_pci sdhci iTCO_wdt iTCO_vendor_support output dcdbas ohci1394 ieee1394 tg3 fbcon tileblit font bitblit softcursor [last unloaded: pcspkr] Mar 27 11:05:49 XPS-1 kernel: [ 7301.175756] Pid: 14093, comm: du Not tainted
[Bug 349767] Re: external USB hard drive disconnects
I tested also Oneiric beta1 live CD and I found the same problem. If I connect a USB flash drive and I try to copy to desktop a big file like an iso image, after a few seconds the USB drive disconnect. My computer is based on a AMD Phenom(tm) II X6 1090T Processor processors (6 cpu cores) Logitech USB-PS/2 Optical Mouse Logitech, G15 Keyboard Logitech, Inc. G15 Keyboard / USB Hub Asus Crosshair V Formula, BIOS 0506 06/22/2011 It's my first time I comment a bug. Please let me know if I can supply more useful informations. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/349767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
Although not yet closed, upstream bug is resolved. Can the patch be merged back to 2.6.38 kernel, which was backported to Lucid from Natty? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/349767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
Fix was released in Linux kernel 3.0.1. http://git.kernel.org/?p=linux/kernel/git/stable/linux-3.0.y.git;a=commit;h=22007e1ddbe599373b116ecf3485ebf842405f73 and resolves upstream bug 32432 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/349767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
The patch which solves the problem is available in the Linus' git: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=004c19682884d4f4ce1ded53f4a1d0b18206 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/349767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
** Changed in: linux (Ubuntu Lucid) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/349767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
This bug was filed against a series that is no longer supported and so is being marked as Won't Fix. If this issue still exists in a supported series, please file a new bug. This change has been made by an automated script, maintained by the Ubuntu Kernel Team. ** Changed in: linux (Ubuntu) Status: Triaged = Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/349767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
Dear subscribers, before going ballistic please note that the automated script closed it only for one project. It appears to still have confirmed status for Linux, and new for Lucid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/349767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
Hi ! Is there any news on this ? I've got the same issue with a Lacie 1TB USB drive. Dmesg shows a disconnect after 1 second. The drive does not appear in lsusb or as in /dev/disk. I' using Ubuntu 10.04.2 LTS on 2.6.32-32-generic. Cheers, Jochen [51279.456013] usb 1-1: new high speed USB device using ehci_hcd and address 3 [51279.597483] usb 1-1: configuration #1 chosen from 1 choice [51279.601119] scsi5 : SCSI emulation for USB Mass Storage devices [51279.602039] usb-storage: device found at 3 [51279.602042] usb-storage: waiting for device to settle before scanning [51284.600125] usb-storage: device scan complete [51284.600620] scsi 5:0:0:0: Direct-Access SAMSUNG HD103SI PQ: 0 ANSI: 2 CCS [51284.602141] sd 5:0:0:0: Attached scsi generic sg2 type 0 [51284.602846] sd 5:0:0:0: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB) [51284.603596] sd 5:0:0:0: [sdc] Write Protect is off [51284.603600] sd 5:0:0:0: [sdc] Mode Sense: 34 00 00 00 [51284.603603] sd 5:0:0:0: [sdc] Assuming drive cache: write through [51284.605592] sd 5:0:0:0: [sdc] Assuming drive cache: write through [51284.605828] sdc: sdc1 [51284.618594] sd 5:0:0:0: [sdc] Assuming drive cache: write through [51284.618886] sd 5:0:0:0: [sdc] Attached SCSI disk [51292.781352] usb 1-1: USB disconnect, address 3 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/349767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
I am in contact with Alan Stern. He provided me a patch for newer Linux kernel (I am using 2.6.38). The patch looks promising. Disconnect didn't happen with patched kernel during the 1 month test period. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/349767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
Seth, I understand that. I reported the results to Alan Stern and Linux USB mailing list as well. I hope that the patch will end up in the Linus' tree. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/349767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
@Matej, thanks for working with the upstream developers to make some progress on this issue! We typically wait for a fix to be merged into Linus's tree at a minimum before pulling it into one of our releases. At this point I don't even see the patch merged into the USB development tree. Once a fix lands upstream we can take a look at pulling it into our kernels. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/349767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
Good news: Patched Linux kernel from Natty (2.6.38) is being used on several computers (COMe) for almost two weeks. USB occasionally disconnected using stock kernel. USB disk where the complete OS is installed did not unexpectedly disconnect on any of these embedded devices. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/349767/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
Alan Stern posted a patch that could potentially solve the problem to linux usb mailing list. http://thread.gmane.org/gmane.linux.usb.general/45577/focus=45587 I modified that patch to be able to apply it to Ubuntu Natty linux kernel 2.6.38. Patched kernel was then compiled on Lucid. I started to run tests with 2.6.38 kernel on Lucid today. ** Patch added: usb-ehci-fix-lucid-2.6.38-10.patch https://bugs.launchpad.net/ubuntu/+source/linux/+bug/349767/+attachment/2151796/+files/usb-ehci-fix-lucid-2.6.38-10.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
Reading through this thread, I experienced exactly the same issue. I changed the USB cable and all is now well. Is this REALLY a bug? Like the previous poster, I would suggest that all subscribers to this bug check their cables. In the light of this, is it possible to suggest in var/log/messages that the user might like to check their cable? Difficult, I know ;-) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
** Bug watch added: Linux Kernel Bug Tracker #32432 http://bugzilla.kernel.org/show_bug.cgi?id=32432 ** Also affects: linux via http://bugzilla.kernel.org/show_bug.cgi?id=32432 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
** Changed in: linux Status: Unknown = Confirmed ** Changed in: linux Importance: Unknown = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
Many thanks to Jools, you are a hero. On my machine a cable change seems to have cured it. I drew a diagram of my setup below. This worked 2 or 3 years without a problem until the fatal kernel upgrade. The devices and cables are rarely being touched or moved, which is why I unfortunately neglected to check for cabling issues right away. Laptop USB --5m cable- Cheapo active USB extension -1m cable- USB Hub -4x1m cable- 4 USB disks Laptop USB - Logitech wireless mouse The 1m cable between USB extension and hub had the damage-prone Mini-B plug (5-pin), and so it was the first I replaced on a hunch. Since then I have performed copy tests and the error did not yet reappear after 200 GB, an amount of data that would usually have triggered it. Have the other subscribers to this bug checked their cables? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
I was having disconnects after kernel 2.6.26 with a usb harddrive on an intel mac mini. No USB quirks, or max sector changes helped. in the end I traced the issue to kernel commit b963801164618e25fbdc0cd452ce49c3628b46c8 I reverted the commit (had to be done manually), and everything is rock solid for me on kernel 2.6.32 - 2.6.38 Attached is the patch I am using currently. applies to 2.6.37/2.6.38 (and maybe earlier) ** Patch added: 0001-reverted-b963801164618e25fbdc0cd452ce49c3628b46c8.patch https://bugs.launchpad.net/ubuntu/+source/linux/+bug/349767/+attachment/1963709/+files/0001-reverted-b963801164618e25fbdc0cd452ce49c3628b46c8.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
I was having experiencing the same symptoms on my machine, first on Lucid and later on Maverick. Random disconnects of an external 2TB USB HDD in intervals ranging between mere minutes up to 2 hours. Even weirder, when I manually unmounted the (single) partition but left the drive running and connected, the partition would remount after a couple of minutes. Disconnects would happen randomly, even when not accessing the drive. I upgraded to Maverick to see if that would resolve it, no luck. I tried the power level trick, no luck. I tried the drive on other machines (and OSses) and not once experienced these symptoms. I do have one other external USB HDD in a 2.5 enclosure (bus powered) which does not exhibit this problem on the same machine. On a hunch I removed the only PCI-card I have in this machine - an Adaptec SCSI controller which I only use for an old film scanner. I have not experienced anymore disconnects since. Driver issue? IRQ issue? I'm not knowledgeable enough to comment. If I can help by providing logs etc. please let me know. The card is not installed anymore at the moment but can put it back in in order to provide useful information. Lenny -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
** Description changed: This is a new external drive enclosure. I can easily reproduce this: Plug in the usb cable and power up the drive. System log shows: Mar 27 11:05:07 XPS-1 kernel: [ 7259.584108] usb 2-2: new high speed USB device using ehci_hcd and address 7 Mar 27 11:05:07 XPS-1 kernel: [ 7259.720027] usb 2-2: configuration #1 chosen from 1 choice Mar 27 11:05:07 XPS-1 kernel: [ 7259.757608] Initializing USB Mass Storage driver... Mar 27 11:05:07 XPS-1 kernel: [ 7259.762530] scsi5 : SCSI emulation for USB Mass Storage devices Mar 27 11:05:07 XPS-1 kernel: [ 7259.768158] usbcore: registered new interface driver usb-storage Mar 27 11:05:07 XPS-1 kernel: [ 7259.768167] USB Mass Storage support registered. Mar 27 11:05:12 XPS-1 kernel: [ 7264.769258] scsi 5:0:0:0: Direct-Access WDC WD16 00JB-75GVA0 08.0 PQ: 0 ANSI: 0 Mar 27 11:05:12 XPS-1 kernel: [ 7264.773347] sd 5:0:0:0: [sdb] 31249 512-byte hardware sectors: (159 GB/149 GiB) Mar 27 11:05:12 XPS-1 kernel: [ 7264.793936] sd 5:0:0:0: [sdb] Write Protect is off Mar 27 11:05:12 XPS-1 kernel: [ 7264.801920] sd 5:0:0:0: [sdb] 31249 512-byte hardware sectors: (159 GB/149 GiB) Mar 27 11:05:12 XPS-1 kernel: [ 7264.804738] sd 5:0:0:0: [sdb] Write Protect is off Mar 27 11:05:12 XPS-1 kernel: [ 7264.804760] sdb: sdb1 Mar 27 11:05:12 XPS-1 kernel: [ 7264.837230] sd 5:0:0:0: [sdb] Attached SCSI disk Mar 27 11:05:12 XPS-1 kernel: [ 7264.837377] sd 5:0:0:0: Attached scsi generic sg2 type 0 Mar 27 11:05:13 XPS-1 kernel: [ 7265.513967] kjournald starting. Commit interval 5 seconds Mar 27 11:05:13 XPS-1 kernel: [ 7265.513995] EXT3-fs warning: maximal mount count reached, running e2fsck is recommended Mar 27 11:05:13 XPS-1 kernel: [ 7265.515031] EXT3 FS on sdb1, internal journal Mar 27 11:05:13 XPS-1 kernel: [ 7265.515040] EXT3-fs: recovery complete. Mar 27 11:05:13 XPS-1 kernel: [ 7265.522316] EXT3-fs: mounted filesystem with ordered data mode. - - Now if I do anything that causes reads from the drive (in this case du -sh /media/disk, I get the following in the log: + Now if I do anything that causes reads from the drive (in this case du + -sh /media/disk, I get the following in the log: Mar 27 11:05:48 XPS-1 kernel: [ 7300.911188] usb 2-2: reset high speed USB device using ehci_hcd and address 7 Mar 27 11:05:49 XPS-1 kernel: [ 7301.173948] sd 5:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK Mar 27 11:05:49 XPS-1 kernel: [ 7301.174001] usb 2-2: USB disconnect, address 7 Mar 27 11:05:49 XPS-1 kernel: [ 7301.174266] sd 5:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK Mar 27 11:05:49 XPS-1 kernel: [ 7301.174448] sd 5:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK Mar 27 11:05:49 XPS-1 kernel: [ 7301.174617] sd 5:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK Mar 27 11:05:49 XPS-1 kernel: [ 7301.174776] sd 5:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK Mar 27 11:05:49 XPS-1 kernel: [ 7301.174956] lost page write due to I/O error on sdb1 Mar 27 11:05:49 XPS-1 kernel: [ 7301.175588] [ cut here ] Mar 27 11:05:49 XPS-1 kernel: [ 7301.175594] WARNING: at /build/buildd/linux-2.6.28/fs/buffer.c:1186 mark_buffer_dirty+0x7d/0xa0() Mar 27 11:05:49 XPS-1 kernel: [ 7301.175599] Modules linked in: usb_storage aes_i586 aes_generic xt_limit xt_tcpudp ipt_LOG ipt_MASQUERADE xt_DSCP ipt_REJECT nf_conntrack_irc nf_conntrack_ftp xt_state i915 drm binfmt_misc ppdev bnep bridge stp kvm_intel kvm kqemu input_polldev joydev sbp2 lp parport iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables x_tables snd_hda_intel arc4 ecb snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss iwlagn iwlcore snd_seq_midi snd_rawmidi snd_seq_midi_event uvcvideo snd_seq snd_timer snd_seq_device led_class compat_ioctl32 videodev hid_dell snd psmouse mac80211 soundcore intel_agp usbhid serio_raw agpgart snd_page_alloc v4l1_compat video cfg80211 sdhci_pci sdhci iTCO_wdt iTCO_vendor_support output dcdbas ohci1394 ieee1394 tg3 fbcon tileblit font bitblit softcursor [last unloaded: pcspkr] Mar 27 11:05:49 XPS-1 kernel: [ 7301.175756] Pid: 14093, comm: du Not tainted 2.6.28-11-generic #37-Ubuntu Mar 27 11:05:49 XPS-1 kernel: [ 7301.175761] Call Trace: Mar 27 11:05:49 XPS-1 kernel: [ 7301.175771] [c0500ae1] ? printk+0x18/0x1f Mar 27 11:05:49 XPS-1 kernel: [ 7301.175779] [c0139ad4] warn_on_slowpath+0x54/0x80 Mar 27 11:05:49 XPS-1 kernel: [ 7301.175788] [c033d600] ? vt_console_print+0x1f0/0x320 Mar 27 11:05:49 XPS-1 kernel: [ 7301.175797] [c0502b68] ? __lock_text_start+0x8/0x20 Mar 27 11:05:49 XPS-1 kernel: [ 7301.175804] [c033d640] ? vt_console_print+0x230/0x320 Mar 27 11:05:49 XPS-1 kernel: [ 7301.175812] [c02c] ? string+0x2b/0xe0 Mar 27 11:05:49
[Bug 349767] Re: external USB hard drive disconnects
Spoke too soon. For some reason, it stayed up for long (8 days) than normal, but same error occurred. Also happened again 2 days later... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
Upgraded to Natty. With kernel linux-image-2.6.38-2-generic at 2.6.38-3.30, I now get a kernel crash when running the backup, the content of which apparently largely is the same as previously in the error logs. Please excuse the crappy quality of the phone cam photo of the attachment. ** Attachment added: IMG00132-20110216-1616.jpg https://bugs.launchpad.net/ubuntu/+source/linux/+bug/349767/+attachment/1854033/+files/IMG00132-20110216-1616.jpg -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
Well actually .. while the kernel message also refers to an unhandled error code, which to my non-expert eyes looks similar to others in the logs, I see now that the kernel message starts with an ext4 IO error. So either a different issue with similar results, or possibly valuable new information? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
Look like Matej's workaround may help for my issue at least. I set power/level to on for the USB hard drives and I've been up for 8 days and counting without an error. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 349767] Re: external USB hard drive disconnects
I found yesterday that I could log out then unplug/plug the drive after it disconnected. Bit quicker than rebooting. Sent from my iPod On 4 Feb 2011, at 00:33, Budoc 349...@bugs.launchpad.net wrote: My drive disconnected earlier as I was playing music off of it with mpd, and would not come back online until I rebooted my computer. Turning the drive off and on again, and plugging it back into the usb port failed to get it working. Only after a reboot did it work again. I noticed a few things in my /var/log/messages that I hadn't seen before. Usually, I just get the first four lines of what I've reproduced below. I'm not sure if what is below is related to mpd or related to the drive, so apologies in advance if this post isn't helpful to the discussion. The details for this drive are given in post #47. Feb 4 00:10:34 tosh kernel: [29023.505128] usb 1-3: USB disconnect, address 2 Feb 4 00:10:39 tosh kernel: [29028.016064] scsi 4:0:0:0: [sdb] Unhandled error code Feb 4 00:10:39 tosh kernel: [29028.016073] scsi 4:0:0:0: [sdb] Result: hostbyte=DID_TIME_OUT driverbyte=DRIVER_OK Feb 4 00:10:39 tosh kernel: [29028.016083] scsi 4:0:0:0: [sdb] CDB: Read(10): 28 00 08 2c 10 4f 00 00 20 00 Feb 4 00:10:39 tosh kernel: [29028.017279] [ cut here ] Feb 4 00:10:39 tosh kernel: [29028.017294] WARNING: at /build/ buildd/linux-2.6.35/fs/buffer.c:1151 mark_buffer_dirty+0x70/0x90() Feb 4 00:10:39 tosh kernel: [29028.017301] Hardware name: Feb 4 00:10:39 tosh kernel: [29028.017305] Modules linked in: usb_storage aes_i586 aes_generic lib80211_crypt_ccmp binfmt_misc parport_pc ppdev snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm snd_seq_midi pcmcia joydev snd_rawmidi i915 drm_kms_helper snd_seq_midi_event snd_seq drm psmouse intel_agp snd_timer snd_seq_device snd agpgart yenta_socket pcmcia_rsrc ipw2200 i2c_algo_bit soundcore snd_page_alloc serio_raw video pcmcia_core output tifm_7xx1 tifm_core libipw cfg80211 lib80211 lp parport 8139too firewire_ohci sdhci_pci 8139cp firewire_core sdhci led_class crc_itu_t mii Feb 4 00:10:39 tosh kernel: [29028.017405] Pid: 19814, comm: mpd Not tainted 2.6.35-25-generic #44-Ubuntu Feb 4 00:10:39 tosh kernel: [29028.017411] Call Trace: Feb 4 00:10:39 tosh kernel: [29028.017425] [c014ad42] warn_slowpath_common+0x72/0xa0 Feb 4 00:10:39 tosh kernel: [29028.017434] [c023d7f0] ? mark_buffer_dirty+0x70/0x90 Feb 4 00:10:39 tosh kernel: [29028.017442] [c023d7f0] ? mark_buffer_dirty+0x70/0x90 Feb 4 00:10:39 tosh kernel: [29028.017452] [c014ad92] warn_slowpath_null+0x22/0x30 Feb 4 00:10:39 tosh kernel: [29028.017460] [c023d7f0] mark_buffer_dirty+0x70/0x90 Feb 4 00:10:39 tosh kernel: [29028.017470] [c0281f9a] T. 1020+0x4a/0x70 Feb 4 00:10:39 tosh kernel: [29028.017479] [c028202b] ext3_handle_error+0x6b/0xc0 Feb 4 00:10:39 tosh kernel: [29028.017487] [c0281009] ? ext3_msg +0x49/0x50 Feb 4 00:10:39 tosh kernel: [29028.017496] [c02820d4] __ext3_std_error+0x54/0x90 Feb 4 00:10:39 tosh kernel: [29028.017505] [c0279732] ext3_reserve_inode_write+0x42/0x90 Feb 4 00:10:39 tosh kernel: [29028.017514] [c02797ab] ext3_mark_inode_dirty+0x2b/0x50 Feb 4 00:10:39 tosh kernel: [29028.017523] [c02798fe] ext3_dirty_inode+0x4e/0x80 Feb 4 00:10:39 tosh kernel: [29028.017533] [c0237561] __mark_inode_dirty+0x31/0x190 Feb 4 00:10:39 tosh kernel: [29028.017542] [c022cd6a] touch_atime +0xea/0x130 Feb 4 00:10:39 tosh kernel: [29028.017552] [c01daf9a] T. 924+0x3da/0x480 Feb 4 00:10:39 tosh kernel: [29028.017563] [c021726f] ? __dentry_open+0x18f/0x280 Feb 4 00:10:39 tosh kernel: [29028.017573] [c01db10b] generic_file_aio_read+0xcb/0x2a0 Feb 4 00:10:39 tosh kernel: [29028.017584] [c0230d1f] ? mntput_no_expire+0x1f/0xd0 Feb 4 00:10:39 tosh kernel: [29028.017594] [c0218a04] do_sync_read+0xa4/0xe0 Feb 4 00:10:39 tosh kernel: [29028.017603] [c01f730b] ? vma_link +0x6b/0xa0 Feb 4 00:10:39 tosh kernel: [29028.017616] [c032ed56] ? apparmor_file_permission+0x16/0x20 Feb 4 00:10:39 tosh kernel: [29028.017628] [c03031b4] ? security_file_permission+0x14/0x20 Feb 4 00:10:39 tosh kernel: [29028.017637] [c0218aa2] ? rw_verify_area+0x62/0xd0 Feb 4 00:10:39 tosh kernel: [29028.017646] [c02192cf] vfs_read +0x9f/0x190 Feb 4 00:10:39 tosh kernel: [29028.017655] [c0218960] ? do_sync_read+0x0/0xe0 Feb 4 00:10:39 tosh kernel: [29028.017664] [c0219402] sys_read +0x42/0x70 Feb 4 00:10:39 tosh kernel: [29028.017675] [c05ca5d4] syscall_call+0x7/0xb Feb 4 00:10:39 tosh kernel: [29028.017685] [c05c] ? amd_check_l3_disable+0xc0/0x1be Feb 4 00:10:39 tosh kernel: [29028.017691] ---[ end trace dd779cb5b7d83cb2 ]--- Feb 4 00:12:51 tosh kernel: [29160.260067] khubd D f5f44c54 021 2 0x Feb 4 00:12:51 tosh kernel: [29160.260079]
[Bug 349767] Re: external USB hard drive disconnects
My drive disconnected earlier as I was playing music off of it with mpd, and would not come back online until I rebooted my computer. Turning the drive off and on again, and plugging it back into the usb port failed to get it working. Only after a reboot did it work again. I noticed a few things in my /var/log/messages that I hadn't seen before. Usually, I just get the first four lines of what I've reproduced below. I'm not sure if what is below is related to mpd or related to the drive, so apologies in advance if this post isn't helpful to the discussion. The details for this drive are given in post #47. Feb 4 00:10:34 tosh kernel: [29023.505128] usb 1-3: USB disconnect, address 2 Feb 4 00:10:39 tosh kernel: [29028.016064] scsi 4:0:0:0: [sdb] Unhandled error code Feb 4 00:10:39 tosh kernel: [29028.016073] scsi 4:0:0:0: [sdb] Result: hostbyte=DID_TIME_OUT driverbyte=DRIVER_OK Feb 4 00:10:39 tosh kernel: [29028.016083] scsi 4:0:0:0: [sdb] CDB: Read(10): 28 00 08 2c 10 4f 00 00 20 00 Feb 4 00:10:39 tosh kernel: [29028.017279] [ cut here ] Feb 4 00:10:39 tosh kernel: [29028.017294] WARNING: at /build/buildd/linux-2.6.35/fs/buffer.c:1151 mark_buffer_dirty+0x70/0x90() Feb 4 00:10:39 tosh kernel: [29028.017301] Hardware name: Feb 4 00:10:39 tosh kernel: [29028.017305] Modules linked in: usb_storage aes_i586 aes_generic lib80211_crypt_ccmp binfmt_misc parport_pc ppdev snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm snd_seq_midi pcmcia joydev snd_rawmidi i915 drm_kms_helper snd_seq_midi_event snd_seq drm psmouse intel_agp snd_timer snd_seq_device snd agpgart yenta_socket pcmcia_rsrc ipw2200 i2c_algo_bit soundcore snd_page_alloc serio_raw video pcmcia_core output tifm_7xx1 tifm_core libipw cfg80211 lib80211 lp parport 8139too firewire_ohci sdhci_pci 8139cp firewire_core sdhci led_class crc_itu_t mii Feb 4 00:10:39 tosh kernel: [29028.017405] Pid: 19814, comm: mpd Not tainted 2.6.35-25-generic #44-Ubuntu Feb 4 00:10:39 tosh kernel: [29028.017411] Call Trace: Feb 4 00:10:39 tosh kernel: [29028.017425] [c014ad42] warn_slowpath_common+0x72/0xa0 Feb 4 00:10:39 tosh kernel: [29028.017434] [c023d7f0] ? mark_buffer_dirty+0x70/0x90 Feb 4 00:10:39 tosh kernel: [29028.017442] [c023d7f0] ? mark_buffer_dirty+0x70/0x90 Feb 4 00:10:39 tosh kernel: [29028.017452] [c014ad92] warn_slowpath_null+0x22/0x30 Feb 4 00:10:39 tosh kernel: [29028.017460] [c023d7f0] mark_buffer_dirty+0x70/0x90 Feb 4 00:10:39 tosh kernel: [29028.017470] [c0281f9a] T.1020+0x4a/0x70 Feb 4 00:10:39 tosh kernel: [29028.017479] [c028202b] ext3_handle_error+0x6b/0xc0 Feb 4 00:10:39 tosh kernel: [29028.017487] [c0281009] ? ext3_msg+0x49/0x50 Feb 4 00:10:39 tosh kernel: [29028.017496] [c02820d4] __ext3_std_error+0x54/0x90 Feb 4 00:10:39 tosh kernel: [29028.017505] [c0279732] ext3_reserve_inode_write+0x42/0x90 Feb 4 00:10:39 tosh kernel: [29028.017514] [c02797ab] ext3_mark_inode_dirty+0x2b/0x50 Feb 4 00:10:39 tosh kernel: [29028.017523] [c02798fe] ext3_dirty_inode+0x4e/0x80 Feb 4 00:10:39 tosh kernel: [29028.017533] [c0237561] __mark_inode_dirty+0x31/0x190 Feb 4 00:10:39 tosh kernel: [29028.017542] [c022cd6a] touch_atime+0xea/0x130 Feb 4 00:10:39 tosh kernel: [29028.017552] [c01daf9a] T.924+0x3da/0x480 Feb 4 00:10:39 tosh kernel: [29028.017563] [c021726f] ? __dentry_open+0x18f/0x280 Feb 4 00:10:39 tosh kernel: [29028.017573] [c01db10b] generic_file_aio_read+0xcb/0x2a0 Feb 4 00:10:39 tosh kernel: [29028.017584] [c0230d1f] ? mntput_no_expire+0x1f/0xd0 Feb 4 00:10:39 tosh kernel: [29028.017594] [c0218a04] do_sync_read+0xa4/0xe0 Feb 4 00:10:39 tosh kernel: [29028.017603] [c01f730b] ? vma_link+0x6b/0xa0 Feb 4 00:10:39 tosh kernel: [29028.017616] [c032ed56] ? apparmor_file_permission+0x16/0x20 Feb 4 00:10:39 tosh kernel: [29028.017628] [c03031b4] ? security_file_permission+0x14/0x20 Feb 4 00:10:39 tosh kernel: [29028.017637] [c0218aa2] ? rw_verify_area+0x62/0xd0 Feb 4 00:10:39 tosh kernel: [29028.017646] [c02192cf] vfs_read+0x9f/0x190 Feb 4 00:10:39 tosh kernel: [29028.017655] [c0218960] ? do_sync_read+0x0/0xe0 Feb 4 00:10:39 tosh kernel: [29028.017664] [c0219402] sys_read+0x42/0x70 Feb 4 00:10:39 tosh kernel: [29028.017675] [c05ca5d4] syscall_call+0x7/0xb Feb 4 00:10:39 tosh kernel: [29028.017685] [c05c] ? amd_check_l3_disable+0xc0/0x1be Feb 4 00:10:39 tosh kernel: [29028.017691] ---[ end trace dd779cb5b7d83cb2 ]--- Feb 4 00:12:51 tosh kernel: [29160.260067] khubd D f5f44c54 0 21 2 0x Feb 4 00:12:51 tosh kernel: [29160.260079] f712fd50 0046 f5f44c54 f62b6000 f5f44c4c c08c4700 c08c4700 Feb 4 00:12:51 tosh kernel: [29160.260096] 9359adac 1a65 c08c4700 c08c4700 1a65 f63d0e00 c08c4700 Feb 4 00:12:51 tosh kernel: [29160.260112] c08c4700 f7138000 0001 f5853fc8 7fff f5853fcc f712fdb4 c05c8895 Feb 4 00:12:51 tosh kernel: [29160.260128] Call Trace: Feb 4
[Bug 349767] Re: external USB hard drive disconnects
I‘ve been experiencing the same problem for a long time for USB sticks and USB drives. LaCie 750GB, SanDisk drives. I’ll try the proposal from Matej. It‘s annoying. The LaCie sometimes when I try to copy large amount of data, disconnects and I hear the harddisk search continuously for tracks. I need to restart the LaCie. Hope the solution proposed by Matej also fixes this problem. I’m running Ubuntu on a MacMini. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
Thanks Matej, unfortunately it does nothing for me. Attached are the logs after a reboot, setting the power level, and running Back in Time (i.e., rsync). The usb devices are the same as posted previously. ** Attachment added: Result of for i in /sys/bus/usb/devices/*/power/level; do echo $i; cat $i; done https://bugs.launchpad.net/ubuntu/+source/linux/+bug/349767/+attachment/1817728/+files/USB_power_levels.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
** Attachment added: tail -f /var/log/messages https://bugs.launchpad.net/ubuntu/+source/linux/+bug/349767/+attachment/1817752/+files/var_log_messages.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
** Attachment added: mounted disks https://bugs.launchpad.net/ubuntu/+source/linux/+bug/349767/+attachment/1817753/+files/mount.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
I see this problem on a HP DL380 server .. the usb drive is currently unavailable:- root@ubuntu:/var/log# uname -a Linux ubuntu 2.6.32-27-server #49-Ubuntu SMP Thu Dec 2 02:05:21 UTC 2010 x86_64 GNU/Linux Jan 23 08:21:55 ubuntu kernel: [648744.030323] usb 1-8.1: reset high speed USB device using ehci_hcd and address 5 Jan 23 08:21:55 ubuntu kernel: [648744.270318] usb 1-8.1: reset high speed USB device using ehci_hcd and address 5 Jan 23 08:21:59 ubuntu kernel: [648748.357759] sd 3:0:0:1: [sdb] Unhandled error code Jan 23 08:21:59 ubuntu kernel: [648748.357765] sd 3:0:0:1: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK Jan 23 08:21:59 ubuntu kernel: [648748.357769] sd 3:0:0:1: [sdb] CDB: Read(10): 28 20 3c 34 73 5f 00 00 f0 00 Jan 23 08:22:30 ubuntu kernel: [648779.000233] usb 1-8.1: reset high speed USB device using ehci_hcd and address 5 Jan 23 08:22:35 ubuntu kernel: [648784.192808] usb 1-8.1: reset high speed USB device using ehci_hcd and address 5 Jan 23 08:22:50 ubuntu kernel: [648798.840292] usb 1-8.1: reset high speed USB device using ehci_hcd and address 5 Jan 23 08:22:50 ubuntu kernel: [648799.070288] usb 1-8.1: reset high speed USB device using ehci_hcd and address 5 Jan 23 08:22:54 ubuntu kernel: [648803.148230] sd 3:0:0:1: [sdb] Unhandled error code Jan 23 08:22:54 ubuntu kernel: [648803.148236] sd 3:0:0:1: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK Jan 23 08:22:54 ubuntu kernel: [648803.148240] sd 3:0:0:1: [sdb] CDB: Read(10): 28 20 6b 07 63 8f 00 00 30 00 Jan 23 08:23:25 ubuntu kernel: [648833.940333] usb 1-8.1: reset high speed USB device using ehci_hcd and address 5 Jan 23 08:46:52 ubuntu kernel: [650240.700241] usb 1-8.1: reset high speed USB device using ehci_hcd and address 5 Jan 23 08:46:52 ubuntu kernel: [650240.930237] usb 1-8.1: reset high speed USB device using ehci_hcd and address 5 Jan 23 08:46:56 ubuntu kernel: [650245.022309] sd 3:0:0:1: [sdb] Unhandled error code root@ubuntu:/var/log# lsusb Bus 006 Device 003: ID 03f0:1327 Hewlett-Packard Bus 006 Device 002: ID 03f0:1027 Hewlett-Packard Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 004: ID 4971:1002 SimpleTech Bus 001 Device 003: ID 4971:1005 SimpleTech Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub root@ubuntu:/var/log# root@ubuntu:/var/log# fdisk -l Disk /dev/cciss/c0d0: 733.9 GB, 733910294528 bytes 255 heads, 63 sectors/track, 89226 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000e9148 Device Boot Start End Blocks Id System /dev/cciss/c0d0p1 * 1 85613 687679488 83 Linux /dev/cciss/c0d0p2 85613 89227290273295 Extended /dev/cciss/c0d0p5 85613 8922729027328 82 Linux swap / Solaris Disk /dev/sda: 4072 MB, 4072669184 bytes 53 heads, 52 sectors/track, 2886 cylinders Units = cylinders of 2756 * 512 = 1411072 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x Device Boot Start End Blocks Id System /dev/sda1 * 32887 3973120b W95 FAT32 root@ubuntu:/var/log# It is interesting that it sees the memory stick which is part of this Hitachi life studio disk. Is there any way to force the drive to be reset without rebooting ? Thx Dave Is there -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
On the machine where USB disc gets disconnected generally after two days uptime, we have disabled the USB power management and this problem didn't happen for cca 6 days uptime. Following script has been added to the file /etc/rc.local for i in /sys/bus/usb/devices/*/power/level; do echo on $i; done On following machines: 10.0.3.57 10.0.3.58 10.0.3.40 10.0.3.39 All these machines will be monitored, if usb disconnect problem occurs This is the command for checking usb power management setting: for i in /sys/bus/usb/devices/*/power/level; do echo $i; cat $i; done auto - means that power management is enabled on - means that usb will be always on (enabled) We don't know why this helps. Is there a kernel boot options to enable power level for all USB devices? See also bug 701011. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
Bug 701011 is similar to this one. Complete USB traces are available there. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
[111691.725819] usb 2-1: USB disconnect, address 52 [111691.725959] sd 5:0:0:0: [sdb] Unhandled error code [111691.725961] sd 5:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK [111691.725965] sd 5:0:0:0: [sdb] CDB: Read(10): 28 00 18 18 d2 a7 00 00 f0 00 [111691.726140] sd 5:0:0:0: [sdb] Unhandled error code [111691.726142] sd 5:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK [111691.726145] sd 5:0:0:0: [sdb] CDB: Read(10): 28 00 18 18 d3 97 00 00 10 00 [111691.726165] sd 5:0:0:0: [sdb] Unhandled error code [111691.726167] sd 5:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK [111691.726170] sd 5:0:0:0: [sdb] CDB: Read(10): 28 00 18 18 d3 a7 00 00 f0 00 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
I found on my system (O2 Joggler with Debian Squeeze) that if I disable my wireless card (USB rt2870) by ifdown the interface and remove the kernel module, this problem can be reproduced within several hours. If I enable the wireless card, the problem can no longer be reproduced for weeks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
Just adding my observations... On 10.04 (2.6.32-27 x86_64) with a JFS filesystem, an external Mediasonic 4-Bay enclose (JBOD) will crap out every few days with: [421343.711477] usb 1-4.1: device descriptor read/8, error -110 [421348.840954] usb 1-4.1: device descriptor read/8, error -110 [421348.951083] sd 10:0:0:0: Device offlined - not ready after error recovery [421348.951095] sd 10:0:0:0: [sdg] Unhandled error code [421348.951097] sd 10:0:0:0: [sdg] Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK [421348.951101] sd 10:0:0:0: [sdg] CDB: Read(16): 88 00 00 00 00 01 2a 1e b9 48 00 00 00 80 00 00 [421348.951112] end_request: I/O error, dev sdg, sector 5001623880 [421348.951132] sd 10:0:0:0: rejecting I/O to offline device etc.. I've noticed that changing the max_sectors on the drive to 1024 makes it fail much more quickly. Unfortunately, it still fails with others I've tried (128, 256, 512), though with 128 it usually runs for a few days. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
This is getting really annoying! Is there any way we can get this fixed? Further information needed? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/349767 Title: external USB hard drive disconnects -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
For me the bug only happens with my ext4-Drive, not with the NTFS one. Can anyone confirm this? -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
For me it happens with ext3 and ext4 drives, but I have no others. -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
It happens to me in Ubuntu 10.10, with an external Lacie 2big drive -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
Just to add a +1 to this bug - I cant give exact details as I am not at my Ubuntu box, and the external drive is no longer being picked up at all, so cant lsusb it. I will try cycling the power later. It is used as a backup drive, is a 1TB external SATA via USB, and it dropped connection during a rsync backup (leading to filling up the /mnt/backup partition with the backup data, making it impossible to log in until some remedial work was done over SSH). I'll post back with more useful data later. -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
Ubuntu Version: 2.6.31-16-generic Nothing comes up with lsusb (although a power cycle has brought it back to life again now). I cant find the manufacturer of the external disk but I *think* its a Lacie 1Tb, externally powered. Hope that helps :) probably not. -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
One of mine is a LaCie 1 TB too. -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
Like Albert Weichselbraun in comment #51, I had a much better experience with kernel 2.6.31. I could not *really* reproduce the error, and if I did, then it was a much more benign version of the bug (see further down for details). For testing I used version 2.6.31-22.67 (amd64) from the Karmic repos, along with the accompanying header files to let dkms compile the current nvidia drivers (as installed in Maverick). Using the Karmic kernel, my backup solution (backintime) managed to backup the complete set (full backup, not incremental) of several hundred GBs from 3 external USB disks to a 4th one (and the laptop's internal disk, too, but that one never posed a problem even with the buggy kernels). I wrote that I could not *really* reproduce it because the backup dd not run in one go without a problem: at one point in the middle of rsync'ing, all external disks did disconnect, which certainly should not happen. However, they remounted automatically and the whole episode did not lead to the nasty logfile entries about usb issues, which have been posted repeatedly above. The backup continued, and the files that were missed during the disconnect were picked up on a subsequent run. This is remarkably different to the behavior of the other reported kernels, where the disconnect (1) leads to the nasty logfile entries, and (2) after that has happened once, the usb system seems to be in an incoherent state and produces errors all the time even with disks that have not be disconnected before. -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
I reproduced the error with the mainline kernel build (and without any proprietary modules), as per https://wiki.ubuntu.com/Kernel/MainlineBuilds. Version tested was linux- image-2.6.35-02063504-generic_2.6.35-02063504.201008271919_amd64.deb, which is the corresponding version to Maverick's 2.6.35-22.35, as per http://kernel.ubuntu.com/~kernel-ppa/info/kernel-version-map.html. -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
I suffer from the same bug. Unlike Albert Weichselbraun I also encountered this using kernel 2.6.31-20 (and 2.6.35-7). I have 2 pieces of 2TB WD greenpower hdds in one external Raidsonic case connected via one usb port (JBOD system). This happens despite of the fact that the disks were idling (contrary to what others mentioned so far). This is extremely irritating since after the last line the devices disappear from /dev/sdx so I cannot even manually remount them. Restarting the PC does not help nor does disconnecting the USB cable. The only solution so far was to power down the external case. Any suggestions would be highly appreciated! kernel log: kernel: [252789.528077] usb 1-3: new high speed USB device using ehci_hcd and address 4 kernel: [252789.664057] scsi3 : usb-storage 1-3:1.0 kernel: [252790.665165] scsi 3:0:0:0: Direct-Access WDC WD20 EARS-00J2GB0 PQ: 0 ANSI: 2 CCS kernel: [252790.665903] scsi 3:0:0:1: Direct-Access WDC WD20 EARS-00S8B1 PQ: 0 ANSI: 2 CCS kernel: [252790.666583] sd 3:0:0:0: Attached scsi generic sg2 type 0 kernel: [252790.666802] sd 3:0:0:1: Attached scsi generic sg3 type 0 kernel: [252790.705220] sd 3:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB) kernel: [252790.706260] sd 3:0:0:0: [sdb] Write Protect is off kernel: [252790.706268] sd 3:0:0:0: [sdb] Mode Sense: 00 38 00 00 kernel: [252790.706272] sd 3:0:0:0: [sdb] Assuming drive cache: write through kernel: [252790.708569] sd 3:0:0:0: [sdb] Assuming drive cache: write through kernel: [252790.708585] sdb: kernel: [252790.716782] sd 3:0:0:1: [sdc] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB) kernel: [252790.717686] unknown partition table kernel: [252790.722066] sd 3:0:0:1: [sdc] Write Protect is off kernel: [252790.722076] sd 3:0:0:1: [sdc] Mode Sense: 00 38 00 00 kernel: [252790.722081] sd 3:0:0:1: [sdc] Assuming drive cache: write through kernel: [252790.725025] sd 3:0:0:0: [sdb] Assuming drive cache: write through kernel: [252790.725037] sd 3:0:0:0: [sdb] Attached SCSI disk kernel: [252790.726222] sd 3:0:0:1: [sdc] Assuming drive cache: write through kernel: [252790.726238] sdc: unknown partition table kernel: [252790.746133] sd 3:0:0:1: [sdc] Assuming drive cache: write through kernel: [252790.746146] sd 3:0:0:1: [sdc] Attached SCSI disk kernel: [252792.484993] EXT4-fs (sdc): recovery complete kernel: [252792.485636] EXT4-fs (sdc): mounted filesystem with ordered data mode. Opts: (null) kernel: [252792.801099] EXT4-fs (sdb): recovery complete kernel: [252792.801704] EXT4-fs (sdb): mounted filesystem with ordered data mode. Opts: (null) kernel: [411692.542758] usb 1-3: USB disconnect, address 5 kernel: [411736.844265] JBD2: I/O error detected when updating journal superblock for sdc-8. kernel: [411755.473553] JBD2: I/O error detected when updating journal superblock for sdb-8. -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
** Attachment added: lsusb after a fresh boot with all 4 external USB disks present. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/349767/+attachment/1717056/+files/lsusb-before.txt -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
** Attachment added: /var/log/messages when the error occurred after copying ca. 80 GB from Bus 001 Device 008 to Bus 001 Device 015 (as per lsusb) in Nautilus https://bugs.launchpad.net/ubuntu/+source/linux/+bug/349767/+attachment/1717057/+files/var_log_messages.txt -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
I have run into this bug as well, but could make the following observations: (a) this problem does not appear if you use a kernel = 2.6.31 (that's actually my current solution - running lucid using the 2.6.31 kernel) (b) this bug strikes on my IBM/Lenovo X41(Intel 82801 FB/FBM/FR/FW/FRM (ICH6 Family) USB chipset) as well as on my company's Dell Optiplex 745 (Intel 82801H (ICH8 Family) USB chipset). My company's Lenovo X200 featuring an Intel ICH9 chipset is not affected. (c) its quite safe to use older USB disks such as a Maxtor 320GB external drive, but newer drives are highly sensitive to this bug. Maybe there is some feature for external USB drives which got supported in 2.6.32 triggering this bug on drives supporting it. -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
Adding to comments #50 and #51: My machine is a MacBook Pro 5.4. lspci gives me the following USB controller info: 00:04.0 USB Controller: nVidia Corporation MCP79 OHCI USB 1.1 Controller (rev b1) 00:04.1 USB Controller: nVidia Corporation MCP79 EHCI USB 2.0 Controller (rev b1) 00:06.0 USB Controller: nVidia Corporation MCP79 OHCI USB 1.1 Controller (rev b1) 00:06.1 USB Controller: nVidia Corporation MCP79 EHCI USB 2.0 Controller (rev b1) I did not experience this issue on Karmic (and I did already back then perform these large copies for backup), which fits with the info in comment #51 that the 2.6.31 kernel does not exhibit the issue. It appeared for me during the Lucid development cycle, then went away again after some kernel update still before release. Since then I have unfortunately not performed copy operations with such large amounts of data (and usually it works even today when copying smaller amounts), so I cannot say for sure when it reappeared (or indeed whether the experienced initial disappearance in Lucid was a fluke and the bug just never got triggered by chance). Different to what Albert in #51 sees, I have experienced the problem with tow oldish 300 GB disks and a 1 TB disk, but have yet to see it with my brand new 2 TB one. I get the impression that I can trigger it more easily when using rsync via the BackInTime backup tool than when using cp or Nautilus. However, that may be by chance, and I certainly *have* triggered it with cp and Nautilus, too. -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
If it helps I was able to catch one of these disconnects with usbmon. It looks like the disconnect happened at line 12382. ** Attachment added: usbmon.log https://bugs.launchpad.net/ubuntu/lucid/+source/linux/+bug/349767/+attachment/1715296/+files/usbmon.log -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
** Attachment added: relevant part of /var/log/messages https://bugs.launchpad.net/ubuntu/lucid/+source/linux/+bug/349767/+attachment/1715297/+files/messages.log -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
I am seeing this same issue under 10.10 with kernel 2.6.35-22-generic. This is running on a standard Sun Ultra 27 Workstation. Using a SanDisk U3 Titanium USB stick in this case, but it happens with all my USB hard drives. Details from syslog follow. Oct 28 11:45:31 burra kernel: [249424.002680] scsi 10:0:0:0: Direct-Access SanDisk U3 Titanium 7.01 PQ: 0 ANSI: 0 CCS Oct 28 11:45:31 burra kernel: [249424.003316] sd 10:0:0:0: Attached scsi generic sg3 type 0 Oct 28 11:45:31 burra kernel: [249424.004151] sd 10:0:0:0: [sdc] 15745023 512-byte logical blocks: (8.06 GB/7.50 GiB) Oct 28 11:45:31 burra kernel: [249424.004616] sd 10:0:0:0: [sdc] Write Protect is off Oct 28 11:45:31 burra kernel: [249424.004623] sd 10:0:0:0: [sdc] Mode Sense: 45 00 00 08 Oct 28 11:45:31 burra kernel: [249424.004627] sd 10:0:0:0: [sdc] Assuming drive cache: write through Oct 28 11:45:31 burra kernel: [249424.006533] sd 10:0:0:0: [sdc] Assuming drive cache: write through Oct 28 11:45:31 burra kernel: [249424.006539] sdc: sdc1 Oct 28 11:45:31 burra kernel: [249424.009011] sd 10:0:0:0: [sdc] Assuming drive cache: write through Oct 28 11:45:31 burra kernel: [249424.009016] sd 10:0:0:0: [sdc] Attached SCSI removable disk Oct 28 11:46:13 burra kernel: [249465.229023] usb 2-5: reset high speed USB device using ehci_hcd and address 12 Oct 28 11:46:44 burra kernel: [249496.024807] usb 2-5: reset high speed USB device using ehci_hcd and address 12 Oct 28 11:47:15 burra kernel: [249526.902013] usb 2-5: reset high speed USB device using ehci_hcd and address 12 Oct 28 11:47:46 burra kernel: [249557.855677] usb 2-5: reset high speed USB device using ehci_hcd and address 12 Oct 28 11:48:17 burra kernel: [249588.731214] usb 2-5: reset high speed USB device using ehci_hcd and address 12 Oct 28 11:48:48 burra kernel: [249619.686586] usb 2-5: reset high speed USB device using ehci_hcd and address 12 Oct 28 11:48:48 burra kernel: [249619.837111] sd 10:0:0:0: [sdc] Unhandled error code Oct 28 11:48:48 burra kernel: [249619.837115] sd 10:0:0:0: [sdc] Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK Oct 28 11:48:48 burra kernel: [249619.837119] sd 10:0:0:0: [sdc] CDB: Write(10): 2a 00 00 89 bb 4e 00 00 f0 00 Oct 28 11:48:48 burra kernel: [249619.837129] end_request: I/O error, dev sdc, sector 9026382 Oct 28 11:49:20 burra kernel: [249651.599308] usb 2-5: reset high speed USB device using ehci_hcd and address 12 Oct 28 11:49:51 burra kernel: [249682.474875] usb 2-5: reset high speed USB device using ehci_hcd and address 12 Oct 28 11:50:22 burra kernel: [249713.430194] usb 2-5: reset high speed USB device using ehci_hcd and address 12 Oct 28 11:50:53 burra kernel: [249744.305790] usb 2-5: reset high speed USB device using ehci_hcd and address 12 Oct 28 11:51:10 burra kernel: [249761.260264] INFO: task nautilus:2 blocked for more than 120 seconds. Oct 28 11:51:10 burra kernel: [249761.260269] echo 0 /proc/sys/kernel/hung_task_timeout_secs disables this message. Oct 28 11:51:10 burra kernel: [249761.260272] nautilus D 0001017d7962 0 2 9859 0x Oct 28 11:51:10 burra kernel: [249761.260278] 88002a82b938 0082 8800 00015980 Oct 28 11:51:10 burra kernel: [249761.260283] 88002a82bfd8 00015980 88002a82bfd8 8800c9eac4a0 Oct 28 11:51:10 burra kernel: [249761.260287] 00015980 00015980 88002a82bfd8 00015980 Oct 28 11:51:10 burra kernel: [249761.260291] Call Trace: Oct 28 11:51:10 burra kernel: [249761.260299] [81587023] io_schedule+0x73/0xc0 Oct 28 11:51:10 burra kernel: [249761.260305] [812a3f6c] get_request_wait+0xcc/0x1a0 Oct 28 11:51:10 burra kernel: [249761.260311] [8107f610] ? autoremove_wake_function+0x0/0x40 Oct 28 11:51:10 burra kernel: [249761.260316] [8129dca1] ? elv_merge+0x161/0x210 Oct 28 11:51:10 burra kernel: [249761.260319] [812a40d3] __make_request+0x93/0x4b0 Oct 28 11:51:10 burra kernel: [249761.260326] [812a2cc3] generic_make_request+0x1b3/0x530 Oct 28 11:51:10 burra kernel: [249761.260330] [811038b5] ? mempool_alloc_slab+0x15/0x20 Oct 28 11:51:10 burra kernel: [249761.260333] [811039b3] ? mempool_alloc+0x63/0x140 Oct 28 11:51:10 burra kernel: [249761.260339] [81181832] ? bvec_alloc_bs+0x62/0x110 Oct 28 11:51:10 burra kernel: [249761.260342] [812a30c2] submit_bio+0x82/0x110 Oct 28 11:51:10 burra kernel: [249761.260345] [8110b3ae] ? test_set_page_writeback+0xbe/0x170 Oct 28 11:51:10 burra kernel: [249761.260349] [81186357] mpage_bio_submit+0x27/0x30 Oct 28 11:51:10 burra kernel: [249761.260353] [81186ee6] __mpage_writepage+0x256/0x610 Oct 28 11:51:10 burra kernel: [249761.260358] [812bc575] ? radix_tree_gang_lookup_tag_slot+0x95/0xe0 Oct 28 11:51:10 burra kernel: [249761.260362] [81101130] ? find_get_pages_tag+0x40/0x110 Oct 28 11:51:10 burra
[Bug 349767] Re: external USB hard drive disconnects
I can trigger this quite reliably in Lucid. It seems to happen with 3 of my 4 external USB disks, at least so far. I just need to copy a few hundred GB of data, and most days it will happen eventually - sometimes rather quickly, sometimes it copies for a few hours before happening. So long in fact that it may be by chance that it hasn't happened with the 4th disk yet. I tried the Natty kernel 2.6.36-1-generic from the kernel ppa, and after happily copying 200 GB it happened with that, too. -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
As an additional comment, this happens on both an externally powered Freecom 500 Gb external USB drive that is identified in /var/log/messages as SAMSUNG HD501LJ which is formatted to EXT-3, and a USB-powered WD My Passport 140 GB drive that is identified as WD 1600BEA External 1.04 in /var/log/messages which is formatted to NTFS. The most recent disconnection that I have observed was when I was playing mp3s using mpd with the Freecom 500 Gb drive. The relevant portion of /var/log/messages concerning the disconnection is reproduced below. Scanning the drive with gparted reveals that there are no problems with it. Please let me know if there is anything that I can do to help identify this bug. Sep 23 18:27:18 tosh kernel: [22266.936060] usb 1-5: new high speed USB device using ehci_hcd and address 2 Sep 23 18:27:18 tosh kernel: [22267.068965] usb 1-5: configuration #1 chosen from 1 choice Sep 23 18:27:19 tosh kernel: [22267.872396] Initializing USB Mass Storage driver... Sep 23 18:27:19 tosh kernel: [22267.872526] scsi4 : SCSI emulation for USB Mass Storage devices Sep 23 18:27:19 tosh kernel: [22267.872701] usbcore: registered new interface driver usb-storage Sep 23 18:27:19 tosh kernel: [22267.872705] USB Mass Storage support registered. Sep 23 18:27:24 tosh kernel: [22272.873482] scsi 4:0:0:0: Direct-Access SAMSUNG HD501LJ PQ: 0 ANSI: 2 CCS Sep 23 18:27:24 tosh kernel: [22272.875871] sd 4:0:0:0: Attached scsi generic sg2 type 0 Sep 23 18:27:24 tosh kernel: [22272.877019] sd 4:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/465 GiB) Sep 23 18:27:24 tosh kernel: [22272.877516] sd 4:0:0:0: [sdb] Write Protect is off Sep 23 18:27:24 tosh kernel: [22272.878897] sdb: sdb1 Sep 23 18:27:24 tosh kernel: [22272.906582] sd 4:0:0:0: [sdb] Attached SCSI disk Sep 23 18:27:27 tosh kernel: [22275.421597] kjournald starting. Commit interval 5 seconds Sep 23 18:27:27 tosh kernel: [22275.422649] EXT3 FS on sdb1, internal journal Sep 23 18:27:27 tosh kernel: [22275.422659] EXT3-fs: mounted filesystem with ordered data mode. Sep 23 18:34:25 tosh kernel: [22694.112071] usb 1-5: reset high speed USB device using ehci_hcd and address 2 Sep 23 18:34:36 tosh kernel: [22704.356066] usb 1-5: reset high speed USB device using ehci_hcd and address 2 Sep 23 18:34:36 tosh kernel: [22705.049836] usb 1-5: USB disconnect, address 2 Sep 23 18:34:36 tosh kernel: [22705.049915] sd 4:0:0:0: Device offlined - not ready after error recovery Sep 23 18:34:36 tosh kernel: [22705.049931] sd 4:0:0:0: [sdb] Unhandled error code Sep 23 18:34:36 tosh kernel: [22705.049937] sd 4:0:0:0: [sdb] Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK Sep 23 18:34:36 tosh kernel: [22705.049946] sd 4:0:0:0: [sdb] CDB: Read(10): 28 00 1d 27 b8 df 00 00 f0 00 Sep 23 18:34:36 tosh kernel: [22705.050118] sd 4:0:0:0: [sdb] Unhandled error code Sep 23 18:34:36 tosh kernel: [22705.050123] sd 4:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK Sep 23 18:34:36 tosh kernel: [22705.050131] sd 4:0:0:0: [sdb] CDB: Read(10): 28 00 1d 27 b9 cf 00 00 f0 00 Sep 23 18:34:37 tosh kernel: [22705.300104] usb 1-5: new high speed USB device using ehci_hcd and address 3 Sep 23 18:34:37 tosh kernel: [22705.433169] usb 1-5: configuration #1 chosen from 1 choice Sep 23 18:34:37 tosh kernel: [22705.438028] scsi5 : SCSI emulation for USB Mass Storage devices Sep 23 18:34:42 tosh kernel: [22710.467974] scsi 5:0:0:0: Direct-Access SAMSUNG HD501LJ PQ: 0 ANSI: 2 CCS Sep 23 18:34:42 tosh kernel: [22710.472716] sd 5:0:0:0: Attached scsi generic sg2 type 0 Sep 23 18:34:42 tosh kernel: [22710.474292] sd 5:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/465 GiB) Sep 23 18:34:42 tosh kernel: [22710.474850] sd 5:0:0:0: [sdb] Write Protect is off Sep 23 18:34:42 tosh kernel: [22710.477040] sdb: sdb1 Sep 23 18:34:42 tosh kernel: [22710.502839] sd 5:0:0:0: [sdb] Attached SCSI disk Sep 23 18:34:43 tosh kernel: [22711.430539] kjournald starting. Commit interval 5 seconds Sep 23 18:34:43 tosh kernel: [22711.431310] EXT3 FS on sdb1, internal journal Sep 23 18:34:43 tosh kernel: [22711.431314] EXT3-fs: recovery complete. Sep 23 18:34:43 tosh kernel: [22711.431868] EXT3-fs: mounted filesystem with ordered data mode. -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
I forgot to add that this is with Ubuntu 10.04 using Linux 2.6.32-24-generic on i686. I've only noticed this issue with 10.04. -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
This is happening to me on ubuntu-server 10.04 x64, as well, with an xhci 1.0TB WD and two different ehci Seagates (1.0TB, 500GB). This is a serious problem as we are using these USB drives for nightly backup purposes, and this is causing the backups to fail. Let me know what logs, etc. I can include to help out. -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
As a follow-up: once this starts happening, there's almost nothing I can do to prevent it: it happens almost every time I try to do anything to the drives. Also: all of the drives work just fine in Windows on the machine in question as well as other machines. -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
** Also affects: linux (Ubuntu Lucid) Importance: Undecided Status: New -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
also reported here: https://bugs.launchpad.net/ubuntu/+bug/622494 -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
I've just experienced this bug like 4 times in a row. How can I help? The hardware is brand new and it doesn't happen under Mac OS X (same computer). -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
is there actually any progress on this issue? Any further information required to find the bug? -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
i have random usb harddisk disconnects too. what i'm seeing is when i copy several GB of data to it, it will stop working after a while (several minutes), show this in the /var/log/messages: May 30 08:56:21 eeepc kernel: [28603.462424] usb 1-3: USB disconnect, address 66 May 30 08:56:28 eeepc kernel: [28610.304144] usb 1-3: new high speed USB device using ehci_hcd and address 67 May 30 08:56:28 eeepc kernel: [28610.449760] usb 1-3: configuration #1 chosen from 1 choice May 30 08:56:28 eeepc kernel: [28610.452094] scsi49 : SCSI emulation for USB Mass Storage devices May 30 08:56:33 eeepc kernel: [28615.452975] scsi 49:0:0:0: Direct-Access SAMSUNG HM250JI PQ: 0 ANSI: 2 CCS May 30 08:56:33 eeepc kernel: [28615.457023] sd 49:0:0:0: Attached scsi generic sg2 type 0 May 30 08:56:33 eeepc kernel: [28615.468424] sd 49:0:0:0: [sdaf] 488397168 512-byte logical blocks: (250 GB/232 GiB) May 30 08:56:33 eeepc kernel: [28615.470035] sd 49:0:0:0: [sdaf] Write Protect is off May 30 08:56:33 eeepc kernel: [28615.471819] sdaf: sdaf1 May 30 08:56:33 eeepc kernel: [28616.155880] sd 49:0:0:0: [sdaf] Attached SCSI disk May 30 09:07:47 eeepc kernel: [29289.325424] usb 1-3: USB disconnect, address 67 May 30 09:07:53 eeepc kernel: [29295.813083] usb 1-3: new high speed USB device using ehci_hcd and address 68 May 30 09:07:53 eeepc kernel: [29295.961819] usb 1-3: configuration #1 chosen from 1 choice May 30 09:07:53 eeepc kernel: [29295.962887] scsi50 : SCSI emulation for USB Mass Storage devices May 30 09:07:58 eeepc kernel: [29300.961156] scsi 50:0:0:0: Direct-Access SAMSUNG HM250JI PQ: 0 ANSI: 2 CCS May 30 09:07:58 eeepc kernel: [29300.969111] sd 50:0:0:0: Attached scsi generic sg2 type 0 May 30 09:07:58 eeepc kernel: [29300.970691] sd 50:0:0:0: [sdag] 488397168 512-byte logical blocks: (250 GB/232 GiB) May 30 09:07:58 eeepc kernel: [29300.971556] sd 50:0:0:0: [sdag] Write Protect is off May 30 09:07:59 eeepc kernel: [29300.973984] sdag: sdag1 May 30 09:07:59 eeepc kernel: [29301.576354] sd 50:0:0:0: [sdag] Attached SCSI disk May 30 09:08:31 eeepc kernel: [29333.974797] usb 1-3: USB disconnect, address 68 May 30 09:08:48 eeepc kernel: [29350.240135] usb 1-3: new high speed USB device using ehci_hcd and address 69 May 30 09:08:48 eeepc kernel: [29350.600147] usb 1-3: new high speed USB device using ehci_hcd and address 70 May 30 09:08:48 eeepc kernel: [29350.742977] usb 1-3: configuration #1 chosen from 1 choice May 30 09:08:48 eeepc kernel: [29350.745284] scsi51 : SCSI emulation for USB Mass Storage devices May 30 09:08:48 eeepc kernel: [29350.894418] usb 1-3: USB disconnect, address 70 May 30 09:08:56 eeepc kernel: [29358.756137] usb 1-3: new high speed USB device using ehci_hcd and address 71 May 30 09:08:56 eeepc kernel: [29358.905855] usb 1-3: configuration #1 chosen from 1 choice May 30 09:08:56 eeepc kernel: [29358.908400] scsi52 : SCSI emulation for USB Mass Storage devices May 30 09:09:01 eeepc kernel: [29363.909172] scsi 52:0:0:0: Direct-Access SAMSUNG HM250JI PQ: 0 ANSI: 2 CCS May 30 09:09:01 eeepc kernel: [29363.920525] sd 52:0:0:0: Attached scsi generic sg2 type 0 May 30 09:09:01 eeepc kernel: [29363.922779] sd 52:0:0:0: [sdah] 488397168 512-byte logical blocks: (250 GB/232 GiB) May 30 09:09:01 eeepc kernel: [29363.923934] sd 52:0:0:0: [sdah] Write Protect is off May 30 09:09:02 eeepc kernel: [29363.925800] sdah: sdah1 May 30 09:09:02 eeepc kernel: [29364.606965] sd 52:0:0:0: [sdah] Attached SCSI disk and mount the disk under a new mountpoint under /media with an additional underscore. the above log is somewhere in the middle of a large amount of disconnects/reconnects; it show the partition (/dev/sdc1) as sdaf1. i think is is a USB driver bug since i never had this problem with 9.10. it's not just harddisks though. i also have usb remote controls that when plugged in, crash the usb driver and even the whole system sometimes (reproducible, no log messages, never happend in 9.10). i dont know if i should report that as another bug as it's most likely due to the usb driver. -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
i should perhaps also mention that this happens on 3 different linux machines that i tested on. one is fresh installed, 2 are upgraded from 9.10, all 3 have usb issues now. all had no problems with usb devices before the upgrade to 10.04. i would opt for an increase in priority of this issue as all 3 systems are less than reliable at the moment and 2 of them 'need' to be running 24/7. -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
see #580983 -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
I am suffering from this. 10.04 32-bit, Intel Mac Mini, all ports the same. Cannot reproduce, it just happens at least once per day. Got the Western Digital 1.5GB, ext4, USB 2.0, Enermax Jazz case. How can I help solving this issue? May 1 11:13:47 fabian kernel: [ 1974.056390] usb 1-6: USB disconnect, address 12 May 1 11:13:47 fabian kernel: [ 1974.056995] sd 5:0:0:0: Device offlined - not ready after error recovery May 1 11:13:47 fabian kernel: [ 1974.057039] sd 5:0:0:0: [sdb] Unhandled error code May 1 11:13:47 fabian kernel: [ 1974.057045] sd 5:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK May 1 11:13:47 fabian kernel: [ 1974.057052] sd 5:0:0:0: [sdb] CDB: Read(10): 28 00 14 21 92 7f 00 00 f0 00 May 1 11:13:47 fabian kernel: [ 1974.057073] end_request: I/O error, dev sdb, sector 337744511 May 1 11:13:47 fabian kernel: [ 1974.057133] sd 5:0:0:0: [sdb] Unhandled error code May 1 11:13:47 fabian kernel: [ 1974.057137] sd 5:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK May 1 11:13:47 fabian kernel: [ 1974.057144] sd 5:0:0:0: [sdb] CDB: Read(10): 28 00 14 21 93 6f 00 00 10 00 May 1 11:13:47 fabian kernel: [ 1974.057164] end_request: I/O error, dev sdb, sector 337744751 May 1 11:13:48 fabian kernel: [ 1974.573204] JBD2: I/O error detected when updating journal superblock for sdb1-8. May 1 11:13:48 fabian kernel: [ 1974.578035] EXT4-fs (sdb1): previous I/O error to superblock detected Replugging doesn't help me either, I need to restart the device, even though the case LED is still on and the drive is active. -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
Have the same issue with Lucid on Lenovo Thinkpad W500 with external Hitachi HTS72101 0G9SA00 hard drive when copying data from the external drive to local hard drive and vice versa. Kernel 2.6.32-22-generic-pae Description:Ubuntu 10.04 LTS Release:10.04 Codename: lucid This issue highly depends on the hardware combination. 1. other external hard drives like Lenovo secure hard disk 160GB do not show this issue 2. same Hitachi HDD attached to a Lenovo Thinkpad T61p does not have this issue. /var/log/messages entries when copying fails: May 11 16:33:20 user-laptop kernel: [ 5060.404169] usb 1-1: USB disconnect, address 5 May 11 16:33:20 user-laptop kernel: [ 5060.404227] sd 7:0:0:0: [sdc] Unhandled error code May 11 16:33:20 user-laptop kernel: [ 5060.404234] sd 7:0:0:0: [sdc] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK May 11 16:33:20 user-laptop kernel: [ 5060.404244] sd 7:0:0:0: [sdc] CDB: Read(10): 28 00 01 3c 23 df 00 00 f0 00 May 11 16:33:20 user-laptop kernel: [ 5060.404334] sd 7:0:0:0: [sdc] Unhandled error code May 11 16:33:20 user-laptop kernel: [ 5060.404340] sd 7:0:0:0: [sdc] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK May 11 16:33:20 user-laptop kernel: [ 5060.404348] sd 7:0:0:0: [sdc] CDB: Read(10): 28 00 01 3c 24 cf 00 00 10 00 May 11 16:33:20 user-laptop kernel: [ 5060.404394] sd 7:0:0:0: [sdc] Unhandled error code May 11 16:33:20 user-laptop kernel: [ 5060.404399] sd 7:0:0:0: [sdc] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK May 11 16:33:20 user-laptop kernel: [ 5060.404407] sd 7:0:0:0: [sdc] CDB: Read(10): 28 00 01 3c 24 df 00 00 f0 00 May 11 16:33:20 user-laptop kernel: [ 5060.604527] usb 3-1: new full speed USB device using uhci_hcd and address 10 May 11 16:33:21 user-laptop kernel: [ 5061.164236] usb 3-1: new full speed USB device using uhci_hcd and address 11 May 11 16:33:21 user-laptop kernel: [ 5061.724045] usb 3-1: new full speed USB device using uhci_hcd and address 12 May 11 16:33:22 user-laptop kernel: [ 5062.244102] usb 3-1: new full speed USB device using uhci_hcd and address 13 The partition /dev/sdc1 is now unmounted and the complete drive is unavailable. Kind regards, Thorsten ** Attachment added: lshw -html output, red devices are unclaimed=not managed by a module - external drive is /dev/sdc http://launchpadlibrarian.net/48277152/W500_hardware.html -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
Additional comment: After the device has failed: 1. device is not listed with lsusb any more 2. every call of lsusb produces four lines with increasing adress numbers like these in /var/log/messages: May 11 17:12:22 user-laptop kernel: [ 7402.560103] usb 6-1: new full speed USB device using uhci_hcd and address 10 May 11 17:12:23 user-laptop kernel: [ 7403.176101] usb 6-1: new full speed USB device using uhci_hcd and address 11 May 11 17:12:23 user-laptop kernel: [ 7403.736083] usb 6-1: new full speed USB device using uhci_hcd and address 12 May 11 17:12:24 user-laptop kernel: [ 7404.312110] usb 6-1: new full speed USB device using uhci_hcd and address 13 Several strange CPU state udev REMOVE and ADD events happen, during the drive failure. See appended log for details. Kind regards, Thorsten ** Attachment added: drive connect, fail and disconnect log done with udevadm monitor command in one file http://launchpadlibrarian.net/48282075/udevadm_monitor.txt -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
I am not seeing this issue in 9.10 using 2.6.31-20 kernel using Western Digital 1.5GB driver hooked up via usb, esata, firewire. I left it connected more then 24 hours. This bug was orginally reported for 9.04 -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
Steve, does this still happen with Lucid Alpha 3? -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
Very old bug for 9.10 beta. Does any see this issues with 2.6.31-20 kernel, released today. I will try this with a 1.5GB Western Digital drive I have. This issue is more then likely resolved in 9.10. -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
** Attachment added: BootDmesg.txt http://launchpadlibrarian.net/29995759/BootDmesg.txt -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
** Attachment added: CurrentDmesg.txt http://launchpadlibrarian.net/29995760/CurrentDmesg.txt -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
** Attachment added: Lspci.txt http://launchpadlibrarian.net/29995763/Lspci.txt -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
** Attachment added: Lsusb.txt http://launchpadlibrarian.net/29995764/Lsusb.txt -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
** Attachment added: ProcCpuinfo.txt http://launchpadlibrarian.net/29995766/ProcCpuinfo.txt -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
** Attachment added: ProcInterrupts.txt http://launchpadlibrarian.net/29995767/ProcInterrupts.txt -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
** Attachment added: ProcModules.txt http://launchpadlibrarian.net/29995768/ProcModules.txt -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
** Attachment added: UdevDb.txt http://launchpadlibrarian.net/29995769/UdevDb.txt -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
** Attachment added: UdevLog.txt http://launchpadlibrarian.net/29995770/UdevLog.txt ** Tags added: apport-collected -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
I can confirm this with my external 750gb WD drive. It's utterly annoying since I use it to store all my files and watching a movie followed by having it halt every 5 mins when the drive is disconnected is mildly put unacceptable. -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
David, could you please run apport-collect 349767? This will collect your system hardware information and add them to this bug. -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 349767] Re: external USB hard drive disconnects
** Changed in: linux (Ubuntu) Importance: Undecided = Medium ** Changed in: linux (Ubuntu) Status: New = Triaged -- external USB hard drive disconnects https://bugs.launchpad.net/bugs/349767 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs