NetBSD-Bugs archive

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

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



On Dec 15,  1:40am, jpb%jimby.name@localhost (jpb%jimby.name@localhost) wrote:
-- Subject: install/50554: panic on install with qemu 2.4.0  (amd64 install)

| 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

Yes, this has to do with bounce buffer handling which is broken in -7.
It is supposed to be fixed with this pullup:

https://releng.netbsd.org/cgi-bin/req-7.cgi?show=1011

What does: "ident /netbsd | grep bus_dma" say? Do you have the updated
version?

christos


Home | Main Index | Thread Index | Old Index