Dan Cross
2017-05-15 14:28:42 UTC
Synopsis: init dies causing kernel panic on virtualized hosts.
Category: system
System : OpenBSD 6.1Category: system
Details : OpenBSD 6.1 (GENERIC) #6: Sat May 6 09:33:26 CEST
2017
***@syspatch-61-amd64.openbsd.org:
/usr/src/sys/arch/amd64/compile/GENERIC
Architecture: OpenBSD.amd64
Machine : amd64
Kernel panics under moderate/heavy load when running under a
hypervisor (I believe my VPS provider is using Xen); init(8)
dies and the machine panics. `boot sync` does not work and
the filesystem requires manual fsck on reboot.
I have not seen this on harware.
Console data from the panic is as follows:
: tempest; cat panic
coredump of syslogd(94574), write failed: errno 14
coredump of init(1), write failed: errno 14
panic: init died (signal 10, exit 0)
Stopped at Debugger+0x9: leave
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*285197 1 0 0x802 0x2000 0 init
Debuggger() at Debugger+0x9
panic() at panic+0xfe
exit1() at exit1+0x58d
trapsignal() at trapsignal+0x110
trap() at trap+0x309
--- trap (number 4) ---
end of kernel
end trace fram: 0xff, count: 10
0x18057281cfdc
https://www.openbsd.org/ddb.html describes the minimum info
required in bug
reports. Insufficient info makes it difficult to find and fix bugs.
ddb>
: tempest;
Run some CPU/memory intensive workload; for example, rebuilding
the Go compiler and toolchain. Occasionally the system will
survive,
but gets into a state where processes are dying.
Unknown.
dmesg:
OpenBSD 6.1 (GENERIC) #6: Sat May 6 09:33:26 CEST 2017
***@syspatch-61-amd64.openbsd.org:/usr/src/sys/arch/
amd64/compile/GENERIC
real mem = 520093696 (496MB)
avail mem = 499785728 (476MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xeb01f (10 entries)
bios0: vendor Xen version "3.4.4" date 07/15/2016
bios0: Xen HVM domU
acpi0 at bios0: rev 2
acpi0: sleep states S3 S4 S5
acpi0: tables DSDT FACP APIC
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 11, 48 pins
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU L5640 @ 2.27GHz, 2267.15 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
CMOV,PAT,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,SSSE3,CX16,SSE4.
1,SSE4.2,POPCNT,HV,NXE,LONG,LAHF
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C1(@1 halt!)
"PNP0F13" at acpi0 not configured
"PNP0303" at acpi0 not configured
"PNP0700" at acpi0 not configured
"PNP0501" at acpi0 not configured
"PNP0400" at acpi0 not configured
pvbus0 at mainbus0: Xen 3.4
xen0 at pvbus0: features 0x5, 32 grant table frames, event channel 2
"vkbd" at xen0: device/vkbd/0 not configured
"vfb" at xen0: device/vfb/0 not configured
xbf0 at xen0 backend 0 channel 4: disk
scsibus1 at xbf0: 2 targets
sd0 at scsibus1 targ 0 lun 0: <Xen, file hda 768, 0000> SCSI3 0/direct fixed
sd0: 20480MB, 512 bytes/sector, 41943040 sectors
xnf0 at xen0 backend 0 channel 5: address 00:16:3e:15:9a:43
xnf1 at xen0 backend 0 channel 6: address 00:16:3e:48:5b:04
"console" at xen0: device/console/0 not configured
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02
pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00
pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA, channel
0 wired to compatibility, channel 1 wired to compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 disabled (no drives)
piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x01: SMBus
disabled
vga1 at pci0 dev 2 function 0 "Cirrus Logic CL-GD5446" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
xspd0 at pci0 dev 3 function 0 "XenSource Platform Device" rev 0x01: apic 1
int 28
isa0 at pcib0
isadma0 at isa0
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: density unknown
fd1 at fdc0 drive 1: density unknown
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (e0bfc277bba6b729.a) swap on sd0b dump on sd0b
usbdevs:
usbdevs: no USB controllers found