hi,
this is an HP server with 2 quad-core Xeons and 8 GB or RAM (upper 4GB
are ignored, as the dmesg informs). The changes made are: enable ipmi
(via config -ef /bsd) and kern.bufcachepercent=90 (so more than 3GB go
to the cache).
What trigerred the panic - make build. One time it was the second
build, the other time it was twentieth or something like that.
OpenBSD 4.6-current updated at 18:00 EET Dec 25.
I see on the serial console:
WARNING: SPL NOT LOWERED ON SYSCALL 16384 8 EXIT dae4560 6
Stopped at Xsyscall+0x1eb: movl $0,%gs:0x3d4
ddb{3}>
when I tried trace it said:
ddb{3}> trace
Xsyscall() at Xsyscall+0x1eb
uvm_fault(0xfffffe8011e50270, 0x4000, 0, 1) -> e
kernel: page fault trap, code=0
Faulted in DDB; continuing...
ddb{3}>
ps shows:
ddb{3}> ps
[332/15604]
PID PPID PGRP UID S FLAGS WAIT COMMAND
*22692 6765 31224 0 7 0x4002 ar
6765 28862 31224 0 3 0x2004082 pause sh
28862 27618 31224 0 3 0x2004082 wait make
27618 3978 31224 0 3 0x2004082 pause sh
3978 23392 31224 0 3 0x2004082 wait make
23392 25371 31224 0 3 0x2004082 pause sh
25371 31224 31224 0 3 0x2004082 wait make
27905 8390 31224 1000 3 0x2004082 piperd tee
31224 8390 31224 1000 3 0x2004082 pause ksh
8390 19984 8390 1000 3 0x2004082 pause ksh
18355 25915 18355 1000 3 0x2004082 poll top
25915 19984 25915 1000 3 0x2004082 pause ksh
19984 1 19984 1000 3 0x2000080 kqread tmux
13264 7012 13264 1000 3 0x2004082 kqread tmux
7012 1606 1606 1000 3 0x2000180 select sshd
1606 15113 1606 0 3 0x2004080 netio sshd
3970 1 3970 0 3 0x2004082 ttyin getty
5759 13468 5759 1000 3 0x2004082 poll top
4942 12514 4942 1000 3 0x2004082 ttyin ksh
12514 23421 23421 1000 3 0x2000180 select sshd
23421 15113 23421 0 3 0x2004180 netio sshd
12350 1 12350 0 3 0x2040180 select sendmail
29501 1 29501 0 3 0x2004082 ttyin getty
25249 1 25249 0 3 0x2004082 ttyin getty
23674 1 23674 0 3 0x2004082 ttyin getty
13468 1 13468 1000 3 0x2004082 pause ksh
11747 1 11747 0 3 0x2000080 select cron
17112 1 17112 0 3 0x2000180 select inetd
15113 1 15113 0 3 0x2000080 select sshd
4530 19150 5089 83 3 0x2000180 poll ntpd
19150 5089 5089 83 3 0x2000180 poll ntpd
5089 1 5089 0 3 0x2000080 poll ntpd
12184 16460 16460 74 3 0x2000180 bpf pflogd
16460 1 16460 0 3 0x2000080 netio pflogd
19515 30411 30411 73 2 0x2000180 syslogd
30411 1 30411 0 3 0x2000088 netio syslogd
17824 1 17824 0 3 0x2000080 mfsidl mount_mfs
5663 1 5663 0 3 0x2000080 mfsidl mount_mfs
24 0 0 0 3 0x2100200 bored crypto
23 0 0 0 3 0x2100200 aiodoned aiodoned
22 0 0 0 3 0x2100200 syncer update
21 0 0 0 3 0x2100200 cleaner cleaner
20 0 0 0 3 0x100200 reaper reaper
19 0 0 0 3 0x2100200 pgdaemon pagedaemon
18 0 0 0 3 0x2100200 pftm pfpurge
17 0 0 0 3 0x2100200 usbevt usb3
16 0 0 0 3 0x2100200 usbevt usb2
15 0 0 0 3 0x2100200 usbevt usb1
14 0 0 0 3 0x2100200 usbtsk usbtask
13 0 0 0 3 0x2100200 usbevt usb0
12 0 0 0 3 0x2100200 ipmi_poll ipmi0
11 0 0 0 3 0x2100200 acpi_idle acpi0
10 0 0 0 7 0x40100200 idle7
9 0 0 0 7 0x40100200 idle6
8 0 0 0 7 0x40100200 idle5
7 0 0 0 7 0x40100200 idle4
6 0 0 0 3 0x40100200 idle3
5 0 0 0 7 0x40100200 idle2
4 0 0 0 7 0x40100200 idle1
3 0 0 0 3 0x2100200 bored syswq
2 0 0 0 3 0x40100200 idle0
1 0 1 0 3 0x2004080 wait init
0 -1 0 0 3 0x2080200 scheduler swapper
6371 13264 13264 1000 5 0x2002 tmux
ddb{3}>
dmesg:
boot> boot
booting hd0a:/bsd: 5130632+1446285+924720+0+614048 [80+467040+297748]=0xc78d68
entry point at 0x1001e0 [7205c766, 34000004, 24448b12, 7620a304]
Ignoring 4864MB above 4GB
[ using 765640 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2009 OpenBSD. All rights reserved. http://www.OpenBSD.org
OpenBSD 4.6-current (GENERIC.MP) #0: Thu Dec 24 16:51:08 EET 2009
[email protected]:/data/.src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3487629312 (3326MB)
avail mem = 3387944960 (3230MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.31 @ 0xdc010 (57 entries)
bios0: vendor HP version "O08" date 08/13/2007
bios0: HP ProLiant DL140 G3
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP SPMI APIC MCFG BOOT SPCR SSDT
acpi0: wakeup devices BPD0(S5) BMF3(S5) P0P4(S5) P0P6(S5) PEX0(S5)
PEX1(S5) PEX2(S5) PEX3(S5) USB1(S5) USB2(S5) USB3(S5) EUSB(
S5) PCIB(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU E5345 @ 2.33GHz, 2327.80 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,S
SE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu0: 4MB 64b/line 16-way L2 cache
cpu0: apic clock running at 332MHz
cpu1 at mainbus0: apid 4 (application processor)
[13039/15623]
cpu1: Intel(R) Xeon(R) CPU E5345 @ 2.33GHz, 2327.51 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,S
SE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu1: 4MB 64b/line 16-way L2 cache
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Xeon(R) CPU E5345 @ 2.33GHz, 2327.50 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,S
SE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu2: 4MB 64b/line 16-way L2 cache
cpu3 at mainbus0: apid 5 (application processor)
cpu3: Intel(R) Xeon(R) CPU E5345 @ 2.33GHz, 2327.50 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,S
SE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu3: 4MB 64b/line 16-way L2 cache
cpu4 at mainbus0: apid 2 (application processor)
cpu4: Intel(R) Xeon(R) CPU E5345 @ 2.33GHz, 2327.50 MHz
cpu4:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,S
SE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu4: 4MB 64b/line 16-way L2 cache
cpu5 at mainbus0: apid 6 (application processor)
cpu5: Intel(R) Xeon(R) CPU E5345 @ 2.33GHz, 2327.50 MHz
cpu5:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,S
SE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu5: 4MB 64b/line 16-way L2 cache
cpu6 at mainbus0: apid 3 (application processor)
cpu6: Intel(R) Xeon(R) CPU E5345 @ 2.33GHz, 2327.50 MHz
cpu6:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,S
SE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu6: 4MB 64b/line 16-way L2 cache
cpu7 at mainbus0: apid 7 (application processor)
cpu7: Intel(R) Xeon(R) CPU E5345 @ 2.33GHz, 2327.50 MHz
cpu7:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,S
SE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu7: 4MB 64b/line 16-way L2 cache
ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins
ioapic1 at mainbus0: apid 9 pa 0xfec80000, version 20, 24 pins
acpiprt0 at acpi0: bus 1 (P0P2)
acpiprt1 at acpi0: bus 2 (BMD0)
acpiprt2 at acpi0: bus 3 (BPD0)
acpiprt3 at acpi0: bus -1 (BPD1)
acpiprt4 at acpi0: bus -1 (BPD2)
acpiprt5 at acpi0: bus 7 (BMF3)
acpiprt6 at acpi0: bus 12 (P0P4)
acpiprt7 at acpi0: bus 16 (P0P6)
acpiprt8 at acpi0: bus 0 (PCI0)
acpiprt9 at acpi0: bus 22 (PEX0)
acpiprt10 at acpi0: bus 23 (PEX1)
acpiprt11 at acpi0: bus -1 (PEX2)
acpiprt12 at acpi0: bus -1 (PEX3)
acpiprt13 at acpi0: bus 24 (PCIB)
acpicpu0 at acpi0
acpicpu1 at acpi0
acpicpu2 at acpi0
acpicpu3 at acpi0
acpicpu4 at acpi0
acpicpu5 at acpi0
acpicpu6 at acpi0
acpicpu7 at acpi0
acpibtn0 at acpi0: PWRB
ipmi0 at mainbus0: version 2.0 interface KCS iobase 0xca2/2 spacing 1
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel 5000X Host" rev 0x31
ppb0 at pci0 dev 2 function 0 "Intel 5000 PCIE x8" rev 0x31
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 "Intel 6321ESB PCIE" rev 0x01
pci2 at ppb1 bus 2
ppb2 at pci2 dev 0 function 0 "Intel 6321ESB PCIE" rev 0x01
pci3 at ppb2 bus 3
ppb3 at pci1 dev 0 function 3 "Intel 6321ESB PCIE-PCIX" rev 0x01
pci4 at ppb3 bus 7
ppb4 at pci0 dev 3 function 0 "Intel 5000 PCIE" rev 0x31
pci5 at ppb4 bus 8
ppb5 at pci0 dev 4 function 0 "Intel 5000 PCIE x16" rev 0x31: apic 8
int 16 (irq 0)
pci6 at ppb5 bus 12
ppb6 at pci6 dev 0 function 0 "ServerWorks PCIE-PCIX" rev 0xb4
pci7 at ppb6 bus 13
ppb7 at pci7 dev 4 function 0 "ServerWorks HT-1000 PCIX" rev 0xb2
pci8 at ppb7 bus 14
ciss0 at pci7 dev 8 function 0 "Hewlett-Packard Smart Array" rev 0x00:
apic 8 int 16 (irq 7)
ciss0: 1 LD, HW rev 0, FW 1.66/1.66
scsibus0 at ciss0: 1 targets
sd0 at scsibus0 targ 0 lun 0: <HP, LOGICAL VOLUME, 1.66> SCSI3 0/direct fixed
sd0: 238440MB, 512 bytes/sec, 488327040 sec total
ppb8 at pci0 dev 5 function 0 "Intel 5000 PCIE" rev 0x31: apic 8 int 16 (irq 0)
pci9 at ppb8 bus 15
ppb9 at pci0 dev 6 function 0 "Intel 5000 PCIE" rev 0x31: apic 8 int 16 (irq 0)
pci10 at ppb9 bus 16
ppb10 at pci0 dev 7 function 0 "Intel 5000 PCIE" rev 0x31: apic 8 int 16 (irq 0)
pci11 at ppb10 bus 17
pchb1 at pci0 dev 16 function 0 "Intel 5000 Error Reporting" rev 0x31
pchb2 at pci0 dev 16 function 1 "Intel 5000 Error Reporting" rev 0x31
pchb3 at pci0 dev 16 function 2 "Intel 5000 Error Reporting" rev 0x31
pchb4 at pci0 dev 17 function 0 "Intel 5000 Reserved" rev 0x31
pchb5 at pci0 dev 19 function 0 "Intel 5000 Reserved" rev 0x31
pchb6 at pci0 dev 21 function 0 "Intel 5000 FBD" rev 0x31
pchb7 at pci0 dev 22 function 0 "Intel 5000 FBD" rev 0x31
ppb11 at pci0 dev 28 function 0 "Intel 6321ESB PCIE" rev 0x09
pci12 at ppb11 bus 22
bge0 at pci12 dev 0 function 0 "Broadcom BCM5721" rev 0x11, BCM5750 B1
(0x4101): apic 8 int 16 (irq 7), address 00:1e:0b:5a:90
:a2
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb12 at pci0 dev 28 function 1 "Intel 6321ESB PCIE" rev 0x09
pci13 at ppb12 bus 23
bge1 at pci13 dev 0 function 0 "Broadcom BCM5721" rev 0x11, BCM5750 B1
(0x4101): apic 8 int 17 (irq 11), address 00:1e:0b:5a:9
0:a3
brgphy1 at bge1 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
uhci0 at pci0 dev 29 function 0 "Intel 6321ESB USB" rev 0x09: apic 8
int 23 (irq 5)
uhci1 at pci0 dev 29 function 1 "Intel 6321ESB USB" rev 0x09: apic 8
int 23 (irq 5)
uhci2 at pci0 dev 29 function 2 "Intel 6321ESB USB" rev 0x09: apic 8
int 23 (irq 5)
ehci0 at pci0 dev 29 function 7 "Intel 6321ESB USB" rev 0x09: apic 8
int 23 (irq 5)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb13 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xd9
pci14 at ppb13 bus 24
vga1 at pci14 dev 2 function 0 "Matrox MGA G200e (ServerEngines)" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 31 function 0 "Intel 6321ESB LPC" rev 0x09
pciide0 at pci0 dev 31 function 1 "Intel 6321ESB IDE" rev 0x09: DMA,
channel 0 configured to compatibility, channel 1 configur
ed to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <TEAC, DV-W28ECWS, G.S0> ATAPI 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: channel 1 ignored (disabled)
ichiic0 at pci0 dev 31 function 3 "Intel 6321ESB SMBus" rev 0x09: apic
8 int 19 (irq 10)
iic0 at ichiic0
iic0: skipping sensors to avoid ipmi0 interactions
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
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
mtrr: Pentium Pro MTRR support
uhidev0 at uhub3 port 1 configuration 1 interface 0 "ServerEngines SE
USB Device" rev 1.10/0.01 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub3 port 1 configuration 1 interface 1 "ServerEngines SE
USB Device" rev 1.10/0.01 addr 2
uhidev1: iclass 3/1
ums0 at uhidev1: 8 buttons, Z dir
wsmouse0 at ums0 mux 0
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
root on sd0a swap on sd0b dump on sd0b
WARNING: / was not properly unmounted