Bug 8836 - HUB Disconnect Problem.
Summary: HUB Disconnect Problem.
Status: REJECTED INSUFFICIENT_DATA
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: All Linux
: P1 high
Assignee: Greg Kroah-Hartman
URL:
Keywords:
Depends on:
Blocks: USB
  Show dependency tree
 
Reported: 2007-08-01 16:36 UTC by Hakan
Modified: 2009-03-23 11:26 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.20-16-generic
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Hakan 2007-08-01 16:36:20 UTC
Most recent kernel where this bug did not occur: -
Distribution: Kubuntu 7.04 Feisty Fawn
Hardware Environment: 2 Port USB, First ; ADSL Modem , Second ; 4-Port HUB
Software Environment: Kubuntu 7.04 with 2.6.20-16-generic 
Problem Description: I have a problem with USB/HUB system. My USB devices disconnects/reconnects in every 5 minutes. Linux have a problem with my 4-Port HUB. All my USB devices(mouse,modem,printer ..) disconnects in every 5 minutes for 2~10 seconds. This is terrible for me.(Think, you're downloading a file, and.. your pc lost connection to modem. OR, you working on important things, and  suddenly your mouse disconnects.)

Here a part of my dmesg :

[21352.593714] hub 1-1:1.0: USB hub found
[21352.596528] hub 1-1:1.0: 4 ports detected
[21352.930322] usb 1-1.1: new full speed USB device using ohci_hcd and address 27
[21353.010272] usb 1-1.1: device descriptor read/64, error -62
[21353.194168] usb 1-1.1: device descriptor read/64, error -62
[21353.374058] usb 1-1.1: new full speed USB device using ohci_hcd and address 28
[21353.454006] usb 1-1.1: device descriptor read/64, error -62
[21353.637906] usb 1-1.1: device descriptor read/64, error -62
[21353.817803] usb 1-1.1: new full speed USB device using ohci_hcd and address 29
[21354.224409] usb 1-1.1: device not accepting address 29, error -62
[21354.301509] usb 1-1.1: new full speed USB device using ohci_hcd and address 30
[21354.708231] usb 1-1.1: device not accepting address 30, error -62
[21354.930134] usb 1-1.2: new low speed USB device using ohci_hcd and address 31
[21355.039204] usb 1-1.2: configuration #1 chosen from 1 choice
[21355.054219] input: HID 04d9:0499 as /class/input/input34
[21355.054306] input: USB HID v1.10 Mouse [HID 04d9:0499] on usb-0000:00:02.2-1.2
[21355.265949] usb 1-1.3: new full speed USB device using ohci_hcd and address 32
[21355.828742] usb 1-1.3: configuration #1 chosen from 1 choice
[21356.045512] usb 1-1.4: new full speed USB device using ohci_hcd and address 33
[21356.159568] usb 1-1.4: configuration #1 chosen from 1 choice
[21356.168486] drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 33 if 0 alt 0 proto 2 vid 0x03F0 pid 0x7604
[21370.654351] eth0: no IPv6 routers present

 **** And another part ;

[ 6347.934899] hub 1-1:1.0: hub_port_status failed (err = -62)
[ 6347.962877] hub 1-1:1.0: hub_port_status failed (err = -62)

 **** And another part ;

  864.185342] hub 1-1:1.0: cannot reset port 4 (err = -62)
