[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse
Subject:    Re: HP PS/2 style keyboard preventing suspend:
From:       -pj via openSUSE Users <users () lists ! opensuse ! org>
Date:       2024-02-18 2:50:01
Message-ID: 04e14bb2-004d-4342-80ee-8cbfa574a7c7 () gmx ! com
[Download RAW message or body]



On 02-17-2024 05:34PM, Carlos E. R. wrote:
> On 2024-02-17 22:10, -pj via openSUSE Users wrote:
>> On 02-17-2024 02:26PM, Carlos E. R. wrote:
>>> On 2024-02-17 20:58, -pj via openSUSE Users wrote:
>>>> On 02-17-2024 12:32PM, Carlos E. R. wrote:
>>>>> On 2024-02-17 19:15, -pj via openSUSE Users wrote:
>>>>>> On 02-17-2024 12:02PM, Carlos E. R. wrote:
>
> ...
>
>>>> I see in 'man swap' the following might accomplish this.
>>>>
>>>> =C2=A0=C2=A01. # swapoff -all
>>>> -
>>>> passing: lsblk -f -> system-swap=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 s=
wap=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 1
>>>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 e736498b-60e5-4f99-99c2-8a6850a78ca9=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [SWAP]
>>>>
>>>> I see in 'man mkswap' the following may be what I am looking for to
>>>> enlarge the actual swap file.
>>>>
>>>> =C2=A0=C2=A02. # mkswap --uuid e736498b-60e5-4f99-99c2-8a6850a78ca9
>>>> /dev/system/swap
>>>> -
>>>
>>> Ah, good idea, keeping the uuid.
>>>
>>> In my case, as I use labels, I would have to try to keep it.
>>>
>>>> Then enable swap partition again.
>>>>
>>>> 3. # swapon /dev/system/swap
>>>> -
>>>> What will happen if no "uuid" is specified in mkswap?
>>>
>>> A new random uuid is created.
>>> So if the uuid was specified in fstab or elsewhere, things stop workin=
g.
>>>
>>>> Does this look
>>>> correct to you what I am considering to do above? I do not believe th=
at
>>>> a new uuid needs to be generated by default.
>>>
>>> mkswap is a format; all format tools create things afresh.
>>>
>>>
>> Ok, very good advice. I passed the following commands:
>>
>> # swapoff -a
>> -
>> # mkswap --uuid e736498b-60e5-4f99-99c2-8a6850a78ca9 /dev/system/swap
>> -
>> # swapon /dev/system/swap
>>
>> This is 'free -m' output now after powercycle:
>>
>> # free -m
>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0 total=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 used=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 free=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0 shared=C2=A0 buff/cache
>> available
>> Mem:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
7693=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 3067=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0 2851=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0 63=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 2163
>> =C2=A0=C2=A0=C2=A0 4625
>> Swap:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 15887=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 1828=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0 14059
>>
>> I believe swap is working again. Are you aware of any other testing to
>> ensure that swap is working?
>
> Just that you see it in "used". Yes, there are other commands, for
> instance:
>
> Telcontar:~ # swapon
> NAME=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 TYPE=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 SIZE=C2=A0=C2=A0 USED PRIO
> /dev/nvme0n1p2 partition 100G 696.5M=C2=A0=C2=A0 -2
> Telcontar:~ #
>
> (I haven't hibernated after booting a while ago).

Why is "swapon' reporting 100G there? Why do you have such a large swap
size?
>
>
> Try "swapon -s".
>
> Top is another command, which also displays swap among many other things=
.
>
Ok.
>
>
> Oh, by the way, I pass "-h" to free. I like to see the units :-)
>
Ok, thanks.

>>
>> Another question for you is that currently attempting to 'Hibernate'
>> (tried twice), the machine goes through the process...halts/poweroff
>> completely for about a second. Then powers up in a poweron at bios wher=
e
>> after entering the LUKS passphrase some boot information is displayed.
>> Is it best to start a new post about this?
>
> Yep.
>
> It really powers down, stops fans and all leds? Then starts on its own?

Yes, that is what the machine does. I have created a new post now.
>
> Weird day you have.

Yes, nothing comes easily.
>
>
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic