Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
I tried to follow the howtos but I run into initial problems with hibernation.
At the moment I am just trying it on text mode without X.
However when it runs up ndiswrapper is causing some drama.
I tried even running down the net before hibernate - I rmmod ndiswrapper
then hibernate. It powers up ok but it still has tried to autoload ndiswrapper and
this one failed miserably. Afterwards I can't rmmod it again and can't bring the net
up only reboot remains as an option.
Is there a way around this?
I also disabled ndiswrapper from /modules.autoload.d/kernel-2.6 and then
with
killall dhcpcd
rmmod ndiswrapper
hibernate
it went ok afterwards I could modprobe it and start dhcpcd, but I also needed to start all
network services separately.
That did not do the trick. I have a problem with loading ndiswrapper
this would be an example:
Starting suspend at Sat Jun 10 11:20:43 CEST 2006
hibernate: [01] Executing CheckLastResume ...
hibernate: [01] Executing LockFileGet ...
hibernate: [01] Executing NewKernelFileCheck ...
hibernate: [10] Executing EnsureSwsusp2Capable ...
hibernate: [11] Executing XHacksSuspendHook1 ...
hibernate: [20] Executing MiscLaunchAuxFunc1 ...
Executing echo "Good night!"...
Good night!
hibernate: [20] Executing ProgramsStop ...
hibernate: [30] Executing ServicesStop ...
* Storing ALSA Mixer Levels ... [ ok ]
* Unloading ALSA ... [ ok ]
* Unloading ALSA modules ... [ ok ]
hibernate: [50] Executing FilesystemsUnmount ...
Unmounting /mnt/store ...
hibernate: [60] Executing NetworkStop ...
* Stopping apache2 ... [ ok ]
* Unmounting network filesystems ... [ ok ]
* samba -> stop: smbd ... [ ok ]
* samba -> stop: nmbd ... [ ok ]
* Stopping sshd ... [ ok ]
* Stopping wlan0
* Bringing down wlan0
* Stopping dhcpcd on wlan0 ... [ ok ]
* Shutting down wlan0 ... [ ok ]
hibernate: [89] Executing SaveKernelModprobe ...
hibernate: [95] Executing XHacksSuspendHook2 ...
hibernate: [97] Executing ChangeToSwsuspVT ...
hibernate: [97] Executing VbetoolSaveState ...
'vbetool' utility not found. Vbetool disabled.
hibernate: [98] Executing Swsusp2ConfigSet ...
hibernate: [99] Executing DoSwsusp2 ...
hibernate: Activating suspend ...
Starting suspend at Sat Jun 10 11:23:00 CEST 2006
hibernate: [01] Executing CheckLastResume ...
hibernate: [01] Executing LockFileGet ...
hibernate: [01] Executing NewKernelFileCheck ...
hibernate: [10] Executing EnsureSwsusp2Capable ...
hibernate: [11] Executing XHacksSuspendHook1 ...
hibernate: [20] Executing MiscLaunchAuxFunc1 ...
Executing echo "Good night!"...
Good night!
hibernate: [20] Executing ProgramsStop ...
hibernate: [30] Executing ServicesStop ...
* Storing ALSA Mixer Levels ... [ ok ]
* Unloading ALSA ... [ ok ]
* Unloading ALSA modules ... [ ok ]
hibernate: [50] Executing FilesystemsUnmount ...
Unmounting /mnt/store ...
hibernate: [60] Executing NetworkStop ...
* Stopping apache2 ... [ ok ]
* Unmounting network filesystems ... [ ok ]
* samba -> stop: smbd ... [ ok ]
* samba -> stop: nmbd ... [ ok ]
* Stopping sshd ... [ ok ]
* Stopping wlan0
* Bringing down wlan0
* Stopping dhcpcd on wlan0 ... [ ok ]
* Shutting down wlan0 ... [ ok ]
hibernate: [89] Executing SaveKernelModprobe ...
hibernate: [95] Executing XHacksSuspendHook2 ...
hibernate: [97] Executing ChangeToSwsuspVT ...
hibernate: [97] Executing VbetoolSaveState ...
'vbetool' utility not found. Vbetool disabled.
hibernate: [98] Executing Swsusp2ConfigSet ...
hibernate: [99] Executing DoSwsusp2 ...
hibernate: Activating suspend ...
hibernate: [97] Executing VbetoolRestoreState ...
hibernate: [97] Executing ChangeFromSwsuspVT ...
hibernate: [91] Executing GentooModulesAutoload ...
Loading modules listed /etc/modules.autoload.d/kernel-2.6
Loading ndiswrapper
Loading evdev
Loading cx88-dvb
Loading saa7134-dvb
hibernate: [89] Executing RestoreKernelModprobe ...
hibernate: [85] Executing XHacksResumeHook2 ...
hibernate: [70] Executing ClockRestore ...
hibernate: [60] Executing NetworkStart ...
* Starting wlan0
* Configuring wireless network for wlan0
* no access points found
* Couldn't find any access points on wlan0
* Failed to configure wireless for wlan0 [ !! ]
hibernate: [30] Executing ServicesStart ...
* Loading ALSA modules ...
* Loading: snd-card-0 ... [ ok ]
* Loading: snd-seq-oss ... [ ok ]
* Loading: snd-pcm-oss ... [ ok ]
hibernate: [20] Executing MiscLaunchAuxFunc2 ...
Executing echo "Good morning!"...
hibernate: [11] Executing XHacksResumeHook1 ...
hibernate: [01] Executing NoteLastResume ... [ ok ]
* Restoring Mixer Levels ... [ ok ]
Good morning!
hibernate: [01] Executing LockFilePut ...
hibernate: [00] Executing RemoveSwsuspProcCruft ...
Resumed at Sat Jun 10 11:23:49 CEST 2006
I have tried everything. I have uncommented blacklisted modules "ndiswrapper" also the whole blacklisted unload.
Autoload modules - everything with and without.
I tried stopping the network and rmmod ndiswrapper - yet in the waking up it get errors.
I noticed that after updating to suspend2-source there is a new message in dmesg:
wlan0 (WE) : Driver using old /proc/net/wireless support, please fix driver !
ndiswrapper (iw_set_tx_power:421): setting tx_power failed (C00000BB)
I don't recall having this in the vanilla-2.15.1 kernel but I might be mistaken.
ndiswrapper is uncommented under my /etc/hibernate/blacklisted-modules. I use net-wireless/ndiswrapper-1.2-r1 and sys-kernel/suspend2-sources-2.6.16-r8. Which releases are you using?
ndiswrapper (iw_set_tx_power:421): setting tx_power failed (C00000BB)
ACPI: PCI interrupt for device 0000:00:06.0 disabled
...
ndiswrapper (ndiswrapper_suspend_pci:721): No pnp capabilities for pm (C00000BB); halting
Your card is just saying that it doesn't use plug'n pray with power management. So, I guess you could remove PNP support on your kernel (at least the ACPI part) or find a better windows driver that could handle PNP with ACPI.
OK, so it could be an issue on the Windows' driver that you're using. It does not handle the ACPI event required to power up your card when your system wakes up from hibernation. On my laptop, for example, I don't use the driver that was provided by my manufacturer (COMPAQ). I use this one: http://cmb.phys.cwru.edu/kisner/linux/c ... l5a.tar.gz. It works nicely for my Network controller: Broadcom Corporation BCM4303 802.11b Wireless LAN Controller (rev 02). If your card owns the same chipset, give it a try. I was using the same driver on my former desktop PC with a PCI card (a WMP54G, or something like that).
Unfortunately it's netgear 311 v3 with marvell chipset. Maybe one solution would be just buy a new one
meanwhile I however, was trying to see if I can do it under X and that looked less promising.