[  864.188366] hub 1-1:1.0: cannot reset port 4 (err = -62)
[  864.191356] hub 1-1:1.0: cannot reset port 4 (err = -62)
[  864.194353] hub 1-1:1.0: cannot reset port 4 (err = -62)
[  864.197677] hub 1-1:1.0: cannot reset port 4 (err = -62)
[  864.197686] hub 1-1:1.0: Cannot enable port 4.  Maybe the USB cable is bad?
[  864.200333] hub 1-1:1.0: cannot disable port 4 (err = -62)
[  864.203344] hub 1-1:1.0: cannot reset port 4 (err = -62)
[  864.206345] hub 1-1:1.0: cannot reset port 4 (err = -62)
[  864.209339] hub 1-1:1.0: cannot reset port 4 (err = -62)
[  864.212341] hub 1-1:1.0: cannot reset port 4 (err = -62)
[  864.215343] hub 1-1:1.0: cannot reset port 4 (err = -62)
[  864.215352] hub 1-1:1.0: Cannot enable port 4.  Maybe the USB cable is bad?
[  864.218334] hub 1-1:1.0: cannot disable port 4 (err = -62)
[  864.221344] hub 1-1:1.0: cannot reset port 4 (err = -62)
[  864.224333] hub 1-1:1.0: cannot reset port 4 (err = -62)
[  864.227341] hub 1-1:1.0: cannot reset port 4 (err = -62)
[  864.230331] hub 1-1:1.0: cannot reset port 4 (err = -62)
[  864.233329] hub 1-1:1.0: cannot reset port 4 (err = -62)
[  864.233337] hub 1-1:1.0: Cannot enable port 4.  Maybe the USB cable is bad?
[  864.236330] hub 1-1:1.0: cannot disable port 4 (err = -62)
[  864.239315] hub 1-1:1.0: cannot reset port 4 (err = -62)
[  864.242333] hub 1-1:1.0: cannot reset port 4 (err = -62)
[  864.245318] hub 1-1:1.0: cannot reset port 4 (err = -62)
[  864.248342] hub 1-1:1.0: cannot reset port 4 (err = -62)
[  864.251316] hub 1-1:1.0: cannot reset port 4 (err = -62)
[  864.251325] hub 1-1:1.0: Cannot enable port 4.  Maybe the USB cable is bad?
[  864.254313] hub 1-1:1.0: cannot disable port 4 (err = -62)
[  864.257314] hub 1-1:1.0: cannot disable port 4 (err = -62)
[  864.260307] hub 1-1:1.0: hub_port_status failed (err = -62)

Full of my dmesg can be found at  http://pastebin.com/f37c3dfff

Please help me fast, this problem is very annoying for me.
 
P.S: Yes, my english is bad :)
Comment 1 Hakan 2007-08-01 16:37:39 UTC
Here my LSUSB ;
Bus 001 Device 033: ID 03f0:7604 Hewlett-Packard
Bus 001 Device 032: ID 1131:1001 Integrated System Solution Corp. KY-BT100 Bluetooth Adapter
Bus 001 Device 031: ID 04d9:0499 Holtek Semiconductor, Inc.
Bus 001 Device 026: ID 05e3:0605 Genesys Logic, Inc. USB 2.0 Hub [ednet]
Bus 001 Device 025: ID 069a:0311 Askey Computer Corp.
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000


Here my LSPCI ;
0:00.0 Host bridge: Silicon Integrated Systems [SiS] 650/M650 Host (rev 01)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS961 [MuTIOL Media IO] (rev 10)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
00:02.3 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
00:0a.0 Communication controller: Conexant HSF 56k HSFi Modem (rev 01)
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
Comment 2 Hakan 2007-08-01 16:47:58 UTC
Maybe this[1] bug related for my problem.

[1] : https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/88746
Comment 3 Greg Kroah-Hartman 2007-08-01 16:50:54 UTC
It looks like your hardware is bad.

Can you try the 2.6.22 or 2.6.23-rc1 kernel release and see if that works better for you?  Also, please try to enable the CONFIG_USB_DEBUG option so that we get better debug messages for this.
Comment 4 Hakan 2007-08-01 16:56:09 UTC
New entries for dmesg ; 

[24285.479678] hub 1-2:1.0: USB hub found
[24285.482591] hub 1-2:1.0: 4 ports detected
[24285.816380] usb 1-2.1: new full speed USB device using ohci_hcd and address 56
[24285.952444] usb 1-2.1: rejected 1 configuration due to insufficient available bus power
[24285.952451] usb 1-2.1: no configuration chosen from 1 choice
[24286.164173] usb 1-2.2: new low speed USB device using ohci_hcd and address 57
[24286.273245] usb 1-2.2: configuration #1 chosen from 1 choice
[24286.288249] input: HID 04d9:0499 as /class/input/input37
[24286.288333] input: USB HID v1.10 Mouse [HID 04d9:0499] on usb-0000:00:02.2-2.2
[24286.499986] usb 1-2.3: new full speed USB device using ohci_hcd and address 58
[24286.595916] usb 1-2.3: device descriptor read/all, error -62
[24286.671870] usb 1-2.3: new full speed USB device using ohci_hcd and address 59
[24286.751823] usb 1-2.3: device descriptor read/64, error -62
[24286.951707] usb 1-2.3: device descriptor read/all, error -62
[24287.027674] usb 1-2.3: new full speed USB device using ohci_hcd and address 60
[24287.082767] usb 1-2.3: configuration #1 chosen from 1 choice
[24287.299516] usb 1-2.4: new full speed USB device using ohci_hcd and address 61
[24287.403582] usb 1-2.4: configuration #1 chosen from 1 choice
[24287.409524] drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 61 if 0 alt 0 proto 2 vid 0x03F0 pid 0x7604
[24288.845825] hci_cmd_task: hci0 command tx timeout
[24289.856460] hci_cmd_task: hci0 command tx timeout
[24290.859558] hci_cmd_task: hci0 command tx timeout
[24302.184832] eth0: no IPv6 routers present
[24315.160167] hci_cmd_task: hci0 command tx timeout

