Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Running NetBSD-current under qemu-nvmm
Update - it now works fine for me.
On Tue, 23 Apr 2019 at 17:35, Piotr Meyer <aniou%smutek.pl@localhost> wrote:
>
> On Wed, Apr 17, 2019 at 01:13:50PM +0100, Chavdar Ivanov wrote:
> [...]
>
> > The problem I am having is with NetBSD-current, amd64. I am able to
> > install it and run it with the default accelleration, which is
> > obviously very slow (perhaps 20-30 times, I haven't measured). If I
> > use nvmm, I consistently get a panic as follows:
> > ....
> > Making device nodes ...
> > [ 141.4547199] fatal protection fault in supervisor mode
> > [ 141.4547199] trap type 4 code 0 rip 0xffffffff8021e0ea cs 0x8
> > rflags 0x10246 cr2 0x7bcebdf892b0 ilevel 0x8 rsp 0xffff83802b513f98
> > [ 141.4547199] curlwp 0xfffff0e0f6350240 pid 118.1 lowest kstack
> > 0xffff83802b5102c0
> > kernel: protection fault trap, code=0
> > Stopped in pid 118.1 (sh) at netbsd:xrstor+0xa [xsave]
> > db{0}> bt
> > xrstor() at netbsd:xrstor+xa
> > cpu_switchto() at netbsd:cpu_switchto+0xb1
> > db{0}>
> > ....
>
> I can confirm identical behaviour, although in my case panic starts
> immediately after issuing any command (ls, dmesg) from shell called
> from utility menu:
>
> # ls
> [ 18.7037883] fatal protection fault in supervisor mode
> [ 18.7037883] trap type 4 code 0 rip 0xffffffff8021e0ea cs 0x8 rflags 0x10246
> cr2 0x7b3566556000 ilevel 0x8 rsp 0xffffb20032d32f98
> [ 18.7037883] curlwp 0xfffffdfebae57a60 pid 17.1 lowest
> kstack 0xffffb20032d2f2c0
> kernel: protection fault trap, code=0
> Stopped in pid 17.1 (sh) at netbsd:xrstor+0xa: fxsavel
> db{0}> bt
> xrstor() at netbsd:xrstor+0xa
> cpu_switchto() at netbsd:cpu_switchto+0xb1
> db{0}>
>
> Host kernel:
> NetBSD szpak.local 8.99.37 NetBSD 8.99.37 (GENERIC) #1: Fri Apr 19 19:53:45 CEST 2019
> aniou@szpak.local:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
>
> Guest:
> NetBSD-current, booted from NetBSD-8.99.37-amd64.iso (2019-04-20)
>
> Qemu parameters:
> qemu-system-x86_64 \
> -netdev tap,id=n0,ifname=tap0,script=no,downscript=no \
> -device virtio-net-pci,netdev=n0 \
> -device virtio-scsi-pci \
> -drive file=/vm/test.qcow2.img,if=none,id=hd0,format=qcow2 \
> -device scsi-hd,drive=hd0 \
> -m 1024M \
> -k en-us \
> -accel nvmm \
> -display curses \
> -cdrom /home/aniou/Downloads/NetBSD-8.99.37-amd64.iso
>
>
> --
> Piotr 'aniou' Meyer
--
----
Home |
Main Index |
Thread Index |
Old Index