Opened 18 years ago
Closed 18 years ago
#895 closed bug (fixed)
system lock when with uhci usb
Reported by: | korli | Owned by: | mmlr |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Drivers/USB | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | x86 |
Description
The system locks when loading the usb stack.
Reproducable on QEmu with when using "-usb -usbdevice mouse"
Attachments (1)
Change History (5)
by , 18 years ago
Attachment: | seriallog.txt added |
---|
comment:1 by , 18 years ago
About the serial log, I added a kernel_debugger() call to the latest line before the system lock happens.
comment:2 by , 18 years ago
Which version of QEMU did you use to reproduce this? I wasn't able to reproduce it over here. The problem is that the BusManager tries to configure the device, but the device doesn't responde to the setup transfer. Since transfer timeouts are not yet implemented, the system hangs. You could try to change the acquire_sem() call in Pipe.cpp ControlPipe::SendRequest() to a acquire_sem_etc() with a timeout. I will implement this change later today if I find the time.
serial log with usb tracing activated