Hi All. I’m having an issue that I am hoping I can get some help with.

I have been using linux on this particular laptop for over a year now, and for the past 6 or so months (right around the time I upgraded to Plasma 6, but I think it is just a coincidence) about 50% of the time, when I update all my packages via package manager, the whole system freezes. Like, hard freezes. Waiting any amount of time won’t get me out of it. I have to hold the power button to power it down. I can’t use ctrl+alt+F3 or whatever to get another TTY. Mouse doesn’t move. Nothing works.

It originally happened with OpenSUSE Tumbleweed on btrfs. I thought maybe it was btrfs, so I reinstalled with ext4. Same issue. I tried Manjaro. Same issue. I tried EndeavourOS (wasn’t really expecting different behavior at this point). Same issue.

Now I am thinking, what could cause an issue like this? Well, a package manager update just is a ton of file I/O operations, right? Could I have bad RAM and that is getting written to disk? Well, I did a memtest today and it came back perfect. So now I’m thinking it might be the SSD, but I’m not even sure how to check that.

Does anyone have any ideas of what might be going on or what I should do to fix it or debug it?

  • thayer
    link
    fedilink
    English
    arrow-up
    13
    ·
    edit-2
    1 month ago

    It definitely sounds like a hardware issue since it has survived multiple disk wipes and distro changes.

    1. Make and verify your backups now if you don’t already have them
    2. Are you using the command line package manager or GUI?
    3. What is your current distro?
    4. Are you near capacity on your storage?
    5. Run a S.M.A.R.T. test and review the results
    • Dandroid@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 month ago
      1. Already done. :)
      2. It started with GUI, but I switched to command line, and even did it in a separate TTY to make sure it wasn’t something weird going on with updating plasma from plasma. After switching to Arch-based distros, I have only use CLI.
      3. Currently I’m on EndeavourOS, but after the most recent time this happened, it won’t boot, and I can’t even mount and chroot to it (I get an I/O error message)
      4. No, I’m at about 1% capacity.
      5. I ran this from a live USB, and it came back with no errors detected, but returned instantaneously, so I’m not sure if it ran the right thing. Doing more research on it now. Edit: I did it wrong. The test is running now. Edit 2: Smart says it passed. :/
      • thayer
        link
        fedilink
        English
        arrow-up
        5
        ·
        1 month ago

        If you’re now getting I/O errors that won’t even get you booted, it sounds to me like drive failure is imminent.

        • Dandroid@sh.itjust.worksOP
          link
          fedilink
          arrow-up
          2
          ·
          1 month ago

          Yeah, I just ordered a new SSD. I’ll give that a try when it arrives tomorrow. Smart says it passed, but suspect my SSD enough that I think it’s worth it to just try another SSD.