Suspend to RAM (sleep) goes to sleep but fails to wake.

Bug #20889 reported by Arthur Peters
14
Affects Status Importance Assigned to Milestone
acpi-support (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

The laptop is a Compaq Presario R3000z. With an AMD64 processor at 1.8GHz, 784MB
RAM, a GeForce4 440 Go 64MB graphics, Broadcom BCM4306 mini-PCI wireless, and
all the chitsets are nVidia nForce.

I have setup a wiki page about my breezy experiences on this laptop:
https://wiki.ubuntu.com/LaptopTestingTeam/CompaqPresarioR3000z

Suspend to RAM (sleep) goes to sleep but fails to wake. It starts to wake but
after a while the Caps-lock starts flashing which I beleave means that it
oopsed. This is true starting from X, starting from single-user mode, and
starting from single-user mode with most of the modules unloaded.

I could not capture the OOPS because it doesn't make it to disk. If there is a
way to get the OOPS I'd be willing to do it. I have a bunch of other machines so
serial console or ethernet console would be doable.

It does hibernate properly, except for USB which completely fails after restart.

lsmod:
Module Size Used by
rfcomm 37168 0
l2cap 24328 5 rfcomm
bluetooth 48964 4 rfcomm,l2cap
powernow_k8 10512 0
cpufreq_userspace 5584 1
cpufreq_stats 5896 0
freq_table 5384 2 powernow_k8,cpufreq_stats
cpufreq_powersave 2432 0
cpufreq_ondemand 7212 0
cpufreq_conservative 8236 0
pcmcia 28556 4
video 17416 0
sony_acpi 6296 0
pcc_acpi 13696 0
dev_acpi 14980 0
i2c_acpi_ec 6528 0
button 7968 0
battery 10760 0
container 5248 0
ac 5768 0
ipv6 246528 6
joydev 10880 0
af_packet 22668 2
tsdev 8960 0
pcspkr 4176 0
yenta_socket 22536 2
rsrc_nonstatic 12160 1 yenta_socket
pcmcia_core 49928 3 pcmcia,yenta_socket,rsrc_nonstatic
ohci1394 32844 0
shpchp 87976 0
pci_hotplug 28008 1 shpchp
snd_intel8x0 34688 1
snd_ac97_codec 86616 1 snd_intel8x0
snd_pcm_oss 51232 0
snd_mixer_oss 17664 1 snd_pcm_oss
snd_pcm 91020 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 24200 1 snd_pcm
snd 55784 8
snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 10912 1 snd
snd_page_alloc 11408 2 snd_intel8x0,snd_pcm
i2c_nforce2 7808 0
i2c_core 22936 2 i2c_acpi_ec,i2c_nforce2
reiserfs 223728 1
nls_iso8859_1 5760 1
nls_cp437 7424 1
vfat 14080 1
fat 51504 1 vfat
evdev 10496 1
dm_mod 54904 1
sr_mod 17188 0
sbp2 24584 0
ieee1394 101880 2 ohci1394,sbp2
rtc 13448 0
psmouse 27908 0
mousedev 12260 1
parport_pc 36328 1
lp 13576 0
parport 38540 2 parport_pc,lp
md 43904 0
ext3 127632 1
jbd 54960 1 ext3
thermal 15120 0
processor 25684 2 powernow_k8,thermal
fan 5384 0
ide_cd 40608 0
cdrom 36520 2 sr_mod,ide_cd
ide_disk 17152 5
ide_generic 1920 0
usbhid 32288 0
8139too 26496 0
8139cp 21248 0
mii 6144 2 8139too,8139cp
sata_nv 10756 0
libata 49800 1 sata_nv
scsi_mod 143984 3 sr_mod,sbp2,libata
amd74xx 15024 1
ide_core 148932 4 ide_cd,ide_disk,ide_generic,amd74xx
ehci_hcd 31752 0
ohci_hcd 20228 0
unix 28728 698
fbcon 36480 0
tileblit 2944 1 fbcon
font 9216 1 fbcon
bitblit 5760 1 fbcon
vesafb 9252 0
cfbcopyarea 4352 1 vesafb
cfbimgblt 3200 1 vesafb
cfbfillrect 4736 1 vesafb
softcursor 2944 1 vesafb
capability 6152 0
commoncap 8448 1 capability

lspci -v -v:
0000:00:00.0 Host bridge: nVidia Corporation nForce3 Host Bridge (rev a4)
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR+ FastB2B-
 Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Latency: 0
 Region 0: Memory at e8000000 (32-bit, prefetchable) [size=128M]
 Capabilities: [44] #08 [0180]
 Capabilities: [c0] AGP version 2.0
  Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3-
Rate=x1,x2,x4
  Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=x1

0000:00:01.0 ISA bridge: nVidia Corporation nForce3 LPC Bridge (rev a6)
 Subsystem: nVidia Corporation: Unknown device 0c80
 Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
 Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Latency: 0

0000:00:01.1 SMBus: nVidia Corporation nForce3 SMBus (rev a4)
 Subsystem: Hewlett-Packard Company: Unknown device 006d
 Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
 Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Interrupt: pin A routed to IRQ 10
 Region 4: I/O ports at 2040 [size=64]
 Region 5: I/O ports at 2000 [size=64]
 Capabilities: [44] Power Management version 2
  Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:02.0 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
(prog-if 10 [OHCI])
 Subsystem: nVidia Corporation: Unknown device 0c80
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
 Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Latency: 0 (750ns min, 250ns max)
 Interrupt: pin A routed to IRQ 21
 Region 0: Memory at e0000000 (32-bit, non-prefetchable) [size=4K]
 Capabilities: [44] Power Management version 2
  Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:02.1 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
(prog-if 10 [OHCI])
 Subsystem: nVidia Corporation: Unknown device 0c80
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
 Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Latency: 0 (750ns min, 250ns max)
 Interrupt: pin B routed to IRQ 20
 Region 0: Memory at e0001000 (32-bit, non-prefetchable) [size=4K]
 Capabilities: [44] Power Management version 2
  Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:02.2 USB Controller: nVidia Corporation nForce3 USB 2.0 (rev a2)
(prog-if 20 [EHCI])
 Subsystem: nVidia Corporation: Unknown device 0c80
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
 Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Latency: 0 (750ns min, 250ns max)
 Interrupt: pin C routed to IRQ 22
 Region 0: Memory at e0004000 (32-bit, non-prefetchable) [size=256]
 Capabilities: [80] Power Management version 2
  Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:06.0 Multimedia audio controller: nVidia Corporation nForce3 Audio (rev a2)
 Subsystem: Hewlett-Packard Company: Unknown device 006d
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
 Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Latency: 0 (500ns min, 1250ns max)
 Interrupt: pin A routed to IRQ 21
 Region 0: I/O ports at 1400 [size=256]
 Region 1: I/O ports at 1c00 [size=128]
 Region 2: Memory at e0002000 (32-bit, non-prefetchable) [size=4K]
 Capabilities: [44] Power Management version 2
  Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:06.1 Modem: nVidia Corporation: Unknown device 00d9 (rev a2) (prog-if 00
[Generic])
 Subsystem: Hewlett-Packard Company: Unknown device 006d
 Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
 Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Interrupt: pin B routed to IRQ 22
 Region 0: I/O ports at 1800 [size=256]
 Region 1: I/O ports at 1c80 [size=128]
 Region 2: Memory at e0003000 (32-bit, non-prefetchable) [size=4K]
 Capabilities: [44] Power Management version 2
  Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold+)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:08.0 IDE interface: nVidia Corporation nForce3 IDE (rev a5) (prog-if 8a
[Master SecP PriP])
 Subsystem: nVidia Corporation: Unknown device 0c80
 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
 Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Latency: 0 (750ns min, 250ns max)
 Region 4: I/O ports at 2080 [size=16]
 Capabilities: [44] Power Management version 2
  Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:00:0a.0 PCI bridge: nVidia Corporation nForce3 PCI Bridge (rev a2) (prog-if
00 [Normal decode])
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR+ FastB2B-
 Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Latency: 0
 Bus: primary=00, secondary=02, subordinate=02, sec-latency=128
 I/O behind bridge: 00003000-00007fff
 Memory behind bridge: e0100000-e17fffff
 BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-