"insufficient bus power" , "hci0 command tx timeout" ? I think interesting :)
Comment 5 Anonymous Emailer 2007-08-01 17:01:52 UTC
Reply-To: akpm@linux-foundation.org

On Wed,  1 Aug 2007 16:30:13 -0700 (PDT)
bugme-daemon@bugzilla.kernel.org wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=8836
> 
>            Summary: HUB Disconnect Problem.
>            Product: Drivers
>            Version: 2.5
>      KernelVersion: 2.6.20-16-generic
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: high
>           Priority: P1
>          Component: USB
>         AssignedTo: greg@kroah.com
>         ReportedBy: cmxheadshot@gmail.com
> 
> 
> Most recent kernel where this bug did not occur: -
> Distribution: Kubuntu 7.04 Feisty Fawn
> Hardware Environment: 2 Port USB, First ; ADSL Modem , Second ; 4-Port HUB
> Software Environment: Kubuntu 7.04 with 2.6.20-16-generic 
> Problem Description: I have a problem with USB/HUB system. My USB devices
> disconnects/reconnects in every 5 minutes. Linux have a problem with my
> 4-Port
> HUB. All my USB devices(mouse,modem,printer ..) disconnects in every 5
> minutes
> for 2~10 seconds. This is terrible for me.(Think, you're downloading a file,
> and.. your pc lost connection to modem. OR, you working on important things,
> and  suddenly your mouse disconnects.)
> 
> Here a part of my dmesg :
> 
> [21352.593714] hub 1-1:1.0: USB hub found
> [21352.596528] hub 1-1:1.0: 4 ports detected
> [21352.930322] usb 1-1.1: new full speed USB device using ohci_hcd and
> address
> 27
> [21353.010272] usb 1-1.1: device descriptor read/64, error -62
> [21353.194168] usb 1-1.1: device descriptor read/64, error -62
> [21353.374058] usb 1-1.1: new full speed USB device using ohci_hcd and
> address
> 28
> [21353.454006] usb 1-1.1: device descriptor read/64, error -62
> [21353.637906] usb 1-1.1: device descriptor read/64, error -62
> [21353.817803] usb 1-1.1: new full speed USB device using ohci_hcd and
> address
> 29
> [21354.224409] usb 1-1.1: device not accepting address 29, error -62
> [21354.301509] usb 1-1.1: new full speed USB device using ohci_hcd and
> address
> 30
> [21354.708231] usb 1-1.1: device not accepting address 30, error -62
> [21354.930134] usb 1-1.2: new low speed USB device using ohci_hcd and address
> 31
> [21355.039204] usb 1-1.2: configuration #1 chosen from 1 choice
> [21355.054219] input: HID 04d9:0499 as /class/input/input34
> [21355.054306] input: USB HID v1.10 Mouse [HID 04d9:0499] on
> usb-0000:00:02.2-1.2
> [21355.265949] usb 1-1.3: new full speed USB device using ohci_hcd and
> address
> 32
> [21355.828742] usb 1-1.3: configuration #1 chosen from 1 choice
> [21356.045512] usb 1-1.4: new full speed USB device using ohci_hcd and
> address
> 33
> [21356.159568] usb 1-1.4: configuration #1 chosen from 1 choice
> [21356.168486] drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer
> dev
> 33 if 0 alt 0 proto 2 vid 0x03F0 pid 0x7604
> [21370.654351] eth0: no IPv6 routers present
> 
>  **** And another part ;
> 
> [ 6347.934899] hub 1-1:1.0: hub_port_status failed (err = -62)
> [ 6347.962877] hub 1-1:1.0: hub_port_status failed (err = -62)
> 
>  **** And another part ;
> 
>   864.185342] hub 1-1:1.0: cannot reset port 4 (err = -62)
> [  864.188366] hub 1-1:1.0: cannot reset port 4 (err = -62)
> [  864.191356] hub 1-1:1.0: cannot reset port 4 (err = -62)
> [  864.194353] hub 1-1:1.0: cannot reset port 4 (err = -62)
> [  864.197677] hub 1-1:1.0: cannot reset port 4 (err = -62)
> [  864.197686] hub 1-1:1.0: Cannot enable port 4.  Maybe the USB cable is
> bad?
> [  864.200333] hub 1-1:1.0: cannot disable port 4 (err = -62)
> [  864.203344] hub 1-1:1.0: cannot reset port 4 (err = -62)
> [  864.206345] hub 1-1:1.0: cannot reset port 4 (err = -62)
> [  864.209339] hub 1-1:1.0: cannot reset port 4 (err = -62)
> [  864.212341] hub 1-1:1.0: cannot reset port 4 (err = -62)
> [  864.215343] hub 1-1:1.0: cannot reset port 4 (err = -62)
> [  864.215352] hub 1-1:1.0: Cannot enable port 4.  Maybe the USB cable is
> bad?
> [  864.218334] hub 1-1:1.0: cannot disable port 4 (err = -62)
> [  864.221344] hub 1-1:1.0: cannot reset port 4 (err = -62)
> [  864.224333] hub 1-1:1.0: cannot reset port 4 (err = -62)
> [  864.227341] hub 1-1:1.0: cannot reset port 4 (err = -62)
> [  864.230331] hub 1-1:1.0: cannot reset port 4 (err = -62)
> [  864.233329] hub 1-1:1.0: cannot reset port 4 (err = -62)
> [  864.233337] hub 1-1:1.0: Cannot enable port 4.  Maybe the USB cable is
> bad?
> [  864.236330] hub 1-1:1.0: cannot disable port 4 (err = -62)
> [  864.239315] hub 1-1:1.0: cannot reset port 4 (err = -62)
> [  864.242333] hub 1-1:1.0: cannot reset port 4 (err = -62)
> [  864.245318] hub 1-1:1.0: cannot reset port 4 (err = -62)
> [  864.248342] hub 1-1:1.0: cannot reset port 4 (err = -62)
> [  864.251316] hub 1-1:1.0: cannot reset port 4 (err = -62)
> [  864.251325] hub 1-1:1.0: Cannot enable port 4.  Maybe the USB cable is
> bad?
> [  864.254313] hub 1-1:1.0: cannot disable port 4 (err = -62)
> [  864.257314] hub 1-1:1.0: cannot disable port 4 (err = -62)
> [  864.260307] hub 1-1:1.0: hub_port_status failed (err = -62)
> 
> Full of my dmesg can be found at  http://pastebin.com/f37c3dfff
> 
> Please help me fast, this problem is very annoying for me.
> 
> P.S: Yes, my english is bad :)
Comment 6 Hakan 2007-08-01 17:22:40 UTC
(In reply to comment #3)
> It looks like your hardware is bad.
> 
> Can you try the 2.6.22 or 2.6.23-rc1 kernel release and see if that works
> better for you?  Also, please try to enable the CONFIG_USB_DEBUG option so
> that
> we get better debug messages for this.
> 

I don't think I have a problem with my hardware, because in other distros(Mostly using Linux 2.6.18.xx) , I don't have a problem. 

How can I enable the CONFIG_USB_DEBUG ?
Comment 7 Hakan 2007-08-02 17:37:19 UTC
I tried in Linux2.6.22-9-generic , the problem continues..
Comment 8 Alan Stern 2007-08-23 13:52:55 UTC
It looks like you need to replace your hub.  Try using a powered hub instead.  The devices you have attached to it use too much electricity for an unpowered hub.
Comment 9 Hakan 2007-09-05 22:59:48 UTC
I tried disconnect all my usb devices (printer etc.) and I used only my usb mouse, but the problem still continues, My PC have 2 usb ports, in first port, hub, second port, my usb modem, but the problem occurs, this problem effects all of ports. If my hub is problematic, why the usb modem disconnects ?

And my old distro Pardus (using 2.6.18.xx), It works perfect.
Comment 10 Alan Stern 2007-09-06 07:07:49 UTC
I can't answer your questions without more information.  You need to enable the "make menuconfig" option for Device Drivers/USB support/USB verbose debug messages, rebuild the kernel, and then attach to this bug report the output from dmesg after booting.

Note You need to log in before you can comment on or make changes to this bug.