Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: panic unplugging usb keyboard



* Juan RP:
> Hey,
>
> I just got this panic while I unplugged the usb keyboard that is
> used for the console:
>
> panic: config_detach: forced detach of wskbd0 failed (16)
>
> couldn't look at the backtrace, but it's repeatable.

I was about to report the same. I started having this issue about a week
ago, after updating my amd64 running -current. I know that 4.99.45 didn't
have this quirk, as that was the version before. This is a bit of a nasty bug
for me, as my keyboard and mouse connect to a USB KVM switch, which turns out
to be no less than *two* USB hubs (one USB2.0, one USB1.1, USB1.1 hub is 
internally
connected to the 2.0 one). When switching host, the USB 2.0 hub (and everything
underneath it) is disconnected from the old host, and connected to the new one. 
Crude, but effective - until recently :)

Relevant bits and info from dmesg:

ohci0 at pci0 dev 2 function 0: NVIDIA nForce4 USB Host Controller (rev. 0xa2)
APCF: Picked IRQ 20 with weight 0
ohci0: interrupting at ioapic0 pin 20 (irq 3)
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: NVIDIA OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 10 ports with 10 removable, self powered
ehci0 at pci0 dev 2 function 1: NVIDIA nForce4 USB2 Host Controller (rev. 0xa3)
APCL: Picked IRQ 21 with weight 0
ehci0: interrupting at ioapic0 pin 21 (irq 11)
ehci0: EHCI version 1.0
ehci0: companion controller, 4 ports each: ohci0
usb1 at ehci0: USB revision 2.0
uhub1 at usb1
uhub1: NVIDIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 10 ports with 10 removable, self powered
[...]
uhub2 at uhub1 port 4
uhub2: Genesys Logic USB2.0 Hub, class 9/0, rev 2.00/7.02, addr 2
uhub2: single transaction translator
uhub2: 4 ports with 4 removable, self powered
[...]
uhub3 at uhub2 port 4
uhub3: ALCOR Generic USB Hub, class 9/0, rev 1.10/3.12, addr 4
uhub3: 4 ports with 4 removable, self powered
uhidev0 at uhub3 port 3 configuration 1 interface 0
uhidev0: Microsoft NaturalM-BM-. Ergonomic Keyboard 4000, rev 2.00/1.73, addr 
5, icl
ass 3/1
ukbd0 at uhidev0
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev1 at uhub3 port 3 configuration 1 interface 1
uhidev1: Microsoft NaturalM-BM-. Ergonomic Keyboard 4000, rev 2.00/1.73, addr 
5, icl
ass 3/0
uhidev1: 1 report ids
uhid0 at uhidev1 reportid 1: input=7, output=0, feature=0
uhidev2 at uhub3 port 4 configuration 1 interface 0
uhidev2: Microsoft Microsoft IntelliMouseM-BM-. Optical, rev 1.10/1.21, addr 6, 
icla
ss 3/1
ums0 at uhidev2: 5 buttons and Z dir.
wsmouse0 at ums0 mux 0

-- 
Martijn van Buul - pino%dohd.org@localhost 



Home | Main Index | Thread Index | Old Index