0000:00:0b.0 PCI bridge: nVidia Corporation nForce3 AGP Bridge (rev a4) (prog-if
00 [Normal decode])
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR+ FastB2B-
 Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Latency: 16
 Bus: primary=00, secondary=01, subordinate=01, sec-latency=10
 Memory behind bridge: e2000000-e2ffffff
 Prefetchable memory behind bridge: f0000000-f80fffff
 BridgeCtl: Parity+ SERR+ NoISA+ VGA+ MAbort- >Reset- FastB2B-

0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Capabilities: [80] #08 [2101]

0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
 Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-

0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
 Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-

0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
 Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-

0000:01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 440 Go
64M] (rev a3) (prog-if 00 [VGA])
 Subsystem: Hewlett-Packard Company: Unknown device 006d
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
 Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Latency: 64 (1250ns min, 250ns max)
 Interrupt: pin A routed to IRQ 11
 Region 0: Memory at e2000000 (32-bit, non-prefetchable) [size=16M]
 Region 1: Memory at f0000000 (32-bit, prefetchable) [size=128M]
 Region 2: Memory at f8000000 (32-bit, prefetchable) [size=512K]
 Capabilities: [60] Power Management version 2
  Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-
 Capabilities: [44] AGP version 2.0
  Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA- ITACoh- GART64- HTrans- 64bit- FW+ AGP3-
