-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
[24.05] zfs.latestCompatibleLinuxPackages selects linux-libre; unable to load proprietary firmware #341867
Comments
I could be misremembering, but I vaguely recall some directory change back in 6.9 or something and I got similar errors. Root of my problem was my boot.kernelPackages was using one repo and some other kernel line or module or something was using a more up to date repo (was working around some other out dated package or something). I ended up switching the entry that was using my "non-standard" package repo back to NixOS and was back in business. |
The default kernel was not updated to 6.10, this must be caused by your config. If AMDGPU is broken, there's not much we can do about that but wait for the kernel devs to fix it. |
Thanks. I had this in the config which was causing trouble.
|
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/non-free-firmware-not-loaded-after-update/52183/1 |
This applies to more than just amdgpu. This also occurred on my laptop with Intel. Specifically the wifi module also could not locate the non-free firmware. |
EG: the |
Indeed. Looks like even if Not an amdgpu specific bug then |
Cool! Using the default linux kernel, 6.6.51, worked as expected. That tells me this is specific to 6.10 and not some general breakage with nixpkgs. I did look through the 6.9 and 6.10 changelogs and didn't see anything about firmware loading changes. But I didn't read through 6.8 and 6.7. |
Kernel 6.8.12 has been working without a problem before 6.8 EOL.
Could it be a new patchset which is used in 6.10 kernel? |
@coreyoconnor is that on 24.05 or unstable? |
I had this on 24.05 with |
This is on 24.05. I can test on unstable if that is useful. |
I think it could be a problem with If I select
|
Oh interesting! I'll try the same. I did attempt to look through that
selection code but got lost XD
…On Mon, Sep 16, 2024, 11:22 jeff84 ***@***.***> wrote:
I think it could be a problem with
boot.kernelPackages =
config.boot.zfs.package.latestCompatibleLinuxPackages;
For me it seems like this option picks the pkgs.linuxPackages-libre
kernel package.
If I select
boot.kernelPackages = pkgs.linuxPackages_6_10;
it's working normally as expected.
~ % uname -a
Linux zellat2nix 6.10.10 #1-NixOS SMP PREEMPT_DYNAMIC Thu Sep 12 09:13:13 UTC 2024 x86_64 GNU/Linux
~ % lsmod| grep iwlwifi
iwlwifi 561152 1 iwlmvm
cfg80211 1347584 3 iwlmvm,iwlwifi,mac80211
firmware_class 57344 19 btrtl,snd_soc_avs,snd_hda_intel,intel_ipu6,xhci_pci_renesas,btmtk,snd_sof,drm_display_helper,intel_ipu6_isys,btintel,snd_soc_hdac_hda,btbcm,iwlwifi,btusb,mei_vsc_hw,xe,i915,cfg80211,intel_ishtp
—
Reply to this email directly, view it on GitHub
<#341867 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAIMDPCPSPOC5AWJP26I5DZW4OV3AVCNFSM6AAAAABOG6TT4OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJTGYYDKMBWGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Also happened to me with with jeff84s comment of manually selecting the package version appears to be a temporary fix: #341867 (comment) |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/non-free-firmware-not-loaded-after-update/52183/3 |
As suggested in #341867 (comment), it seems that the new logic for zfs' latestCompatibleLinuxKernel (introduced in 27b52ad) chooses a libre Kernel: Working commit (f4c846a) nix-repl> pkgs.zfs_2_2.passthru.latestCompatibleLinuxPackages.kernel.isLibre
false
nix-repl> pkgs.zfs_2_2.passthru.latestCompatibleLinuxPackages.kernel.name
"linux-6.6.50" Non-working commit (8f7492c): nix-repl> pkgs.zfs_2_2.passthru.latestCompatibleLinuxPackages.kernel.isLibre
true
nix-repl> pkgs.zfs_2_2.passthru.latestCompatibleLinuxPackages.kernel.name
"linux-6.10.10" It seems 34e1748 might be the culprit. |
This reverts commit 27b52ad. Fixes NixOS#341867 We could select linux_6_10 now if we wanted but I opted for linux_6_6 instead because this will be removed anyways. This is technically a breaking change but latestCompatibleLinuxPackages has no expectancy of stability in the first place.
The fix should be coming to a 24.05 channel near you in the coming days. |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: |
Describe the bug
I'm using flakes to configure my nixos (24.05) hosts. Updating from commit f1bad50 to e65aa83 caused me to boot with bad display.
It seems to be related to kernel change 6.6 -> 6.10: I see this in the boot log.
I have reverted this back, but I'm not sure if I need to change anything in my host config to fix this, or just wait for a kernel update.
The text was updated successfully, but these errors were encountered: