Re: Resume after hibernation regression in 2.6.29



In linux.kernel, you wrote:
On Thursday 26 March 2009 20:18:40 Pavel Machek wrote:
On Thu 2009-03-26 19:20:32, Tvrtko A. Ursulin wrote:
Hi guys,
I have been running custom compiled 2.6.28.7 in OpenSUSE 11.1 and using
hiberation/resume daily as configured by the distro. Yesterday I upgraded
to 2.6.29 (make oldconfig from 2.6.28.7, attached) and after resume
networking (at least) does not work. Reboot at this point takes very long
because of timeouts on CIFS and whatelse.

Below is how /var/log/messagess looks for one cycle
(hibernate-resume-reboot) and I am also attaching kernel config and
/var/log/pm-suspend.log.

You will probably notice evil nvidia.ko in there but don't panic, it all
happens without it as well. Tested from runlevel 3 and by running
pm-hibernate. After resume from that NIC LEDs were off. I
tried /etc/init.d/network restart but that hung so I ^C and tried rmmod
forcedeth && modprobe forcedeth && ifup eth0 and after some time network
went live again. Haven't had time to test further though, so this is all
pretty rough.

Ok, can you try to rmmod forcedeth before hibernation, then insmod it
after resume?

Sure, after insmod and /etc/init.d/network start following resume network was
fine. Guess I could kludge that sequence into pm scripts somehow but would
rather avoid that since it slows down the cycle and would make scripts
non-stock.


No need to modify the system pm scripts; it has support for this sort
of thing built-in. Create /etc/pm/config.d/defaults with this line:
SUSPEND_MODULES="forcedeth"

Obviously this is just a workaround until a real fix goes into the
kernel, but it should do what you need for now.

-RW
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Resume after hibernation regression in 2.6.29
    ... and I am also attaching kernel config and ... Ok, can you try to rmmod forcedeth before hibernation, then insmod it ... after insmod and /etc/init.d/network start following resume network was ... Guess I could kludge that sequence into pm scripts somehow but would ...
    (Linux-Kernel)
  • A Framework to automatically configure a Kernel
    ... automatically generates a Kernel-Configuration. ... I've right-now almost finished a framework that generates a ... .config file based on the target system. ... Those scripts answers are depending on the ...
    (Linux-Kernel)
  • Re: Debian Security - Configs, etc...
    ... What can you do to restrict access to the services from the network by ... (most firewall scripts will also provide protection ... What can you do in the config of each network application to limit access ...
    (comp.os.linux.security)
  • Re: accessing $_GET implicitly
    ... There is a PHP configuration directive (i.e. something you put in the config ... scripts just as if they're day-to-day script variables. ... As of PHP 4.2.0 this ... that makes all my form variables appear as $form_blah, ...
    (comp.lang.php)
  • Re: howto make sysintall
    ... I think John was right that it is better to build my own mfsroot and ... then make config scripts etc. ... > You can run a command to generate a config file that you then include. ... > This is just the part to setup the install media. ...
    (freebsd-hackers)