public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] switching from tux-on-ice kernel to gentoo kernel hibernation issue
@ 2013-03-02 23:06 pat
  2013-03-03  8:39 ` Neil Bothwick
  0 siblings, 1 reply; 4+ messages in thread
From: pat @ 2013-03-02 23:06 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1144 bytes --]

Hello,

I want to switch from tuxonice-sources to gentoo-sources - the kernel itself
supports suspend to ram and hibernate and the gentoo-sources are more
up-to-date and I need some new drivers which are missing in stable
tuxonice-sources.

So I've emerged gentoo-sources (3.7.10 and 3.0.35), copied tux-on-ice .config,
run make oldconfig. I've checked the the oldconfig migration and it seems to
be OK. Finally build and install the new kernel and boot.

The suspend to ram works fine, but hibernation doesn't. To me it looks like
the image is saved correctly, but resume doesn't work well (fsck found broken
inodes). dmesg looks clear except this (attached):
PM: Hibernation image not present or could not be loaded.
(so, I'm probably wrong that hibernation succeed)

The HW is Dell Latitude e4310. I've tried hibernation script and also
pm-hibernate script with same result (logs are included). The grub line is:
kernel /boot/kernel-3.0.35-gentoo root=/dev/sda5 resume=swap:/dev/sda6
video=uvesafb:off debug

Any idea what I've did wrong?

Thanks

     Pat



----------------------------------------
Freehosting PIPNI - http://www.pipni.cz/

[-- Attachment #2: dmesg-3.0.35.gz --]
[-- Type: application/gzip, Size: 10619 bytes --]

[-- Attachment #3: _config.gz --]
[-- Type: application/gzip, Size: 17327 bytes --]

[-- Attachment #4: hibernation-logs.tar.gz --]
[-- Type: application/gzip, Size: 119657 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] switching from tux-on-ice kernel to gentoo kernel hibernation issue
  2013-03-02 23:06 [gentoo-user] switching from tux-on-ice kernel to gentoo kernel hibernation issue pat
@ 2013-03-03  8:39 ` Neil Bothwick
  2013-03-03  8:44   ` Mick
  2013-03-03 15:24   ` pat
  0 siblings, 2 replies; 4+ messages in thread
From: Neil Bothwick @ 2013-03-03  8:39 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 619 bytes --]

On Sun, 3 Mar 2013 00:06:56 +0100, pat wrote:

> The HW is Dell Latitude e4310. I've tried hibernation script and also
> pm-hibernate script with same result (logs are included). The grub line
> is: kernel /boot/kernel-3.0.35-gentoo root=/dev/sda5
> resume=swap:/dev/sda6 video=uvesafb:off debug

The systax is different with tuxonice because it also supports resume
from a file. Try resume=/dev/sda5.

I switched from TOI to gentoo-sources some time ago, with no problems,
but I hardcode the swap partition into the kernel config.


-- 
Neil Bothwick

Top Oxymorons Number 26: Software documentation

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] switching from tux-on-ice kernel to gentoo kernel hibernation issue
  2013-03-03  8:39 ` Neil Bothwick
@ 2013-03-03  8:44   ` Mick
  2013-03-03 15:24   ` pat
  1 sibling, 0 replies; 4+ messages in thread
From: Mick @ 2013-03-03  8:44 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 856 bytes --]

On Sunday 03 Mar 2013 08:39:44 Neil Bothwick wrote:
> On Sun, 3 Mar 2013 00:06:56 +0100, pat wrote:
> > The HW is Dell Latitude e4310. I've tried hibernation script and also
> > pm-hibernate script with same result (logs are included). The grub line
> > is: kernel /boot/kernel-3.0.35-gentoo root=/dev/sda5
> > resume=swap:/dev/sda6 video=uvesafb:off debug
> 
> The systax is different with tuxonice because it also supports resume
> from a file. Try resume=/dev/sda5.
> 
> I switched from TOI to gentoo-sources some time ago, with no problems,
> but I hardcode the swap partition into the kernel config.

I've always used gentoo-sources and had no problems with hibernate on my 
laptop and patchy success on other boxen.  Lately though I noticed that 
hibernate won't work on the laptop.  Suspend to RAM works fine.

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] switching from tux-on-ice kernel to gentoo kernel hibernation issue
  2013-03-03  8:39 ` Neil Bothwick
  2013-03-03  8:44   ` Mick
@ 2013-03-03 15:24   ` pat
  1 sibling, 0 replies; 4+ messages in thread
From: pat @ 2013-03-03 15:24 UTC (permalink / raw
  To: gentoo-user

On Sun, 3 Mar 2013 08:39:44 +0000, Neil Bothwick wrote
> On Sun, 3 Mar 2013 00:06:56 +0100, pat wrote:
> 
> > The HW is Dell Latitude e4310. I've tried hibernation script and also
> > pm-hibernate script with same result (logs are included). The grub line
> > is: kernel /boot/kernel-3.0.35-gentoo root=/dev/sda5
> > resume=swap:/dev/sda6 video=uvesafb:off debug
> 
> The systax is different with tuxonice because it also supports resume
> from a file. Try resume=/dev/sda5.
> 
> I switched from TOI to gentoo-sources some time ago, with no 
> problems, but I hardcode the swap partition into the kernel config.
> 
> -- 
> Neil Bothwick
> 
> Top Oxymorons Number 26: Software documentation

Thanks a lot. Removing "swap:" was the trick.

     Pat


----------------------------------------
Freehosting PIPNI - http://www.pipni.cz/



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-03-03 15:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-02 23:06 [gentoo-user] switching from tux-on-ice kernel to gentoo kernel hibernation issue pat
2013-03-03  8:39 ` Neil Bothwick
2013-03-03  8:44   ` Mick
2013-03-03 15:24   ` pat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox