NetBSD-Bugs archive

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

kern/56701: paninc on ufs2 while running on QEMU 6.2.0



>Number:         56701
>Category:       kern
>Synopsis:       paninc on ufs2 while running on QEMU 6.2.0
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 09 16:35:00 +0000 2022
>Originator:     sergio lenzi
>Release:        9.99.93  on i386
>Organization:
k1 systems
>Environment:
NetBSD i386.netbsd 9.99.93 NetBSD 9.99.93 (LZT9) #0: Wed Nov 17 23:32:44 -03 2021  NetBSD@VMS.lenzicasa:/home/NetBSD/BUILD/9/i386/OBJ/sys/arch/i386/compile/GENERIC i386
>Description:
The system on the HOST runs NetBSD on 9.99.93 amd64. it is an amd 8350 with 32gb of memory and runs several qemu vms...  some with archlinux, some FreeBSD. Now I am trying to run a NetBSD-i386-9.99.93 it installs ok from the ISO, the system boots, enter internet...

The same configurtion runs OK on NetBSDD-9.2_STABLE i386, something is wrong, there is a race condition on ufs2 FS... only on HEAD

the qemu script:  adjust DISK and ISO image...

qemu-system-i386 -m 4g -accel nvmm \
        -cpu core2duo -smp cpus=4 -m 4g \
        -drive if=virtio,format=${FORMAT},file=${DISK} \
        -device virtio-rng-pci,rng=viornd0 \
        -object rng-random,filename=/dev/urandom,id=viornd0 \
        -netdev tap,id=${IFACE},ifname=${IFACE},script=no \
        -device virtio-net-pci,netdev=${IFACE} \
        -cdrom ${ISO}

It does not matter the disk format, size... it always crash

>How-To-Repeat:
The problem is that after download the pkgsrc. when I try to build the first packagee (pkg-tools/cwrapper)  the system panics IN THE VM, with a message about the null in inode name.  I am not being able to collect the kernel crash.

create disk image:  qemu-image -f raw 128G DISK_IMAGE.raw

run the qemu script
>Fix:



Home | Main Index | Thread Index | Old Index