Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Every living thing wants to survive. -- Spock, "The Ultimate Computer", stardate 4731.3


computers / alt.os.linux / What may prevent hibernation from working

SubjectAuthor
* What may prevent hibernation from workingMarioCPPP
+* What may prevent hibernation from workingCarlos E.R.
|`* What may prevent hibernation from workingMarioCPPP
| `- What may prevent hibernation from workingCarlos E.R.
+* What may prevent hibernation from workingJ.O. Aho
|+* What may prevent hibernation from workingCarlos E.R.
||`- What may prevent hibernation from workingJ.O. Aho
|+* What may prevent hibernation from workingJasen Betts
||`* What may prevent hibernation from workingMarioCPPP
|| `- What may prevent hibernation from workingCarlos E.R.
|`* What may prevent hibernation from workingMarioCPPP
| `* What may prevent hibernation from workingKilladebug
|  `* What may prevent hibernation from workingMarioCPPP
|   `* What may prevent hibernation from workingCarlos E.R.
|    `* What may prevent hibernation from workingMarioCPPP
|     `- What may prevent hibernation from workingCarlos E.R.
`* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 +* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |`* What may prevent hibernation from working - OOOPS, I DID IT AGAINPaul
 | `* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |  `* What may prevent hibernation from working - OOOPS, I DID IT AGAINJ.O. Aho
 |   `* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |    +- What may prevent hibernation from working - OOOPS, I DID IT AGAINJ.O. Aho
 |    `* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     +* What may prevent hibernation from working - OOOPS, I DID IT AGAINPaul
 |     |`* What may prevent hibernation from working - OOOPS, I DID IT AGAINJ.O. Aho
 |     | `- What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     +* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |`* What may prevent hibernation from working - OOOPS, I DID IT AGAINJ.O. Aho
 |     | +- What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     | `* What may prevent hibernation from working - OOOPS, I DID IT AGAINBit Twister
 |     |  +- What may prevent hibernation from working - OOOPS, I DID IT AGAINJ.O. Aho
 |     |  `* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     |   `* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |    +* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     |    |`* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |    | +- What may prevent hibernation from working - OOOPS, I DID IT AGAINBit Twister
 |     |    | `* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     |    |  `* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |    |   +* What may prevent hibernation from working - OOOPS, I DID IT AGAINDavid W. Hodgins
 |     |    |   |`* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |    |   | `* What may prevent hibernation from working - OOOPS, I DID IT AGAINDavid W. Hodgins
 |     |    |   |  `* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |    |   |   `- What may prevent hibernation from working - OOOPS, I DID IT AGAINBit Twister
 |     |    |   +* What may prevent hibernation from working - OOOPS, I DID IT AGAINJ.O. Aho
 |     |    |   |`* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |    |   | +- What may prevent hibernation from working - OOOPS, I DID IT AGAINJ.O. Aho
 |     |    |   | `- What may prevent hibernation from working - OOOPS, I DID IT AGAINBit Twister
 |     |    |   `* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     |    |    `* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |    |     +* What may prevent hibernation from working - OOOPS, I DID IT AGAINJ.O. Aho
 |     |    |     |`* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |    |     | +* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E. R.
 |     |    |     | |+* What may prevent hibernation from working - OOOPS, I DID IT AGAINDavid W. Hodgins
 |     |    |     | ||`* What may prevent hibernation from working - OOOPS, I DID IT AGAINJ.O. Aho
 |     |    |     | || +* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E. R.
 |     |    |     | || |`* What may prevent hibernation from working - OOOPS, I DID IT AGAINDavid W. Hodgins
 |     |    |     | || | `* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     |    |     | || |  `* What may prevent hibernation from working - OOOPS, I DID IT AGAINDavid W. Hodgins
 |     |    |     | || |   `* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     |    |     | || |    `* What may prevent hibernation from working - OOOPS, I DID IT AGAINDavid W. Hodgins
 |     |    |     | || |     `* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     |    |     | || |      +* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |    |     | || |      |`* What may prevent hibernation from working - OOOPS, I DID IT AGAINBit Twister
 |     |    |     | || |      | `* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |    |     | || |      |  `- What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     |    |     | || |      `* What may prevent hibernation from working - OOOPS, I DID IT AGAINDavid W. Hodgins
 |     |    |     | || |       `* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     |    |     | || |        `* What may prevent hibernation from working - OOOPS, I DID IT AGAINDavid W. Hodgins
 |     |    |     | || |         `* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     |    |     | || |          `* What may prevent hibernation from working - OOOPS, I DID IT AGAINDavid W. Hodgins
 |     |    |     | || |           `- What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     |    |     | || `- What may prevent hibernation from working - OOOPS, I DID IT AGAINBit Twister
 |     |    |     | |`* What may prevent hibernation from working - OOOPS, I DID IT AGAINFonntuggnio
 |     |    |     | | +* What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E.R.
 |     |    |     | | |`* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |    |     | | | `- What may prevent hibernation from working - OOOPS, I DID IT AGAINBit Twister
 |     |    |     | | +* What may prevent hibernation from working - OOOPS, I DID IT AGAINBubba the Corn Dog
 |     |    |     | | |`* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |    |     | | | +- What may prevent hibernation from working - OOOPS, I DID IT AGAINBubba the Corn Dog
 |     |    |     | | | +- What may prevent hibernation from working - OOOPS, I DID IT AGAINBit Twister
 |     |    |     | | | `* What may prevent hibernation from working - OOOPS, I DID IT AGAINJ.O. Aho
 |     |    |     | | |  `- What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |     |    |     | | +- What may prevent hibernation from working - OOOPS, I DID IT AGAINBit Twister
 |     |    |     | | `* What may prevent hibernation from working - OOOPS, I DID IT AGAINPaul
 |     |    |     | |  `- What may prevent hibernation from working - OOOPS, I DID IT AGAINBit Twister
 |     |    |     | `- What may prevent hibernation from working - OOOPS, I DID IT AGAINJ.O. Aho
 |     |    |     `- What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E. R.
 |     |    +- What may prevent hibernation from working - OOOPS, I DID IT AGAINJ.O. Aho
 |     |    `- What may prevent hibernation from working - OOOPS, I DID IT AGAINBit Twister
 |     `* What may prevent hibernation from working - OOOPS, I DID IT AGAINPeter 'Shaggy' Haywood
 |      +- What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
 |      `- What may prevent hibernation from working - OOOPS, I DID IT AGAINCarlos E. R.
 `* What may prevent hibernation from working - OOOPS, I DID IT AGAINBit Twister
  +* What may prevent hibernation from working - OOOPS, I DID IT AGAINMarioCPPP
  |`- What may prevent hibernation from working - OOOPS, I DID IT AGAINBit Twister
  `* What may prevent hibernation from working - OOOPS, I DID IT AGAINFonntuggnio
   `- What may prevent hibernation from working - OOOPS, I DID IT AGAINPeter 'Shaggy' Haywood

Pages:1234
What may prevent hibernation from working

<u73u0p$3n1kh$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1614&group=alt.os.linux#1614

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: NoliMihiFrangereMentulam@libero.it (MarioCPPP)
Newsgroups: alt.os.linux
Subject: What may prevent hibernation from working
Date: Fri, 23 Jun 2023 13:00:41 +0200
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <u73u0p$3n1kh$1@dont-email.me>
Reply-To: MarioCCCP@CCCP.MIR
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 23 Jun 2023 11:00:41 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="3b9b966af902b1beca0157a8bbdc94b1";
logging-data="3901073"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/SxhxdHyELCTVJGLIfjpXG"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:nJdwhJFvnTqv9yEoRymDLnk+ulk=
Content-Language: en-GB, it-IT
 by: MarioCPPP - Fri, 23 Jun 2023 11:00 UTC

Given that hibernation has always worked before ...

I have installed, side by side, Linux MX 23 "Libretto" in a
system running Debian Bookworm (BTW an AMAZING installer,
especially the powerful disk utility to manage partition
during install : the distro was the live version).

The two install SHARE the same swap partition (64 GB wide,
the same as RAM, that had been enough).

I have manually synced the two FSTAB to update Debian FSTAB
(formatting the MX ROOT, /, and its /HOME, in two different
partitions, that Debian used to mount, the UUID were
changed, so the need to revise this). The SWAP partition was
set to be "use as such, no formatting", and actually its
UUID has not changed.

Now the two systems work finely (and MX also hibernates),
but Debian no longer does, without any error message.

What could have happened and how to diagnose the problem and
to solve ?

Since the SWAP UUID has remained the same, it is an
unexpected outcome to me ... Debian correctly reports the
free/used swap space (at least in the panel gadget).

Tnx for any suggestions

--
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
MarioCPPP

Re: What may prevent hibernation from working

<tedgmjx3nh.ln2@Telcontar.valinor>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1619&group=alt.os.linux#1619

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!news.neodome.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E.R.)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working
Date: Fri, 23 Jun 2023 13:49:17 +0200
Lines: 37
Message-ID: <tedgmjx3nh.ln2@Telcontar.valinor>
References: <u73u0p$3n1kh$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net dR5DHCc+E4IWu9gDdSIQqAAny7iSAedNmqXbc+WzQXz7rKEjR7
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:U+qRtYlyPOW/s7Q6S++BnitZt3g=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.9.1
Content-Language: es-ES, en-CA
In-Reply-To: <u73u0p$3n1kh$1@dont-email.me>
 by: Carlos E.R. - Fri, 23 Jun 2023 11:49 UTC

On 2023-06-23 13:00, MarioCPPP wrote:
> Given that hibernation has always worked before ...
>
> I have installed, side by side, Linux MX 23 "Libretto" in a system
> running Debian Bookworm (BTW an AMAZING installer, especially the
> powerful disk utility to manage partition during install : the distro
> was the live version).
>
> The two install SHARE the same swap partition (64 GB wide, the same as
> RAM, that had been enough).
>
> I have manually synced the two FSTAB to update Debian FSTAB (formatting
> the MX ROOT, /, and its /HOME, in two different partitions, that Debian
> used to mount, the UUID were changed, so the need to revise this). The
> SWAP partition was set to be "use as such, no formatting", and actually
> its UUID has not changed.
>
> Now the two systems work finely (and MX also hibernates), but Debian no
> longer does, without any error message.

Did you actually read the logs?

>
> What could have happened and how to diagnose the problem and to solve ?
>
> Since the SWAP UUID has remained the same, it is an unexpected outcome
> to me ... Debian correctly reports the free/used swap space (at least in
> the panel gadget).

I would verify that the kernel command line is actually pointing at the
correct swap partition.

--
Cheers, Carlos.

Re: What may prevent hibernation from working

<kflimcF31bjU1@mid.individual.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1621&group=alt.os.linux#1621

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: user@example.net (J.O. Aho)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working
Date: Fri, 23 Jun 2023 14:49:16 +0200
Lines: 34
Message-ID: <kflimcF31bjU1@mid.individual.net>
References: <u73u0p$3n1kh$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net h8vO9HuT7A43DnbB0BSX0Ah4Y65+/VP6KhMs1jKCckf+hQIxSQ
Cancel-Lock: sha1:n1PILmXF1jxBngv67QS/Ye09LT8=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Content-Language: en-US-large
In-Reply-To: <u73u0p$3n1kh$1@dont-email.me>
 by: J.O. Aho - Fri, 23 Jun 2023 12:49 UTC

On 6/23/23 13:00, MarioCPPP wrote:

> The two install SHARE the same swap partition (64 GB wide, the same as
> RAM, that had been enough).

This could end up in a funny thing, you hibernate one os, then next time
you boot you want to start the other and then you end up with the first.

Location where you store the data should be different IMHO.

> Now the two systems work finely (and MX also hibernates), but Debian no
> longer does, without any error message.

Did you check the logs?
Dmesg?

> What could have happened and how to diagnose the problem and to solve ?

There can be applications that prevents hibernation, for example
VirtualBox, you have to figure it out yourself by closing one
application at the time.

> Since the SWAP UUID has remained the same, it is an unexpected outcome
> to me ... Debian correctly reports the free/used swap space (at least in
> the panel gadget).

As long as the used memory + used swap is smaller than the swap itself,
it's not an issue of swap space.

--
//Aho

Re: What may prevent hibernation from working

<n2igmjxlq7.ln2@Telcontar.valinor>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1622&group=alt.os.linux#1622

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.imp.ch!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E.R.)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working
Date: Fri, 23 Jun 2023 15:08:07 +0200
Lines: 29
Message-ID: <n2igmjxlq7.ln2@Telcontar.valinor>
References: <u73u0p$3n1kh$1@dont-email.me> <kflimcF31bjU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 7nIh37edU2QigUVVSMco7Q0RIA1sU26TNmcxTgPfktLyaC6D1H
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:vyZmNHhOl1P14b2kJ/JdlFuuKaY=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.9.1
Content-Language: es-ES, en-CA
In-Reply-To: <kflimcF31bjU1@mid.individual.net>
 by: Carlos E.R. - Fri, 23 Jun 2023 13:08 UTC

On 2023-06-23 14:49, J.O. Aho wrote:
> On 6/23/23 13:00, MarioCPPP wrote:
>
>> The two install SHARE the same swap partition (64 GB wide, the same as
>> RAM, that had been enough).
>
> This could end up in a funny thing, you hibernate one os, then next time
> you boot you want to start the other and then you end up with the first.
>
> Location where you store the data should be different IMHO.

On the contrary.

The booting kernel checks the swapped image, and either bail out if they
don't match, or boots the swapped image no matter what kernel you ask to
boot. Both are correct results.

It is when using different swaps that you can manage to boot a different
system, which it may then try to mount the hibernated partitions,
creating a Royal Corruption.

Happened to me, I know what I'm talking about. ;-)

....

--
Cheers, Carlos.

Re: What may prevent hibernation from working

<kfm3tnF5kq6U1@mid.individual.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1645&group=alt.os.linux#1645

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.imp.ch!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: user@example.net (J.O. Aho)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working
Date: Fri, 23 Jun 2023 19:43:19 +0200
Lines: 13
Message-ID: <kfm3tnF5kq6U1@mid.individual.net>
References: <u73u0p$3n1kh$1@dont-email.me> <kflimcF31bjU1@mid.individual.net>
<n2igmjxlq7.ln2@Telcontar.valinor>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net /x2Gap0+RcHP8/RcZrh5PwzdTp1bBksEHNWDhy/fQ6pgRToK4F
Cancel-Lock: sha1:vDJWu67PoY+ke5Pn4DV8Nc8APdA=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Content-Language: en-US-large
In-Reply-To: <n2igmjxlq7.ln2@Telcontar.valinor>
 by: J.O. Aho - Fri, 23 Jun 2023 17:43 UTC

On 6/23/23 15:08, Carlos E.R. wrote:

> It is when using different swaps that you can manage to boot a different
> system, which it may then try to mount the hibernated partitions,
> creating a Royal Corruption.
> Happened to me, I know what I'm talking about. ;-)

Don't use unified grub for multiple distors, you will end up with all
distros to use the same resume swap partition.

--
//Aho

Re: What may prevent hibernation from working

<u75fmh$oqh$4@gonzo.revmaps.no-ip.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1679&group=alt.os.linux#1679

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer01.ams4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx38.iad.POSTED!not-for-mail
From: usenet@revmaps.no-ip.org (Jasen Betts)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working
Organization: JJ's own news server
Message-ID: <u75fmh$oqh$4@gonzo.revmaps.no-ip.org>
References: <u73u0p$3n1kh$1@dont-email.me> <kflimcF31bjU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 24 Jun 2023 01:08:33 -0000 (UTC)
Injection-Info: gonzo.revmaps.no-ip.org; posting-host="localhost:127.0.0.1";
logging-data="25425"; mail-complaints-to="usenet@gonzo.revmaps.no-ip.org"
User-Agent: slrn/1.0.3 (Linux)
X-Face: ?)Aw4rXwN5u0~$nqKj`xPz>xHCwgi^q+^?Ri*+R(&uv2=E1Q0Zk(>h!~o2ID@6{uf8s;a
+M[5[U[QT7xFN%^gR"=tuJw%TXXR'Fp~W;(T"1(739R%m0Yyyv*gkGoPA.$b,D.w:z+<'"=-lVT?6
{T?=R^:W5g|E2#EhjKCa+nt":4b}dU7GYB*HBxn&Td$@f%.kl^:7X8rQWd[NTc"P"u6nkisze/Q;8
"9Z{peQF,w)7UjV$c|RO/mQW/NMgWfr5*$-Z%u46"/00mx-,\R'fLPe.)^
Lines: 16
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Sat, 24 Jun 2023 01:30:33 UTC
Date: Sat, 24 Jun 2023 01:08:33 -0000 (UTC)
X-Received-Bytes: 1839
 by: Jasen Betts - Sat, 24 Jun 2023 01:08 UTC

On 2023-06-23, J.O. Aho <user@example.net> wrote:
> On 6/23/23 13:00, MarioCPPP wrote:
>
>> The two install SHARE the same swap partition (64 GB wide, the same as
>> RAM, that had been enough).
>
> This could end up in a funny thing, you hibernate one os, then next time
> you boot you want to start the other and then you end up with the first.

If you're sharing file systems between then there's nothing gained by
having multiple hibernation stores, you can only run or suspend one OS
at a time involve a second and you'll get disk corruption.

--
Jasen.
🇺🇦 Слава Україні

Re: What may prevent hibernation from working

<u76g6s$3040$3@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1693&group=alt.os.linux#1693

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: NoliMihiFrangereMentulam@libero.it (MarioCPPP)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working
Date: Sat, 24 Jun 2023 12:23:23 +0200
Organization: A noiseless patient Spider
Lines: 52
Message-ID: <u76g6s$3040$3@dont-email.me>
References: <u73u0p$3n1kh$1@dont-email.me> <tedgmjx3nh.ln2@Telcontar.valinor>
Reply-To: MarioCCCP@CCCP.MIR
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 24 Jun 2023 10:23:25 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c4dba096a2915c68af2ac8a0874bde32";
logging-data="98432"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+GAEvkCVTCTKbIgMuv48VP"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:Ylfj3S9E9fv01iS6HtuDi7IV8IU=
Content-Language: en-GB, it-IT
In-Reply-To: <tedgmjx3nh.ln2@Telcontar.valinor>
 by: MarioCPPP - Sat, 24 Jun 2023 10:23 UTC

On 23/06/23 13:49, Carlos E.R. wrote:
> On 2023-06-23 13:00, MarioCPPP wrote:
>> Given that hibernation has always worked before ...
>>
>> I have installed, side by side, Linux MX 23 "Libretto" in
>> a system running Debian Bookworm (BTW an AMAZING
>> installer, especially the powerful disk utility to manage
>> partition during install : the distro was the live version).
>>
>> The two install SHARE the same swap partition (64 GB wide,
>> the same as RAM, that had been enough).
>>
>> I have manually synced the two FSTAB to update Debian
>> FSTAB (formatting the MX ROOT, /, and its /HOME, in two
>> different partitions, that Debian used to mount, the UUID
>> were changed, so the need to revise this). The SWAP
>> partition was set to be "use as such, no formatting", and
>> actually its UUID has not changed.
>>
>> Now the two systems work finely (and MX also hibernates),
>> but Debian no longer does, without any error message.
>
> Did you actually read the logs?

no, not at all. Which ones ? Where ?
I was stating no errors reported on screen advices

>
>>
>> What could have happened and how to diagnose the problem
>> and to solve ?
>>
>> Since the SWAP UUID has remained the same, it is an
>> unexpected outcome to me ... Debian correctly reports the
>> free/used swap space (at least in the panel gadget).
>
> I would verify that the kernel command line is actually
> pointing at the correct swap partition.

the swap is USED, but, apart from FSTAB, what is the kernel
command line ? Where could I find it ?

>
>
>

--
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
MarioCPPP

Re: What may prevent hibernation from working

<u76h28$354m$2@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1694&group=alt.os.linux#1694

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: NoliMihiFrangereMentulam@libero.it (MarioCPPP)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working
Date: Sat, 24 Jun 2023 12:38:00 +0200
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <u76h28$354m$2@dont-email.me>
References: <u73u0p$3n1kh$1@dont-email.me> <kflimcF31bjU1@mid.individual.net>
<u75fmh$oqh$4@gonzo.revmaps.no-ip.org>
Reply-To: MarioCCCP@CCCP.MIR
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 24 Jun 2023 10:38:00 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c4dba096a2915c68af2ac8a0874bde32";
logging-data="103574"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18i/LUXScrOYxFeiVxTHWSp"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:7Ju+1RHOkdFwOZfPsZahOZrrFsM=
Content-Language: en-GB, it-IT
In-Reply-To: <u75fmh$oqh$4@gonzo.revmaps.no-ip.org>
 by: MarioCPPP - Sat, 24 Jun 2023 10:38 UTC

On 24/06/23 03:08, Jasen Betts wrote:
> On 2023-06-23, J.O. Aho <user@example.net> wrote:
>> On 6/23/23 13:00, MarioCPPP wrote:
>>
>>> The two install SHARE the same swap partition (64 GB wide, the same as
>>> RAM, that had been enough).
>>
>> This could end up in a funny thing, you hibernate one os, then next time
>> you boot you want to start the other and then you end up with the first.
>
> If you're sharing file systems between then there's nothing gained by
> having multiple hibernation stores, you can only run or suspend one OS
> at a time involve a second and you'll get disk corruption.
>

I have a doubt : shouldn't hibernation process at least
close any open FILE HANDLES (and also FLUSH BUFFERS) ? To
not do this seems really risky.
The reverse (reopening, assigning FILE * to the matching
processes) should be possible on reload.
But leaving the disk in "open" state seems a nightmare

--
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
MarioCPPP

Re: What may prevent hibernation from working

<u76h2c$354m$3@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1695&group=alt.os.linux#1695

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: NoliMihiFrangereMentulam@libero.it (MarioCPPP)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working
Date: Sat, 24 Jun 2023 12:38:04 +0200
Organization: A noiseless patient Spider
Lines: 85
Message-ID: <u76h2c$354m$3@dont-email.me>
References: <u73u0p$3n1kh$1@dont-email.me> <kflimcF31bjU1@mid.individual.net>
Reply-To: MarioCCCP@CCCP.MIR
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 24 Jun 2023 10:38:05 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c4dba096a2915c68af2ac8a0874bde32";
logging-data="103574"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/30oWdYRyfRbehvMkg2U3y"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:xx/ayQNIahHU/HGKatoAQE6AEqo=
In-Reply-To: <kflimcF31bjU1@mid.individual.net>
Content-Language: en-GB, it-IT
 by: MarioCPPP - Sat, 24 Jun 2023 10:38 UTC

On 23/06/23 14:49, J.O. Aho wrote:
> On 6/23/23 13:00, MarioCPPP wrote:
>
>> The two install SHARE the same swap partition (64 GB wide,
>> the same as RAM, that had been enough).
>
> This could end up in a funny thing, you hibernate one os,
> then next time you boot you want to start the other and then
> you end up with the first.

yes, it used to happen and it will again.
Not reliably, in the course of various upgrades during
years, I faced every scenarios
1) to have 2 resume systems "last one" aware, that correctly
bypassed the wrong selection (or the default one on timeout)
and resumed the correct saved state regardless of the
attempt to start the wrong one
2) one able and the other not able
3) both unable to detect the inconsistency, that dumped the
saved state and restarted from fresh

now, I have not yet understood which one is up : the problem
happened once only, and I tend not to make it happen
deliberatedly ! For the little I can recall, MX loaded (it
is the last installed and has set itself as the default on
timeout) from fresh discarding Debian saved status. The
reverse I still dunno. It is a bit delusional (having both
newer kernel, I had hoped they'd have been able to detect
the inconsistence, a thing just experimented before ... but
maybe there are also other config variables hidden to me
that change the course of events)

>
> Location where you store the data should be different IMHO.
>

not a viable solution. I just "waste" 64 GB SSD space, the
double is unbearable

>
>
>> Now the two systems work finely (and MX also hibernates),
>> but Debian no longer does, without any error message.
>
> Did you check the logs?
> Dmesg?

no ... to me, this, is like to look for the famous needle in
the haystack

>
>> What could have happened and how to diagnose the problem
>> and to solve ?
>
> There can be applications that prevents hibernation, for
> example VirtualBox, you have to figure it out yourself by
> closing one application at the time.

this was the first thing I thought about, and I had closed
everything "visible" ...

>
>
>> Since the SWAP UUID has remained the same, it is an
>> unexpected outcome to me ... Debian correctly reports the
>> free/used swap space (at least in the panel gadget).
>
> As long as the used memory + used swap is smaller than the
> swap itself, it's not an issue of swap space.

I never try to hibernate with RAM deeply loaded, since I
still reckon there is some risk of data loss. I tend to
close the open documents and some programs (i.g.
LibreOffice, compilers, thunderbird, and so ... I tend to
let Firefox opened, relying on its very robust crash
restoring ability)

>

--
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
MarioCPPP

Re: What may prevent hibernation from working

<f34jmjxv4c.ln2@Telcontar.valinor>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1698&group=alt.os.linux#1698

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.imp.ch!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E.R.)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working
Date: Sat, 24 Jun 2023 14:27:59 +0200
Lines: 30
Message-ID: <f34jmjxv4c.ln2@Telcontar.valinor>
References: <u73u0p$3n1kh$1@dont-email.me> <kflimcF31bjU1@mid.individual.net>
<u75fmh$oqh$4@gonzo.revmaps.no-ip.org> <u76h28$354m$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net +MunrgEIz8ORZxVYeSrzPQNfnQFx/kb1XGnwXcCO3lwfPsttjP
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:vQp9BVXNfA4gUpdUsjCm613uBSo=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.9.1
Content-Language: es-ES, en-CA
In-Reply-To: <u76h28$354m$2@dont-email.me>
 by: Carlos E.R. - Sat, 24 Jun 2023 12:27 UTC

On 2023-06-24 12:38, MarioCPPP wrote:
> On 24/06/23 03:08, Jasen Betts wrote:
>> On 2023-06-23, J.O. Aho <user@example.net> wrote:
>>> On 6/23/23 13:00, MarioCPPP wrote:
>>>
>>>> The two install SHARE the same swap partition (64 GB wide, the same as
>>>> RAM, that had been enough).
>>>
>>> This could end up in a funny thing, you hibernate one os, then next time
>>> you boot you want to start the other and then you end up with the first.
>>
>> If you're sharing file systems between then there's nothing gained by
>> having multiple hibernation stores,  you can only run or suspend one OS
>> at a time involve a second and you'll get disk corruption.
>>
>
> I have a doubt : shouldn't hibernation process at least close any open
> FILE HANDLES (and also FLUSH BUFFERS) ? To not do this seems really risky.
> The reverse (reopening, assigning FILE * to the matching processes)
> should be possible on reload.
> But leaving the disk in "open" state seems a nightmare

less nightmare than reopening.

The idea of hibernation is to freeze the RAM in disk. Minimal
alterations. Programs are frozen, not restarted or changed.

--
Cheers, Carlos.

Re: What may prevent hibernation from working

<sv3jmjxv4c.ln2@Telcontar.valinor>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1699&group=alt.os.linux#1699

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!lilly.ping.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E.R.)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working
Date: Sat, 24 Jun 2023 14:26:04 +0200
Lines: 68
Message-ID: <sv3jmjxv4c.ln2@Telcontar.valinor>
References: <u73u0p$3n1kh$1@dont-email.me> <tedgmjx3nh.ln2@Telcontar.valinor>
<u76g6s$3040$3@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net KXDTYf4a9TdzHXJZAPEXEAquW+ZubcahX1U/+AtpD5T6/NLwrz
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:295RxwzlJd2HG2Ohq9Q8UP1MSgo=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.9.1
Content-Language: es-ES, en-CA
In-Reply-To: <u76g6s$3040$3@dont-email.me>
 by: Carlos E.R. - Sat, 24 Jun 2023 12:26 UTC

On 2023-06-24 12:23, MarioCPPP wrote:
> On 23/06/23 13:49, Carlos E.R. wrote:
>> On 2023-06-23 13:00, MarioCPPP wrote:
>>> Given that hibernation has always worked before ...
>>>
>>> I have installed, side by side, Linux MX 23 "Libretto" in a system
>>> running Debian Bookworm (BTW an AMAZING installer, especially the
>>> powerful disk utility to manage partition during install : the distro
>>> was the live version).
>>>
>>> The two install SHARE the same swap partition (64 GB wide, the same
>>> as RAM, that had been enough).
>>>
>>> I have manually synced the two FSTAB to update Debian FSTAB
>>> (formatting the MX ROOT, /, and its /HOME, in two different
>>> partitions, that Debian used to mount, the UUID were changed, so the
>>> need to revise this). The SWAP partition was set to be "use as such,
>>> no formatting", and actually its UUID has not changed.
>>>
>>> Now the two systems work finely (and MX also hibernates), but Debian
>>> no longer does, without any error message.
>>
>> Did you actually read the logs?
>
> no, not at all. Which ones ? Where ?
> I was stating no errors reported on screen advices

Well, it is the first thing to do when diagnosing some problem in Linux.
I am not familiar with Debian, but you could try:

journalctl -b

>
>>
>>>
>>> What could have happened and how to diagnose the problem and to solve ?
>>>
>>> Since the SWAP UUID has remained the same, it is an unexpected
>>> outcome to me ... Debian correctly reports the free/used swap space
>>> (at least in the panel gadget).
>>
>> I would verify that the kernel command line is actually pointing at
>> the correct swap partition.
>
> the swap is USED, but, apart from FSTAB, what is the kernel command line
> ? Where could I find it ?

At the very start of the journal, for instance:

Apr 14 23:41:33 Telcontar kernel: Linux version
5.14.21-150400.24.55-default (geeko@buildhost) (gcc (SUSE Linux) 7.5.0,
GNU ld (GNU Binutils; SUSE Linux Enterprise 15)
2.39.0.20220810-150100.7.40) #1 SMP>
Apr 14 23:41:33 Telcontar kernel: Command line:
BOOT_IMAGE=/vmlinuz-5.14.21-150400.24.55-default
root=UUID=ac173013-18ad-4c4e-921e-fd2ecfb56495
resume=/dev/disk/by-label/nvme-swap splash=verbose verbose

See the resume=...?

In my distro, it is configured in "/etc/default/grub"

--
Cheers, Carlos.

Re: What may prevent hibernation from working

<u76vnt$4p6u$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1711&group=alt.os.linux#1711

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: killadebug@mouse-potato.com (Killadebug)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working
Date: Sat, 24 Jun 2023 14:48:29 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <u76vnt$4p6u$1@dont-email.me>
References: <u73u0p$3n1kh$1@dont-email.me> <kflimcF31bjU1@mid.individual.net>
<u76h2c$354m$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 24 Jun 2023 14:48:29 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="cf0c1c425a5199a39a77a424d334e374";
logging-data="156894"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1904GASjxZ+5mMzMZuI6+gHuQEccwW1q5s="
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
git.gnome.org/pan2)
Cancel-Lock: sha1:AnyzHLBdQTGnMp9vop1zE+CuvGY=
 by: Killadebug - Sat, 24 Jun 2023 14:48 UTC

On Sat, 24 Jun 2023 12:38:04 +0200, MarioCPPP wrote:

<Snip>

>> Did you check the logs?
>> Dmesg?
>
> no ... to me, this, is like to look for the famous needle in the
> haystack

Grep is your friend. dmesg | grep search term example dmesg | grep
mxlinux or dmesg | grep debian or dmesg | grep swap

Good luck.......

--
Pull my finger

Re: What may prevent hibernation from working

<u792m3$eoji$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1805&group=alt.os.linux#1805

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: NoliMihiFrangereMentulam@libero.it (MarioCPPP)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working
Date: Sun, 25 Jun 2023 11:50:59 +0200
Organization: A noiseless patient Spider
Lines: 59
Message-ID: <u792m3$eoji$1@dont-email.me>
References: <u73u0p$3n1kh$1@dont-email.me> <kflimcF31bjU1@mid.individual.net>
<u76h2c$354m$3@dont-email.me> <u76vnt$4p6u$1@dont-email.me>
Reply-To: MarioCCCP@CCCP.MIR
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 25 Jun 2023 09:50:59 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="da2f0935f52a93d55109a52346ee83c5";
logging-data="483954"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+N5E/h3iOCuYNDrGtCU/wa"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:eJxtgSl7YdMGz1LJ0o/Ain6wny0=
Content-Language: en-GB, it-IT
In-Reply-To: <u76vnt$4p6u$1@dont-email.me>
 by: MarioCPPP - Sun, 25 Jun 2023 09:50 UTC

On 24/06/23 16:48, Killadebug wrote:
> On Sat, 24 Jun 2023 12:38:04 +0200, MarioCPPP wrote:
>
> <Snip>
>
>>> Did you check the logs?
>>> Dmesg?
>>
>> no ... to me, this, is like to look for the famous needle in the
>> haystack
>
> Grep is your friend. dmesg | grep search term example dmesg | grep
> mxlinux or dmesg | grep debian or dmesg | grep swap
>
> Good luck.......
>

root@pcname:~# dmesg | grep resume
[ 6.898884] Process accounting resumed

root@pcname:~# dmesg | grep swap
[ 0.103517] Spectre V1 : Mitigation: usercopy/swapgs
barriers and __user pointer sanitization
[ 0.922183] zswap: loaded using pool lzo/zbud
[ 5.139580] Adding 67174396k swap on /dev/sdb1.
Priority:-2 extents:1 across:67174396k SSFS

root@pcname:~# dmesg | grep vmlinuz
[ 0.000000] Command line:
BOOT_IMAGE=/boot/vmlinuz-6.1.0-0.deb11.6-rt-amd64
root=UUID=b7e3be4f-15a0-4e58-a323-fd6b0e4fbf4d ro quiet
[ 0.014894] Kernel command line:
BOOT_IMAGE=/boot/vmlinuz-6.1.0-0.deb11.6-rt-amd64
root=UUID=b7e3be4f-15a0-4e58-a323-fd6b0e4fbf4d ro quiet
[ 0.014925] Unknown kernel command line parameters
"BOOT_IMAGE=/boot/vmlinuz-6.1.0-0.deb11.6-rt-amd64", will be
passed to user space.
[ 1.045483]
BOOT_IMAGE=/boot/vmlinuz-6.1.0-0.deb11.6-rt-amd64
root@pcname:~#

dunno, seems not to be mentioned any relevant resume device.
But yesterday the hibernation worked.

I still have to find what slows so much the shut down : the
process "wrapper-linux-X" and "java"
and to solve the unmounting, particularly the /tmp, which is
not linked nor BIND mounted, is reluctant for unknown reasons

>
>

--
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
MarioCPPP

Re: What may prevent hibernation from working

<g2mlmjxq6r.ln2@Telcontar.valinor>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1807&group=alt.os.linux#1807

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.imp.ch!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E.R.)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working
Date: Sun, 25 Jun 2023 13:46:56 +0200
Lines: 65
Message-ID: <g2mlmjxq6r.ln2@Telcontar.valinor>
References: <u73u0p$3n1kh$1@dont-email.me> <kflimcF31bjU1@mid.individual.net>
<u76h2c$354m$3@dont-email.me> <u76vnt$4p6u$1@dont-email.me>
<u792m3$eoji$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net i4Xgak+19IAxidMEsCcuew/v8UJuZkTGR+NKRNuZyP1xYhOKpA
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:MYdmvtgROVxw9U7Tl3au3mDwZLQ=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.9.1
Content-Language: es-ES, en-CA
In-Reply-To: <u792m3$eoji$1@dont-email.me>
 by: Carlos E.R. - Sun, 25 Jun 2023 11:46 UTC

On 2023-06-25 11:50, MarioCPPP wrote:
> On 24/06/23 16:48, Killadebug wrote:
>> On Sat, 24 Jun 2023 12:38:04 +0200, MarioCPPP wrote:
>>
>> <Snip>
>>
>>>> Did you check the logs?
>>>> Dmesg?
>>>
>>> no ... to me, this, is like to look for the famous needle in the
>>> haystack
>>
>> Grep is your friend. dmesg | grep search term    example  dmesg | grep
>> mxlinux or dmesg | grep debian or dmesg | grep swap
>>
>> Good luck.......
>>
>
> root@pcname:~# dmesg | grep resume
> [    6.898884] Process accounting resumed
>
> root@pcname:~# dmesg | grep swap
> [    0.103517] Spectre V1 : Mitigation: usercopy/swapgs barriers and
> __user pointer sanitization
> [    0.922183] zswap: loaded using pool lzo/zbud
> [    5.139580] Adding 67174396k swap on /dev/sdb1. Priority:-2 extents:1
> across:67174396k SSFS
>
> root@pcname:~# dmesg | grep vmlinuz
> [    0.000000] Command line:
> BOOT_IMAGE=/boot/vmlinuz-6.1.0-0.deb11.6-rt-amd64
> root=UUID=b7e3be4f-15a0-4e58-a323-fd6b0e4fbf4d ro quiet
> [    0.014894] Kernel command line:
> BOOT_IMAGE=/boot/vmlinuz-6.1.0-0.deb11.6-rt-amd64
> root=UUID=b7e3be4f-15a0-4e58-a323-fd6b0e4fbf4d ro quiet
> [    0.014925] Unknown kernel command line parameters
> "BOOT_IMAGE=/boot/vmlinuz-6.1.0-0.deb11.6-rt-amd64", will be passed to
> user space.
> [    1.045483] BOOT_IMAGE=/boot/vmlinuz-6.1.0-0.deb11.6-rt-amd64
> root@pcname:~#
>
>
> dunno, seems not to be mentioned any relevant resume device.
> But yesterday the hibernation worked.

You have a very interesting log entry in your "dmesg | grep vmlinuz"
output above. Don't you see it?

It is saying that the kernel command line is BAD, and is using another
line instead, ignoring the given one.

And that kernel can not be hibernated, obviously.

>
> I still have to find what slows so much the shut down : the process
> "wrapper-linux-X" and "java"
> and to solve the unmounting, particularly the /tmp, which is not linked
> nor BIND mounted, is reluctant for unknown reasons

Typically, some running process is still using a file in /tmp.

--
Cheers, Carlos.

Re: What may prevent hibernation from working

<u79ha4$gdp3$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1810&group=alt.os.linux#1810

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: NoliMihiFrangereMentulam@libero.it (MarioCPPP)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working
Date: Sun, 25 Jun 2023 16:00:36 +0200
Organization: A noiseless patient Spider
Lines: 59
Message-ID: <u79ha4$gdp3$1@dont-email.me>
References: <u73u0p$3n1kh$1@dont-email.me> <kflimcF31bjU1@mid.individual.net>
<u76h2c$354m$3@dont-email.me> <u76vnt$4p6u$1@dont-email.me>
<u792m3$eoji$1@dont-email.me> <g2mlmjxq6r.ln2@Telcontar.valinor>
Reply-To: MarioCCCP@CCCP.MIR
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
Injection-Date: Sun, 25 Jun 2023 14:00:37 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="0476b40c25c07f03742fc47ceb94d310";
logging-data="538403"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+U3Li5jrcMKqhrSo2ECSyB"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:DKNfGG1paCyaBZqv0ujbcipxOM4=
Content-Language: en-GB, it-IT
In-Reply-To: <g2mlmjxq6r.ln2@Telcontar.valinor>
 by: MarioCPPP - Sun, 25 Jun 2023 14:00 UTC

On 25/06/23 13:46, Carlos E.R. wrote:
> On 2023-06-25 11:50, MarioCPPP wrote:
>> On 24/06/23 16:48, Killadebug wrote:
>>> On Sat, 24 Jun 2023 12:38:04 +0200, MarioCPPP wrote:
>>>
>>> <Snip>
>>>
>>>>> Did you check the logs?
>>>>> Dmesg?
>>>>
>>>> no ... to me, this, is like to look for the famous
>>>> needle in the
>>>> haystack
>>>
>>> Grep is your friend. dmesg | grep search term    example
>>> dmesg | grep
>>> mxlinux or dmesg | grep debian or dmesg | grep swap
>>>
>>> Good luck.......
>>>
>>
>> root@pcname:~# dmesg | grep resume
>> [    6.898884] Process accounting resumed
>>
>> root@pcname:~# dmesg | grep swap
>> [    0.103517] Spectre V1 : Mitigation: usercopy/swapgs
>> barriers and __user pointer sanitization
>> [    0.922183] zswap: loaded using pool lzo/zbud
>> [    5.139580] Adding 67174396k swap on /dev/sdb1.
>> Priority:-2 extents:1 across:67174396k SSFS
>>
>> root@pcname:~# dmesg | grep vmlinuz
>> [    0.000000] Command line:
>> BOOT_IMAGE=/boot/vmlinuz-6.1.0-0.deb11.6-rt-amd64
>> root=UUID=b7e3be4f-15a0-4e58-a323-fd6b0e4fbf4d ro quiet
>> [    0.014894] Kernel command line:
>> BOOT_IMAGE=/boot/vmlinuz-6.1.0-0.deb11.6-rt-amd64
>> root=UUID=b7e3be4f-15a0-4e58-a323-fd6b0e4fbf4d ro quiet
>> [    0.014925] Unknown kernel command line parameters
>> "BOOT_IMAGE=/boot/vmlinuz-6.1.0-0.deb11.6-rt-amd64", will
>> be passed to user space.
>> [    1.045483]
>> BOOT_IMAGE=/boot/vmlinuz-6.1.0-0.deb11.6-rt-amd64
>> root@pcname:~#
>>
>>
>> dunno, seems not to be mentioned any relevant resume device.
>> But yesterday the hibernation worked.
>
> You have a very interesting log entry in your "dmesg | grep
> vmlinuz" output above. Don't you see it?
well, I dunno the correct syntax of the load command for the
zipped ram image ... how could I solve the problem (and what
is the problem ?) :D
>
> It is saying that the kernel command line is BAD, and is
> using another line instead, ignoring the given one.
>
> And that kernel can not be hibernated, obviously.
mmm, actually it has just resumed twice ever since, and the
behaviour hasn't been replicated (without me doing anything).
There is also another strange fact.
Randomly, when I login as root in a terminal "box", to
update sth, it suggests performing a CHKBOOT ... a cmq whose
I completely dunno, but I simply "obey".
Could this have sth to do with either one of : 1) creating
the boot problem (I wasn't aware of), or 2) resolving it
(temporarily) ?
I'm very confused with this all

>
>
>>
>> I still have to find what slows so much the shut down :
>> the process "wrapper-linux-X" and "java"
>> and to solve the unmounting, particularly the /tmp, which
>> is not linked nor BIND mounted, is reluctant for unknown
>> reasons
>
> Typically, some running process is still using a file in /tmp.
where could I find the culprit and, later, how to make it
die gracefully ? I mean not manually killing it.
>
--
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
MarioCPPP

Re: What may prevent hibernation from working

<minmmjxv18.ln2@Telcontar.valinor>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1847&group=alt.os.linux#1847

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.imp.ch!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E.R.)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working
Date: Sun, 25 Jun 2023 23:18:46 +0200
Lines: 92
Message-ID: <minmmjxv18.ln2@Telcontar.valinor>
References: <u73u0p$3n1kh$1@dont-email.me> <kflimcF31bjU1@mid.individual.net>
<u76h2c$354m$3@dont-email.me> <u76vnt$4p6u$1@dont-email.me>
<u792m3$eoji$1@dont-email.me> <g2mlmjxq6r.ln2@Telcontar.valinor>
<u79ha4$gdp3$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net XLqys9aWbsFYDHEtwh+bfw3OgYhWzM15Xh5CHW1zfnghL6WkHe
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:LVoOqDcMyURorV3U7W5w4yq51CM=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.9.1
Content-Language: es-ES, en-CA
In-Reply-To: <u79ha4$gdp3$1@dont-email.me>
 by: Carlos E.R. - Sun, 25 Jun 2023 21:18 UTC

