On Thu, January 1, 2015 10:54 am, Christopher Gregory wrote:
> On Thu, January 1, 2015 6:57 am, Bruce Dubbs wrote:
>
>> 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.
>>
>> What is the linux command line in grub?
>> How much ram do you have and how big is the swap partition?
>>
>>
>>
>> I'll have to do some setup to check what I did to get it to work and I
>> don't know if I'll get a chance to check it today or not.
>>
>> -- Bruce
>>
>>
>>
>>
>>
>>> 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 suspect not, but are you trying it from a local pci swap partition or
>>  a usb partition?
>>
>> -- Bruce
>>
>>
> Hello Bruce,
>
>
> This is on an external usb hard drive, with a dedicated swap partition
> that is not shared by any other installation and resides on the same
> external usb drive.  As you can see my swap partition is much larger than
>  the amount of physical ram that I have, so that is more than enough to
> hold the resume image.
>
> The thing that is constant between systemv and systemd builds is that in
> the "resume" file located in /sys/power/resume it has 0:0 which research
> showed would never allow the system to actually resume.
>
> After patching on systemd that file now has 8:28 in it.
>
>
> }
>
>
> menuentry "GNU/Linux, Linux 3.18.1-lfs-SVN-20141225" { linux
> /vmlinuz-3.18.1-lfs-SVN-20141225
> root=PARTUUID=dcc288d7-8a01-40da-91d8-a543338516c7 resume=/dev/sdc5
> rootdelay=15 ro }
>
>
> Memory 1.469 GiB
> Swap 6.836 GiB
>
>
> I am currently booted into systemd as I have so far not installed xorg on
>  the systemv build.
>
> Regards,
>
>
> Christopher.

Hello Bruce,

I think that you may well have pin pointed where the issue lies.  I just
rebooted into an old build of systemd vmlinuz-3.16.1-lfs-20140822-systemd
from august, which is on the internal hard drive.  I installed pm-utils
and hibernate is working correctly there.  It resumes from a complete
shutdown without any issues.

I have a full gnome setup on it.  I have no idea if, other than patching
the kernel if there is another tweak that can be done.  I think that a
note in the respective books is probably in order, advising people who use
an external usb hard-drive that hibernate will most probably not work
without patching the kernel.  The only issue there is that tuxonice is not
really being maintained fast enough to keep up with the kernel revisions.

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