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 16, 10:20pm, jpb%jimby.name@localhost ("Jim B.") wrote:
-- Subject: Re: install/50554: panic on install with qemu 2.4.0  (amd64 insta

| * Christos Zoulas <christos%zoulas.com@localhost> [2015-12-14 21:40]:
| > The following reply was made to PR install/50554; it has been noted by GNATS.
| > 
| > From: christos%zoulas.com@localhost (Christos Zoulas)
| > To: gnats-bugs%NetBSD.org@localhost, install-manager%netbsd.org@localhost, 
| > 	gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
| > Cc: 
| > Subject: Re: install/50554: panic on install with qemu 2.4.0  (amd64 install)
| > Date: Mon, 14 Dec 2015 21:35:07 -0500
| > 
| >  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
| >  
| 
| Helly Christos,
| 
| The command "ident /netbsd | grep bus_dma" returns the following:
| 
|   $NetBSD: bus_cma.c,v 1.71 2013/12/24 15:42:56 christos Exp $
|   $NetBSD: ttm_bus_dma.c,v 1.1 2014/07/16 20:59:58 riastradh Exp $
| 
| 
| I've applied your earlier guidance about reducing the amount of memory on the
| initial install to 2048M.  This works for now and will be sufficient
| for me to get the BSDCG Study DVD out the door this week.
| 
| We update the DVD when new releases come out so, if there is a new fix
| it will be in the next issue of the DVD.  However, if this is a critical
| bug that would impact the operation of NetBSD *after* the install,
| please advise and we will take action to update as soon as possible.
| 
| Thanks for your assistance!

You should update if you are going to use NetBSD under qemu; the version
of bus_dma.c in the branch is:

    $NetBSD: bus_dma.c,v 1.71.4.1 2015/11/08 00:31:00 riz Exp $

christos


Home | Main Index | Thread Index | Old Index