Hello everyone. I have a system with Ryzen 9 7950x, 32GB 6400 mhz DDR5 ram, 1 TB primary SSD where Windows 11 and Linux installed and Gainward RTX 4080 graphics card and Asus Prime X670-P Wifi mobo. I also have 1 TB SSD and 2 TB HDD’s mounted. 2-3 months ago, I started to get crashes on my both OS’es. And in time, they got frequent. I bought a brand new SSD for OS installation, after a while it started again. I cannot get any error message on Windows, since BSOD screen just stays for 2-3 seconds and system restarts. After restart, I sometimes get “no Bootable device found” error on boot stage. When the crash happens on Linux, dmesg outputs show something like whole SSD disconnected. It shows I/O messages for root partition as well. I changed primary SSD 1 month ago, errors still persist. Sent mobo to the service, no issues were found. BIOS also updated and reset. When I run PC on live Linux media, I get no issues however. What can I do else? What can cause this issue? Thanks in advance.

  • SpikesOtherDog@ani.social
    link
    fedilink
    arrow-up
    4
    ·
    25 days ago

    If it keeps saying your drives missing, and you hang replaced your drives, then the next step is the main board.

    I would inspect the m.2 sockets carefully. It would be easiest to use your phone macro setting if you can.

    You might also have a heat issue. Check your airflow to be sure you have sufficient flow over the drives and it exits.

    Depending on your board, the m.2 lanes connect directly to your processor or possibly your chip set. One of those may be defective. You should check your board documentation to determine which.

    If you think it is an issue with the m.2 process you could consider says SATA SSD. It’s not as fast, but it’s still plenty great compared to spinning disks.

  • L7HM77
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    25 days ago
    Rambling Story

    Once, I had an El Cheapo and very questionable SATA SSD fail on my system. Had similar symptoms, Windows would hang and crash at random, becoming more frequent over time. Found out while digging through Windows logs and troubleshooting, that the system would crash when trying to access the drive via the file explorer, because the drive would disconnect. The SSD seemed to fail slowly, but I was using it as a faster workspace and saving everything to an HDD, so I never looked into the possibility of a failing drive until the system wouldn’t boot. Removing the drive cured everything. I should probably note that the failed SSD wasn’t the boot drive, it was used strictly for data, so the OS wasn’t being unmounted directly. I think the drive itself was shorting out some of the SATA pins, scrambling the whole bus.

    Several years later, on the Linux side of things, I found out that fstab can prevent booting if a storage device is missing. Fstab had auto configured an external drive enclosure as a critical component on a fresh install. Not sure what the error messages would look like if an internal data drive mounted as critical disconnected on a running system, but I would assume Linux would halt even if no processes are running from the drive.

    I’m not sure what the symptoms would have been if my SSD drive failed while running Linux. My gut says it would show similar to your Linux dmesg, like the boot drive I/O disconnecting or becoming inaccessible.

    I’ve also had a system with an AMD processor fail to boot, but that one wouldn’t even POST. Fixed that one by finally reseating the CPU. Turns out that’s a common issue with some AMD CPUs using the AM4 socket, found a lot of complaints online for that one after the fact.

    Since your system runs fine from a live USB, and you’ve already replaced the M.2 drive, I would try running the system without any SATA drives installed, and try to force a crash until you feel confident the issue is gone.

    If the problems still persist, then I would look at getting a cheap fresh HDD and new SATA cable, installing a temporary OS, and try the test again.

    If it STILL crashes, I would look at removing all unnecessary hardware from the motherboard and slowly testing each stage as you rebuild.

    • mathias_freire@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      25 days ago

      I unplugged SATA cables last night, booted from Windows USB to install it, SSD disconnected again mid course :) SSD is disconnected somehow and if it happens in OS installed on, it causes crash. On USB, there is no crash. It’s not HDD, not memory or cpu, not SSD (it’s brand new already). I’m down to motherboard at this point.

      • CarbonatedPastaSauce@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        26 days ago

        Is any part of the OS installed on the HDDs? If not, disconnect them and see if the OS is stable.

        I’d also recommend running memory tests on your RAM just to eliminate that as a factor. You could also decrease the clock speed on your memory for a while and see if that helps.

        After all that , if the issue persists, try disconnecting all storage and running Linux from a usb drive. If the system is stable at least you know it’s something in the storage, but if it keeps crashing you’ll know the storage errors are a red herring.

        • mathias_freire@lemmy.mlOP
          link
          fedilink
          arrow-up
          1
          ·
          25 days ago

          Memtests showed nothing. I also ran SSD check in BIOS settings, still nothing. I will try again. As of live Linux over USB, it’s stable even with storage connected. I also have an installed system that may run to issues.

    • mathias_freire@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      ·
      25 days ago

      It’s 1 year old, still has warranty. 800 watt gold+. It had no problems so far. I thought it might be the cause, but SSD seeming disconnected even after restart (not everytime) makes me think it’s either SSD or motherboard. But still not sure of anything.

  • BonerMan@ani.social
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    25 days ago

    Sounds like your system drive has a physical problem. Is it connected properly?

    I would try to check the hardware individually for damages, this could be your Mainboard but first connect your SSD and HDD to another Maschine. When they do fine test the CPU, if its not the CPU its 99% the Mainboard, RAM would likely not cause such behavior but its never 100% certain for Hardware.

    Here is a useful link before you disassemble everything

    https://www.howtogeek.com/134735/check-ssd-or-hdd-health-with-smart/

    I’d recommend doing that from a bootable USB Linux, if that crashes its the RAM or rather CPU/Mainboard