On 2023-06-25 16:00, MarioCPPP wrote:
> On 25/06/23 13:46, Carlos E.R. wrote:
>> On 2023-06-25 11:50, MarioCPPP wrote:
>>> On 24/06/23 16:48, Killadebug wrote:
>>>> On Sat, 24 Jun 2023 12:38:04 +0200, MarioCPPP wrote:
>>>>
>>>> <Snip>
>>>>
>>>>>> Did you check the logs?
>>>>>> Dmesg?
>>>>>
>>>>> no ... to me, this, is like to look for the famous needle in the
>>>>> haystack
>>>>
>>>> Grep is your friend. dmesg | grep search term    example dmesg | grep
>>>> mxlinux or dmesg | grep debian or dmesg | grep swap
>>>>
>>>> Good luck.......
>>>>
>>>
>>> root@pcname:~# dmesg | grep resume
>>> [    6.898884] Process accounting resumed
>>>
>>> root@pcname:~# dmesg | grep swap
>>> [    0.103517] Spectre V1 : Mitigation: usercopy/swapgs barriers and
>>> __user pointer sanitization
>>> [    0.922183] zswap: loaded using pool lzo/zbud
>>> [    5.139580] Adding 67174396k swap on /dev/sdb1. Priority:-2
>>> extents:1 across:67174396k SSFS
>>>
>>> root@pcname:~# dmesg | grep vmlinuz
>>> [    0.000000] Command line:
>>> BOOT_IMAGE=/boot/vmlinuz-6.1.0-0.deb11.6-rt-amd64
>>> root=UUID=b7e3be4f-15a0-4e58-a323-fd6b0e4fbf4d ro quiet
>>> [    0.014894] Kernel command line:
>>> BOOT_IMAGE=/boot/vmlinuz-6.1.0-0.deb11.6-rt-amd64
>>> root=UUID=b7e3be4f-15a0-4e58-a323-fd6b0e4fbf4d ro quiet
>>> [    0.014925] Unknown kernel command line parameters
>>> "BOOT_IMAGE=/boot/vmlinuz-6.1.0-0.deb11.6-rt-amd64", will be passed
>>> to user space.
>>> [    1.045483] BOOT_IMAGE=/boot/vmlinuz-6.1.0-0.deb11.6-rt-amd64
>>> root@pcname:~#
>>>
>>>
>>> dunno, seems not to be mentioned any relevant resume device.
>>> But yesterday the hibernation worked.
>>
>> You have a very interesting log entry in your "dmesg | grep vmlinuz"
>> output above. Don't you see it?
>
> well, I dunno the correct syntax of the load command for the zipped ram
> image ... how could I solve the problem (and what is the problem ?) :D
>
>>
>> It is saying that the kernel command line is BAD, and is using another
>> line instead, ignoring the given one.
>>
>> And that kernel can not be hibernated, obviously.
>
> mmm, actually it has just resumed twice ever since, and the behaviour
> hasn't been replicated (without me doing anything).
>
> There is also another strange fact.
> Randomly, when I login as root in a terminal "box", to update sth, it
> suggests performing a CHKBOOT ... a cmq whose I completely dunno, but I
> simply "obey".
> Could this have sth to do with either one of : 1) creating the boot
> problem (I wasn't aware of), or 2) resolving it (temporarily) ?
>
> I'm very confused with this all

Well, I don't know the distro you are using in any detail. I can't know.

>>> I still have to find what slows so much the shut down : the process
>>> "wrapper-linux-X" and "java"
>>> and to solve the unmounting, particularly the /tmp, which is not
>>> linked nor BIND mounted, is reluctant for unknown reasons
>>
>> Typically, some running process is still using a file in /tmp.
>
> where could I find the culprit and, later, how to make it die gracefully
> ? I mean not manually killing it.

Again, I don't know the distro you are using in any detail. I can't
know. My guess, your distro shutdown scripts do not contemplate properly
people that put /tmp on a different partition. You have to ask them.
They can well say "not supported scenario".

--
Cheers, Carlos.

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<u7h2o7$1ocdu$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1923&group=alt.os.linux#1923

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: NoliMihiFrangereMentulam@libero.it (MarioCPPP)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Wed, 28 Jun 2023 12:41:11 +0200
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <u7h2o7$1ocdu$1@dont-email.me>
References: <u73u0p$3n1kh$1@dont-email.me>
Reply-To: MarioCCCP@CCCP.MIR
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 28 Jun 2023 10:41:11 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="807069991cc02b70d169a9a50ed7b392";
logging-data="1847742"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+htWS6/ZEY006uV9GvWh4o"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:fCEWyyUkrK3xkzoX/BEJaUVTIZI=
In-Reply-To: <u73u0p$3n1kh$1@dont-email.me>
Content-Language: en-GB, it-IT
 by: MarioCPPP - Wed, 28 Jun 2023 10:41 UTC

On 23/06/23 13:00, MarioCPPP wrote:

Damn, it happened again.

I had hibernated Debian and, on power on, I forgot to attend
the boot, and it booted MX 23 without detection. It
discarded the saved image and booted itself.

Now, I refuse to think that the newest kernel is unaware of
the mismatch (of the loading system vs the saved image).
I tend more to think of some sort of misconfiguration.

I don't know how to configure GRUB loader, but, to simply
patch the situation, how to change the DEFAULT system to be
loaded at boot ?

Since MX23 has been installed LAST, it set up itself as the
default.
I'd like to edit "some" grub config file to restore Debian
as the default, since I mostly use it and hence I'd reduce
the likeliness of discarding saved ram from hibernations ...

what I have to edit ?

Obv. If sb knows of more robust kernel command line
parameters that ensure to check the matching with saved
states, even better.

tnx

--
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
MarioCPPP

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<kcgtmjxp8a.ln2@Telcontar.valinor>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1924&group=alt.os.linux#1924

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E.R.)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Wed, 28 Jun 2023 12:59:00 +0200
Lines: 46
Message-ID: <kcgtmjxp8a.ln2@Telcontar.valinor>
References: <u73u0p$3n1kh$1@dont-email.me> <u7h2o7$1ocdu$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 5hAE8U8+WIeOucXyJK+4KA2Dn5oQR/Ji1QbetOcMc4INU2WsL1
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:Kl+ke8e4AmgGX/ihrmOiwTvv6Qo=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.9.1
Content-Language: es-ES, en-CA
In-Reply-To: <u7h2o7$1ocdu$1@dont-email.me>
 by: Carlos E.R. - Wed, 28 Jun 2023 10:59 UTC

