resume from disk fails to reload network drivers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
linux-source-2.6.17 (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Binary package hint: acpi-support
I have both a wireless (Prism2.5 using hostap_pci driver) and a wired (8139) network interface:
0000:00:11.0 Network controller: Intersil Corporation Prism 2.5 Wavelan chipset (rev 01)
0000:00:12.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/
Prior to hibernate they are properly loaded (excerpt from lsmod):
hostap_pci 60944 2
hostap 128964 1 hostap_pci
ieee80211_crypt 6848 2 hostap,
...
8139too 29568 0
8139cp 24384 0
mii 6528 2 8139too,8139cp
During hibernate both are unloaded (only hostap_pci seems to print anything):
Sep 5 10:29:25 localhost kernel: [17181025.452000] hostap_pci: Driver unloaded
but after resume from disk neither module is present in the lsmod output and network-manager cannot find any devices.
sudo modprobe hostap_pci
and
sudo modprobe 8139too
are required to restore the interfaces to their prior working order.
In case this is relevant, the /sys/class info for the drivers prior to hibernate:
ll -d /sys/class/
lrwxrwxrwx 1 root root 0 2006-09-05 12:26 /sys/class/
lrwxrwxrwx 1 root root 0 2006-09-05 12:05 /sys/class/
lrwxrwxrwx 1 root root 0 2006-09-05 12:05 /sys/class/
Attempted workarounds:
I tried adding hostap_pci to the MODULES="" line in /etc/default/
I tried adding hostap_pci to the MODULES_WHITELIST but this only caused the module to act strangely. I think it really needs to be unloaded/reloaded as designed.
I tried adding a custom script to /etc/acpi/resume.d with the command "modprobe hostap_pci" but this didn't help either.
[question: how do the resume scripts know which modules were unloaded by the suspend scripts?]
Note: this is not the same as bug 40125, which is a network-manager issue. It's possibly the same as 25614, although there's not enough detail there to tell.
Changed in acpi-support: | |
importance: | Untriaged → Medium |
status: | Unconfirmed → Confirmed |
Changed in linux-source-2.6.17: | |
status: | Invalid → Won't Fix |
More details:
acpi-support v0.85
kernel 2.6.15-26-k7