Freeze after suspend

Forum Forums New users New Users and General Questions Freeze after suspend

  • This topic has 12 replies, 5 voices, and was last updated Feb 22-4:32 am by lgj100.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #77192
    Member
    lgj100

      Hi

      Suddenly my antix21 system will no longer boot. The grub menu appear to be briefly flashing, and then the system goes to a “PassMark Memtest86” which I have never seen before. After that I can only reboot, and the same happens again.

      The system froze and after reboot it won’t boot. I can’t even get to the grub menu. I was able to boot it with the systemrescue software from https://www.system-rescue.org/ but no mouse (how can I restart the mouse?). I can boot the antix21 live usb, but I wasn’t able boot to the hard drive installation using the antix21 live usb either. Windows, however boots fine from both of these.

      From the antix21 live prompt, I rebuilt the initramfs file for both my kernels to no avail. I still get the “PassMark Memtest86” upon reboot.

      I’m able to get to a grub rescue prompt, and with manual commands can get the system to start booting, but then stops and gives the message:

      Kernel Offset: disabled
      —[ end Kernel panic – not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

      I tried grub-install and update grub but I it didn’t help.

      How can I fix the system? Any ideas?

      Sincerely,
      Lars.

      • This topic was modified 1 year, 2 months ago by lgj100.
      • This topic was modified 1 year, 2 months ago by lgj100.
      • This topic was modified 1 year, 2 months ago by Brian Masinick. Reason: Change title to Freeze after suspend
      #77195
      Member
      lgj100
        Helpful
        Up
        0
        ::

        ….after messing with this for a while, the systemrescue saved me. I was able to boot using it and I ran the command line package installer and installed another kernel. After that I could boot.

        It may all have been caused by a GRUB_DEFAULT=2 and GRUB_TIMEOUT=1 with only two kernels installed….

        • This reply was modified 1 year, 2 months ago by lgj100.
        • This reply was modified 1 year, 2 months ago by lgj100.
        • This reply was modified 1 year, 2 months ago by lgj100.
        #77233
        Forum Admin
        anticapitalista
          Helpful
          Up
          0
          ::

          Which kernel?

          Philosophers have interpreted the world in many ways; the point is to change it.

          antiX with runit - leaner and meaner.

          #77246
          Member
          lgj100
            Helpful
            Up
            0
            ::

            It was 5.10.52 I installed. My problems began with both the 4.9 and 5.10 kernels freezing the system after suspends. So I experimented with other kernels, and upon doing that I uninstalled a kernel, and then I couldn’t boot. Now I think this was because I had GRUB_DEFAULT=2 and GRUB_TIMEOUT=1 with only two kernels installed. Because GRUB_TIMEOUT=1 I didn’t see the grub screen, only the kernel panic message.

            Anyway, coming back to my original problems, all the kernels I have tried seems to now and then freeze the system after suspend.

            Sincerely,
            Lars.

            • This reply was modified 1 year, 2 months ago by lgj100.
            #77250
            Moderator
            Brian Masinick
              Helpful
              Up
              0
              ::

              Can you get ANY kernel to stay up long enough to see what kernels you have available?

              If so, I can report that I have THREE kernels available, 4.19.0-222, 4.9.0-279, and 5.11.0-21.2.
              I’m running 5.11.0-21.2-liquorix-amd64 x86_64 – a “Liquorix kernel”, not a standard antiX or Debian kernel.
              These work particularly well for me, but I do not recall any specific problems with any version 4 or 5 antiX or Debian kernels on any of my systems.

              If you cannot get anything at all installed, I would try two things:

              First, obtain another antiX image; either antiX 21 or possibly the recently available antiX 19.5, both of which work fine on my Dell Inspiron 5558 laptop.
              Don’t get any extra kernels and don’t remove anything, but do try to boot each of the provided kernels and if you can get any of them up, let us know which one.

              Also, please make sure to verify the checksums of the image(s) you obtain to make sure you didn’t get a corrupted download.

              Finally, IF you can get anything up long enough, provide the results of the command
              inxi -Fxz

              --
              Brian Masinick

              #77314
              Member
              lgj100
                Helpful
                Up
                0
                ::

                Hi Brian,

                thanks for your reply. At first, I couldn’t get to the grub menu, but I eventually succeeded, and then was able to boot. The reason I started messing with kernels is that my system freezes regularly after suspend. I haven’t been able to find a kernel that doesn’t. At the moment, I’m using a 5.10 kernel, but also the 4.9 kernel freezes the system after suspend sometimes. How to prevent this?

                $ inxi -Fxz
                System: Kernel: 5.10.0-11-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1 Desktop: IceWM 2.9.5
                Distro: antiX-21_x64-full Grup Yorum 31 October 2021 base: Debian GNU/Linux 11 (bullseye)
                Machine: Type: Laptop System: LENOVO product: 23427YU v: ThinkPad T430 serial: <filter>
                Mobo: LENOVO model: 23427YU v: Win8 Pro DPK TPG serial: <filter> UEFI: LENOVO v: G1ETB9WW (2.79 ) date: 02/19/2019
                Battery: ID-1: BAT0 charge: 32.4 Wh (79.6%) condition: 40.7/47.5 Wh (85.7%) volts: 11.6 min: 10.8 model: LGC 45N1005
                status: Unknown
                CPU: Info: Dual Core model: Intel Core i5-3320M bits: 64 type: MT MCP arch: Ivy Bridge rev: 9 cache: L2: 3 MiB
                flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 20751
                Speed: 1948 MHz min/max: 1200/3300 MHz Core speeds (MHz): 1: 1948 2: 2288 3: 2023 4: 2292
                Graphics: Device-1: Intel 3rd Gen Core processor Graphics vendor: Lenovo driver: i915 v: kernel bus-ID: 00:02.0
                Device-2: Chicony thinkpad t430s camera type: USB driver: uvcvideo bus-ID: 1-1.6:3
                Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting unloaded: fbdev,vesa resolution: 1366×768~60Hz
                OpenGL: renderer: Mesa DRI Intel HD Graphics 4000 (IVB GT2) v: 4.2 Mesa 20.3.5 direct render: Yes
                Audio: Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Lenovo driver: snd_hda_intel v: kernel
                bus-ID: 00:1b.0
                Sound Server-1: ALSA v: k5.10.0-11-amd64 running: yes
                Sound Server-2: PulseAudio v: 14.2 running: no
                Network: Device-1: Intel 82579LM Gigabit Network vendor: Lenovo driver: e1000e v: kernel port: 6080 bus-ID: 00:19.0
                IF: eth0 state: down mac: <filter>
                Device-2: Intel Centrino Advanced-N 6205 [Taylor Peak] driver: iwlwifi v: kernel port: efa0 bus-ID: 03:00.0
                IF: wlan0 state: up mac: <filter>
                Drives: Local Storage: total: 465.76 GiB used: 94.61 GiB (20.3%)
                ID-1: /dev/sda vendor: HGST (Hitachi) model: HTS725050A7E630 size: 465.76 GiB
                Partition: ID-1: / size: 29.3 GiB used: 10.16 GiB (34.7%) fs: btrfs dev: /dev/sda6
                ID-2: /boot/efi size: 196 MiB used: 29.1 MiB (14.8%) fs: vfat dev: /dev/sda1
                ID-3: /home size: 281.83 GiB used: 84.42 GiB (30.0%) fs: btrfs dev: /dev/sda7
                Swap: Alert: No swap data was found.
                Sensors: System Temperatures: cpu: 49.0 C mobo: 0.0 C
                Fan Speeds (RPM): cpu: 2487
                Info: Processes: 226 Uptime: 4h 34m Memory: 7.59 GiB used: 2.52 GiB (33.2%) Init: SysVinit runlevel: 5 Compilers:
                gcc: 10.2.1 Packages: 2006 Shell: Bash v: 5.1.4 inxi: 3.3.06

                Sincerely,
                Lars

                #77324
                Moderator
                caprea
                  Helpful
                  Up
                  0
                  ::

                  I’m having better experience with the 4.9 kernel on lenovo laptop (thinkpadT440) , than 5.10 or 5.15,it’s a different cpu, though.
                  How do you set the laptop to sleep ? If with closing the lid do you have the same result with
                  sudo pm-suspend
                  What you could try is changing to the intel driver instead of modesetting, described here under
                  Force the intel driver over the default modesetting
                  https://mxlinux.org/wiki/hardware/intel-video-driver/

                  Edit:Can you please change the topic title to something like “Freeze after suspend”

                  #77340
                  Member
                  lgj100
                    Helpful
                    Up
                    0
                    ::

                    Hi caprea,

                    Thanks for the suggestion.

                    Not sure how to change the topic title….I use pm-suspend to suspend the system. I do nothing different than I did with AntiX 19, which did not have this problem.

                    Sincerely,
                    Lars.

                    #77346
                    Member
                    stevesr0
                      Helpful
                      Up
                      0
                      ::

                      Hi lgj100,

                      1. If you block suspending, does the system stay responsive until you shutdown?

                      2. If you can’t do #1, can you switch to a terminal (control + alt + f3)? If that works, can you see the display (command line prompt)?

                      stevesr0

                      #77348
                      Member
                      lgj100
                        Helpful
                        Up
                        0
                        ::

                        Hi Steve,

                        Yes on both. I have shut down applications with xkill but it doesn’t help get the system back. I have even tried to restart slimski, and still can’t get the system going. Perhaps slimski is the culprit because this seems to be the only real change since AntiX19?

                        Sincerely,
                        Lars.

                        • This reply was modified 1 year, 2 months ago by lgj100.
                        #77353
                        Member
                        stevesr0
                          Helpful
                          Up
                          0
                          ::

                          Hi Igj100,

                          So, you can use the laptop as long as suspending is blocked? If so, at the moment the system is usable (except if you are running on battery and need more time than the battery allows without using suspend).

                          I am not an expert. I just searched a bit and noted many similar complaints of failure to resume after laptop suspend. No single fix works most of the time.

                          Three other things to try:

                          1. I had a problem with X after an update that did not include the xserver-xorg-legacy package. Your system is a dual core and might be old enough to require that. Although my system would only go into a black screen when I invoked X using startx, which is different from yours. Installing xserver-xorg-legacy fixed that problem.

                          2. If #1 doesn’t (magically) work, try the newest available kernel in the antiX/Debian repositories. (as long as you can block suspending, you should have enough time to download and install a new kernel. On reboot, the newest kernel will be used by default.

                          3. If neither # 1 or 2 work, try live usb distros (antix and another “brand”) to see if this is only an issue with installed distros or with antiX.

                          stevesr0

                          #77363
                          Member
                          lgj100
                            Helpful
                            Up
                            0
                            ::

                            Hi Steve,

                            Thanks for your pointers. My situation is not all that bad. I don’t think automatic suspend is active on my system. the suspend I’m talking about is something I do manually, and I can avoud the problem by simply not suspending. however I like being able to suspend; that’s why I’m still troubleshooting the issue.

                            Sincerely,
                            Lars.

                            #77843
                            Member
                            lgj100
                              Helpful
                              Up
                              0
                              ::

                              Hi Everyone,

                              After collecting some more data, I can say that the freeze of the system seems to happen when I suspend the system while off AC and then plug in AC before starting up again. In this case, when it starts up it seems to freeze up consistently. If I don’tplug in AC disconnected and start up, it doesn’t freeze. The kernel version doesn’t appear to matter.

                              Sincerely,
                              Lars.

                            Viewing 13 posts - 1 through 13 (of 13 total)
                            • You must be logged in to reply to this topic.