Rate=x1,x2,x4
  Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>

0000:02:00.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000
Controller (PHY/Link) (prog-if 10 [OHCI])
 Subsystem: Hewlett-Packard Company: Unknown device 006d
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping-
SERR+ FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Latency: 64 (500ns min, 1000ns max), Cache Line Size: 0x10 (64 bytes)
 Interrupt: pin A routed to IRQ 18
 Region 0: Memory at e0108000 (32-bit, non-prefetchable) [size=2K]
 Region 1: Memory at e0100000 (32-bit, non-prefetchable) [size=16K]
 Capabilities: [44] Power Management version 2
  Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME+

0000:02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
 Subsystem: Realtek Semiconductor Co., Ltd. RT8139
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR+ FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Latency: 64 (8000ns min, 16000ns max)
 Interrupt: pin A routed to IRQ 19
 Region 0: I/O ports at 7000 [size=256]
 Region 1: Memory at e0108800 (32-bit, non-prefetchable) [size=256]
 Capabilities: [50] Power Management version 2
  Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-

0000:02:02.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless
LAN Controller (rev 03)
 Subsystem: Hewlett-Packard Company: Unknown device 12f4
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR+ FastB2B-
 Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Latency: 64
 Interrupt: pin A routed to IRQ 11
 Region 0: Memory at e0104000 (32-bit, non-prefetchable) [size=8K]

0000:02:04.0 CardBus bridge: Texas Instruments: Unknown device ac54 (rev 01)
 Subsystem: Hewlett-Packard Company: Unknown device 006d
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Latency: 168, Cache Line Size: 0x20 (128 bytes)
 Interrupt: pin A routed to IRQ 18
 Region 0: Memory at e0106000 (32-bit, non-prefetchable) [size=4K]
 Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
 Memory window 0: e0200000-e03ff000 (prefetchable)
 Memory window 1: e0400000-e05ff000
 I/O window 0: 00004000-000040ff
 I/O window 1: 00004400-000044ff
 BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+
 16-bit legacy interface ports at 0001

