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 0000:05:00.0: WARN:
short transfer on control ep
Sep  6 13:40:12 ninobox kernel: [  266.140368] xhci_hcd 0000:05:00.0: WARN:
short transfer on control ep
Sep  6 13:40:12 ninobox kernel: [  266.140448] xhci_hcd 0000:05:00.0: WARN:
short transfer on control ep
Sep  6 13:40:12 ninobox kernel: [  266.140534] xhci_hcd 0000: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 0000: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 0000: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 0000:05:00.0: WARN:
Stalled endpoint
Sep  6 13:40:14 ninobox kernel: [  268.653649] xhci_hcd 0000: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 0000:05:00.0: WARN:
Stalled endpoint
Sep  6 13:40:14 ninobox kernel: [  268.661828] xhci_hcd 0000: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 0000:05:00.0: xHCI
host not responding to stop endpoint command.
Sep  6 13:41:25 ninobox kernel: [  339.090037] xhci_hcd 0000:05:00.0:
Assuming host is dying, halting host.
Sep  6 13:41:25 ninobox kernel: [  339.090055] xhci_hcd 0000: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 00 00 01 00
Sep  6 13:41:25 ninobox kernel: [  339.090147] end_request: I/O error, dev
sde, sector 33
Sep  6 13:41:25 ninobox kernel: [  339.090150] Buffer I/O error on device
sde1, logical block 1
Sep  6 13:41:25 ninobox kernel: [  339.090151] lost page write due to I/O
error on sde1
Sep  6 13:41:25 ninobox kernel: [  339.090176] sd 8:0:0:0: [sde] Unhandled
error code
Sep  6 13:41:25 ninobox kernel: [  339.090177] sd 8:0:0:0: [sde]  Result:
hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Sep  6 13:41:25 ninobox kernel: [  339.090179] sd 8:0:0:0: [sde] CDB:
Write(10): 2a 00 00 00 1e 00 00 00 01 00
Sep  6 13:41:25 ninobox kernel: [  339.090183] end_request: I/O error, dev
sde, sector 7680
Sep  6 13:41:25 ninobox kernel: [  339.090185] Buffer I/O error on device
sde1, logical block 7648
Sep  6 13:41:25 ninobox kernel: [  339.090186] lost page write due to I/O
error on sde1

I hope this will help understand problem.

I decide to install Oneiric on my computer.
I discover that the USB hub installed on my case that is connected to
internal motherboard USB connections don't work at all.
My USB logitech mouse and keyboard work fine only if I connect to the blue
USB 3.0 connectors of the motherboard.
If I connect my USB flash drive to the keyboard USB hub it is recognized.
But if I try to copy a file to the desktop I get the same USB flash drive
disconnection and also keyboard and mouse stop working.

I try also to install Lucid, Maveryck and Natty and I have always this USB
malfunction!
This problem looks difficult to be fixed!


2011/9/6 Paolo D.G. <[email protected]>

> 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  problem I mention.
>
>
> 2011/9/5 Matej Kenda <[email protected]>
>
>> 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] 312499999
>> 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] 312499999
>> 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 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]  [<c02cbbbb>] ?
>> string+0x2b/0xe0
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.175819]  [<c033d410>] ?
>> vt_console_print+0x0/0x320
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.175827]  [<c013a2a9>] ?
>> release_console_sem+0x1c9/0x200
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.175836]  [<c01dd9fd>]
>> mark_buffer_dirty+0x7d/0xa0
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.175844]  [<c0219e36>]
>> ext3_commit_super+0x46/0x70
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.175852]  [<c021c138>]
>> ext3_handle_error+0x48/0xb0
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.175858]  [<c0500ae1>] ?
>> printk+0x18/0x1f
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.175865]  [<c021c261>]
>> ext3_error+0x51/0x60
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.175872]  [<c0212f06>]
>> __ext3_get_inode_loc+0x296/0x300
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.175881]  [<c01cfea7>] ?
>> get_new_inode_fast+0xe7/0x120
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.175888]  [<c01d0ae3>] ?
>> iget_locked+0x53/0x60
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.175894]  [<c0212fc5>]
>> ext3_iget+0x55/0x3d0
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.175903]  [<c01ccb15>] ?
>> d_rehash+0x45/0x60
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.175909]  [<c02187e1>]
>> ext3_lookup+0x81/0xd0
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.175916]  [<c0502d08>] ?
>> _spin_lock+0x8/0x10
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.175923]  [<c01ce767>] ?
>> d_alloc+0x137/0x190
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.175931]  [<c01c6ac7>]
>> real_lookup+0xa7/0x110
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.175938]  [<c01c6bb5>]
>> do_lookup+0x85/0xc0
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.175945]  [<c01c7125>]
>> __link_path_walk+0x535/0xb30
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.175953]  [<c01c7b74>]
>> path_walk+0x54/0xb0
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.175961]  [<c01c7d0e>]
>> do_path_lookup+0xae/0x190
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.175968]  [<c01c894a>]
>> user_path_at+0x4a/0x80
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.175975]  [<c01c10ae>]
>> vfs_lstat_fd+0x1e/0x50
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.175982]  [<c01c1228>]
>> sys_fstatat64+0x48/0x60
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.175990]  [<c0103f6b>]
>> sysenter_do_call+0x12/0x2f
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.175999]  [<c0500000>] ?
>> relay_hotcpu_callback+0x4d/0xbd
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.176034] ---[ end trace
>> 9ff3116a5fd25f1f ]---
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.177450] lost page write due to I/O
>> error on sdb1
>>  Mar 27 11:05:49 XPS-1 kernel: [ 7301.177527] lost page write due to I/O
>> error on sdb1
>>
>>  I have not gotten the stack trace every time this happens, so that may
>>  be incidental to the fundamental problem.
>>
>>  ProblemType: Bug
>>  Architecture: i386
>>  DistroRelease: Ubuntu 9.04
>>  MachineType: Dell Inc. XPS M1330
>>  Package: linux-image-2.6.28-11-generic 2.6.28-11.37
>>  ProcCmdLine: root=UUID=52bfcdb8-5615-4225-b411-3cc63da13a24 ro quiet
>> splash  crashkernel=384M-2G:64M@16M,2G-:128M@16M
>>  ProcEnviron:
>>   PATH=(custom, user)
>>   LANG=en_US.UTF-8
>>   SHELL=/bin/bash
>>  ProcVersionSignature: Ubuntu 2.6.28-11.37-generic
>>  SourcePackage: linux
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/linux/+bug/349767/+subscriptions
>>
>
>

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to