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

Implement userspace modprobe #184

Open
stapelberg opened this issue Mar 18, 2023 · 0 comments
Open

Implement userspace modprobe #184

stapelberg opened this issue Mar 18, 2023 · 0 comments
Labels
enhancement good-for-stream https://www.twitch.tv/stapelberg

Comments

@stapelberg
Copy link
Contributor

See https://lore.kernel.org/linux-wireless/CANnVG6=a3etRagG+RaSEH-b4_nfzxpEKffQtuMWrttrbgjunZQ@mail.gmail.com/ for context: some kernel modules (notably brcmfmac) request loading other modules (brcmfmac-wcc).

For now, we load these modules explicitly from the gokrazy/wifi program. But, it would be better to provide the userspace modprobe program that our kernel is configured for.

To keep the binary size low, we could probably symlink /gokrazy/modprobe to /gokrazy/init and conditionally execute the loadModule function when invoked as modprobe.

@stapelberg stapelberg added enhancement good-for-stream https://www.twitch.tv/stapelberg labels Mar 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement good-for-stream https://www.twitch.tv/stapelberg
Projects
None yet
Development

No branches or pull requests

1 participant