Opened 3 years ago
Closed 3 years ago
#17266 closed bug (fixed)
XHCI: endpoint is not initialized
Reported by: | Lindenov | Owned by: | waddlesplash |
---|---|---|---|
Priority: | critical | Milestone: | R1/beta4 |
Component: | Drivers/USB/XHCI | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
This KDL appears on hrev55419. The system cannot start with USB devices pluged on, unlike on previous revisions or beta 3.
Attachments (8)
Change History (28)
by , 3 years ago
Attachment: | IMG_3212.JPG added |
---|
follow-up: 3 comment:1 by , 3 years ago
comment:2 by , 3 years ago
Milestone: | Unscheduled |
---|---|
Priority: | normal → critical |
comment:3 by , 3 years ago
Replying to waddlesplash:
X512 sent me a picture of this last night. It does not reproduce on QEMU unfortunately; I suspect it may be a race condition of some kind, but so far I am kind of lost as to the details.
Do you need any additional information from me?
follow-up: 5 comment:4 by , 3 years ago
Is it possible for you to run "syslog | grep usb" at the KDL prompt and take a picture of that?
comment:5 by , 3 years ago
Replying to waddlesplash:
Is it possible for you to run "syslog | grep usb" at the KDL prompt and take a picture of that?
I noticed that occasionally the system DOES start with device plugged in. Perhaps it depends on how the system has been booted. "Cold start" shows KDL every single time. Rebooting from another system state (ex. I'm using beta 3 now) and switching to hrev55421 allows it to boot normaly.
by , 3 years ago
Attachment: | IMG_32151.JPG added |
---|
comment:6 by , 3 years ago
Can you attach a syslog from a successful cold boot? (Please delete your syslog files if doing this on an existing installation.)
comment:7 by , 3 years ago
Description: | modified (diff) |
---|
comment:8 by , 3 years ago
It was too tricky to get system started with plugged devices, but somehow I got lucky and here is the syslog. However, it's not too much useful info in it. I'll keep hrev55419 up as long as it needed to get any kind of info, cause I'm not sure I'll be able to boot it once again without KDL appearing.
by , 3 years ago
Attachment: | syslog usb 55419.txt added |
---|
by , 3 years ago
Attachment: | listdev.txt added |
---|
follow-up: 10 comment:9 by , 3 years ago
Sorry, I meant to say, from a successful cold boot on a hrev where it works. The syslog fragment you sent here appears to be from such a prior hrev, as the message within it was removed in hrev55404, which is where the panic in the original screenshot was added.
So, this demonstrates that hrev55404 does not cause any new problems, it just exposes an issue which was already there. Please get me a full syslog from a "fully working" version if you would.
comment:10 by , 3 years ago
Replying to waddlesplash:
Please get me a full syslog from a "fully working" version if you would.
This is a hrev55403, the revision I used before updating to hrev55419. Full syslog comming right now.
by , 3 years ago
Attachment: | syslog 55403 added |
---|
comment:11 by , 3 years ago
Unfortunately the critical parts of the syslog are cut off. Can you delete your syslogs, reboot, and attach both syslog and syslog.old?
by , 3 years ago
by , 3 years ago
Attachment: | syslog.old added |
---|
follow-up: 15 comment:12 by , 3 years ago
The critical bits are still missing; I guess they must get cut off early in the boot process. Can you edit the "kernel" settings file by uncommenting the "syslog_buffer_size" line and setting some large value (probably 512KB will be enough) and trying again?
comment:14 by , 3 years ago
No. XHCI only starts after the kernel is loaded. And it looks like #15455 may be fixed already anyway.
comment:15 by , 3 years ago
by , 3 years ago
i dunno but it looks like even worse than previous ones
comment:16 by , 3 years ago
Now there are no XHCI errors at all! Maybe this is intermittent, somehow?
I guess the only way to get the bits we need at this point is to use on-screen paging during the boot with SMP disabled. That's pretty annoying to do, though.
comment:19 by , 3 years ago
comment:20 by , 3 years ago
Milestone: | → R1/beta4 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Excellent!
X512 sent me a picture of this last night. It does not reproduce on QEMU unfortunately; I suspect it may be a race condition of some kind, but so far I am kind of lost as to the details.