On 2023-06-28 12:41, MarioCPPP wrote:
> On 23/06/23 13:00, MarioCPPP wrote:
>
>
> Damn, it happened again.
>
> I had hibernated Debian and, on power on, I forgot to attend the boot,
> and it booted MX 23 without detection. It discarded the saved image and
> booted itself.
>
> Now, I refuse to think that the newest kernel is unaware of the mismatch
> (of the loading system vs the saved image).
> I tend more to think of some sort of misconfiguration.
>
> I don't know how to configure GRUB loader, but, to simply patch the
> situation, how to change the DEFAULT system to be loaded at boot ?
>
> Since MX23 has been installed LAST, it set up itself as the default.
> I'd like to edit "some" grub config file to restore Debian as the
> default, since I mostly use it and hence I'd reduce the likeliness of
> discarding saved ram from hibernations ...
>
> what I have to edit ?

If you get this:

Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.1.0-0.deb11.6-rt-amd64
root=UUID=b7e3be4f-15a0-4e58-a323-fd6b0e4fbf4d ro quiet

it will not resume from hibernation. You need there a "resume=..."
section pointing to the swap partition.

Where to change that, I have no idea, for your distro. Maybe
/etc/default/grub

The distribution that is hibernating is responsible for setting grub to
boot the correct kernel on the next boot, but will not do this if there
is another grub. It can only control this in its own grub.