0000:02:04.1 CardBus bridge: Texas Instruments: Unknown device ac54 (rev 01)
 Subsystem: Hewlett-Packard Company: Unknown device 006d
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Latency: 168, Cache Line Size: 0x20 (128 bytes)
 Interrupt: pin B routed to IRQ 19
 Region 0: Memory at e0107000 (32-bit, non-prefetchable) [size=4K]
 Bus: primary=02, secondary=07, subordinate=0a, sec-latency=176
 Memory window 0: e1000000-e13ff000 (prefetchable)
 Memory window 1: e0c00000-e0fff000
 I/O window 0: 00006000-00006fff
 I/O window 1: 00005000-00005fff
 BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+
 16-bit legacy interface ports at 0001

0000:02:04.2 System peripheral: Texas Instruments: Unknown device 8201 (rev 01)
 Subsystem: Hewlett-Packard Company: Unknown device 006d
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR+ FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
 Latency: 64 (1750ns min, 1000ns max), Cache Line Size: 0x10 (64 bytes)
 Region 0: I/O ports at 7400 [size=64]
 Capabilities: [44] Power Management version 2
  Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-

Revision history for this message
Matthew Garrett (mjg59) wrote :

I'm afraid that we'll need a serial console dump. In order to get one, you'll
need a patch to your kernel - are you happy to rebuild a kernel yourself?

Revision history for this message
Arthur Peters (amp) wrote :

(In reply to comment #1)
> I'm afraid that we'll need a serial console dump. In order to get one, you'll
> need a patch to your kernel - are you happy to rebuild a kernel yourself?

Yes, but could you tell me what kernel source to start from?

Also do I simply need to turn on serial console? Or is there more?

Also can I build the kernel with simply make; make modules_install; ... Or do I
need to use make-kpkg for it to come out right? I'm not a fan of make-kpkg.

I'll get a null modem cable so I'm ready for this. ;-)

-Arthur

PS: BTW, we're lucky thing has a serial port. Laptops are bad that way sometimes.

Revision history for this message
Arthur Peters (amp) wrote :

> PS: BTW, we're lucky thing has a serial port. Laptops are bad that way sometimes.

OH, NO. The laptop doesn't have a serial port. I misremembered. It has ethernet
(RTL8139), parallel, USB, etc.

I'm going to try to do it with netconsole over my ethernet LAN.

I'm going to build a kernel from the sources in the linux-source-2.6.12 package.
I will use the exact .config except for adding netconsole and building-in my
ethernet driver.

Wish me luck!

Revision history for this message
Arthur Peters (amp) wrote :

No luck.

netconsole works, but the if the network interface is left up (as is needed by
netconsole) the system freezes on the way into suspend with the following on the
screen:

[ 290.147733] Stopping tasks: ==========|
[ 290.151845] GTM info 78,78,258,258,12
[ 290.153147] GTM info 78,14,258,258,13
[ 290.168672] ACPI: PCI interrupt for device 0000:02:04.1 disabled
[ 290.168738] ACPI: PCI interrupt for device 0000:02:04.0 disabled
[ 290.180050] codec_semaphore: semaphore is not ready [0xff][0xffffffff]
<4>[ 295.204252] NMI Watchdog detected LOCKUP on CPU0

(the last 2 lines were not transmitted over the network)

If the interface is downed then I get no messages on the way down or up, of
course, and the crash occurs the same way as usual.

Any ideas?

Is there a way to put the console on a parallel port and connect the parallel
port to another computer? Is there a driver to send console messages over a
LapLink (null-printer) cable to another computer?

Sorry for all this mail.
-Arthur

Revision history for this message
Arthur Peters (amp) wrote :

Is there any motion on this problem? Is there anything I can do to help?

I know you are busy with other preperations for the release. Sorry to bother you.
-Arthur

Revision history for this message
Matthew Garrett (mjg59) wrote :

Sorry, but (basically) we probably need to know what the kernel was doing (if
anything) when it wakes up. I appreciate that this is difficult to track down.
The one thing that's worth trying is to boot with the init=/bin/bash option on
the kernel command line, which will drop you to a shell. Suspend by doing

mount /proc
echo -n 3 >/proc/acpi/sleep

and see if it resumes without a flashing caps lock key. If so, that tells us
that the crash is probably triggered by one of the modules you normally have
loaded. Now you just need to figure out which one...

