-
-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression: Some peripherals are not discovered since 4.22.01 -> 24.02.01 Coreboot Version bump (upstream: bogus top down allocator) #1740
Comments
Per https://github.com/linuxboot/heads/blob/master/BOARD_TESTERS.md @nestire(t430-legacy, t430-maximized) @Thrilleratplay @alexmaloteaux @lsafd @bwachter(iGPU maximized) @shamen123 @eganonoa(iGPU) @nitrosimon @jans23 @icequbes1 (iGPU) @weyounsix (t430-dgpu): Can someone reproduce? Master merged recently 24.02.01 coreboot version bump was t430 was reported working per @srgrint at #1723 (comment) Which included non-related changes https://github.com/linuxboot/heads/pull/1723/files#diff-17c0a4050b64b2c80df9b9f451dba6a5e9307f56eb84c3e4696e532fa384b6c4 :
I would need someone reproducing this prior of investing time investigating the issue. @Oessel, others: from recovery shell, can you please:
|
@Oessel to my eyes everything works. What does "USB ports don't work" mean explicitely? Where, when? Under Heads, we see here EHCI driver enabling everything but USB1 controllers, then xhci enabling USB1 controller. Please change title and give more info.From last reply, this is QubesOS/sys-usb related, where non-QubesOS users won't be affected from what I understand. Please porive OS logs then from sys-usb. Maybe controllers for some reason have changed names? Check under sys-usb being turned off what PCI controller are affected? |
Ok, so related to top down resource allocation maybe as of now |
@Oessel note that of now, this is not considered Heads issue and reassigning pci devices under sys-usb qube settings devices tab will most probably fix this and may need to open issue under qubesos. @marmarek : won't fix on your side too? |
I guess PCI BDF of USB controllers changed after update? If that's the case, I think the firmware update doc (especially EDK-II -> Heads) should have a step to check/update devices assigned to sys-usb and sys-net. In R4.3 we will have a bit smarter device identification, so at least there will be a clear message what happened (but hopefully it will deal with such changes automatically, at least in some cases). |
@Oessel ping |
I have three USB controllers listed in the device tab of sys-usb, but with heads v0.2.0-2221 they all work fine, with heads v0.2.0-2243 and 2254 there are the same three controllers but the webcam, the internal smartcard reader and two usb ports are not recognized anymore, thats why i thought it could be heads-related. |
Ping @nestire(t430-legacy, t430-maximized) @Thrilleratplay @alexmaloteaux @lsafd @bwachter(iGPU maximized) @shamen123 @eganonoa(iGPU) @nitrosimon @jans23 @icequbes1 (iGPU) @weyounsix (t430-dgpu): Can someone reproduce and give traces of what happen under OS/dom0, this is coreboot bug here. |
…SOURCE_ALLOCATION_TOP_DOWN is not set Repro: sudo sed -i 's/CONFIG_RESOURCE_ALLOCATION_TOP_DOWN=y/# CONFIG_RESOURCE_ALLOCATION_TOP_DOWN is not set/g' config/coreboot-*.config grep -R CONFIG_COREBOOT_VERSION boards/ | awk -F "/" {'print $2'} | while read board; do if ! sudo make BOARD=$board coreboot.save_in_oldconfig_format_in_place > /dev/null 2>&1; then echo $board failed;fi; done git status | grep modified | awk -F ":" {'print $2'}| xargs sudo git add git commmit --signoff -m "coreboot configs : CONFIG_RESOURCE_ALLOCATION_TOP_DOWN=y-># CONFIG_RESOURCE_ALLOCATION_TOP_DOWN is not set" Fixes issue linuxboot#1740, reproduced on x230 (camera was not found, all USB controllers not changed under QubesOS, only cam missing) Signed-off-by: Thierry Laurion <[email protected]>
@Oessel I replicated on x230: second msata m.2 and camera were not discovered: USB controllers IDs didn't change. #1742 fixed the regression on my tests on x230. Please validate. @JonathonHall-Purism no regression on librems with master? Need of unit tests begins to feel. |
Regression is fixed on t430 too! |
Alternative PR to not revert to bottom up allocator is pending and will superseed #1742. |
Analysis:
To be edited after another round of review |
@i-c-o-n: q35/nv41/ns50 might miss a similar same patch?
note: @macpijan nv41/ns50 have TOP_DOWN ress allocator dsabled on heads master. |
Nope, no problems on Librems in master. |
Please identify some basic details to help process the report
A. Provide Hardware Details
What board are you using? (Choose from the list of boards here)
Lenovo Thinkpad T430
Does your computer have a dGPU or is it iGPU-only?
Who installed Heads on this computer?
What PGP key is being used?
Are you using the PGP key to provide HOTP verification?
B. Identify how the board was flashed
Is this problem related to updating heads or flashing it for the first time?
If the problem is related to an update, how did you attempt to apply the update?
How was Heads initially flashed?
Was the board flashed with a maximized or non-maximized/legacy rom?
If Heads was externally flashed, was IFD unlocked?
C. Identify the rom related to this bug report
V0.2.0-2254-g27d09d4
Did you download or build the rom at issue in this bug report?
If you downloaded your rom, where did you get it from?
Please provide the release number or otherwise identify the rom downloaded
If you built your rom, which repository:branch did you use?
What version of coreboot did you use in building?
{ You can find this information from github commit ID or once flashed, by giving the complete version from Sytem Information under Options --> menu}
In building the rom, where did you get the blobs?
Please describe the problem
Describe the bug
A clear and concise description of what the bug is.
The two USB-Ports close to the Power-Button don't work after heads update. (On two devices, t430-maximized with a clean checkout and t430-hotp-maximized from dirty local repository)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: