IPW3945 unable to restart after suspend

Bug #91645 reported by thesoothsayer
12
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Undecided
Unassigned
linux-source-2.6.20 (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

Binary package hint: hal

When I put my laptop, an AsusA8Fm running Ubuntu 6.10 (https://wiki.ubuntu.com/LaptopTestingTeam/AsusA8Fm) into suspend mode and wake it up, the wireless driver ipw3945 is not loaded and the interface disappears from /sys/class/net/ (originally it's called eth1).

Attempts to manually reinsert the driver with 'modprobe ipw3945' gives the following output in the kernel log:

[17182894.244000] ipw3945: Intel(R) PRO/Wireless 3945 Network Connection driver for Linux, 1.1.0mp
[17182894.244000] ipw3945: Copyright(c) 2003-2006 Intel Corporation
[17182894.244000] ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 169
[17182894.244000] PCI: Setting latency timer of device 0000:01:00.0 to 64
[17182894.248000] ipw3945: Detected Intel PRO/Wireless 3945ABG Network Connection
[17182895.768000] ipw3945: MAC is in deep sleep!
[17182899.748000] ipw3945: Unable to int nic

Attempts to remove (modprobe -r ipw3945) and reinstall (modprobe ipw3945) the module gives the same result as above.

[17183383.544000] ACPI: PCI interrupt for device 0000:01:00.0 disabled
[17183383.544000] ieee80211_crypt: unregistered algorithm 'NULL'
[17183385.388000] ieee80211_crypt: registered algorithm 'NULL'
[17183385.392000] ieee80211: 802.11 data/management/control stack, git-1.1.13
[17183385.392000] ieee80211: Copyright (C) 2004-2005 Intel Corporation <email address hidden>
[17183385.400000] ipw3945: Intel(R) PRO/Wireless 3945 Network Connection driver for Linux, 1.1.0mp
[17183385.400000] ipw3945: Copyright(c) 2003-2006 Intel Corporation
[17183385.404000] ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 169
[17183385.404000] PCI: Setting latency timer of device 0000:01:00.0 to 64
[17183385.404000] ipw3945: Detected Intel PRO/Wireless 3945ABG Network Connection
[17183386.924000] ipw3945: MAC is in deep sleep!
[17183390.908000] ipw3945: Unable to int nic

Update: Seems to only occur when going into suspend with the WLAN turned off. Tried 5 times with WLAN on but could not reproduce.

description: updated
Revision history for this message
Brian Murray (brian-murray) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. Could you please also add the output of 'sudo lspci -vvnn'? Thanks in advance.

Changed in linux-source-2.6.20:
assignee: nobody → brian-murray
status: Unconfirmed → Needs Info
Revision history for this message
thesoothsayer (thesoothsayer) wrote :

Output from lspci -vvnn attached.

Revision history for this message
Brian Murray (brian-murray) wrote :

Could you elaborate as to your meaning when you say it only happens when you going into suspend with the WLAN turned off? What steps would I take to reproduce this? Thanks again.

Revision history for this message
John Dong (jdong) wrote :

I can reproduce this. It happens MOST OFTEN when hardware switch is OFF when going into standby. Basically:

(1) Switch hardware wifi switch off
(2) Go into standby
(3) Come out

90% of the times, wireless is not restored. eth1 shows up with no wireless extensions.

I've attempted to kill, remove run-lock, and restart ipw3945d. No luck. Flick hardware switch -- nothing happens.

But killing the daemon, removing the pid lock, rmmod ipw3945, and modprobe ipw3945 does restore operation.

This has not happened before Feisty.

Changed in linux-source-2.6.20:
status: Needs Info → Confirmed
Revision history for this message
thesoothsayer (thesoothsayer) wrote :

On the laptop, there's a hotkey (ATKD 0000005d for Asus) for turning on and off the power to the WLAN that calls /etc/acpi/wireless.sh.

So basically, I think turning off WLAN here would be what the script does:

echo -n 2 > /sys/class/net/eth1/device/power/state;

And after that, I put the system into suspend. When it wakes up, the /sys/class/net/eth1 directory is missing and the ipw3945 drivers are also not installed.

Thanks for your effort!

Revision history for this message
thesoothsayer (thesoothsayer) wrote :

Just a comment on John Dong's comment. I'm using Edgy Eft and it happens on my laptop.

Also, killing the ipw3945d-2.6.17-11-generic and restarting after that did not solve the problem for me.

Thanks.

Revision history for this message
John Dong (jdong) wrote : Re: [Bug 91645] Re: IPW3945 unable to restart after suspend

On 3/12/07, thesoothsayer <email address hidden> wrote:
>
> Just a comment on John Dong's comment. I'm using Edgy Eft and it happens
> on my laptop.
>
> Also, killing the ipw3945d-2.6.17-11-generic and restarting after that
> did not solve the problem for me.

That's what I asserted. However, killing the daemon, removing its
/var/run/ipw3945* lock file, removing the module, and probing the module
again works for me.

I'm gonna put that in my suspend hook if the next kernel upload doesn't
resolve this.

Thanks.
>
> --
> IPW3945 unable to restart after suspend
> https://launchpad.net/bugs/91645
>

Changed in linux-source-2.6.20:
assignee: brian-murray → nobody
Revision history for this message
thesoothsayer (thesoothsayer) wrote :

>On 3/12/07, thesoothsayer <email address hidden> wrote:
>>
>> Just a comment on John Dong's comment. I'm using Edgy Eft and it happens
>> on my laptop.
>>
>> Also, killing the ipw3945d-2.6.17-11-generic and restarting after that
>> did not solve the problem for me.

>That's what I asserted. However, killing the daemon, removing its
>/var/run/ipw3945* lock file, removing the module, and probing the module
>again works for me.
>
>I'm gonna put that in my suspend hook if the next kernel upload doesn't
>resolve this.

>Thanks.
>>

What I meant was, the step that worked for you did not work for me on Edgy Eft, unfortunately.

And the other difference is that the eth1 folder totally disappears.

Think I'll turn on the WLAN automatically before going into suspend or hibernation, for now.

Changed in linux-source-2.6.20:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Medium
Revision history for this message
Jyrki Pulliainen (jyrki-pulliainen) wrote :

I suspended with the wlan on and it didn't wake up after suspend.

Tim Gardner (timg-tpi)
Changed in linux-source-2.6.20:
assignee: ubuntu-kernel-team → ubuntu-kernel-acpi
importance: Medium → Low
Revision history for this message
Adam Zieliński (zielus) wrote :

I have the same problem on my IBM R60 with Feisty Fawn.

Revision history for this message
Jyrki Pulliainen (jyrki-pulliainen) wrote :

I've made a new bug of my problem: #99732

It's a bit similiar to this but the main difference is that my ipw3945 doesn't switch kill switch off when returning from suspend. There's no difference if I unload the module before suspend.

Revision history for this message
Alberto Torres (kungfoobar) wrote :

Same problem with 7.04 and 7.10 here in a Dell Inspiron 9400. With 7.10, sometimes after suspend (if it resumes properly, which is only sometimes) I can make it work again.

Revision history for this message
Divilinux (divilinux) wrote :

Have u tried to modify /etc/default/acpi-support ?
You ca nadd ipw3945 to this line:

# Add modules to this list to leave them in the kernel over suspend/resume
MODULES_WHITELIST="ipw3945"

2007/10/11, Alberto Torres <email address hidden>:
>
> *** This bug is a duplicate of bug 94133 ***
> https://bugs.launchpad.net/bugs/94133
>
> Same problem with 7.04 and 7.10 here in a Dell Inspiron 9400. With 7.10,
> sometimes after suspend (if it resumes properly, which is only
> sometimes) I can make it work again.
>
> --
> IPW3945 unable to restart after suspend
> https://bugs.launchpad.net/bugs/91645
> You received this bug notification because you are a member of Ubuntu
> Kernel ACPI Team, which is a bug assignee.
>

--
Ubuntu-it

Revision history for this message
carlos (carlos-silva) wrote :

I had this problem but I've found a temporary solution which that works, at
least for me.

After resuming from suspend, I turn off the wireless and on a second later
with my laptop wireless off/on button, and I go to the console and type
"sudo /etc/init.d/dbus restart". After that everything should be ok.

On 10/11/07, Divilinux <email address hidden> wrote:
>
> *** This bug is a duplicate of bug 94133 ***
> https://bugs.launchpad.net/bugs/94133
>
> Have u tried to modify /etc/default/acpi-support ?
> You ca nadd ipw3945 to this line:
>
> # Add modules to this list to leave them in the kernel over suspend/resume
> MODULES_WHITELIST="ipw3945"
>
> 2007/10/11, Alberto Torres <email address hidden>:
> >
> > *** This bug is a duplicate of bug 94133 ***
> > https://bugs.launchpad.net/bugs/94133
> >
> > Same problem with 7.04 and 7.10 here in a Dell Inspiron 9400. With 7.10,
> > sometimes after suspend (if it resumes properly, which is only
> > sometimes) I can make it work again.
> >
> > --
> > IPW3945 unable to restart after suspend
> > https://bugs.launchpad.net/bugs/91645
> > You received this bug notification because you are a member of Ubuntu
> > Kernel ACPI Team, which is a bug assignee.
> >
>
>
> --
> Ubuntu-it
>
> --
> IPW3945 unable to restart after suspend
> https://bugs.launchpad.net/bugs/91645
> You received this bug notification because you are a direct subscriber
> of the bug (via bug 94133).
>

Revision history for this message
Launchpad Janitor (janitor) wrote : This bug is now reported against the 'linux' package

Beginning with the Hardy Heron 8.04 development cycle, all open Ubuntu kernel bugs need to be reported against the "linux" kernel package. We are automatically migrating this bug to the new "linux" package. However, development has already began for the upcoming Intrepid Ibex 8.10 release. It would be helpful if you could test the upcoming release and verify if this is still an issue - http://www.ubuntu.com/testing . If the issue still exists, please update this report by changing the Status of the "linux" task from "Incomplete" to "New". We appreciate your patience and understanding as we make this transition. Thanks!

Revision history for this message
Divilinux (divilinux) wrote : Invito a collegarsi su LinkedIn

LinkedIn
------------

Bug,

Vorrei aggiungerti alla mia rete professionale su LinkedIn.

-nicola

nicola crupi
Libero professionista Internet
Maceió Area, Brazil

Conferma che conosci nicola crupi
https://www.linkedin.com/e/ohl2rl-gnvtfm8m-6m/isd/2935366979/-PCKSBhm/

--
(c) 2011, LinkedIn Corporation

Curtis Hovey (sinzui)
Changed in linux-source-2.6.20 (Ubuntu):
assignee: Registry Administrators (registry) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.