Which grub boots, if there are more than one, is selected by the UEFI.
You see that with command efibootmgr

--
Cheers, Carlos.

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<u7h8sf$1p1fj$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1926&group=alt.os.linux#1926

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nospam@needed.invalid (Paul)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Wed, 28 Jun 2023 08:25:49 -0400
Organization: A noiseless patient Spider
Lines: 54
Message-ID: <u7h8sf$1p1fj$1@dont-email.me>
References: <u73u0p$3n1kh$1@dont-email.me> <u7h2o7$1ocdu$1@dont-email.me>
<kcgtmjxp8a.ln2@Telcontar.valinor>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 28 Jun 2023 12:25:51 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e4e5f238e83e57c3ec0b8ae2d3021aaa";
logging-data="1869299"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19a79SUoBmgh5DoYGQTpKj9cCuKMLTYwlM="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:ZxjjS03oI9uovWiUTACi7HL1ciY=
In-Reply-To: <kcgtmjxp8a.ln2@Telcontar.valinor>
Content-Language: en-US
 by: Paul - Wed, 28 Jun 2023 12:25 UTC

On 6/28/2023 6:59 AM, Carlos E.R. wrote:
> On 2023-06-28 12:41, MarioCPPP wrote:
>> On 23/06/23 13:00, MarioCPPP wrote:
>>
>>
>> Damn, it happened again.
>>
>> I had hibernated Debian and, on power on, I forgot to attend the boot, and it booted MX 23 without detection. It discarded the saved image and booted itself.
>>
>> Now, I refuse to think that the newest kernel is unaware of the mismatch (of the loading system vs the saved image).
>> I tend more to think of some sort of misconfiguration.
>>
>> I don't know how to configure GRUB loader, but, to simply patch the situation, how to change the DEFAULT system to be loaded at boot ?
>>
>> Since MX23 has been installed LAST, it set up itself as the default.
>> I'd like to edit "some" grub config file to restore Debian as the default, since I mostly use it and hence I'd reduce the likeliness of discarding saved ram from hibernations ...
>>
>> what I have to edit ?
>
> If you get this:
>
> Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.1.0-0.deb11.6-rt-amd64 root=UUID=b7e3be4f-15a0-4e58-a323-fd6b0e4fbf4d ro quiet
>
> it will not resume from hibernation. You need there a "resume=..." section pointing to the swap partition.
>
> Where to change that, I have no idea, for your distro. Maybe /etc/default/grub
>
>
> The distribution that is hibernating is responsible for setting grub to boot the correct kernel on the next boot, but will not do this if there is another grub. It can only control this in its own grub.
>
> Which grub boots, if there are more than one, is selected by the UEFI. You see that with command efibootmgr
>

