Strange, possibly NVMe related Kernel Oops on _every_ shutdown
Not downloaded yet
Hello,
since building my newest workstation, I have been having problems with shutting down my pure Arch install, which is completely up-to-date with normal kernel package. On every shutdown, it shows this output, which I assume to be a kernel oops:
https://i.imgur.com/qFgMvfI.png (Sorry for the bad photo, I could not find a way to retrieve the log after shutdown. The logs stop just above the "kernel oops". I guess it doesnt have enough time to flush it to file)
Based on the call stack, I assume this to be NVMe related. I do have a Samsung 1TB NVMe SSD installed.
Is having the kernel oops on shutdown a big problem? The SSD does not make any problems during normal operation.
Thanks!
About this post
- Posted
- Archived
- Score
- 44 · 100% up
- Kind
- Image
- ID
- dca081
24 comments
That's not an oops, it's a WARN_ON. There's a patch for it here . Read the whole thread to understand why it happens.
I don't see the patch in Linus' tree, so you might want to email some of the people in that thread to find out where in the process it is now.
Thank you for the answer and the link. Sorry for getting the nomenclature wrong, haven't been into internal kernel stuff that much (yet)!
If I understand this correctly, this is not going to affect the integrity of my filesystem, correct?
My guess is no. If it is, it'll be very few bytes.
Thanks for pointing this out, picked the patch up for my own custom kernel... I took care of most of the (other) splats, but I was unsure what was going on with this one. Handy. Thanks again.
i've noticed this too. i was wondering about that because i noticed a stack trace get printed to stdout whenever i'd shutdown/reboot, but nothing showed up in the journal or dmesg. it hasn't seemed to caused any performance issues, so i havent worried too much about it
i have my arch install on an nvme drive as well
This is really weird. You and at least one other person are having this issue. I have a Samsung NVMe SSD in my thinkpad and I am not seeing this output on my Arch install at all.
Dual 970 pro 1tb in btrfs raid 0.
Zero problems.
Out of curiosity, what drive? I have a Samsung 970 Evo 1TB and haven’t any issues with power down... (my laptop on the other hand)
Note: I haven’t updated my system in about a week, so I might not be on the latest.
I have a 979 Evo Plus 1TB. Weird
Could we say that this issue is only reproducible with Plus models? So far no one mentioned the exact model of their SSD's.
Reporting in, still having this issue in 2020 on the latest master kernel, 5.6. I would say "how has this not been addressed yet" but no ones submitted anything to Bugzilla.
I sadly feel completely incompetent when it comes to bug reports, that's why I didn't make one. I am not very good at linux.
Don't worry, I submitted something. They said they'll patch it soon
I might be wrong but, I doubt this is related to the nvme protocol as I use an nvme ssd on my Arch install as well, and have no problems using it day to day it. The only trouble I have had with it was formating during the initial install.
Are you on the newest kernel as well?
I am on the newest lts kernal
I have the same error with a Samsung 256GB NVMe SSD during shutdown.
Which kernel are you running?
5.3.1-arch1-1-ARCH
I got a 970 EVO 250GB NVMe PCIe, no issues on my end. Using 5.2.11
5.3.1-arch1-1-ARCH, Samsung 970 EVO Plus 500GB. Same trouble, same error.
I see you have a gigabyte auros motherboard, I had a lot of issues with an auros mb (another model though) until I updated to the latest bios. Before that I was using LTS kernel that seemed to work flawlessly.