What eternity feels like

https://lemmy.world/post/19534474

What eternity feels like - Lemmy.World

$ poweroff

kernel panics for some reason

have to use the power switch anyway

Such is life when using Linux on a laptop.

Yeah, lol. One of the reasons my next laptop will be one intended with linux support for the start.

I’ve recently had so many random freezes of the system, hangs on shutdown, panics on shutdown, freezes in system updates, that a hard reset became a thing I did several times a day. Yet there were no systemd logs, nothing in dmesg, literally zero information on what happened.

I was skeptical in blaming Nvidia because at this point it became a Linux chiche, but then I started to switch to integrated graphics (disabling dGPU) and all of the problems miraculously went away.

Same. I use nVidia on Wayland, and experience more crashes and panics than when using the iGPU. With older versions of the driver, I could consistently trigger a crash when exiting an app which used the discrete GPU (such as Steam), or by switching between a game and Firefox.
NVIDIA definitely has stability issues, newest drivers still kernel panic on resume from suspend. Only thing more you can do is try to capture debug logs with nvidia-bug-report.sh (I go in during a crash via SSH, usually the system is still responsive for a little while after), and post it to the NVIDIA Linux forums. They do actually seem to use the feedback there, NVIDIA reps respond from time to time and say they’ve submitted bug reports from the feedback. Otherwise, after that yeah you just do what you have to do for a usable system and wait…

Yet there were no systemd logs, nothing in dmesg, literally zero information on what happened.

this is pretty typical for hard crashes, ur system is so unbelievably fucked up that it can’t even write to journal, and if it could, it wouldn’t be persisted anyway (hard shutdown)

Had this issue for ages. Ditched Nvidia a month ago and now everything just works.
Unmounting CIFS , 1:30 timeout ! I just wannatgo to bed…
Have you tried the lazy option?
I’ve been living that for years

Lol nice. But seriously:

* **-l** * Lazy unmount. Detach the filesystem from the filesystem hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore. (Requires kernel 2.4.11 or later.)
I prefer holding the power button for 5 seconds
Amateur. Cut the power cord with pliers. Like a real man.

has the added benefit of a satisfying POP! and turning all the lights off too…

ready for bed!

It’s very energizing too
Yeah, I know. It’s just Sunday morning and I’m feeling cheeky.
The culprit often filesystem sync for me…

Yes. Mounted network drives.

I think a lot of the shutdown hang problems went away when i switched to systemd automount

It isn’t those for me tho. It’s just BTRFS that like to hang. Auto scrub going? Hang. Auto balance? Hang. Time shift/urbackup doing back up things? Let’s hang!
Why does that even happen?
The kernel is cleaning the corpses out of the basement before the power goes out and stinks up the place.
Leave the poor kernel out of it, it has nothing to do with this.
I was glad my server did this the other day to make sure the data Lemmy put into my database is secure.
Still faster than Windows