On Sat, Sep 20, 2014 at 11:41:38PM +1000, Darren Tucker wrote:
> This is qemu/kvm on a linux host. It has previously worked fine.
> There's a similar panic in the mp kernel which I can also capture if
> it'll help.
I was able to bring it up in single-user enough to ifconfig the network
up, cvs up and build a kernel and reproduce the panic with -current.
booting hd0a:/bsd: 9826364+1062060 [72+404160+397896]=0xb263d4
entry point at 0x200120
[ using 802540 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-2014 OpenBSD. All rights reserved. http://www.OpenBSD.org
OpenBSD 5.6-current (GENERIC) #5: Sun Sep 21 00:02:11 AEST 2014
dtucker@:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: QEMU Virtual CPU version 1.0 ("GenuineIntel" 686-class) 2.67 GHz
cpu0:
FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,PGE,CMOV,MMX,FXSR,SSE,SSE2,SS,SSE3,VMX,CX16,LAHF,PERF
real mem = 536367104 (511MB)
avail mem = 515198976 (491MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/23/99, BIOS32 rev. 0 @ 0xfd4cf, SMBIOS
rev. 2.4 @ 0xf19c0 (10 entries)
bios0: vendor Bochs version "Bochs" date 01/01/2011
bios0: Bochs Bochs
acpi0 at bios0: rev 0
acpi0: sleep states S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
mpbios at bios0 function 0x0 not configured
bios0: ROM list: 0xc0000/0x9000 0xc9000/0xa00 0xca000/0x2400 0xe9800/0x6800!
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
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)
atapiscsi0 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <QEMU, QEMU DVD-ROM, 1.0> ATAPI 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x03: irq 9
iic0 at piixpm0
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)
virtio0 at pci0 dev 4 function 0 "Qumranet Virtio Network" rev 0x00: Virtio
Network Device
vio0 at virtio0: address 52:54:00:f6:02:ea
virtio0: irq 11
virtio1 at pci0 dev 5 function 0 "Qumranet Virtio Storage" rev 0x00: Virtio
Block Device
vioblk0 at virtio1
scsibus2 at vioblk0: 2 targets
sd0 at scsibus2 targ 0 lun 0: <VirtIO, Block Device, > SCSI3 0/direct fixed
sd0: 16384MB, 512 bytes/sector, 33554432 sectors
virtio1: irq 10
virtio2 at pci0 dev 6 function 0 "Qumranet Virtio Memory" rev 0x00: Virtio
Memory Balloon Device
viomb0 at virtio2
virtio2: irq 10
virtio3 at pci0 dev 7 function 0 "Qumranet Virtio Storage" rev 0x00: Virtio
Block Device
vioblk1 at virtio3
scsibus3 at vioblk1: 2 targets
sd1 at scsibus3 targ 0 lun 0: <VirtIO, Block Device, > SCSI3 0/direct fixed
sd1: 16384MB, 512 bytes/sector, 33554432 sectors
virtio3: irq 11
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 1: density unknown
nvram: invalid checksum
vscsi0 at root
scsibus4 at vscsi0: 256 targets
softraid0 at root
scsibus5 at softraid0: 256 targets
root on sd0a (1afc9f32ece695a9.a) swap on sd0b dump on sd0b
clock: unknown CMOS layout
/etc/rc: no closing quote
Automatic boot in progress: starting file system checks.
/dev/rsd0a: file system is clean; not checking
/dev/rsd1a: 652784 files, 3280489 used, 4881422 free (220318 frags, 582638
blocks, 2.7% fragmentation)
/dev/rsd1a: MARKING FILE SYSTEM CLEAN
setting tty flags
pf enabled
ddb.console: 0 -> 1
kern.splassert: 1 -> 2
starting network
/etc/netstart: no closing quote
WARNING: /etc/hostname.vio0 is insecure, fixing permissions
starting early daemons: syslogd unbound(failed) iscsiduvm_fault(0xd0ba3ac0,
0x0, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at scsi_plug_detach+0x12: movl 0x18(%eax),%edx
ddb> trace
scsi_plug_detach(d5d4f000,0,0,0,ffffffff) at scsi_plug_detach+0x12
taskq_thread(d0b3f120) at taskq_thread+0x30
Bad frame pointer: 0xd0d28e08
ddb> ps
PID PPID PGRP UID S FLAGS WAIT COMMAND
23286 1161 25586 0 2 0x1 sh
1161 493 25586 0 3 0x8b pause sh
493 25586 25586 0 3 0x8b pause sh
5822 2735 2735 73 2 0x10 syslogd
2735 1 2735 0 3 0x80 netio syslogd
25586 1 25586 0 3 0x8b pause sh
29273 0 0 0 3 0x14200 aiodoned aiodoned
30151 0 0 0 3 0x14200 syncer update
20867 0 0 0 3 0x14200 cleaner cleaner
26030 0 0 0 3 0x14200 reaper reaper
28852 0 0 0 3 0x14200 pgdaemon pagedaemon
11150 0 0 0 3 0x14200 bored crypto
3220 0 0 0 3 0x14200 pftm pfpurge
4177 0 0 0 3 0x14200 bored viomb
13201 0 0 0 3 0x40014200 acpi0 acpi0
32054 0 0 0 3 0x14200 bored systqmp
* 3329 0 0 0 7 0x14200 systq
18205 0 0 0 3 0x14200 bored syswq
30993 0 0 0 3 0x40014200 idle0
28372 0 0 0 3 0x14200 kmalloc kmthread
1 0 1 0 2 0x82 init
0 -1 0 0 3 0x10200 scheduler swapper
ddb>
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.