Considered HARMful
kiwifarms.net
- Joined
- Dec 17, 2019
Wow, I've installed iwlwifi on many machines and haven't seen such breakage before. I'd love to see the dmesg when it happens. Can you provide the card model and names of the offending firmware files? I would very much like to research that issue further.The offending package in question was firmware-iwlwifi, which contains drivers for dozens of wifi cards and copies them all into /lib/firmware. So obviously there are millions of people out there with extraneous drivers (presumably most people only have 1 wifi adapter at most) and it works fine. Except when it doesn't, apparently.
I would consider "Any extra driver file wrecks you" to be reasonable behavior, or "Extra drivers are always fine", but not this.
Maybe the kernel panics. Does the LED for Scroll Lock (or was it Num Lock?) flash on and off after the lockup?What happens is that on startup it gets partway through the text-mode init process (whatever exactly you call that), and then the screen goes black. No chance to get into a console by hitting Ctrl-Alt-F3 or anything like that.
This should be doable with GRUB, as you can blacklist specified modules from being loaded. So you can define a menuentry with a more or less module blacklist and boot into single-user mode to be extra-sure of that recovery mode. I agree that it sucks that your distro doesn't provide such a menuentry by default (probably mine doesn't too, but then again, I'm compiling my own kernels).You fix this by just deleting the offending files, but you can only do this if you have some sort of working OS dual-booted or you have a boot disk. That seems unnecessarily limiting. Ideally I think the solution would be to have a boot mode that loads up only enough drivers to have a keyboard and monitor, mount the storage device where your system is, and get you logged into a console session. It sounds like something that should be possible.
[EDIT]
Spelling
Last edited: