Bug 7183
Summary: | Resume from suspend-to-ram fails if a PCMCIA network card is inserted | ||
---|---|---|---|
Product: | Power Management | Reporter: | Zarhan (zarhan) |
Component: | Hibernation/Suspend | Assignee: | Rafael J. Wysocki (rjwysocki) |
Status: | REJECTED INSUFFICIENT_DATA | ||
Severity: | normal | CC: | acme, linux-pcmcia, protasnb |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.18 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 7216 |
Description
Zarhan
2006-09-22 07:33:40 UTC
Oh, and note: This also happens if attempting to suspend to disk - in this case it does not even get to suspend properly (stalls at the portion where system wakes up some devices to write the pages to swap partition - yanking the card works there as well) Does rmmoding driver for your pcmcia card before suspend help? I cannot unload the module directly, # lsmod Module Size Used by hostap_cs 63380 3 hostap 117956 1 hostap_cs pcmcia 29560 1 hostap_cs yenta_socket 28012 4 rsrc_nonstatic 13376 1 yenta_socket pcmcia_core 40656 4 hostap_cs,pcmcia,yenta_socket,rsrc_nonstatic # rmmod hostap_cs ERROR: Module hostap_cs is in use Saying "pcmciactl eject" before suspending makes things work. When resuming the card is reinitialized again. I'm also able to repeat the issue by simply using "pcmciactl suspend" followed by "pcmciactl resume". When I press enter on the resume command, system freezes - Physically ejecting the card and the system becomes responsive again. Dmesg output is pretty much idetical to the one I pasted earlier. # pccardctl suspend # dmesg -c hostap_cs: CS_EVENT_PM_SUSPEND printk: 284717 messages suppressed. wifi0: Interrupt, but dev not OK wifi0: Interrupt, but dev not OK wifi0: Interrupt, but dev not OK wifi0: Interrupt, but dev not OK wifi0: Interrupt, but dev not OK wifi0: Interrupt, but dev not OK wifi0: Interrupt, but dev not OK wifi0: Interrupt, but dev not OK wifi0: Interrupt, but dev not OK wifi0: Interrupt, but dev not OK printk: 4 messages suppressed. wifi0: Interrupt, but dev not OK # pccardctl resume # dmesg printk: 13 messages suppressed. wifi0: Interrupt, but dev not OK printk: 7 messages suppressed. wifi0: Interrupt, but dev not OK printk: 14 messages suppressed. wifi0: Interrupt, but dev not OK printk: 13 messages suppressed. wifi0: Interrupt, but dev not OK printk: 6 messages suppressed. wifi0: Interrupt, but dev not OK hostap_cs: CS_EVENT_PM_RESUME wifi0: card already removed or not configured during shutdown printk: 237713 messages suppressed. wifi0: Interrupt, but dev not OK prism2_hw_init: initialized in 5405 ms wifi0: prism2_enable_aux_port - timeout - reg=0xffff wifi0: prism2_enable_aux_port - timeout - reg=0xffff wifi0: valid PDA not found SWSUPPORT0 write/read failed: FFFF != 8A32 hostap_cs: Initialization failed pccard: card ejected from slot 1 wifi0: card already removed or not configured during shutdown wifi0: card already removed or not configured during shutdown Is the bug still present in 2.6.22-rc3 and/or in the latest -git ? Zarhan, Have you tested with current kernel.org (2.6.22+), is the problem still there? Thanks. Rejecting due to the lack of response from the reporter. |