NetBSD-Bugs archive

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

install/50554: panic on install with qemu 2.4.0 (amd64 install)



>Number:         50554
>Category:       install
>Synopsis:       panic on install with qemu 2.4.0  (amd64 install)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 15 01:40:00 +0000 2015
>Originator:     Jim B.
>Release:        NetBSD 7.0 RELEASE
>Organization:
BSD Certification Group
>Environment:
NetBSD 7.0 NetBSD 7.0 (GENERIC.201509250726Z) amd64
>Description:
 
Panic on NetBSD 7.0 install using option 3 (no SMP, no ACPI)
qemu-system-x86_64  (details below)
 
db{0} bt
memcpy() at netbsd:memcpy+0x14
ld_virtio_start() at netbsd:ld_virtio_start+0x14b
ldstart() at netbsd:ldstart+0x6b
ldstrategy() at netbsd:ldstrategy+0x101
bdev_strategy() at netbsd:bdev_strategy+0x5b
spec_strategy() at netbsd:spec_strategy+0x2c
VOP_STRATEGY() at netbsd:VOP_STRATEGY+0x33
bwrite() at netbsd:bwrite+0x16f
VOP_BWRITE at netbsd:VOP_BWRITE+0x30
ffs_nodealloccg() at netbsd:ffs_nodealloccg+0x5c4
ffs_hashalloc() at netbsd:ffs_hashalloc+0x2b
ffs_valloc() at netbsd:ffs_valloc+0x108
ufs_makeinode() at netbsd:ufs_makeinode+0x5e
ufs_create() at netbsd:ufs_create+0x5b
VOP_CREATE() at netbsd:VOP_CREATE+0x38
vn_open() at netbsd:vn_open+0x330
do_open() at netbsd:do_open+0x111
do_sys_openat() at netbsd:do_sys_openat+0x68
sys_open() at netbsd:sys_open+0x24
syscall() at netbsd:syscall+0x9a
--- syscall (number 5) ---
7f7ff703c40a:
db{0}>
-------------
 
qemu-img command line:
 
qemu-img create -f raw -o size=15G,preallocation=full  nbsd_QA_hda.img
-------------
 
 
QEMU command line  (run under sudo)
 
#!/bin/sh
/usr/local/bin/qemu-system-x86_64 -monitor none \
  -cpu Broadwell \
  -vga cirrus \
  -m 4096      \
  -localtime \
  -cdrom /usr/home/jpb/ISO/NBSD/7.0/NetBSD-7.0-amd64.iso \
  -boot order=cd,menu=on \
  -drive if=none,id=drive0,cache=none,aio=native,format=raw,file=/usr/home/jpb/VM.OFF/nbsd_QA_hda.img \
  -device virtio-blk,drive=drive0  \
  -net nic,vlan=0,macaddr=00:d4:3b:55:00:32 \
  -net tap,script=no,ifname=tap8,downscript=no -name "nbsd_QA"
 
----------
 
hardware is a Lenovo T530 with 16G ram
>How-To-Repeat:

install from .iso as shown above
>Fix:
A workaround was noted on #netbsd - use less memory.  Apprently the panic happens on a buffer copy.

By changing my qemu memory parameter to 

  -m 1024

I was able to avoid the panic and boot the system.



Home | Main Index | Thread Index | Old Index