#11510 HIGH 1.75-so: Libertas device loses wireless extensions after suspend/resume cycle
Zarro Boogs per Child
bugtracker at laptop.org
Tue Dec 13 14:27:03 EST 2011
#11510: Libertas device loses wireless extensions after suspend/resume cycle
---------------------------------+------------------------------------------
Reporter: greenfeld | Owner: pgf
Type: defect | Status: new
Priority: high | Milestone: 1.75-software
Component: kernel | Version: Development build as of this date
Resolution: | Keywords:
Next_action: diagnose | Verified: 0
Deployment_affected: | Blockedby:
Blocking: |
---------------------------------+------------------------------------------
Comment(by martin.langhoff):
Commenting out the calls to ethtool in powerd prevents the bug. The in a
serial session:
{{{
# ethtool -s eth0 wol u
# iwconfig
lo no wireless extensions.
eth0 IEEE 802.11bg ESSID:"njambre-guest"
Mode:Managed Frequency:2.462 GHz Access Point:
00:23:69:FA:75:B8
Bit Rate=5.5 Mb/s
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
Link Quality=70/70 Signal level=-36 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
[ 256.656680] PM: Syncing filesystems ... done.
[ 256.663687] Freezing user space processes ... (elapsed 0.02 seconds)
done.
[ 256.689428] Freezing remaining freezable tasks ... (elapsed 0.01
seconds) done.
[ 256.709389] Suspending console(s) (use no_console_suspend to debug)
[ 256.721466] dcon_source_switch to DCON
[ 256.745800] olpc-dcon: The DCON has control
[ 256.747027] RAYDIUM_i2c_suspend, disable i2c irq
[ 256.747406] libertas_sdio mmc1:0001:1: mmc1:0001:1: suspend: PM flags =
0x3
[ 256.749412] [galcore]: gpu_suspend, 1358
[ 256.749442] >>>>>>[_gpu_off]@1127
[ 256.759383] <<<<<<[_gpu_off]@1145
[ 256.859639] PM: suspend of devices complete after 140.962 msecs
[ 256.859955] PM: late suspend of devices complete after 0.282 msecs
[ 256.861451] PM: early resume of devices complete after 0.547 msecs
[ 256.861547] mmp2_pm_finish
[ 256.889457] [galcore]: gpu_resume, 1369
[ 256.896304] >>>>>>[_gpu_on]@1153
[ 256.899476] <<<<<<[_gpu_on]@1173
[ 256.899558] mmc1: error -110 during resume (card was removed?)
[ 257.149461] usb 1-1: reset high speed USB device number 2 using pxau2o-
ehci
[ 257.430182] dcon_source_switch to CPU
[ 257.430892] PM: resume of devices complete after 569.221 msecs
[ 257.514498] olpc-dcon: The CPU has control
[ 257.518572] Restarting tasks ...
[ 257.533620] done.
bash-4.1# iwconfig eth0
eth0 no wireless extensions.
}}}
The "mmc1: error -110 during resume (card was removed?)" only appears when
we call ethtool wol -- in the resume path where the wireless extensions
are gone.
Then
{{{
# rmmod libertas_sdio
[ 351.554015] libertas_sdio: error -110 sending packet to firmware
[ 354.560641] libertas_sdio mmc1:0001:1: eth0: command 0x0024 timed out
[ 354.567089] libertas_sdio mmc1:0001:1: eth0: Timeout submitting command
0x0024
[ 354.574770] libertas_sdio mmc1:0001:1: eth0: PREP_CMD: command 0x0024
failed: -110
#modprobe libertas_sdio
[ 378.626196] libertas_sdio: Libertas SDIO driver
[ 378.631093] libertas_sdio: Copyright Pierre Ossman
[ 378.636289] libertas_sdio: probe of mmc1:0001:1 failed with error -110
}}}
Unfortunately, on 1.75 today, the Libertas driver seems to promise
support, so there's no smart workaround.
{{{
# ethtool eth0
Settings for eth0:
Supports Wake-on: pumb
Wake-on: d
}}}
--
Ticket URL: <http://dev.laptop.org/ticket/11510#comment:8>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list