You are not logged in.

#51 2023-09-20 23:23:34

Elmario
Member
Registered: 2023-08-21
Posts: 33

Re: SOLVED: Shutdown and hibernation make the drive disapper from BIOS

OK: As a last resort, I now installed linux-lts.
And the console window on my desktop came up like this:

[ladmin@250g8 ~]$ systemctl hibernate 
[ladmin@250g8 ~]$ 

I guess this means hibernation worked (despite the journal saying no...)?


The journal is here:

sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st
http://0x0.st/HOEY.txt

sudo journalctl -b -0 | curl -F 'file=@-' 0x0.st
http://0x0.st/HOEg.txt

Yes, I tried again. The desktop reloads in identical state to how I left it when hibernating. It's not just a reloaded session fom XFCE.
1. I dont' understand why there's still 'PM: Image not found (code -22)' in the journals.
2. As an LTS-kernel is basically outdated ... doesn't this mean my notebook will be incompatible with upcoming kernel releases? Do I need to report this issue somewhere like Github for the kernel-devs?

Last edited by Elmario (2023-09-20 23:38:12)

Offline

#52 Yesterday 07:21:42

seth
Member
Registered: 2012-09-03
Posts: 42,626

Re: SOLVED: Shutdown and hibernation make the drive disapper from BIOS

Sep 21 01:20:02 250g8 systemd-logind[551]: The system will hibernate now!
Sep 21 01:20:02 250g8 systemd[1]: Starting Hibernate...
Sep 21 01:20:02 250g8 systemd-sleep[5186]: Entering sleep state 'hibernate'...
Sep 21 01:20:02 250g8 kernel: PM: hibernation: hibernation entry
Sep 21 01:21:26 250g8 kernel: PM: hibernation: Marking nosave pages: [mem 0x00000000-0x00000fff]
Sep 21 01:21:26 250g8 kernel: PM: hibernation: Marking nosave pages: [mem 0x0009f000-0x000fffff]
Sep 21 01:21:26 250g8 kernel: PM: hibernation: Marking nosave pages: [mem 0x29ebf000-0x29ed2fff]
Sep 21 01:21:26 250g8 kernel: PM: hibernation: Marking nosave pages: [mem 0x3b4ff000-0x40bfefff]
Sep 21 01:21:26 250g8 kernel: PM: hibernation: Marking nosave pages: [mem 0x40c00000-0xffffffff]
Sep 21 01:21:26 250g8 kernel: PM: hibernation: Basic memory bitmaps created
Sep 21 01:21:26 250g8 kernel: PM: hibernation: Preallocating image memory
Sep 21 01:21:26 250g8 kernel: PM: hibernation: Allocated 2382642 pages for snapshot
Sep 21 01:21:26 250g8 kernel: PM: hibernation: Allocated 9530568 kbytes in 1.32 seconds (7220.12 MB/s)
Sep 21 01:21:26 250g8 kernel: PM: hibernation: Creating image:
Sep 21 01:21:26 250g8 kernel: PM: hibernation: Need to copy 2360258 pages
Sep 21 01:21:26 250g8 kernel: PM: hibernation: Normal pages needed: 2360258 + 1024, available pages: 14332566
Sep 21 01:21:26 250g8 kernel: PM: hibernation: Basic memory bitmaps freed
Sep 21 01:21:26 250g8 kernel: PM: hibernation: hibernation exit

There's no "PM: Image not found (code -22)", hibernation worked flawlessly.
The LTS kernel isn't "outdated", it's the long term supported kernel.
At some point the main kernel becomes the new LTS, by then you'll want to have this fixed but the 6.5 kernels had rather a lot of issues anyway…

Offline

#53 Yesterday 09:18:51

Elmario
Member
Registered: 2023-08-21
Posts: 33

Re: SOLVED: Shutdown and hibernation make the drive disapper from BIOS

Thank you very much for all the help!

Do you think I shoudl report this issue somewhere?

Offline

#54 Yesterday 15:53:34

seth
Member
Registered: 2012-09-03
Posts: 42,626

Re: SOLVED: Shutdown and hibernation make the drive disapper from BIOS

Given the nvme parameters seem to have had(?) some impact, it's the likely offender.
If this doesn't go away w/ the next kernel updates you'll probably have to bisect this.

You can get older kernels out of the https://wiki.archlinux.org/title/Arch_Linux_Archive (keep lts and try 6.3, then, depending on the success, 6.2 or 6.4 and keep narrowing this down until you've two adjacent kernel releases good and bad)

Offline

Board footer

Powered by FluxBB