No ethernet interface found after suspend-resume

Sriram V vshrirama at gmail.com
Fri Apr 30 04:06:26 EDT 2010


Hi,
 The curious thing is - After the SDIO card has been detected.
  If i reset the WLAN chip before i do a suspend-resume. Everytime the
sdio card is detected
  during resume. tested with/without Firmware.

  Does this mean to say - Once the card has been detected.
  Can i Keep calling cmd0, CMD8, CMD5.... again and again?

  Am i supposed to send some re-init command to the card during suspend?


Regards,
sriram



On Fri, Apr 30, 2010 at 10:50 AM, Sriram V <vshrirama at gmail.com> wrote:
> Hi Ryan, Chris,
>
> Working on a similar issue here for a few days now. I use a slightly
> older Kernel 2.6.29.
> I am not using the deep sleep patch that comes with the default 2.6.33
> kernel right now.
>
> In 2.6.29 - The sdio drivers assumes a card to be removed virtually during
> suspend and is re-inserted/re-probed during resume. All this happens
> transperently.
>
> On printing the command logs - I notice that the command 8 onwards
> the libertas does not respond and i get a command timeout
> and as a result - the card never gets detected again during happens
> as is expected.
>
> Any reason why this could happen? I use the firmware fw 9.70.7p0, cap 0x00000303
>
> Below is my log message:
>
>
>
>
> [  747.953277] mmci-omap-hs mmci-omap-hs.2: IRQ Status is 1
> [  747.953277] mmc2: req done (CMD52): 0: 00001000 00000000 00000000 00000000
> [  747.953308] mmc2: starting CMD52 arg 01014400 flags 00000195
> [  747.953338] mmci-omap-hs mmci-omap-hs.2: mmc2: CMD52, argument 0x01014400
> [  747.953369] mmci-omap-hs mmci-omap-hs.2: IRQ Status is 1
> [  747.953369] mmc2: req done (CMD52): 0: 000010ff 00000000 00000000 00000000
> [  747.953399] mmc2: new SDIO card at address 0001
>
>
> <Systemwide Suspend-Resume>
>
>
> [ 1119.012481] PM: Syncing filesystems ... done.
> [ 1119.020294] PM: Preparing system for mem sleep
> [ 1119.030517] Freezing user space processes ... (elapsed 0.00 seconds) done.
> [ 1119.037597] Freezing remaining freezable tasks ... (elapsed 0.06
> seconds) done.
> [ 1119.108154] PM: Entering mem sleep
> [ 1119.108184] Suspending console(s) (use no_console_suspend to debug)
> [ 1119.117248] hub 2-0:1.0: hub_suspend
> [ 1119.117279] usb usb2: bus suspend
> [ 1119.117309] hub 1-0:1.0: hub_suspend
> [ 1119.117340] usb usb1: bus suspend
> [ 1119.118713] mmc2: card 0001 removed
> [ 1119.118835] mmc2: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0
> [ 1119.119079] mmc2: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0
> [ 1119.119934] mmc1: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0
> [ 1119.120910] mmc0: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0
> [ 1119.137359] Powerdomain (iva2_pwrdm) didn't enter target state 1
> [ 1119.137451] Powerdomain (usbhost_pwrdm) didn't enter target state 1
> [ 1119.137451] Could not enter target state in pm_suspend
> [ 1119.146148] usb usb1: usb resume
> [ 1119.153381] mmc0: clock 0Hz busmode 1 powermode 1 cs 0 Vdd 19 width 0 timing0
> [ 1119.176788] mmc0: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 19
> width 0 timing 0
> [ 1119.223693] hub 1-0:1.0: hub_resume
> [ 1119.223754] usb usb2: usb resume
> [ 1119.223785] mmc0: clock 400000Hz busmode 1 powermode 2 cs 1 Vdd 19
> width 0 timing 0
> [ 1119.247039] hub 2-0:1.0: hub_resume
> [ 1119.292602] PM: Finishing wakeup.
> [ 1119.292633] Restarting tasks ... <7>hub 1-0:1.0: state 7 ports 3
> chg 0000 evt0000
> [ 1119.302673] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
>
>
> <During Resume>
>
>
> [ 1119.387908] mmc2: clock 0Hz busmode 1 powermode 1 cs 0 Vdd 21 width 0 timing
> 0
> [ 1119.411163] mmc2: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0 ti
> ming 0
> [ 1119.458129] mmc2: clock 400000Hz busmode 1 powermode 2 cs 1 Vdd 21 width 0 ti
> ming 0
> [ 1119.482391] mmc2: starting CMD0 arg 00000000 flags 000000c0
> [ 1119.482421] mmci-omap-hs mmci-omap-hs.2: mmc2: CMD0, argument 0x00000000
> [ 1119.482666] mmci-omap-hs mmci-omap-hs.2: IRQ Status is 1
> [ 1119.482696] mmc2: req done (CMD0): 0: 00000000 00000000 00000000 00000000
> [ 1119.483734] mmc2: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0 ti
> ming 0
> [ 1119.484985] mmc2: starting CMD8 arg 000001aa flags 000002f5
> [ 1119.485198] mmci-omap-hs mmci-omap-hs.2: mmc2: CMD8, argument 0x000001aa
> [ 1119.485626] mmci-omap-hs mmci-omap-hs.2: IRQ Status is 18000
> [ 1119.485656] mmci-omap-hs mmci-omap-hs.2: MMC IRQ 0x18000 : ERRI CTO
> [ 1119.485687] mmc2: req done (CMD8): -110: 00000000 00000000 00000000 00000000
> [ 1119.485717] mmc2: starting CMD5 arg 00000000 flags 000002e1
> [ 1119.485717] mmci-omap-hs mmci-omap-hs.2: mmc2: CMD5, argument 0x00000000
> [ 1119.486145] mmci-omap-hs mmci-omap-hs.2: IRQ Status is 18000
> [ 1119.486175] mmci-omap-hs mmci-omap-hs.2: MMC IRQ 0x18000 : ERRI CTO
> [ 1119.486206] mmc2: req failed (CMD5): -110, retrying...
> [ 1119.486206] mmci-omap-hs mmci-omap-hs.2: mmc2: CMD5, argument 0x00000000
> [ 1119.486633] mmci-omap-hs mmci-omap-hs.2: IRQ Status is 18000
> [ 1119.486633] mmci-omap-hs mmci-omap-hs.2: MMC IRQ 0x18000 : ERRI CTO
> [ 1119.486663] mmc2: req failed (CMD5): -110, retrying...
> [ 1119.486694] mmci-omap-hs mmci-omap-hs.2: mmc2: CMD5, argument 0x00000000
> [ 1119.487091] mmci-omap-hs mmci-omap-hs.2: IRQ Status is 18000
> [ 1119.487121] mmci-omap-hs mmci-omap-hs.2: MMC IRQ 0x18000 : ERRI CTO
> [ 1119.487152] mmc2: req failed (CMD5): -110, retrying...
> [ 1119.487152] mmci-omap-hs mmci-omap-hs.2: mmc2: CMD5, argument 0x00000000
> [ 1119.487579] mmci-omap-hs mmci-omap-hs.2: IRQ Status is 18000
> [ 1119.487579] mmci-omap-hs mmci-omap-hs.2: MMC IRQ 0x18000 : ERRI CTO
> [ 1119.487609] mmc2: req done (CMD5): -110: 00000000 00000000 00000000 00000000
> [ 1119.487670] mmc2: starting CMD55 arg 00000000 flags 000000f5
> [ 1119.487670] mmci-omap-hs mmci-omap-hs.2: mmc2: CMD55, argument 0x00000000
> [ 1119.488098] mmci-omap-hs mmci-omap-hs.2: IRQ Status is 18000
> [ 1119.488098] mmci-omap-hs mmci-omap-hs.2: MMC IRQ 0x18000 : ERRI CTO
> [ 1119.488128] mmc2: req done (CMD55): -110: 00000000 00000000 00000000 00000000
>
> [ 1119.488189] mmc2: starting CMD55 arg 00000000 flags 000000f5
> [ 1119.488189] mmci-omap-hs mmci-omap-hs.2: mmc2: CMD55, argument 0x00000000
> [ 1119.488616] mmci-omap-hs mmci-omap-hs.2: IRQ Status is 18000
> [ 1119.488616] mmci-omap-hs mmci-omap-hs.2: MMC IRQ 0x18000 : ERRI CTO
> [ 1119.488647] mmc2: req done (CMD55): -110: 00000000 00000000 00000000 00000000
>
> [ 1119.488708] mmc2: starting CMD55 arg 00000000 flags 000000f5
> [ 1119.488708] mmci-omap-hs mmci-omap-hs.2: mmc2: CMD55, argument 0x00000000
> [ 1119.489135] mmci-omap-hs mmci-omap-hs.2: IRQ Status is 18000
> [ 1119.489166] mmci-omap-hs mmci-omap-hs.2: MMC IRQ 0x18000 : ERRI CTO
> [ 1119.489166] mmc2: req done (CMD55): -110: 00000000 00000000 00000000 00000000
>
> [ 1119.489227] mmc2: starting CMD55 arg 00000000 flags 000000f5
> [ 1119.489227] mmci-omap-hs mmci-omap-hs.2: mmc2: CMD55, argument 0x00000000
> [ 1119.489654] mmci-omap-hs mmci-omap-hs.2: IRQ Status is 18000
> [ 1119.489685] mmci-omap-hs mmci-omap-hs.2: MMC IRQ 0x18000 : ERRI CTO
> [ 1119.489685] mmc2: req done (CMD55): -110: 00000000 00000000 00000000 00000000
>
> [ 1119.489746] mmc2: starting CMD1 arg 00000000 flags 000000e1
> [ 1119.489746] mmci-omap-hs mmci-omap-hs.2: mmc2: CMD1, argument 0x00000000
> [ 1119.490173] mmci-omap-hs mmci-omap-hs.2: IRQ Status is 18000
> [ 1119.490203] mmci-omap-hs mmci-omap-hs.2: MMC IRQ 0x18000 : ERRI CTO
> [ 1119.490203] mmc2: req done (CMD1): -110: 00000000 00000000 00000000 00000000
> [ 1119.490264] mmc2: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0
>
>
> Regards,
> sriram
>
>
>
> On Wed, Apr 28, 2010 at 10:31 PM, Chris Ball <cjb at laptop.org> wrote:
>> Hi Ryan,
>>
>>   > Hello, After a system wide suspend-resume. I dont find the
>>   > ethernet interface when i do ifconfig.
>>
>> What hardware and software (kernel version) are you using?  Can you
>> post the full output of "dmesg" after performing a suspend/resume
>> cycle?
>>
>> - Chris.
>> --
>> Chris Ball   <cjb at laptop.org>
>> One Laptop Per Child
>>
>> _______________________________________________
>> libertas-dev mailing list
>> libertas-dev at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/libertas-dev
>>
>



More information about the libertas-dev mailing list