[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/46696 (uhub disables port where USB keyboard attached)
> What's your full dmesg?
The one in http://gnats.netbsd.org/48214 will do (same machine, same
-current, and even happened to hit this bug in that particular boot).
> The output from usbdebug and uhubdebug set to 11 would be helpful.
I changed the initializations of usbdebug and uhubdebug to 11 in usb.c
and uhub.c, respectively, and built a kernel with options USB_DEBUG
and MSGBUFSIZE=262144 (but not UHUB_DEBUG, an oversight on my part).
Your patch was applied.
This kernel booted successfully 25 times in a row without problems.
Looks like we are dealing with a Heisenbug.
To double-check, I set usbdebug and uhubdebug back to 0 by patching
the kernel binary and rebooted again, and the problem was back. The
output was now a bit more verbose than without the USB_DEBUG option
(despite usbdebug being 0):
uhub3: 8 ports with 8 removable, self powered
usbd_new_device: set address 3 failed
uhub_explore: usbd_new_device failed, error=SET_ADDR_FAILED
uhub2: device problem, disabling port 3
I'm not including the usbdebug=11 output here since it doesn't show
the problem happening, but if you want it anyway, let me know.
Andreas Gustafsson, gson%gson.org@localhost
Main Index |
Thread Index |