Public bug reported:

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/8139C/8139C+ (rev 10)

Prior to hibernate they are properly loaded (excerpt from lsmod):

hostap_pci             60944  2
hostap                128964  1 hostap_pci
ieee80211_crypt         6848  2 hostap,ieee80211_crypt_ccmp
...
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/net/*/device/driver
lrwxrwxrwx 1 root root 0 2006-09-05 12:26 /sys/class/net/eth0/device/driver -> 
../../../bus/pci/drivers/8139too
lrwxrwxrwx 1 root root 0 2006-09-05 12:05 /sys/class/net/wifi0/device/driver -> 
../../../bus/pci/drivers/hostap_pci
lrwxrwxrwx 1 root root 0 2006-09-05 12:05 /sys/class/net/wlan0/device/driver -> 
../../../bus/pci/drivers/hostap_pci

Attempted workarounds:

I tried adding hostap_pci to the MODULES="" line in /etc/default/acpi-
support but it didn't change anything (module still unloaded prior to
hibernate and not reloaded).

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.

** Affects: acpi-support (Ubuntu)
     Importance: Untriaged
         Status: Unconfirmed

-- 
resume from disk fails to reload network drivers
https://launchpad.net/bugs/59077

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to