Here's an entry from my notes file. I was having trouble with slow
boot caused by the definition of swap, so I "fixed it" :-)

*******
Ubuntu, caught searching for btrfs, mdadm, is caused by swap UUID.

1) Edit /etc/fstab and correct blkid of swap (so Ubuntu can find its swap).
2) Initramfs also has a swap check.

open /etc/initramfs-tools/conf.d/resume
replace RESUME=UUID=xxx with RESUME=none (or use the correct blkid!)
issue sudo update-initramfs -u
reboot your system

I did an update-grub just in case.
*******

Maybe that entry will give some keywords for Googling.

Paul

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<u7hpep$1qnle$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1929&group=alt.os.linux#1929

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: NoliMihiFrangereMentulam@libero.it (MarioCPPP)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Wed, 28 Jun 2023 19:08:41 +0200
Organization: A noiseless patient Spider
Lines: 62
Message-ID: <u7hpep$1qnle$1@dont-email.me>
References: <u73u0p$3n1kh$1@dont-email.me> <u7h2o7$1ocdu$1@dont-email.me>
<kcgtmjxp8a.ln2@Telcontar.valinor> <u7h8sf$1p1fj$1@dont-email.me>
Reply-To: MarioCCCP@CCCP.MIR
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
Injection-Date: Wed, 28 Jun 2023 17:08:41 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="807069991cc02b70d169a9a50ed7b392";
logging-data="1924782"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19sb9hMX7i24j0OMZ78p7Mf"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:fVHgA0jiQqCCMag8DhEMYiJc5Bk=
In-Reply-To: <u7h8sf$1p1fj$1@dont-email.me>
Content-Language: en-GB, it-IT
 by: MarioCPPP - Wed, 28 Jun 2023 17:08 UTC

