Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#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)

CIMG4609 (2).jpg (1.2 MB ) - added by X512 5 years ago.
KDL
CIMG4611 (2).JPG (1.8 MB ) - added by X512 5 years ago.
KDL after quick connect/disconnect

Change History (14)

by X512, 5 years ago

Attachment: CIMG4609 (2).jpg added

KDL

comment:1 by waddlesplash, 5 years ago

I think I see a few problems that could be fixed, but is this reproducible?

comment:2 by diver, 5 years ago

There was another user on Telegram a few days ago with the same error.

comment:3 by diver, 5 years ago

However, this panic was on boot from usb3 for him.

comment:4 by X512, 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.

Last edited 5 years ago by X512 (previous) (diff)

comment:6 by waddlesplash, 5 years ago

I think I know what the cause of that is, and will push a fix Sun or Mon.

comment:7 by waddlesplash, 5 years ago

hrev53884 should fix this, please retest.

in reply to:  7 comment:8 by X512, 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.

by X512, 5 years ago

Attachment: CIMG4611 (2).JPG added

KDL after quick connect/disconnect

comment:9 by waddlesplash, 5 years ago

OK, that should be fixed in hrev53888; please test again.

in reply to:  9 comment:10 by X512, 5 years ago

Replying to waddlesplash:

OK, that should be fixed in hrev53888; please test again.

Can't reproduce this crash anymore.

comment:11 by waddlesplash, 5 years ago

Resolution: fixed
Status: newclosed

Excellent, thanks for testing!

comment:12 by nielx, 5 years ago

Milestone: UnscheduledR1/beta2

Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone

Note: See TracTickets for help on using tickets.