this post was submitted on 08 Sep 2024
400 points (99.0% liked)

linuxmemes

21282 readers
1191 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     
    top 40 comments
    sorted by: hot top controversial new old
    [–] jet@hackertalks.com 104 points 2 months ago* (last edited 2 months ago) (5 children)

    I have a, honest to goodness breaks the electron flow, power switch for a reason, the shutdown command was a warning not a request.

    [–] Jrockwar@feddit.uk 69 points 2 months ago

    the shutdown command was a warning not a request.

    Such wise words.

    [–] palordrolap@fedia.io 47 points 2 months ago (2 children)

    Love it or loathe it, systemctl is trying to do the right thing with regard to stability and data preservation.

    If you really mean it, the manual offers a few levels of strength beyond the plain one: -i (don't check for busy processes, which is what's going on in the meme), -f (force, presumably asks even less nicely), and -f -f (don't even ask, just do it now, preservation be damned).

    [–] Infernal_pizza@lemmy.world 15 points 2 months ago

    It should give you the option to abort the shutdown and sort out whatever process it is though! Or at least let you kill it manually from the shutdown terminal. I know you can technically do that with the emergency shell but I don’t like leaving that enabled. Thankfully I rarely get this issue anymore anyway

    [–] AngryCommieKender@lemmy.world 6 points 2 months ago (1 children)

    You can do that to Windows. They may have gotten better, but I know that my friend that ran Debian Unstable back in the late '90s-'00s swore that if he didn't properly shut down the machine every year or so, it would mess up his build.

    [–] mindlesscrollyparrot@discuss.tchncs.de 24 points 2 months ago (1 children)

    Runs debian unstable. Shuts down his machine every year or so.

    [–] frezik@midwest.social 4 points 2 months ago

    For Debian, "unstable" just means "not running a five year old compiler".

    [–] Black616Angel@discuss.tchncs.de 5 points 2 months ago
    ps -ax -o pid | xargs kill -9
    
    [–] noxy@yiffit.net 1 points 2 months ago

    I feel the same way when I use my turn signals. I'm not asking.

    (assuming of course it's safe to follow through)

    [–] SomethingBurger@jlai.lu 36 points 2 months ago (2 children)

    $ poweroff

    kernel panics for some reason

    have to use the power switch anyway

    Such is life when using Linux on a laptop.

    [–] denast@lemm.ee 19 points 2 months ago* (last edited 2 months ago) (4 children)

    I've recently had so many random freezes of the system, hangs on shutdown, panics on shutdown, freezes in system updates, that 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.

    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)

    [–] SomethingBurger@jlai.lu 6 points 2 months ago

    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.

    [–] ashaman2007@lemm.ee 3 points 2 months ago

    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...

    [–] jrgn@lemmy.world 1 points 2 months ago

    Had this issue for ages. Ditched Nvidia a month ago and now everything just works.

    [–] Estebiu@lemmy.dbzer0.com 12 points 2 months ago

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

    [–] halvar@lemm.ee 26 points 2 months ago (1 children)

    Why does that even happen?

    [–] BaroqueInMind@lemmy.one 45 points 2 months ago* (last edited 2 months ago) (1 children)

    The kernel is cleaning the corpses out of the basement freezer chest before the power goes out and stinks up the place.

    [–] SpaceCadet@feddit.nl 2 points 2 months ago* (last edited 2 months ago)

    Leave the poor kernel out of it, it has nothing to do with this. It's Lennart, not Linus.

    [–] Cooljimy84@lemmy.world 21 points 2 months ago (1 children)

    Unmounting CIFS , 1:30 timeout ! I just wannatgo to bed....

    [–] NegativeLookBehind@lemmy.world 7 points 2 months ago (1 children)

    Have you tried the lazy option?

    [–] linearchaos@lemmy.world 13 points 2 months ago (1 children)

    I've been living that for years

    [–] NegativeLookBehind@lemmy.world 12 points 2 months ago* (last edited 2 months ago) (2 children)

    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.)
    
    [–] EddoWagt@feddit.nl 11 points 2 months ago (1 children)

    I prefer holding the power button for 5 seconds

    [–] NegativeLookBehind@lemmy.world 11 points 2 months ago (1 children)

    Amateur. Cut the power cord with pliers. Like a real man.

    [–] PrettyFlyForAFatGuy@feddit.uk 8 points 2 months ago (2 children)

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

    ready for bed!

    [–] NegativeLookBehind@lemmy.world 8 points 2 months ago

    Live action POP! OS

    [–] DeltaWingDragon@sh.itjust.works 1 points 2 months ago

    It's very energizing too

    [–] linearchaos@lemmy.world 2 points 2 months ago

    Yeah, I know. It's just Sunday morning and I'm feeling cheeky.

    [–] bjoern_tantau@swg-empire.de 10 points 2 months ago

    I was glad my server did this the other day to make sure the data Lemmy put into my database is secure.

    [–] Thcdenton@lemmy.world 9 points 2 months ago
    [–] RustyNova@lemmy.world 8 points 2 months ago (1 children)

    The culprit often filesystem sync for me...

    [–] 9488fcea02a9@sh.itjust.works 2 points 2 months ago (1 children)

    Yes. Mounted network drives.

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

    [–] RustyNova@lemmy.world 3 points 2 months ago

    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!

    [–] DeltaWingDragon@sh.itjust.works 2 points 2 months ago

    Still faster than Windows

    [–] neidu2@feddit.nl 2 points 2 months ago (1 children)
    [–] SpaceCadet@feddit.nl 1 points 2 months ago