Frequent crashes after kernel change

Ugh it’s been a tough week with this computer.

Here’s journal -b -1 as my last boot crashed:

cat /proc/version: Linux version 5.10.77 (nixbld@localhost) (gcc (GCC) 10.3.0, GNU ld (GNU Binutils) 2.35.1) #1-NixOS SMP Tue Nov 2 18:48:25 UTC 2021


cat /proc/cpuinfo

What should be my plan of attack here?

Thanks so much!

I tried to change just the kernel back, but I could not, for goodness’ sake, divine the checksum of the kernel I wanted. did a lot of googling and browsing and came up with nothing.

the latest kernels are giving me other trouble, so that’s not an option.

Known regression in 5.10.77: Lockups on Kernel 5.10.77 with amdgpu

You’ll need 5.10.78 which should land shortly.

1 Like

Oooo how shortly? I have a lot of work to do…

If this is about nix complaining about a missing checksum for a fetchurl, you can just use an empty string and wait for it to complain and tell you the checksum. No need to multiclass into divination.

1 Like

hahahha! are you sure that I can’t pour some of the copious nix xp that I’ve earned this week into divination?

hm. it’s just giving:

error: hash '' has wrong length for hash type 'sha256'

on rebuild, and --show-trace doesn’t offer anything more.

Oh, right, you’re obviously not using flakes, and probably on stable, so I guess you’re on nix 2.3 :slight_smile:

If you’re on the old version, just putting *64 times the character ‘A’ in the string will do the trick.

Edit: and while we’re at it, the “proper” and generic way is GitHub - msteen/nix-prefetch: Prefetch any fetcher function call, e.g. a package source, it has prefetchers for GitHub/GitLab/pip etc. too.


you are a mensh!! thank you so much!! I am up and running!!