public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* khubd blocking in D state with 2.5.5-pre1
@ 2002-02-17 22:34 Udo A. Steinberg
  2002-02-18  0:08 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Udo A. Steinberg @ 2002-02-17 22:34 UTC (permalink / raw)
  To: Greg Kroah Hartmann; +Cc: Linux Kernel


Hi Greg,

Since 2.5.5-pre1 I'm using the normal UCHI driver (used the JE one before).

The USB system is as follows:

/proc/bus/usb/devices 
T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc= 11/900 us ( 1%), #Int=  1, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI Root Hub
S:  SerialNumber=d000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 4
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=058f ProdID=9254 Rev= 1.00
S:  Manufacturer=ALCOR
S:  Product=Generic USB Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=255ms
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI Root Hub
S:  SerialNumber=d400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs=  1
P:  Vendor=04b8 ProdID=0110 Rev= 1.10
S:  Manufacturer=EPSON
S:  Product=EPSON Scanner
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=usbscanner
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms

My monitor acts as USB hub. When the monitor is switched off and then back
on the khubd kernel thread blocks in D state:

PID TT       USER     COMMAND  TMOUT   F WCHAN   WCHAN
 12 ?        root     khubd        - 140 down   1075e6

dmesg shows:

hub.c: new USB device on bus 1 path /1, assigned address 2
hub.c: new USB device on bus 1 path /2, assigned address 3
hub.c: USB hub found at /2
hub.c: 5 ports detected
hub.c: new USB device on bus 1 path /2/1, assigned address 4
usb-uhci.c: interrupt, status 2, frame# 1932
usb.c: USB device not responding, giving up (error=-84)
hub.c: new USB device on bus 1 path /2/1, assigned address 5
usb.c: USB device 5 (vend/prod 0x56d/0x2) is not claimed by any active driver.
usb.c: USB disconnect on device 3

Is this a known problem?

Regards,
Udo.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: khubd blocking in D state with 2.5.5-pre1
  2002-02-17 22:34 khubd blocking in D state with 2.5.5-pre1 Udo A. Steinberg
@ 2002-02-18  0:08 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2002-02-18  0:08 UTC (permalink / raw)
  To: Udo A. Steinberg; +Cc: Linux Kernel

On Sun, Feb 17, 2002 at 11:34:11PM +0100, Udo A. Steinberg wrote:
> 
> My monitor acts as USB hub. When the monitor is switched off and then back
> on the khubd kernel thread blocks in D state:

<snip>

> Is this a known problem?

Yes it is.  See the lkml archives for some patches from me and Pat
Mochel that fix this problem.  It is a combination of bugs in both the
USB core, and the driverfs code that cause this.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-02-18  0:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-17 22:34 khubd blocking in D state with 2.5.5-pre1 Udo A. Steinberg
2002-02-18  0:08 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox