LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 12-08-2005, 10:36 AM   #1
simen
LQ Newbie
 
Registered: Dec 2005
Distribution: Debian Etch
Posts: 15

Rep: Reputation: 0
ACPI sleep + ipw2200 = system crash


Hi all,

I'm trying to get my laptop to suspend to ram with ACPI. After constantly crashing my system for a while, I managed to put together a script that puts it to sleep and wakes it up, with X working fine. However, when I try to reload the ipw2200 module, the computer crashes. Not being able to use my wireless card after a suspend to ram, somehow dulls my sense of achievement. I am running Debian Sarge and kernel 2.6.8-2-386. My PC is a Fujitsu Siemens Amilo Pro V2000 with a Pentium-M processor and an Intel PRO/Wireless 2200BG network card.

I've tried playing around with the boot parameters a bit (adding "acpi_sleep=s3" or "acpi_sleep=s3_bios" to the kernel line in GRUB), but to no avail. Has anyone had similar problems? Any ideas would be greatly appreciated!

Kind regards,
--Simen

Here is the ACPI script I run:

Code:
#!/bin/sh

## We should stop acpid from reading multiple events:
/etc/init.d/acpid stop

## Make sure system clock doesn't get confused:
/sbin/hwclock --systohc

## Bring down interface:
ifdown eth1

## Unload some naughty modules:
rmmod ipw2200 fsam7400 ieee80211 ieee80211_crypt_wep ieee80211_crypt ehci_hcd uhci_hcd

## This seems to be common practice:
sync

## Get out of X
/usr/bin/chvt 1
/usr/bin/chvt 12

## Remember some graphic stuff:
VBESTATE='vbetemp'
vbetool vbestate save >$VBESTATE

## Turn off the backlight:
vbetool dpms off

## Go to sleep:
echo -n "mem" > /sys/power/state

### Waking up:

## Post the video card
vbetool post

## Restore some video settings:
vbetool vbestate restore < $VBESTATE

## Reload modules:
echo "Reloading modules"
modprobe uhci_hcd
modprobe ehci_hcd
modprobe ieee80211_crypt
modprobe ieee80211
modprobe fsam7400
# modprobe ipw2200 # if I uncomment this line, my computer hangs :(

## Reset the time:
hwclock --hctosys

## And make sure the backlight is on:
vbetool dpms on

## Switch consoles even more, just to be sure:
/usr/bin/chvt 1
/usr/bin/chvt 12
/usr/bin/chvt 7
When I try to load the ipw2200 module after having slept, my PC prints
some dying words, of which I can see the last bit on my screen:

Code:
[snip a really long list of modules...]
CPU: 0
EIP: 0060 [<e037f502>]
EFLAGS: 00010246 (2.6.8-2-386)
EIP is at snd_intel8x0_interrupt + 0xc8/0x1bd [snd_intelx0m]
eax:00000000 ebx:df3208bc ecx:00000004 edx:00000000
esi:000000ff edi:ffffffff ebp:df320800 esp:d38c9f64
ds:007b es:007b ss:0068
Process default.hotplug (pid:4902, threadinfo=d38c0000 task=de59c8c0)
Stack: 00000000 00000000 00000000 df529b40
       [snip 20 more codes like this...]
Call trace:
[<c0107b02>] handle_IRQ_events+0x27/0x42
[<c0107b02>] do_IRQ+0x7b/0xf9
[<c0107b02>] common interrupt+0x18/0x20
Code: f7 73 18 8b 43 2c 01 f0 83 e0 1f 89 43 2c 0f b6 43 2c 89 53
<0> Kernel panic: Fatal exception in interrupt
In interrupt handler - not syncing
 
Old 12-08-2005, 01:54 PM   #2
biophysics
Member
 
Registered: Jan 2002
Location: Germany
Distribution: Kubuntu
Posts: 444

Rep: Reputation: 30
Post it in (http://ipw2200.sourceforge.net/ ) the following list working on ipw2200/2100

http://lists.sourceforge.net/mailman.../ipw2100-devel

Yes, there will be more experts with experiences there /search archives.
 
Old 12-09-2005, 04:40 AM   #3
simen
LQ Newbie
 
Registered: Dec 2005
Distribution: Debian Etch
Posts: 15

Original Poster
Rep: Reputation: 0
Ah, thanks for the hint

Regards,
--Simen
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ACPI sleep states slinky2004 Linux - General 3 10-30-2005 12:40 AM
ACPI Sleep ? rpz Linux - Hardware 17 08-08-2005 02:44 AM
acpi sleep reboots computer... djib Linux - Software 2 12-12-2004 10:17 AM
How to use ACPI to sleep/suspend? manueljose Linux - Laptop and Netbook 2 09-28-2004 10:33 AM
ACPI Sleep aaa Linux - General 9 10-01-2003 11:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 06:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration