NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.93k stars 13.95k forks source link

NixOS cloud images should not include references to regulatory.db #39107

Open coretemp opened 6 years ago

coretemp commented 6 years ago

Issue description

When booting an AWS NixOS machine dmesg contains:

[    4.161383] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2

Kernel module cfg80211 contains this feature.

See https://www.linuxquestions.org/questions/showthread.php?p=5814902#post5814902 for context.

Why is that kernel module loaded on the shipped 18.03 AWS image?

Steps to reproduce

I didn't try to create a minimal case, but I didn't explicitly enable wireless for example. I'd expect a mkDefault false for wireless configuration, which would then not load such kernel modules.

dezgeg commented 6 years ago

AFAICT this is not a NixOS problem but rather kernel and/or ec2 problem since cfg80211 doesn't get loaded on e.g. QEMU (and that there's that non-NixOS thread you found).

stale[bot] commented 4 years ago

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.