Skip to content
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

"Invalid wait context" in dmesg #222

Open
jmranger opened this issue Oct 21, 2023 · 2 comments
Open

"Invalid wait context" in dmesg #222

jmranger opened this issue Oct 21, 2023 · 2 comments

Comments

@jmranger
Copy link

Please see the attached log. Boot is successful nonetheless.

This is with a custom kernel config (attached), which most notably has CONFIG_MODULES=n
kernel & dtbs: asahi-6.5-15
u-boot: asahi-v2023.07.02-3
mini stage 2: v1.4.2
rootfs and build toolchain from Debian Testing
initrd only contain wireless files, the ISP calibrations haven't been extracted yet.

Please let me know if you need other info.
boot.log
kernelconfig.txt

@zzywysm
Copy link

zzywysm commented Oct 22, 2023

I imagine CONFIG_MODULES=n is causing your problem, because you don't have any firmware files present in CONFIG_EXTRA_FIRMWARE. In module-less builds, the kernel refuses to load firmware blobs from /lib/firmware and friends, and will only load blobs explicitly listed in CONFIG_EXTRA_FIRMWARE. This means that your wifi, bluetooth, webcam, (and more?) things aren't going to work, and the kernel might be crashing because the ISP hasn't been properly initialized with firmware.

@jmranger
Copy link
Author

I imagine CONFIG_MODULES=n is causing your problem, because you don't have any firmware files present in CONFIG_EXTRA_FIRMWARE. In module-less builds, the kernel refuses to load firmware blobs from /lib/firmware and friends, and will only load blobs explicitly listed in CONFIG_EXTRA_FIRMWARE. This means that your wifi, bluetooth, webcam, (and more?) things aren't going to work, and the kernel might be crashing because the ISP hasn't been properly initialized with firmware.

Thanks for chiming in. The wifi adapter works perfectly, and as I wrote, I'm aware that I'm not providing the ISP files to the kernel. I'm not reporting that the webcam isn't working, only the "Invalid wait context" error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants