[Bug 11824] Scheduling while atomic, segfaults after kernel update 2.6.10-34.2
bugzilla-daemon at bugzilla.ubuntu.com
bugzilla-daemon at bugzilla.ubuntu.com
Wed Aug 10 04:59:27 UTC 2005
Please do not reply to this email. You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=11824
Ubuntu | linux
------- Additional Comments From raphael at thyamad.com 2005-08-10 05:59 UTC -------
"Schedule while atomic" suggest a kernel bug or misutilization. I'm no kernel
hacker, but I can imagine that means kernel is not liking to continue to execute
things from my script inside an atomic call.
Looking at /etc/acpi/hibernate.sh I saw that the technique is to just call
/etc/acpi/resume.sh just after the hibernation, hoping that upon returning the
system from freeze, the script would continue.
So I tryed to workaround. I wrote a /etc/acpi/resume_after.sh
-- begin code --
#!/bin/bash
sleep 10
. /etc/acpi/resume.sh
-- end code --
and instead of calling resume.sh AFTER hibernation, I called resume_after.sh
BEFORE hibernation.
It enters on sleep process and in that moment hibernation freezes it...
Upon resume, it takes no more than 10 seconds to resume properly.
I have tested this solution here in my Duron 1000 Ghz and it worked fine!
Internet came as it was before...
I have not tryed any other thing that could be potentialy problematic as USB
devices, but that is the responsability of resume.sh
Hope have helped,
--
Raphael Derosso Pereira
--
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the kernel-bugs
mailing list