Re: [gentoo-user] Resuming after hibernate

2009-11-10 Thread Iain Buchanan
On Mon, 2009-11-09 at 22:37 -0500, Walter Dnes wrote: ... I find that for some reason sshd doesn't restart on resume. I tested it 2 minutes ago... weird... is networkmanager getting in the way? I also have rc_depend_strict=NO in /etc/rc.conf ... For that matter, the console font

Re: Re[2]: [gentoo-user] Resuming after hibernate

2009-11-10 Thread Iain Buchanan
On Mon, 2009-11-09 at 18:16 +0200, Sergey Kobzar wrote: Btw, s2disk is user-level tool. According to http://wiki.archlinux.org/index.php/Suspend_to_Disk initrd image is required to resume from image created by s2disk tool, but I don't use initrd. Maybe this is a reason? Probably I need

Re: [gentoo-user] Resuming after hibernate

2009-11-10 Thread Walter Dnes
On Wed, Nov 11, 2009 at 08:18:11AM +0930, Iain Buchanan wrote Did I read that right? You have a setting in lilo.conf that makes your font unreadable? Then why do you have that in lilo.conf? You didn't read the entire post. The *DEFAULT* result of 'VGA=6' in /etc/lilo.conf gives an 8x8

[gentoo-user] Resuming after hibernate

2009-11-09 Thread Sergey Kobzar
Resuming does not work for my laptop after it hibernates - OS boots normally and does not use resume image created by s2disk. Linux 2.6.30-gentoo-r8 i686 Kernel command line: root=/dev/sda6 vga=0x317 video=vesafb:mtrr:3,ywrap resume=swap:/dev/sda5 # cat /usr/src/linux/.config | grep

Re: [gentoo-user] Resuming after hibernate

2009-11-09 Thread Walter Dnes
Why do you need anything in the kernel commandlindline? Everything is done either in the kernel config or in hibernate.conf. make menuconfig on my machine goes like so... = Power management and ACPI options --- [*] Power Management support [ ]

Re[2]: [gentoo-user] Resuming after hibernate

2009-11-09 Thread Sergey Kobzar
Monday, November 9, 2009, 5:39:46 PM, Walter wrote: Why do you need anything in the kernel commandlindline? Everything is done either in the kernel config or in hibernate.conf. make menuconfig on my machine goes like so... = Power management and

Re[2]: [gentoo-user] Resuming after hibernate

2009-11-09 Thread Sergey Kobzar
Btw, s2disk is user-level tool. According to http://wiki.archlinux.org/index.php/Suspend_to_Disk initrd image is required to resume from image created by s2disk tool, but I don't use initrd. Maybe this is a reason? Probably I need switch to native swsusp?.. Monday, November 9, 2009, 5:39:46

Re: [gentoo-user] Resuming after hibernate

2009-11-09 Thread Iain Buchanan
On Mon, 2009-11-09 at 10:39 -0500, Walter Dnes wrote: Here are the uncommented lines in my hibernate.conf. The last 4 lines are specific to my machine, and may not apply to yours. It works great for me. ... OnResume 97 /etc/init.d/sshd restart how come? To kill any stale ssh

Re: [gentoo-user] Resuming after hibernate

2009-11-09 Thread Walter Dnes
On Tue, Nov 10, 2009 at 08:58:13AM +0930, Iain Buchanan wrote On Mon, 2009-11-09 at 10:39 -0500, Walter Dnes wrote: OnResume 97 /etc/init.d/sshd restart how come? To kill any stale ssh connections? I find that they clean themselves up fairly well. In fact, if I hibernate and resume in