Hello,
After updating to OpenBSD 5.2, my notebook locks up after returning
from
stand-by mode quite often. I've seen it lock up about 4 or 5 times
since
updating to 5.2 on 1st November. Before 5.2 suspend worked perfectly.
apmd(8) is running with flag "-C", and I suspend computer by running
"apm -S".
Here's ddb output after it locks up (sorry for formatting, I had to OCR
photos of screen as "boot dump" didn't work after it locked up):
System will enter standby mode momentarily.
uvm_fault(0xd6b99504, 0xcfc30000, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at pmap_extract+0x3f: movl 0(%eax,%edx,4),%ebx
ddb{1} trace
pmap_extract(d62c60dc,c375000,f5f6ff28,d09cdf00,d0af7514) at
pmap_extract +0x3f
uvn_fault(d6b99504,c378000,0,1,8bc90f6c) at uvm_fault+0x248
trap() at trap+0x3d3
--- trap (number 0) ---
0x4:
ddb{1}> ps
PID PPID PGRP U ID S FLAGS WAIT COMMAND
17480 20981 20981 1000 3 8x4100080 thrsleep chrome
9424 20981 20981 1000 3 8x4100080 thrsleep chrome
38540 20981 20981 1000 3 8x4100080 kqread chrome
25192 20981 20981 1000 2 8x480 chrome
28191 1 20981 1000 3 8x4100080 thrsleep chrome
11283 1 20981 1000 3 8x4100080 thrsleep chrome
14540 1 20981 1000 3 8x4100080 thrsleep chrome
17588 1 20981 1000 3 8x4100080 thrsleep chrome
21047 1 20981 1000 3 8x4100080 thrsleep chrome
14339 1 20981 1000 3 8x4100080 thrsleep chrome
11329 13249 16921 1000 3 0x80 ttyin more
13249 16921 16921 1000 3 0x88 pause sh
16921 12339 16921 1000 3 0x80 uia it man
12339 564 12339 1000 3 0x88 pause ksh
564 14473 14473 1000 3 0x80 select urxvt
14473 10587 14473 1000 3 0x88 pause ksh
10154 31495 18154 1000 3 0x80 ttyin ksh
31495 4939 4939 1000 3 0x80 select urxvt
4939 10587 4939 1000 3 0x80 pause ksh
9581 2984 9581 1000 3 0x80 poll mutt
2984 1938 1938 1000 3 0x80 select urxvt
2984 1938 1938 1000 3 0x80 select urxvt
1938 10587 1938 1000 3 0x88 pause ksh
20186 2935 28186 1000 2 0x80 ping
11589 4703 11589 1000 3 0x80 poll mutt
4703 18803 18803 1000 3 0x80 select urxvt
18803 10587 18803 1000 3 0x88 pause ksh
13357 1 20981 1000 3 0x4100080 thrsleep chrome
3459 1 20981 1800 3 0x4100080 thrsleep chrome
31596 1 20981 1000 3 0x4100080 thrsleep chrome
30102 24581 30102 1000 3 0x80 select ssh
24581 29120 24581 1000 3 0x88 pause ksh
29128 13024 13824 1000 3 0x80 select urxvt
13024 10587 13824 1000 3 0x88 pause ksh
7638 30063 7638 1000 3 0x80 select ssh
30063 28675 38863 1000 3 0x88 pause ksh
20675 22314 22314 1000 3 0x80 select urxvt
22314 10587 22314 1000 3 0x88 pause ksh
7588 1 7588 1000 3 0x80 select ssh
22350 1 22350 77 3 0x80 poll dhclient
19222 1 20392 0 3 0x80 poll dhclient
27193 20981 20981 1000 3 0x4100080 thrsleep chrome
18758 20981 20981 1000 3 0x4100080 thrsleep chrome
23962 20981 20981 1000 3 0x4100080 kqread chrome
8247 20981 20981 1000 2 0x480 chrome
2935 4072 2935 1000 3 0x88 pause ksh
4072 19372 19372 1000 3 0x80 select urxvt
19372 10587 19372 1000 3 0x88 pause ksh
11092 9622 11892 1000 3 0x80 ttyin ksh
9622 9562 9562 1000 3 0x80 select urxvt
9562 10587 9562 1000 3 0x88 pause ksh
7216 31919 7216 1000 3 0x80 ttyin ksh
31919 18410 18410 1000 3 0x80 select urxvt
18410 10587 18410 1000 3 0x88 pause ksh
15695 1 20981 1000 3 0x4100080 thrsleep chrome
14523 1 25918 0 3 0x4100080 netio aiccu
26857 1 25918 0 3 0x4100080 tunread aiccu
25918 1 25918 0 3 0x80 nanosleep aiccu
28385 1 28385 620 3 0x80 kqread adsuck
15050 20981 20981 1000 3 0x4100080 thrsleep chrome
7418 20981 20981 1000 3 0x4100080 thrsleep chrome
10053 20981 20981 1000 3 0x4100080 kqread chrome
1280 20981 20981 1000 2 0x480 chrome
*26881 1519 1519 1000 7 0x4100000 xmms
671 1519 1519 1000 2 0x4100480 xmms
18523 1519 1519 1000 2 0x480 xmms
1519 10587 1519 1000 3 0x88 pause ksh
1772 20981 20981 1000 3 0x4100080 thrsleep chrome
12719 20981 20981 1000 3 0x4100080 thrsleep chrome
22327 20981 20981 1000 3 0x4100080 kqread chrome
5565 20981 20981 1000 3 0x80 thrsleep chrome
22079 20981 20981 1000 3 0x4100080 thrsleep chrome
24251 20981 20981 1000 3 0x4100080 thrsleep chrome
2129 20981 20981 1000 3 0x4100080 kqread chrome
14291 20981 20981 1000 3 0x80 thrsleep chrome
25178 1 10570 1000 3 0x4100080 thrsleep firefox
10435 1 10570 1000 3 0x4100080 thrsleep firefox
15745 2891 15745 1000 3 0x80 ttyin ksh
2891 24722 24722 1000 3 0x80 select urxvt
24722 10587 24722 1000 3 0x88 pause ksh
16688 20981 20981 1000 3 0x4100080 thrsleep chrome
13984 20981 20981 1000 3 0x4100080 thrsleep chrome
19245 20981 20981 1000 3 0x4100080 kqread chrome
25043 20981 20981 1000 3 0x80 thrsleep chrome
4592 1 10570 1000 3 0x4100080 thrsleep firefox
4157 1 18570 1000 3 0x4100080 thrsleep firefox
10942 20981 20981 1000 3 0x4100080 thrsleep chrome
3701 20981 20981 1000 3 0x4100080 thrsleep chrome
5265 20981 20981 1000 3 0x4100080 kqread chrome
30174 20981 20981 1000 3 0x80 thrsleep chrome
9077 20981 20981 1000 2 0x4100480 chrome
1500 20981 20981 1000 3 0x4100080 kqread chrome
24224 20981 20981 1000 3 0x80 poll chrome
442 1 442 1000 3 0x80 poll
dbus-daemon
12802 1 20981 1000 3 0x80 select
dbus-launch
4998 1 20981 1000 3 0x4100080 thrsleep chrome
13512 1 20981 1000 3 0x4100080 thrsleep chrome
17676 1 20981 1000 3 0x4100080 thrsleep chrome
5375 1 20981 1000 2 0x4100480 chrome
24225 1 20981 1000 3 0x4100080 kqread chrome
22240 1 20981 1000 3 0x4100080 thrsleep chrome
29406 1 20981 1000 3 0x4100080 thrsleep chrome
3304 1 20981 1000 3 0x4100080 kqread chrome
25154 1 20981 1000 3 0x4100080 thrsleep chrome
278 1 20981 1000 3 0x4100080 thrsleep chrome
21170 1 20981 1000 3 0x4100080 piperd chrome
12287 1 20981 1000 3 0x4100080 thrsleep chrome
20981 1 20981 1000 3 0x80 poll chrome
18008 1 10570 1000 3 0x4100080 thrsleep firefox
4809 1 10570 1000 3 0x4100080 thrsleep firefox
13722 1 10570 1000 3 0x4100080 thrsleep firefox
16473 1 10570 1000 3 0x4100080 thrsleep firefox
10890 1 10570 1000 3 0x4100080 thrsleep firefox
15366 1 10570 1000 3 0x4100080 thrsleep firefox
12619 1 10570 1000 3 0x4100080 thrsleep firefox
26575 1 10570 1000 3 0x4100080 thrsleep firefox
29306 1 10570 1000 3 0x4100080 thrsleep firefox
21663 1 10570 1000 3 0x4100080 thrsleep firefox
3025 1 10570 1000 3 0x4100080 thrsleep firefox
15301 1 10570 1000 3 0x4100080 poll firefox
21288 1 10570 1000 3 0x4100080 thrsleep firefox
10781 1 10570 1000 3 0x4100080 kqread firefox
10570 1 10570 1000 3 0x80 poll firefox
17991 1 17991 1000 3 0x80 select
fetchnail
15987 10587 18587 1000 3 0x80 select xidle
10587 21009 18587 1000 3 0x80 select fluxbox
25626 32380 32380 1000 3 0x80 netio Xorg
32380 21009 32380 1000 3 0x80 select Xorg
21009 4453 21009 1000 3 0x80 wait xinit
29127 1 29127 0 3 0x80 ttyin getty
6001 1 6001 0 3 0x80 ttyin getty
792 1 792 0 3 0x80 ttyin getty
20037 1 20037 0 3 0x80 ttyin getty
4453 1 4453 1000 3 0x88 pause ksh
20654 1 20654 0 3 0x80 select cron
4902 1 4902 0 3 0x80 htplev hotplugd
24264 1 24264 0 2 0x480 apmd
1518 0 0 0 3 0x100200 bored srdis
21646 1 21646 99 3 0x80 poll sndiod
18173 29969 29969 95 3 0x80 kqread smtpd
10558 29969 29969 95 3 0x80 kqread smtpd
16454 29969 29969 95 3 0x80 kqread smtpd
13829 29969 29969 95 3 0x80 kqread smtpd
17969 29969 29969 95 3 0x80 kqread smtpd
20959 29969 29969 95 3 0x80 kqread smtpd
458 29969 29969 95 3 0x80 kqread smtpd
28285 29969 29969 95 3 0x80 kqread smtpd
29969 1 29969 0 2 0x480 smtpd
18174 2221 20828 83 3 0x80 poll ntpd
2221 20828 20828 83 3 0x80 poll ntpd
20828 1 20828 0 3 0x80 poll ntpd
38398 10130 10130 74 7 0x480 pflogd
10130 1 10130 0 3 0x80 netio pflogd
9955 4353 4353 73 2 0x80 syslogd
4353 1 4353 0 3 0x80 netio syslogd
17 0 0 0 3 0x100200 aiodoned aiodoned
16 0 0 0 2 0x100200 update
15 0 0 0 3 0x100200 cleaner cleaner
14 0 0 0 3 0x100200 reaper reaper
13 0 0 0 3 0x100200 pgdaemon
pagedaemon
12 0 0 0 3 0x100200 bored crypto
11 0 0 0 2 0x100600 pfpurge
10 0 0 0 2 0x100200 sdmmc0
9 0 0 0 2 0x100200 usbtask
8 0 0 0 3 0x100200 usbatsk usbatsk
7 0 0 0 3 0x100200 bored intelrel
6 0 0 0 3 0x100200 acpiec acpi0
5 0 0 0 7 0x40100200 idle1
4 0 0 0 2 0x100200 syswq
3 0 0 0 3 0x40100200 idle0
2 0 0 0 3 0x100200 kmalloc kmthread
1 0 1 0 3 0x80 wait init
0 -1 0 0 3 0x200 scheduler swapper
ddb{1}> show registers
ds 0x10
es 0x10
fs 0x20
gs 0
edi 0xd62c60dc end+0x57cc2d8
esi 0xc375000
ebp 0xf5f6fdfc
ebx 0
edx 0xc375
ecx 0x5
eax 0xcfc00000 PTmap
eip 0xd057cf3f pmap_extract+0x3f
cs 0x8
eflags 0x10202
esp 0xf5f6fde4
ss 0x10
pmap_extract+0x3f: movl 0(%eax,%edx,4),%ebx
ddb{1}>
OpenBSD 5.2 (GENERIC.MP) #339: Wed Aug 1 10:13:24 MDT 2012
[email protected]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz ("GenuineIntel" 686-class)
1.83 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM
real mem = 1063383040 (1014MB)
avail mem = 1035128832 (987MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/21/06, BIOS32 rev. 0 @
0xfd580, SMBIOS rev. 2.4 @ 0xdc010 (29 entries)
bios0: vendor Phoenix version "1.10" date 07/21/2006
bios0: FUJITSU SIEMENS 00000000000000000
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC BOOT MCFG APIC SSDT
acpi0: wakeup devices LID_(S3) HDEF(S3) PXS1(S4) PXS2(S4) PXS3(S4)
LANC(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU T2400 @ 1.83GHz ("GenuineIntel" 686-class)
1.83 GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEGP)
acpiprt2 at acpi0: bus 1 (RP01)
acpiprt3 at acpi0: bus 3 (RP02)
acpiprt4 at acpi0: bus 5 (RP03)
acpiprt5 at acpi0: bus 7 (PCIB)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpitz0 at acpi0: critical temperature is 100 degC
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: SLPB
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT1 model "MWL32b" serial type LION oem "SIMPLO"
acpibtn2 at acpi0: LID_
acpidock0 at acpi0: DCK1 not docked (0)
acpivideo0 at acpi0: VGA_
acpivideo1 at acpi0: GFX0
bios0: ROM list: 0xc0000/0xe600! 0xdc000/0x4000!
cpu0: Enhanced SpeedStep 1830 MHz: speeds: 1833, 1333, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82945GM Video" rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xc0000000, size 0x10000000
inteldrm0 at vga1: apic 1 int 16
drm0 at inteldrm0
"Intel 82945GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02:
msi
azalia0: codecs: Conexant CX20549
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 1
int 17
pci1 at ppb0 bus 1
wpi0 at pci1 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02:
msi, MoW2, address 00:18:de:6d:d2:c0
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 1
int 16
pci2 at ppb1 bus 3
ppb2 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 1
int 18
pci3 at ppb2 bus 5
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 1
int 23
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 1
int 19
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 1
int 18
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 1
int 16
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 1
int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci4 at ppb3 bus 7
fxp0 at pci4 dev 8 function 0 "Intel PRO/100 VM" rev 0x02, i82562: apic
1 int 20, address 00:16:36:e6:18:43
inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0
"Ricoh 5C832 Firewire" rev 0x00 at pci4 dev 9 function 0 not configured
sdhc0 at pci4 dev 9 function 1 "Ricoh 5C822 SD/MMC" rev 0x19: apic 1
int 21
sdmmc0 at sdhc0
"Ricoh 5C843 MMC" rev 0x01 at pci4 dev 9 function 2 not configured
"Ricoh 5C592 Memory Stick" rev 0x0a at pci4 dev 9 function 3 not
configured
"Ricoh 5C852 xD" rev 0x05 at pci4 dev 9 function 4 not configured
ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM
disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <Optiarc, DVD RW AD-7540A, 1.42> ATAPI
5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ahci0 at pci0 dev 31 function 2 "Intel 82801GBM AHCI" rev 0x02: msi,
AHCI 1.1
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, FUJITSU MHV2100B, 0000> SCSI3
0/direct fixed t10.ATA_FUJITSU_MHV2100BH_NWAQT6525SGK
sd0: 95396MB, 512 bytes/sector, 195371568 sectors
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: apic
1 int 19
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM non-parity PC2-4200CL5
SO-DIMM
spdmem1 at iic0 addr 0x52: 512MB DDR2 SDRAM non-parity PC2-4200CL5
SO-DIMM
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pms0: Synaptics touchpad, firmware 5.10
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (a331fbcc996eb8ea.a) swap on sd0b dump on sd0b
WARNING: / was not properly unmounted
softraid0: sd1 was not shutdown properly
softraid0: sd1 was not shutdown properly
sd1 at scsibus3 targ 1 lun 0: <OPENBSD, SR CRYPTO, 005> SCSI2 0/direct
fixed
sd1: 78753MB, 512 bytes/sector, 161287473 sectors
Thanks,
Karlis