tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

8.0 crash inside KVM



I don't know if a panic in a VM should be reported to gnats. I'm sending
the report to tech-kern instead.

I successfully installed 8.0_BETA amd64 GENERIC, which I downloaded from

https://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-8/201802240710Z/images/

inside ProxMox kvm and rebooted it a couple of times. But on the
last reboot, the kernel stuck at something and I sent a reboot from
the console. A bit later it panicked.

Their noVNC console doesn't support copy/paste. The information below is 
incomplete and may be inaccurate.

Mutex error: mutex_destroy,387: assertion failed: !MUTEX_OWNED(mtx->mtx_owner) & !MUTEX_HAS_WAITERS(mtx)

lock address: 0xfffffe81dbfaa0a0
current cpu :                  1
current lwp : 0xfffffe81bdff94a0
owner field : 0xffffffff81481c60 wait/spin:           0/0

...

trap type 1 code 0 rip 0xffffffff80224d95 cs 0x8 rflags 0x246 cr2 0 ilevel 0 rsp 0xfffffe810aeccc60
curlwp 0xfffffe81bdff94a0 pid 0.15 lowest kstack 0xfffffe810aec92c0
Stopped in pid 0.15 (system) at netbsd:breakpoint+0x5: leave

breakpoint() at netbsd:breakpoint+0x5
vpanic() at netbsd:vpanic+x0140
snprintf() at netbsd:snprintf
lockdebug_abort() at netbsd:lockdebug_abort+x06e
mutex_destroy() at netbsd:mutex_destroy+0x3d
disk_destroy() at netbsd:disk_destroy+0x18
wddetach() at netbsd:wddetach+0x10c
config_detach() at netbsd:config_detach+0x10b
config_detach_all() at netbsd:config_detach_all+0x97
cpu_reboot() at netbsd:cpu_reboot+0x173
sysmon_pswitch_event() at netbsd:sysmon_pswitch_event+0x14e
sysmon_task_queue_thread() at netbsd:sysmon_task_queue_thread+x044


Some bits from dmesg:

ahcisata0 at pci0 dev 7 function 0: vendor 8086 product 2922 (rev 0x02)
ahcisata0: interrupting at ioapic0 pin 11
ahcisata0: 64-bit DMA
ahcisata0: AHCI revision 1.0, 6 ports, 32 slots, CAP 0xc0141f05<SAM,ISS=0x1=Gen1,SNCQ,S64A>
atabus2 at ahcisata0 channel 0
atabus3 at ahcisata0 channel 1

...

ahcisata0 port 0: device present, speed: 1.5Gb/s
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <QEMU CD-ROM, QM00003, 2.5+> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2 (using DMA)
uhub0: device problem, disabling port 1
acpi0: power button pressed, shutting down!
syncing disks ... done
cd0: detached
midi0: detached
sysbeep0: detached
atapibus0: detached
pci2: detached
pci1: detached
wd0 at atabus2 drive 0
wd0: <QEMU HARDDISK>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 128 GB, 266305 cyl, 16 head, 63 sec, 512 bytes/sect x 268435456 sectors
wd0(ahcisata0:0:0) using PIO mode 4, DMA mode 2, Ultra DMA mode 5 (Ultra/100) (using DMA)
atabus7: detached
pad0: output 44100Hz, 16-bit, stereo
audio0 at pad0: half duplex, playback, capture, mmap
pad0: Virtual format configured - Format SLINEAR, precision 16, channels 2, frequency 44100
pad0: Latency: 139 milliseconds
spkr1 at audio0: PC speaker (synthesized)
atabus6: detached
atabus5: detached
atabus4: detached
atabus3: detached
atabus1: detached
atabus0: detached
WARNNG: 1 error while detecting hardware; check system log.
ppb1: detached
boot device: wd0
ppb0: detached
root on wd0a dumps on wd0bpchb0: detached

Skipping crash dump on recursive panic


Alex


Home | Main Index | Thread Index | Old Index