Change:
"4.14": { "patch": { "extra": "-hardened1", <del> "name": "linux-hardened-4.14.325-hardened1.patch", "sha256": "1mc1pyjjksg2f4189wyas55ax8czzhai2i3jc6n7l9jmfwj7xr9q", "url": "https://github.com/anthraxx/linux-hardened/releases/download/4.14.325-hardened1/linux-hardened-4.14.325-hardened1.patch" </del> <ins> "name": "linux-hardened-4.14.326-hardened1.patch", "sha256": "08jq0v7i5aghynscvhv3v3sgqbd2yyn6daqc9qg9cw02lxmvnjzz", "url": "https://github.com/anthraxx/linux-hardened/releases/download/4.14.326-hardened1/linux-hardened-4.14.326-hardened1.patch" </ins> }, <del> "sha256": "117p1mdha57f6d3kdwac9jrbmib7g77q4xhir8ghl6fmrs1f2sav", "version": "4.14.325" </del> <ins> "sha256": "0y0lvzidw775mgx211wnc1c6223iqv8amz5y9jkz9h7l3l7y8p2m", "version": "4.14.326" </ins> }, "4.19": { "patch": { "extra": "-hardened1", <del> "name": "linux-hardened-4.19.294-hardened1.patch", "sha256": "1s70vz8rai1z440rmwzipwpq7wa7p2bvri43zmkbisrfggm1lz2r", "url": "https://github.com/anthraxx/linux-hardened/releases/download/4.19.294-hardened1/linux-hardened-4.19.294-hardened1.patch" </del> <ins> "name": "linux-hardened-4.19.295-hardened1.patch", "sha256": "0jfsbg8b3h1swb46p4lnsc0b5z8b5j9jjy2fi8fy0762v4g7ps7c", "url": "https://github.com/anthraxx/linux-hardened/releases/download/4.19.295-hardened1/linux-hardened-4.19.295-hardened1.patch" </ins> }, <del> "sha256": "03x0xsb8a369zdr81hg6xdl5n5v48k6iwnhj6r29725777lvvbfc", "version": "4.19.294" </del> <ins> "sha256": "1b1qslpk1kka7nxam48s22xsqd9qmp716hmibgfsjxl5y3jc4cmp", "version": "4.19.295" </ins> }, "5.10": { "patch": { "extra": "-hardened1", <del> "name": "linux-hardened-5.10.195-hardened1.patch", "sha256": "15liin3i9wh7hwr97pyc8rl79ri7frsprssl50si9z810zvc9chb", "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.10.195-hardened1/linux-hardened-5.10.195-hardened1.patch" </del> <ins> "name": "linux-hardened-5.10.197-hardened1.patch", "sha256": "0h0yarjpc2syg2rdp7ipz0cr466mgm85ii8y5g0dbj9wkflrl54g", "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.10.197-hardened1/linux-hardened-5.10.197-hardened1.patch" </ins> }, <del> "sha256": "0n4vg2i9sq89wnz85arlyvwysh9s83cgzs5bk2wh98bivi5fwfs1", "version": "5.10.195" </del> <ins> "sha256": "1awkm7lln5gf6kld9z5h4mg39bd778jsdswwlwb7iv7bn03lafhq", "version": "5.10.197" </ins> }, "5.15": { "patch": { "extra": "-hardened1", <del> "name": "linux-hardened-5.15.132-hardened1.patch", "sha256": "06wkcbhkdm8vnk1cqwngy9gdknqm4pb4za9lbh2q5j1f2nkcn7pq", "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.15.132-hardened1/linux-hardened-5.15.132-hardened1.patch" </del> <ins> "name": "linux-hardened-5.15.134-hardened1.patch", "sha256": "1q8vfffiwp3zwrjh7r8q4yn9hybswfl41kz4s97jckf90x84xj8d", "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.15.134-hardened1/linux-hardened-5.15.134-hardened1.patch" </ins> }, <del> "sha256": "1b0qjsaqjw2rk86shmmrj2aasblkn27acjmc761vnjg7sv2baxs1", "version": "5.15.132" </del> <ins> "sha256": "1lxra3h8pq41hdr1acazwcqk6r8alv9p840ys19nivaprfp84wgk", "version": "5.15.134" </ins> }, "5.4": { "patch": { "extra": "-hardened1", <del> "name": "linux-hardened-5.4.256-hardened1.patch", "sha256": "1rsp30g5xry5y95mz0i6walkcxj6abyrsaq3fwhz0ka6nq6g7w82", "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.4.256-hardened1/linux-hardened-5.4.256-hardened1.patch" </del> <ins> "name": "linux-hardened-5.4.257-hardened1.patch", "sha256": "0kf0s69yl9xwnmjk312gphj9fsz1jxcfivwhg10hdvw3cfhjq2dn", "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.4.257-hardened1/linux-hardened-5.4.257-hardened1.patch" </ins> }, <del> "sha256": "0fim5q9xakwnjfg48bpsic9r2r8dvrjlalqqkm9vh1rml9mhi967", "version": "5.4.256" </del> <ins> "sha256": "1w1x91slzg9ggakqhyxnmvz77v2cwfk8bz0knrpgz9qya9q5jxrf", "version": "5.4.257" </ins> }, "6.1": { "patch": { "extra": "-hardened1", <del> "name": "linux-hardened-6.1.54-hardened1.patch", "sha256": "0c8dmgciwc02pzhnx2mj5xlhds7mmicm8r6668di2zfw772rjgr4", "url": "https://github.com/anthraxx/linux-hardened/releases/download/6.1.54-hardened1/linux-hardened-6.1.54-hardened1.patch" </del> <ins> "name": "linux-hardened-6.1.56-hardened1.patch", "sha256": "01j6qi94wr8bm1vnyw8108as94xiwa92vhh860b4gk71msz7carg", "url": "https://github.com/anthraxx/linux-hardened/releases/download/6.1.56-hardened1/linux-hardened-6.1.56-hardened1.patch" </ins> }, <del> "sha256": "09sfrq2l8f777mx2n9mhb6bgz1064bl04921byqnmk87si31w653", "version": "6.1.54" </del> <ins> "sha256": "1327in80nl0ghbjignjsdw0w5crj4d06d5fivj4q6af26bggvply", "version": "6.1.56" </ins> }, "6.4": { "patch": {

Discussion:
/dev/nvme0 becomes unavailable and causes / to unmount leading to an unresponsive system. <details<summarySmartctl output</summary</detailsNVMe + 6.5 kernel (either on main branch, staging-next branch, or staging-next + gnome branch) Not like this UnU <details<summaryError messages before rebooting</summary! ! </detailsRelated to Related to Related to Related to Related to <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --Please run and paste the result. hw-probe: https://linux-
Already reported on NixOS discourse:
It's annoying to capture but finally managed to get more info ! !
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
Should we revert the patch mentioned here or wait for a new upstream kernel release?
Seems like 6.5.6-rc1 fixed the issue for me, still doing some testing. Besides the revert already on nixos there are 2 commits regarding nvme: a null pointer dereference, and something around no NUMA nodes and NVMe
nvm still crashing
Hey they fixed this one already. I believe y'all have a different bug. What machine is this on?
hw-probe: https://linux- 6 does seem like it did fix it.
Ok yes it's definitely a different bug (no realtek devices, no possible way it could be my bug). But I'm glad it's fixed I guess.
Still happens to me on 6.5.6. ! Symptoms are the same as reported by root filesystem is remounted as read-only, applications crash and system becomes unresponsive. PC must be forcefully shut down with the power button. This happens at least daily, and almost always while I'm away from the PC for a while, which makes the message "Does your device have a faulty power saving mode enabled?" sound like it's probably onto something. <details<summary<code$ nix-shell -p smartmontools --run "sudo smartctl -a /dev/nvme0"</code</summary</details
which machine is this?

I expect it's a firmware bug in the motherboard most likely.
My motherboard is: . I tried booting with the kernel parameters suggested in the error log now, hopefully that does something.
If you are using LUKS something that helped me reduce the frequency of errors (mitigation) was enabling triming (fstrim) in NixOS options Also, it seems like a relative new drive but has a very high warning temperature time; errors might be thermal related.
I don't use LUKS. The temperature warnings must be old, because I haven't caught the SSD go above 36 celsius in the current PC location, so I don't think the errors are temperature related. I let the PC sit over night with the suggested kernel parameters, and it hasn't crashed yet :crossed_fingers: