#15710 closed bug (fixed)
XHCI: KDL (Divide Error Exception) when disconnecting USB2 hub from USB3 port
Reported by: | X512 | Owned by: | waddlesplash |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta2 |
Component: | Drivers/USB/XHCI | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
This is hrev53868 x86_64.
Machine: https://discuss.haiku-os.org/t/computers-compatible-with-haiku-v3/7640/131.
XHCI controller: [8086:22b5] Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series USB xHCI Controller.
Attachments (2)
Change History (14)
by , 5 years ago
Attachment: | CIMG4609 (2).jpg added |
---|
comment:1 by , 5 years ago
I think I see a few problems that could be fixed, but is this reproducible?
comment:4 by , 5 years ago
I got same crash with different PC and 32 bit mode when accidently touched USB connector (why USB-A connector is so unreliable?). Only difference is MouseDevice instead of KeyboardDevice.
Crash is not 100% reproducible.
comment:5 by , 5 years ago
Crash happens here: https://xref.landonf.org/source/xref/haiku/src/add-ons/kernel/busses/usb/xhci.cpp#812, because trbSize = 0.
comment:6 by , 5 years ago
I think I know what the cause of that is, and will push a fix Sun or Mon.
comment:8 by , 5 years ago
Replying to waddlesplash:
hrev53884 should fix this, please retest.
Disconnecting is working better now, when disconnect and connect USB slowly, there are no crashes and mouse and keyboard are recognized again. When I tried to quickly disconnect and connect USB hub multiple times and a bit different crash appear.
comment:10 by , 5 years ago
Replying to waddlesplash:
OK, that should be fixed in hrev53888; please test again.
Can't reproduce this crash anymore.
comment:12 by , 5 years ago
Milestone: | Unscheduled → R1/beta2 |
---|
Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone
KDL