Revision history for this message
Arthur Peters (amp) wrote :

OK, I did want you said and it does the same thing: Disk light comes on, stays
that was for maybe 20sec then the capslock starts flashing.

I also tried booting with init=/bin/bash then unloading as many modules as I
could (all but the ide stuff and unix socket support). Sleep still gives the
same result.

Is there anything else to try? Is it actually possible to get oops via morse
code on the capslock light? I don't want to do that, but if that is the only
option I'll do it.

Could bypassing the initrd help?

I'm just trying yo think of things.

-Arthur

Revision history for this message
Arthur Peters (amp) wrote :

This bug is still present in Dapper Flight 2.

I will put in some more effort to try to get the oops out of the system somehow.

Revision history for this message
Len Brown (len-brown) wrote :

What is on the screen upon resume?
If you suspend in VGA mode do you see the oops?
If yes, can you take a photo of it?

Revision history for this message
Arthur Peters (amp) wrote :

The screen never shows anything and the backlight never comes on. I've looked closely to see if there is an image but no back light, but there is no image.

What do you mean by VGA mode? I've tried booting with init=/bin/bash on the kernel command line and then running "echo -n 3 > /proc/acpi/sleep" and I get the same crash.

Thanks.

Revision history for this message
Len Brown (len-brown) wrote :

Welcome to the most commonly reported
Linux suspend-to-ram bug on Earth --
no video video on resume from S3.

Note that laptops that support Linux are
required in the BIOS to restore video
on resume from S3. This of course, is
of small consolation, since almost zero
laptops _officially_ support Linux...

There are workarounds listed in the source tree
Documentation/power/video.txt that help
many systems.

http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;h=912bed87c758457b2f42b6decb1964326efce3de;hb=3ee68c4af3fd7228c1be63254b9f884614f9ebb2;f=Documentation/power/video.txt

Yes, VGA mode is what you were in when
you booted the shell -- no X is running.

I got access to a compaq presario R3000
and found the same failure as you.
Then I ran it in a docking station where i
had a serial console and that told me that
it took a machine-check-exception shortly
after resuming to the shell prompt.

Revision history for this message
Arthur Peters (amp) wrote :

There has been some changes on this problem. It can now sleep!!

Just click System -> Quit... -> Suspend on the live CD. However, this does not work in installed system. This seems to be caused by the fact that the "nvidia" kernel module is loaded in the installed version, but not in the live CD environment. Unloading it in single user or full X mode allowed suspend to work (just by clicking System -> Quit... -> Suspend).

Since by default the nvidia module is loaded but not used. I'm not sure where it is being loaded (I blacklisted it in /etc/modprobe.d/blacklist and it didn't prevent it from being loaded), but maybe it should not be loaded so as to allow suspend to work. nvidia-glx is not enabled be default anyway.

I tried to get the nvidia driver to sleep by using the NvAGP option, but it did not work.

Revision history for this message
Arthur Peters (amp) wrote :

This is fixed in Edgy RC. It suspends correctly out of the box.

Changed in acpi-support:
status: Confirmed → Fix Released
Revision history for this message
robin79 (roberto-pierpaoli-gmail) wrote :

Hi guys,

I'm not going to add anything fundamental to this topic, just something possibly usefull to other people dealing with suspend-to-ram problem: in its last post Arthur wrote

** This is fixed in Edgy RC. It suspends correctly out of the box. **

but this is just partially true. In my case I had to make some changes to /etc/modules and /etc/default/acpi-support to have my NVIDIA card correctly waken up after sesume. All those changes are perfectly documented at this link:

<a href="https://help.ubuntu.com/community/NvidiaLaptopBinaryDriverSuspend">NvidiaLaptopBinaryDriverSuspend
</a>

ATI card owners should take a look at this other link:

<a href="https://help.ubuntu.com/community/SuspendHowto">SuspendHowto</a>

I hope this will be usefull to some of you out there.

Robin79

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.