Red Hat Bugzilla – Bug 51407
Ethernet fails after APM resume on Dell Inspiron 8000 (A12 BIOS)
Last modified: 2005-10-31 17:00:50 EST
Description of Problem:
On the Dell Inspiron 8000 laptop, PCI config space for the PCI bridges and
eepro100 are lost after an APM suspend. Noting the contents of the config
space before suspend and restoring the appropriate parts (BARs, command
reg, latency regs etc.) after resume fixes the problem.
PCI drivers should probably each have a pair of suspend/resume methods
which save and restore the useful registers.
Can be fixed trivially
We (Red Hat) should really fix this before next release.
Fixed in 2.4.7-0.13.1
Now APM suspend works, but only after we've successfully done a suspend-to-disk.
The kernel seems to be unconditionally enabling the local APIC, even when
'noapic' is passed on the command line. The command line parsing and DMI scan
are done after the local APIC is set up.
Disabling CONFIG_X86_UP_IOAPIC fixes this. The BIOS was evidently failing to
deal correctly with the local apic. The kernel's suspend/resume methods for the
local apic weren't being registered, because that part of the setup _was_
prevented by the lack of 'apic' on the command line.
Worked around in 2.4.7-2.4, real fix pending
Created attachment 28273 [details]
Nicer trigger for forcing the config space restore