From: Nils Faerber <nils-t93Ne7XHvje5bSeCtf/tX7NAH6kLmebB@public.gmane.org>
To: Karol Kozimor <sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
Cc: "Brown, Len" <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
Martin Mokrejs <mmokrejs-V2lp6ZUObelkZyP8+xg2CQ@public.gmane.org>,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [ACPI] RE: ACPI kernel crash with 2.4.22-pre7 on ASUS L3800C
Date: Thu, 04 Sep 2003 11:25:56 +0200 [thread overview]
Message-ID: <1062667556.13465.37.camel@idoru.kc.de> (raw)
In-Reply-To: <20030904085315.GA29773-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1282 bytes --]
Am Do, 2003-09-04 um 10.53 schrieb Karol Kozimor:
> Thus wrote Brown, Len:
> > Martin,
> > Does this still happen with 2.4.22?
> > If yes, can I trouble you to drop the info into bugzilla so we can put
> > it in the queue?
> FYI, I just had it *after* boot, i.e. some 30 seconds after the swsusp
> resume (trace below), and _again_ _after_ I warm-rebooted the machine using
> SysRq+B. The subsequent warm-reboot went OK.
>
> Linux 2.4.21 + ACPI 20030619
[...]
Just FYI...
I have kernel 2.4.22 + swsusp 1.1-rc7 running without problems on the
very same machine (Asus L3800C, BIOS 121a).
I fiddled a little with a home grown suspend script until I got swsusp
reliably working with older versions (0.9-pre and before) and it still
works perfectly for me; the suspend script from the swsusp project was
too generic and complicated for me ;) I have attached my version in case
someone's interested in it.
One point that proofs to be a good idea is to remove any unnecessary
drivers before suspending, like USB, Firewire and ethernet and to
re-insert them afterwards. The attached script does this.
> Best regards,
CU
nils faerber
--
kernel concepts Tel: +49-271-771091-12
Dreisbachstr. 24 Fax: +49-271-771091-19
D-57250 Netphen D1 : +49-170-2729106
--
[-- Attachment #2: suspend --]
[-- Type: text/x-sh, Size: 1342 bytes --]
#!/bin/sh
#
# swsusp suspend helper script
# for Asus L3800C and maybe other notebooks
# by Nils Faerber <nils-t93Ne7XHvje5bSeCtf/tX7NAH6kLmebB@public.gmane.org>
#
# Comments and suggestions welcome!
#
# It assumes that XFree is running on VT7 and that VT12 is more
# or less unallocated for debugging output.
# It will remove safe-to-remove drivers before suspend and re-insert them
# afterwards (USB, Firewire, Ethernet, etc.) as well as ejecting a built-in
# WLAN card (mini-PCI).
#
# Prepare for suspend
chvt 12
ifdown eth0 > /dev/tty12 2>&1
ifdown eth1 > /dev/tty12 2>&1
cardctl eject 2 > /dev/tty12 2>&1
rmmod 8139too > /dev/tty12 2>&1
#rmmod usb-uhci > /dev/tty12 2>&1
#rmmod usbmouse > /dev/tty12 2>&1
#rmmod usbnet > /dev/tty12 2>&1
#rmmod usb-storage > /dev/tty12 2>&1
/etc/hotplug/usb.rc stop
rmmod ohci1394 > /dev/tty12 2>&1
# Do it
rmmod -a
sync
rmmod -a
sync
echo "waiting a second..." > /dev/tty12 2>&1
sleep 1
#echo "1 0 2" > /proc/sys/kernel/swsusp
#echo "4" > /proc/acpi/sleep
echo > /proc/swsusp/activate
# Come back
sync
echo "waiting a second..." > /dev/tty12 2>&1
sleep 1
#modprobe usb-uhci > /dev/tty12 2>&1
/etc/hotplug/usb.rc start
modprobe 8139too > /dev/tty12 2>&1
hwclock --hctosys
ifup eth0 > /dev/tty12 2>&1
cardctl insert 2 > /dev/tty12 2>&1
chvt 7 > /dev/tty12 2>&1
modprobe ohci1394 > /dev/tty12 2>&1
WARNING: multiple messages have this Message-ID (diff)
From: Nils Faerber <nils@kernelconcepts.de>
To: Karol Kozimor <sziwan@hell.org.pl>
Cc: "Brown, Len" <len.brown@intel.com>,
Martin Mokrejs <mmokrejs@natur.cuni.cz>,
linux-kernel@vger.kernel.org, acpi-devel@lists.sourceforge.net
Subject: Re: [ACPI] RE: ACPI kernel crash with 2.4.22-pre7 on ASUS L3800C
Date: Thu, 04 Sep 2003 11:25:56 +0200 [thread overview]
Message-ID: <1062667556.13465.37.camel@idoru.kc.de> (raw)
In-Reply-To: <20030904085315.GA29773@hell.org.pl>
[-- Attachment #1: Type: text/plain, Size: 1282 bytes --]
Am Do, 2003-09-04 um 10.53 schrieb Karol Kozimor:
> Thus wrote Brown, Len:
> > Martin,
> > Does this still happen with 2.4.22?
> > If yes, can I trouble you to drop the info into bugzilla so we can put
> > it in the queue?
> FYI, I just had it *after* boot, i.e. some 30 seconds after the swsusp
> resume (trace below), and _again_ _after_ I warm-rebooted the machine using
> SysRq+B. The subsequent warm-reboot went OK.
>
> Linux 2.4.21 + ACPI 20030619
[...]
Just FYI...
I have kernel 2.4.22 + swsusp 1.1-rc7 running without problems on the
very same machine (Asus L3800C, BIOS 121a).
I fiddled a little with a home grown suspend script until I got swsusp
reliably working with older versions (0.9-pre and before) and it still
works perfectly for me; the suspend script from the swsusp project was
too generic and complicated for me ;) I have attached my version in case
someone's interested in it.
One point that proofs to be a good idea is to remove any unnecessary
drivers before suspending, like USB, Firewire and ethernet and to
re-insert them afterwards. The attached script does this.
> Best regards,
CU
nils faerber
--
kernel concepts Tel: +49-271-771091-12
Dreisbachstr. 24 Fax: +49-271-771091-19
D-57250 Netphen D1 : +49-170-2729106
--
[-- Attachment #2: suspend --]
[-- Type: text/x-sh, Size: 1310 bytes --]
#!/bin/sh
#
# swsusp suspend helper script
# for Asus L3800C and maybe other notebooks
# by Nils Faerber <nils@kernelconcepts.de>
#
# Comments and suggestions welcome!
#
# It assumes that XFree is running on VT7 and that VT12 is more
# or less unallocated for debugging output.
# It will remove safe-to-remove drivers before suspend and re-insert them
# afterwards (USB, Firewire, Ethernet, etc.) as well as ejecting a built-in
# WLAN card (mini-PCI).
#
# Prepare for suspend
chvt 12
ifdown eth0 > /dev/tty12 2>&1
ifdown eth1 > /dev/tty12 2>&1
cardctl eject 2 > /dev/tty12 2>&1
rmmod 8139too > /dev/tty12 2>&1
#rmmod usb-uhci > /dev/tty12 2>&1
#rmmod usbmouse > /dev/tty12 2>&1
#rmmod usbnet > /dev/tty12 2>&1
#rmmod usb-storage > /dev/tty12 2>&1
/etc/hotplug/usb.rc stop
rmmod ohci1394 > /dev/tty12 2>&1
# Do it
rmmod -a
sync
rmmod -a
sync
echo "waiting a second..." > /dev/tty12 2>&1
sleep 1
#echo "1 0 2" > /proc/sys/kernel/swsusp
#echo "4" > /proc/acpi/sleep
echo > /proc/swsusp/activate
# Come back
sync
echo "waiting a second..." > /dev/tty12 2>&1
sleep 1
#modprobe usb-uhci > /dev/tty12 2>&1
/etc/hotplug/usb.rc start
modprobe 8139too > /dev/tty12 2>&1
hwclock --hctosys
ifup eth0 > /dev/tty12 2>&1
cardctl insert 2 > /dev/tty12 2>&1
chvt 7 > /dev/tty12 2>&1
modprobe ohci1394 > /dev/tty12 2>&1
next prev parent reply other threads:[~2003-09-04 9:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-04 4:04 ACPI kernel crash with 2.4.22-pre7 on ASUS L3800C Brown, Len
2003-09-04 4:04 ` Brown, Len
[not found] ` <BF1FE1855350A0479097B3A0D2A80EE009FCFB-N2PTB0HCzHJF3Yvz3xaN/VDQ4js95KgL@public.gmane.org>
2003-09-04 8:53 ` [ACPI] " Karol Kozimor
2003-09-04 8:53 ` Karol Kozimor
[not found] ` <20030904085315.GA29773-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2003-09-04 9:25 ` Nils Faerber [this message]
2003-09-04 9:25 ` Nils Faerber
[not found] ` <1062667556.13465.37.camel-65LrUGLyukAb1SvskN2V4Q@public.gmane.org>
2003-09-04 9:33 ` Karol Kozimor
2003-09-04 9:33 ` Karol Kozimor
[not found] ` <Pine.OSF.4.51.0309040921460.337830@tao.natur.cuni.cz>
[not found] ` <Pine.OSF.4.51.0309040921460.337830-xveqDVFKMsx2wEp5G055aaVXKuFTiq87@public.gmane.org>
2003-09-04 9:26 ` Karol Kozimor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1062667556.13465.37.camel@idoru.kc.de \
--to=nils-t93ne7xhvje5bsectf/tx7nah6klmebb@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mmokrejs-V2lp6ZUObelkZyP8+xg2CQ@public.gmane.org \
--cc=sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.