On 28/06/23 14:25, Paul wrote:
> On 6/28/2023 6:59 AM, Carlos E.R. wrote:
>> On 2023-06-28 12:41, MarioCPPP wrote:
>>> On 23/06/23 13:00, MarioCPPP wrote:
>>>
>>>
>>> Damn, it happened again.
>>>
>>> I had hibernated Debian and, on power on, I forgot to
>>> attend the boot, and it booted MX 23 without detection.
>>> It discarded the saved image and booted itself.
>>>
>>> Now, I refuse to think that the newest kernel is unaware
>>> of the mismatch (of the loading system vs the saved image).
>>> I tend more to think of some sort of misconfiguration.
>>>
>>> I don't know how to configure GRUB loader, but, to simply
>>> patch the situation, how to change the DEFAULT system to
>>> be loaded at boot ?
>>>
>>> Since MX23 has been installed LAST, it set up itself as
>>> the default.
>>> I'd like to edit "some" grub config file to restore
>>> Debian as the default, since I mostly use it and hence
>>> I'd reduce the likeliness of discarding saved ram from
>>> hibernations ...
>>>
>>> what I have to edit ?
>>
>> If you get this:
>>
>> Kernel command line:
>> BOOT_IMAGE=/boot/vmlinuz-6.1.0-0.deb11.6-rt-amd64
>> root=UUID=b7e3be4f-15a0-4e58-a323-fd6b0e4fbf4d ro quiet
>>
>> it will not resume from hibernation. You need there a
>> "resume=..." section pointing to the swap partition.
>>
>> Where to change that, I have no idea, for your distro.
>> Maybe /etc/default/grub
>>
>>
>> The distribution that is hibernating is responsible for
>> setting grub to boot the correct kernel on the next boot,
>> but will not do this if there is another grub. It can only
>> control this in its own grub.
>>
>> Which grub boots, if there are more than one, is selected
>> by the UEFI. You see that with command efibootmgr
>>
>
> Here's an entry from my notes file. I was having trouble
> with slow
> boot caused by the definition of swap, so I "fixed it" :-)
>
> *******
> Ubuntu, caught searching for btrfs, mdadm, is caused by swap
> UUID.
>
> 1) Edit /etc/fstab and correct blkid of swap (so Ubuntu can
> find its swap).
the two fstab (I have dual boot) had just been synced before
: both use the same swap partition.
> 2) Initramfs also has a swap check.
>
>     open /etc/initramfs-tools/conf.d/resume
>     replace RESUME=UUID=xxx with RESUME=none  (or use the
> correct blkid!)
>     issue sudo update-initramfs -u
>     reboot your system
>
> I did an update-grub just in case.
but in which of the two ?
Now I have done update-grub IN DEBIAN (running).
BTW it informs me it will not execute os-prober to find
other oses.
I manually executed os-prober, it detected LinuxMX, but
later, redoing grub-update, produced the same msg. Evidently
the two commands cannot "communicate" the way I hoped
(setting some persistent info somewhere)
Maybe I'll try to execute grub update also in MX when I'll
be using it again.
As to the command line arguments, I understand very little,
dunno what to write and where, and for now I abstain from
making my machine unbootable at all :D :D
> *******
>
> Maybe that entry will give some keywords for Googling.
>
>    Paul
>
--
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
MarioCPPP

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<kg4lq8Fd548U1@mid.individual.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1931&group=alt.os.linux#1931

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.imp.ch!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: user@example.net (J.O. Aho)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Thu, 29 Jun 2023 08:14:32 +0200
Lines: 28
Message-ID: <kg4lq8Fd548U1@mid.individual.net>
References: <u73u0p$3n1kh$1@dont-email.me> <u7h2o7$1ocdu$1@dont-email.me>
<kcgtmjxp8a.ln2@Telcontar.valinor> <u7h8sf$1p1fj$1@dont-email.me>
<u7hpep$1qnle$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net /X1DDkDKseJCnzvieqHEdAx/FhKOSJl1kHYH5+a8lM49KIKAiT
Cancel-Lock: sha1:r4y8JSBSveKgAF/764SHPTq4diQ=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Content-Language: en-US-large
In-Reply-To: <u7hpep$1qnle$1@dont-email.me>
 by: J.O. Aho - Thu, 29 Jun 2023 06:14 UTC

