I’ve had two server oses here: alma linux and debian(currently). On both of them, they will hang when I shut them down from cockpit, and they hang at the end of the shutdown.

Also, it takes an hour to a day to have this issue start. if it’s restarted two times in a row quickly, it works perfectly fine for some reason.

What I’ve tried:

  • setting “acpi=off” and “acpi=force” kernel parameters in grub
  • removing my nvidia gpu(i was using nouveau drivers)
  • changing distros

nothing worked. here are some things that both distros had in common with eachother:

  • systemd
  • cockpit
  • libvirt & qemu
  • docker

does anyone have advice? nothing i’ve seen online has worked. thank you for suggestions

  • CameronDev@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    2 days ago

    Is it actual server hardware? I’ve seen some very weird things with real servers that take ages to reboot (I was assuming it was self checking or something). Are you sure its hung, and not just very slow to shutdown/reboot?

    Is there any serial/monitor output before the hang?

      • ⲇⲅⲇ@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        2 days ago

        seems its a nvidia issue, i also have that issue, the gpu locks and i need to reboot while the VM with the nvidia passthrough freezes. i need a full reboot from baremetal machine to stop gpu using all his power stuck, don’t let it be for hours being on or you will kill your hardware

        • potentiallynotfelix@lemmy.fishOP
          link
          fedilink
          arrow-up
          1
          ·
          1 day ago

          sudo dmsetup info returns:

          Name:              raven--vg-root
          State:             ACTIVE
          Read Ahead:        256
          Tables present:    LIVE
          Open count:        1
          Event number:      0
          Major, minor:      254, 0
          Number of targets: 1
          UUID: LVM-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
          
          Name:              raven--vg-swap_1
          State:             ACTIVE
          Read Ahead:        256
          Tables present:    LIVE
          Open count:        2
          Event number:      0
          Major, minor:      254, 1
          Number of targets: 1
          UUID: LVM-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
          
          • ReversalHatchery@beehaw.org
            cake
            link
            fedilink
            arrow-up
            1
            ·
            13 hours ago

            did you make these yourself? if not, could you cdo an ls -l /dev/mapper? it shows which name corresponds to which dm device

      • BCsven@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        2 days ago

        Says reboot, are you issuing a reboot or a shutdown poweroff? Entering sleep state 5 shout be power off right?

        • potentiallynotfelix@lemmy.fishOP
          link
          fedilink
          arrow-up
          1
          ·
          2 days ago

          I click the reboot button on cockpit, which issues a shutdown --reboot command as root. I agree that sleep state S5 is powered off. From the acpi docs:

          A computer state where the computer consumes a minimal amount of power. No user mode or system mode code is run. This state requires a large latency in order to return to the Working state. The system’s context will not be preserved by the hardware. The system must be restarted to return to the Working state. It is not safe to disassemble the machine in this state.

          This likely means my system is failing to reach that s5/g2 state.

          • BCsven@lemmy.ca
            link
            fedilink
            arrow-up
            3
            ·
            1 day ago

            If you ssh login directly and issue same command, not In cockpit interface, does it react the same?