On Thu, January 1, 2015 5:51 am, David Brodie wrote:
> On 31/12/14 10:53, Christopher Gregory wrote:
>
>> Hello,
>>
>>
>> Well as this is now the TRUNK SVN-20141225 LFS build, ie systemV that I
>>  have installed is the reason for the new posting to the list.
>>
>> I have no idea *what* has changed, but I have just built the system
>> using jhalf and have only installed linux-pam, openssl, gpm, python
>> 2.7.9 and a
>> couple of others.
>>
>> I just installed pm-utils following the instructions from trunk version
>> of the book, and I find that pm-hibernate does exactly the same that it
>> did when I tested it on systemd.  It goes through and creates the image,
>>  powers down and then totally ignores it when the laptop power button
>> is turned on again.
>>
>> I have not modified the config files from the default, I do not have
>> Upower installed and I have not install acpid.
>>
>>
>> Could this really be an issue with my laptop?
>>
>>
>> I am picking that if I downgrade the kernel and patch it like I did on
>> systemd that pm-hibernate will work correctly.
>>
>> With this it really needs someone who has just installed this version
>> to test it.
>>
>> I am at a total loss.  Something has to have changed, be it in the
>> kernel code or some other library.
>
> Kernel rebuilt at 3.18.1, with no problems with resume or hibernate (via
> xfce/consolekit). Are you sure you've formatted your swap partition as a
> Linux Swap Partition? ISTR, the Kernel doesn't like it if you try to use
> an ordinary partition. Also, you've presumably had a look at
> /var/log/pm-suspend.log, to check that the 'hibernate' part worked OK.
>
>
> David
>
>
Hello David,

With all due respect, only rebuilding the kernel is not at all the same.

You have to rebuild the WHOLE lfs book to the same version that I am using.

I have also been using linux for over 20 years and I really do know that
the swap partition is formatted correctly.

You are also not testing it the same way that I am.

First off I stated quite clearly that on the command line I issued
pm-hibernate.

At this stage there is no xorg installed so no gui.

When I patched the kernel on systemd pm-hibernate worked correctly.

I was also watching it as it built the image before powering off.

the "resume" file has 0:0 in it, which was the exact same thing it had
within systemd, and which when using google states that a system will
never resume from a hibernate if that is what has been generated in that
file.

Regards,

Christopher.

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to