On 6/28/23 19:08, MarioCPPP wrote:
> On 28/06/23 14:25, Paul wrote:

>> 2) Initramfs also has a swap check.
>>
>>      open /etc/initramfs-tools/conf.d/resume
>>      replace RESUME=UUID=xxx with RESUME=none  (or use the correct
>> blkid!)
>>      issue sudo update-initramfs -u
>>      reboot your system
>>
>> I did an update-grub just in case.
>
> but in which of the two ?

If you configured your grub correctly you can always force re-install
the kernel and it will update the initramfs and update the bootloader.

> Now I have done update-grub IN DEBIAN (running).
> BTW it informs me it will not execute os-prober to find other oses.

This for you haven't configured GRUB_DISABLE_OS_PROBER to be true.

--
//Aho

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<slrnu9r4ss.ffvg.BitTwister@wb.home.arpa>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1935&group=alt.os.linux#1935

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: BitTwister@mouse-potato.com (Bit Twister)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Thu, 29 Jun 2023 09:22:17 -0500
Organization: A noiseless patient Spider
Lines: 42
Message-ID: <slrnu9r4ss.ffvg.BitTwister@wb.home.arpa>
References: <u73u0p$3n1kh$1@dont-email.me> <u7h2o7$1ocdu$1@dont-email.me>
Injection-Info: dont-email.me; posting-host="00a4002ac2dc921aa6947ae4038935d4";
logging-data="2299719"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+1da2gDtbxSSmslVbBxucWyVJRFKm+eTM="
User-Agent: slrn/pre1.0.4-6 (Linux)
Cancel-Lock: sha1:TGZbu9fXDqPjjGfA40MV2cO+Heg=
 by: Bit Twister - Thu, 29 Jun 2023 14:22 UTC

On Wed, 28 Jun 2023 12:41:11 +0200, MarioCPPP wrote:
> On 23/06/23 13:00, MarioCPPP wrote:
>
>
> Damn, it happened again.
>
> I had hibernated Debian and, on power on, I forgot to attend
> the boot, and it booted MX 23 without detection. It
> discarded the saved image and booted itself.
>
> Now, I refuse to think that the newest kernel is unaware of
> the mismatch (of the loading system vs the saved image).
> I tend more to think of some sort of misconfiguration.
>
> I don't know how to configure GRUB loader, but, to simply
> patch the situation, how to change the DEFAULT system to be
> loaded at boot ?

IT IS BEST to not patch the situation, easy to patch grub.cfg
but next kernel upgrade will wipe out aall custom/patche changes.

The other common problem I see is users with multi boot installs.

Last installed OS creates the new grub.cfg and installs it.
If it is a clone install, the previous install is in charge.
User needs to know which OS grub is in charge.

update-grub should rescan your system and build a new grub.cfg
unless you have disabled GRUB_DISABLE_OS_PROBER in /etc/grub.d/default_grub

grub-install --recheck /dev/sda tells grub to install the boot loader
to be used in sda's mbr.

grub2-set-default xxx will set what selection is to be the default boot.

Commands given may be specific to my linux install
$ cat /etc/release
Mageia release 9 (Cauldron) for x86_64

If commands do not work you will need to get actual grub commands.
Search engine will get you to a grub manual.

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<u7k9q4$26mhq$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1936&group=alt.os.linux#1936

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: NoliMihiFrangereMentulam@libero.it (MarioCPPP)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Thu, 29 Jun 2023 18:00:04 +0200
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <u7k9q4$26mhq$1@dont-email.me>
References: <u73u0p$3n1kh$1@dont-email.me> <u7h2o7$1ocdu$1@dont-email.me>
<kcgtmjxp8a.ln2@Telcontar.valinor> <u7h8sf$1p1fj$1@dont-email.me>
<u7hpep$1qnle$1@dont-email.me> <kg4lq8Fd548U1@mid.individual.net>
Reply-To: MarioCCCP@CCCP.MIR
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
Injection-Date: Thu, 29 Jun 2023 16:00:05 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="fa059e1291ab38d0c48d4b88515bd605";
logging-data="2316858"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19u8MjfeyeYI+uRe9IJFHz2"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:hxSW+jtqcRywWWO2uj3JpSwBOTs=
Content-Language: en-GB, it-IT
In-Reply-To: <kg4lq8Fd548U1@mid.individual.net>
 by: MarioCPPP - Thu, 29 Jun 2023 16:00 UTC

On 29/06/23 08:14, J.O. Aho wrote:
> On 6/28/23 19:08, MarioCPPP wrote:
>> On 28/06/23 14:25, Paul wrote:
>
>>> 2) Initramfs also has a swap check.
>>>
>>>      open /etc/initramfs-tools/conf.d/resume
>>>      replace RESUME=UUID=xxx with RESUME=none  (or use
>>> the correct blkid!)
>>>      issue sudo update-initramfs -u
>>>      reboot your system
>>>
>>> I did an update-grub just in case.
>>
>> but in which of the two ?
>
> If you configured your grub correctly
I have never ever configured it at all.
Each (of the two) distro I've installed, did it all on its
own. The only thing I've chosen is where : the SAME MBR of
the same drive (it is a legacy partitioned, non GPT), and
the order. Long beforehand, Debian. Recently, MX 23.
I would not even be able to configure grub
> you can always force
> re-install the kernel and it will update the initramfs and
> update the bootloader.
>
>
>> Now I have done update-grub IN DEBIAN (running).
>> BTW it informs me it will not execute os-prober to find
>> other oses.
>
> This for you haven't configured GRUB_DISABLE_OS_PROBER to be
> true.
it must be the default value. Defined somewhere, somehow, I
guess ...
>
>
--
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
MarioCPPP

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<u7ka5f$26mhq$2@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1937&group=alt.os.linux#1937

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: NoliMihiFrangereMentulam@libero.it (MarioCPPP)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Thu, 29 Jun 2023 18:06:07 +0200
Organization: A noiseless patient Spider
Lines: 83
Message-ID: <u7ka5f$26mhq$2@dont-email.me>
References: <u73u0p$3n1kh$1@dont-email.me> <u7h2o7$1ocdu$1@dont-email.me>
<slrnu9r4ss.ffvg.BitTwister@wb.home.arpa>
Reply-To: MarioCCCP@CCCP.MIR
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 29 Jun 2023 16:06:07 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="fa059e1291ab38d0c48d4b88515bd605";
logging-data="2316858"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18YheLIratyHDuoihsi6SdZ"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:nErgj3LcfEZg6MDBInadlRR/pj8=
Content-Language: en-GB, it-IT
In-Reply-To: <slrnu9r4ss.ffvg.BitTwister@wb.home.arpa>
 by: MarioCPPP - Thu, 29 Jun 2023 16:06 UTC

On 29/06/23 16:22, Bit Twister wrote:
> On Wed, 28 Jun 2023 12:41:11 +0200, MarioCPPP wrote:
>> On 23/06/23 13:00, MarioCPPP wrote:
>>
>>
>> Damn, it happened again.
>>
>> I had hibernated Debian and, on power on, I forgot to attend
>> the boot, and it booted MX 23 without detection. It
>> discarded the saved image and booted itself.
>>
>> Now, I refuse to think that the newest kernel is unaware of
>> the mismatch (of the loading system vs the saved image).
>> I tend more to think of some sort of misconfiguration.
>>
>> I don't know how to configure GRUB loader, but, to simply
>> patch the situation, how to change the DEFAULT system to be
>> loaded at boot ?
>
> IT IS BEST to not patch the situation, easy to patch grub.cfg
> but next kernel upgrade will wipe out aall custom/patche changes.

so sad ! :(

>
> The other common problem I see is users with multi boot installs.
>
> Last installed OS creates the new grub.cfg and installs it.
> If it is a clone install,

I dunno what a clone install is. I booted a live distro, and
installed from scratch on an empty partition. Debian has
been just there beforehand.

> the previous install is in charge.
> User needs to know which OS grub is in charge.

the latest install (MX 23's copy of grub : or at least
Debian's splash screen has been replaced by MX's ... it
would be strange to have changed only a splash screen, true ?).

>
> update-grub

executed from which of the two distros ?

> should rescan your system and build a new grub.cfg
> unless you have disabled GRUB_DISABLE_OS_PROBER in /etc/grub.d/default_grub

I have done nothing. The situation is what it is regardless
of me.

/etc/grub.d/default_grub of what DISTRO, again ?

>
>
> grub-install --recheck /dev/sda tells grub to install the boot loader
> to be used in sda's mbr.

intresting ! An option I'll study

>
> grub2-set-default xxx will set what selection is to be the default boot.

again, an useful suggestion
I need to understand how to get exactly the values to
replace XXX

TNX

>
> Commands given may be specific to my linux install
> $ cat /etc/release
> Mageia release 9 (Cauldron) for x86_64
>
> If commands do not work you will need to get actual grub commands.
> Search engine will get you to a grub manual.

--
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
MarioCPPP

Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN

<u7kb0g$26qjg$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=1938&group=alt.os.linux#1938

  copy link   Newsgroups: alt.os.linux
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: JoeFonntuggnio@libbbero.it (Fonntuggnio)
Newsgroups: alt.os.linux
Subject: Re: What may prevent hibernation from working - OOOPS, I DID IT AGAIN
Date: Thu, 29 Jun 2023 18:20:32 +0200
Organization: A noiseless patient Spider
Lines: 126
Message-ID: <u7kb0g$26qjg$1@dont-email.me>
References: <u73u0p$3n1kh$1@dont-email.me> <u7h2o7$1ocdu$1@dont-email.me>
<slrnu9r4ss.ffvg.BitTwister@wb.home.arpa>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 29 Jun 2023 16:20:32 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="fa059e1291ab38d0c48d4b88515bd605";
logging-data="2321008"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19OK005FoFVdOKMohz9xYh5vH0FytA0C2E="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.12.0
Cancel-Lock: sha1:cMr48GiVo1nC8zsOed47dt+yz/Q=
In-Reply-To: <slrnu9r4ss.ffvg.BitTwister@wb.home.arpa>
Content-Language: en-GB, it-IT
 by: Fonntuggnio - Thu, 29 Jun 2023 16:20 UTC

On 29/06/23 16:22, Bit Twister wrote:
> On Wed, 28 Jun 2023 12:41:11 +0200, MarioCPPP wrote:
>> On 23/06/23 13:00, MarioCPPP wrote:
>>
>>
>> Damn, it happened again.
>>
>> I had hibernated Debian and, on power on, I forgot to attend
>> the boot, and it booted MX 23 without detection. It
>> discarded the saved image and booted itself.
>>
>> Now, I refuse to think that the newest kernel is unaware of
>> the mismatch (of the loading system vs the saved image).
>> I tend more to think of some sort of misconfiguration.
>>
>> I don't know how to configure GRUB loader, but, to simply
>> patch the situation, how to change the DEFAULT system to be
>> loaded at boot ?
>
> IT IS BEST to not patch the situation, easy to patch grub.cfg
> but next kernel upgrade will wipe out aall custom/patche changes.
>
> The other common problem I see is users with multi boot installs.
>
> Last installed OS creates the new grub.cfg and installs it.
> If it is a clone install, the previous install is in charge.
> User needs to know which OS grub is in charge.
>
> update-grub should rescan your system and build a new grub.cfg
> unless you have disabled GRUB_DISABLE_OS_PROBER in /etc/grub.d/default_grub

I have examined both Debian's folders and MX23's folders of
/etc/grub.d and ...
NONE contains a file (or subfolder) named default_grub

Then, I examined a file named 30_os-prober (in both Distros)

MX23 (the one "in charge" of the boot) copy reports a row :

if [ "x$(debconf-get-selections |grep
'^grub-pc\sgrub2/enable_os_prober\sboolean\strue' | awk
'{print $4}')" = "xtrue" ]; then
export GRUB_DISABLE_OS_PROBER="false"
fi

set -e

........

if [ "x${GRUB_DISABLE_OS_PROBER}" = "xtrue" ]; then
exit 0
fi

if [ -z "`which os-prober 2> /dev/null`" ] || [ -z "`which
linux-boot-prober 2> /dev/null`" ] ; then
# missing os-prober and/or linux-boot-prober
exit 0
fi

OSPROBED="`os-prober | tr ' ' '^' | paste -s -d ' '`"
if [ -z "${OSPROBED}" ] ; then
# empty os-prober output, nothing doing
exit 0
fi

=====================================================

Debian copy reports

if ! command -v os-prober > /dev/null || ! command -v
linux-boot-prober > /dev/null ; then
# missing os-prober and/or linux-boot-prober
exit 0
fi

if [ "x${GRUB_DISABLE_OS_PROBER}" = "xtrue" ]; then
grub_warn "$(gettext_printf "os-prober will not be
executed to detect other bootable partitions.\nSystems on
them will not be added to the GRUB boot
configuration.\nCheck GRUB_DISABLE_OS_PROBER documentation
entry.")"
exit 0
fi

grub_warn "$(gettext_printf "os-prober will be executed to
detect other bootable partitions.\nIts output will be used
to detect bootable binaries on them and create new boot
entries.")"

OSPROBED="`os-prober | tr ' ' '^' | paste -s -d ' '`"
if [ -z "${OSPROBED}" ] ; then
# empty os-prober output, nothing doing
exit 0
fi

I dunno if this INFO could help to understand the situation

Tnx again

>
>
> grub-install --recheck /dev/sda tells grub to install the boot loader
> to be used in sda's mbr.
>
> grub2-set-default xxx will set what selection is to be the default boot.
>
> Commands given may be specific to my linux install
> $ cat /etc/release
> Mageia release 9 (Cauldron) for x86_64
>
> If commands do not work you will need to get actual grub commands.
> Search engine will get you to a grub manual.

Pages:1234
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor