This is anita version 2.15 Using pexpect version 4.9.0 /usr/pkg/bin/anita \ --workdir=/bracket/riscv-riscv64/test/2025.02.28.16.08.19/anita \ --structured-log-file=/bracket/riscv-riscv64/test/2025.02.28.16.08.19/test.slog \ --vmm-args= test \ file:///bracket/riscv-riscv64/test/2025.02.28.16.08.19/release/release/riscv-riscv64/ QEMU emulator version 9.1.2 Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developers qemu path: /usr/pkg/bin/qemu-system-riscv64 qemu package: qemu-9.1.2nb1 glib2 package: glib2-2.82.2 qemu-system-riscv64 \ -m 256 \ -drive file=/bracket/riscv-riscv64/test/2025.02.28.16.08.19/anita/wd0.img,format=raw,media=disk,snapshot=on,if=none,id=hd0 \ -device virtio-blk-device,drive=hd0 \ -nographic \ -drive file=/bracket/riscv-riscv64/test/2025.02.28.16.08.19/anita/tests-results.img,format=raw,media=disk,snapshot=off,if=none,id=hd1 \ -device virtio-blk-device,drive=hd1 \ -M virt \ -append root=dk1 \ -kernel /bracket/riscv-riscv64/test/2025.02.28.16.08.19/anita/netbsd-GENERIC64 child pid is 11653 OpenSBI v1.5.1 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : riscv-virtio,qemu Platform Features : medeleg Platform HART Count : 1 Platform IPI Device : aclint-mswi Platform Timer Device : aclint-mtimer @ 10000000Hz Platform Console Device : uart8250 Platform HSM Device : --- Platform PMU Device : --- Platform Reboot Device : syscon-reboot Platform Shutdown Device : syscon-poweroff Platform Suspend Device : --- Platform CPPC Device : --- Firmware Base : 0x80000000 Firmware Size : 327 KB Firmware RW Offset : 0x40000 Firmware RW Size : 71 KB Firmware Heap Offset : 0x49000 Firmware Heap Size : 35 KB (total), 2 KB (reserved), 11 KB (used), 21 KB (free) Firmware Scratch Size : 4096 B (total), 416 B (used), 3680 B (free) Runtime SBI Version : 2.0 Domain0 Name : root Domain0 Boot HART : 0 Domain0 HARTs : 0* Domain0 Region00 : 0x0000000000100000-0x0000000000100fff M: (I,R,W) S/U: (R,W) Domain0 Region01 : 0x0000000010000000-0x0000000010000fff M: (I,R,W) S/U: (R,W) Domain0 Region02 : 0x0000000002000000-0x000000000200ffff M: (I,R,W) S/U: () Domain0 Region03 : 0x0000000080040000-0x000000008005ffff M: (R,W) S/U: () Domain0 Region04 : 0x0000000080000000-0x000000008003ffff M: (R,X) S/U: () Domain0 Region05 : 0x000000000c400000-0x000000000c5fffff M: (I,R,W) S/U: (R,W) Domain0 Region06 : 0x000000000c000000-0x000000000c3fffff M: (I,R,W) S/U: (R,W) Domain0 Region07 : 0x0000000000000000-0xffffffffffffffff M: () S/U: (R,W,X) Domain0 Next Address : 0x0000000080200000 Domain0 Next Arg1 : 0x000000008fe00000 Domain0 Next Mode : S-mode Domain0 SysReset : yes Domain0 SysSuspend : yes Boot HART ID : 0 Boot HART Domain : root Boot HART Priv Version : v1.12 Boot HART Base ISA : rv64imafdch Boot HART ISA Extensions : sstc,zicntr,zihpm,zicboz,zicbom,sdtrig,svadu Boot HART PMP Count : 16 Boot HART PMP Granularity : 2 bits Boot HART PMP Address Bits: 54 Boot HART MHPM Info : 16 (0x0007fff8) Boot HART Debug Triggers : 2 triggers Boot HART MIDELEG : 0x0000000000001666 Boot HART MEDELEG : 0x0000000000f0b509 ------------ NetBSD start sp: 0x0000_0000_80c0_2000 pc: 0x0000_0000_8020_0080 hart: 0x0000_0000_0000_0000 dtb: 0x0000_0000_8fe0_0000 l1: 0x0000_0000_80c0_b000 l2: 0x0000_0000_80c0_a000 uspace: 0x0000_0000_80c0_0000 bootstk: 0x0000_0000_80c0_2000 vtopdiff:0xffff_ffbf_7fe0_0000 bss: 0x0000_0000_80b5_6e24 - 0x0000_0000_80c0_c000 l2pde: 0x0000_0000_80c0_a800: 0x0000_0000_2030_2c01 kern: 0x0000_0000_80c0_b000: 0x0000_0000_2008_00ef kern: 0x0000_0000_80c0_b008: 0x0000_0000_2010_00ef kern: 0x0000_0000_80c0_b010: 0x0000_0000_2018_00ef kern: 0x0000_0000_80c0_b018: 0x0000_0000_2020_00ef kern: 0x0000_0000_80c0_b020: 0x0000_0000_2028_00ef kern: 0x0000_0000_80c0_b028: 0x0000_0000_2030_00ef kern: 0x0000_0000_80c0_b030: 0x0000_0000_2038_00ef kern: 0x0000_0000_80c0_b038: 0x0000_0000_2040_00ef kern: 0x0000_0000_80c0_b040: 0x0000_0000_2048_00ef kern: 0x0000_0000_80c0_b048: 0x0000_0000_2050_00ef kern: 0x0000_0000_80c0_b050: 0x0000_0000_2058_00ef kern: 0x0000_0000_80c0_b058: 0x0000_0000_2060_00ef kern: 0x0000_0000_80c0_b060: 0x0000_0000_2068_00ef kern: 0x0000_0000_80c0_b068: 0x0000_0000_2070_00ef kern: 0x0000_0000_80c0_b070: 0x0000_0000_2078_00ef kern: 0x0000_0000_80c0_b078: 0x0000_0000_2080_00ef dtb: 0x0000_0000_80c0_b080: 0x0000_0000_23f8_00e7 PM [ 1.0000000] FDT<0xffffffc002000000> [ 1.0000000] devmap 0xffffffc000822610 [ 1.0000000] bootstrap [ 1.0000000] stdout [ 1.0000000] fdt size 2000/1368 [ 1.0000000] consinit ok [ 1.0000000] NetBSD/riscv (fdt) booting ... [ 1.0000000] FDT /memory @ 0x80000000 size 0x10000000 [ 1.0000000] init_riscv: memory start 80000000 end 90000000 (len 10000000) [ 1.0000000] cpu_kernel_vm_init: kernel phys start 0x80200000 end 0x80c00000 [ 1.0000000] cpu_kernel_vm_init: init phys start 0x80c00000 end 0x80c0c000 [ 1.0000000] dm: 0xffffffc000a0ac10 : 0x200000e7 [ 1.0000000] bootargs: root=dk1 [ 1.0000000] msgbufaddr = 0xffffffe08fff0000 [ 1.0000000] ------------------------------------------ [ 1.0000000] kern_vtopdiff = 0xffffffbf7fe00000 [ 1.0000000] memory_start = 0x 80000000 [ 1.0000000] memory_end = 0x 90000000 [ 1.0000000] memory_size = 0x 10000000 [ 1.0000000] kernstart_phys = 0x 80200000 [ 1.0000000] kernend_phys = 0x 80c00000 [ 1.0000000] msgbufaddr = 0xffffffe08fff0000 [ 1.0000000] VM_MIN_KERNEL_ADDRESS = 0xffffffc000000000 [ 1.0000000] kernstart_mega = 0xffffffc000000000 [ 1.0000000] kernstart = 0xffffffc000000000 [ 1.0000000] kernend = 0xffffffc000a00000 [ 1.0000000] kernend_mega = 0xffffffc000a00000 [ 1.0000000] VM_MAX_KERNEL_ADDRESS = 0xffffffd000000000 [ 1.0000000] pmap_direct_base = 0xffffffe000000000 [ 1.0000000] ------------------------------------------ [ 1.0000000] adding 0x80060000 - 0x80200000 to freelist 0 [ 1.0000000] adding 0x80c0c000 - 0x8fe00000 to freelist 0 [ 1.0000000] adding 0x8fe02000 - 0x8fff0000 to freelist 0 [ 1.0000000] common cpusets bs_pde 0xffffffc000a0a000 ASID max ffff kcpusets nkmempages limits: ffffffc004000000 - ffffffd000000000 [ 1.0000000] kva : ffffffc004000000 - ffffffc019400000 [ 1.0000000] mpstart [ 1.0000000] Loaded initial symtab at 0xffffffc00085c7e0, strtab at 0xffffffc0008eebb0, # entries 23694 [ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, [ 1.0000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, [ 1.0000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, [ 1.0000000] 2024, 2025 [ 1.0000000] The NetBSD Foundation, Inc. All rights reserved. [ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993 [ 1.0000000] The Regents of the University of California. All rights reserved. [ 1.0000000] NetBSD 10.99.12 (GENERIC64) #0: Sat Mar 1 07:47:14 UTC 2025 [ 1.0000000] root@babylon5.netbsd.org:/tmp/build/2025.02.28.16.08.19-riscv-riscv64/obj/sys/arch/riscv/compile/GENERIC64 [ 1.0000000] total memory = 251400 KB [ 1.0000000] avail memory = 243044 KB [ 1.0000000] mainbus0 (root) [ 1.0000000] simplebus0 at mainbus0: riscv-virtio,qemu [ 1.0000000] cpus0 at simplebus0 [ 1.0000000] simplebus1 at simplebus0 [ 1.0000000] simplebus2 at simplebus0 [ 1.0000000] simplebus3 at simplebus0 [ 1.0000000] cpu0 at cpus0: vendor 0 arch 0 imp. 0 [ 1.0000000] intc0 at cpu0: local interrupt controller [ 1.0000000] syscon0 at simplebus1: System Controller Registers [ 1.0000000] plic0 at simplebus1: RISC-V PLIC (95 IRQs) [ 1.0000000] /poweroff at simplebus0 not configured [ 1.0000000] /reboot at simplebus0 not configured [ 1.0000000] /pmu at simplebus0 not configured [ 1.0000000] qemufwcfg0 at simplebus0 [ 1.0000000] /flash@20000000 at simplebus0 not configured [ 1.0000000] gfrtc0 at simplebus1: Google Goldfish RTC + timer [ 1.0000000] gfrtc0: using as Time of Day Register. [ 1.0000000] com0 at simplebus1: ns16550a, 16-byte FIFO [ 1.0000000] com0: console [ 1.0000000] com0: interrupting on plic0 irq 10 [ 1.0000000] virtio0 at simplebus1 [ 1.0000000] virtio0: VirtIO-MMIO-v1 [ 1.0000000] virtio0: block device (id 2, rev. 0x00) [ 1.0000000] ld4 at virtio0: features: 0x10002e54 [ 1.0000000] ld4: max 254 segs of max 65536 bytes [ 1.0000000] virtio0: interrupting on plic0 irq 8 [ 1.0000000] ld4: 1536 MB, 3120 cyl, 16 head, 63 sec, 512 bytes/sect x 3145728 sectors [ 1.0000000] virtio1 at simplebus1 [ 1.0000000] virtio1: VirtIO-MMIO-v1 [ 1.0000000] virtio1: block device (id 2, rev. 0x00) [ 1.0000000] ld5 at virtio1: features: 0x10002e54 [ 1.0000000] ld5: max 254 segs of max 65536 bytes [ 1.0000000] virtio1: interrupting on plic0 irq 7 [ 1.0000000] ld5: 100 MB, 203 cyl, 16 head, 63 sec, 512 bytes/sect x 204800 sectors [ 1.0000000] virtio2 at simplebus1 [ 1.0000000] virtio2: VirtIO-MMIO-v1 [ 1.0000000] virtio3 at simplebus1 [ 1.0000000] virtio3: VirtIO-MMIO-v1 [ 1.0000000] virtio4 at simplebus1 [ 1.0000000] virtio4: VirtIO-MMIO-v1 [ 1.0000000] virtio5 at simplebus1 [ 1.0000000] virtio5: VirtIO-MMIO-v1 [ 1.0000000] virtio6 at simplebus1 [ 1.0000000] virtio6: VirtIO-MMIO-v1 [ 1.0000000] virtio7 at simplebus1 [ 1.0000000] virtio7: VirtIO-MMIO-v1 [ 1.0000000] /soc/clint@2000000 at simplebus1 not configured [ 1.0000000] pcihost0 at simplebus1: Generic PCI host controller [ 1.0000000] pci0 at pcihost0 bus 0 [ 1.0000000] vendor 1b36 product 0008 (host bridge) at pci0 dev 0 function 0 not configured [ 1.0000000] WARNING: system needs entropy for security; see entropy(7) [ 1.0000030] cpu_boot_secondary_processors: starting secondary processors [ 1.0000030] cpu_boot_secondary_processors: secondary processors hatched. 1 running [ 1.0197231] dk0 at ld4: "EFI", 163840 blocks at 32768, type: msdos [ 1.0197231] dk1 at ld4: "netbsd-root", 2940928 blocks at 196608, type: ffs [ 1.0763802] swwdog0: software watchdog initialized [ 1.0763802] boot device: [ 1.0763802] root on dk1 [ 1.1063979] mountroot: trying lfs... [ 1.1104436] mountroot: trying ffs... [ 1.1104436] root file system type: ffs [ 1.1104436] kern.module.path=/stand/riscv/10.99.12/modules [ 1.1249232] init: copying out path `/sbin/init' 11 Sat Mar 1 07:57:21 UTC 2025 Starting root file system check: /dev/rdk1: file system is clean; not checking Not resizing / (NAME=netbsd-root): already correct size Starting devpubd. [ 4.4883833] entropy: best effort Setting sysctl variables: ddb.onpanic: 1 -> 0 Starting file system checks: /dev/rdk0: 49 files, 80246 free (80246 clusters) rndctl: no entropy in seed Waiting for entropy...done Setting tty flags. Starting network. Hostname: riscv64 IPv6 mode: host Configuring network interfaces:. Adding interface aliases:. Waiting for duplicate address detection to finish... Starting dhcpcd. Starting mdnsd. mDNSResponder: Default: mDNSResponder (Engineering Build) starting [ 10.0678581] pid 570 (mdnsd), uid 0: exited on signal 6 (core dumped) Building databases: dev[ 10.7800738] pid 621 (dev_mkdb), uid 0: exited on signal 6 (core dumped) [1] Abort trap (core dumped) "${@}" , dev[ 10.8819420] pid 617 (dev_mkdb), uid 0: exited on signal 6 (core dumped) [1] Abort trap (core dumped) "${@}" , utmp, utmpx, services[ 11.8519600] pid 622 (services_mkdb), uid 0: exited on signal 6 (core dumped) [1] Abort trap (core dumped) "${@}" . Starting syslogd. Mounting all file systems... Clearing temporary files. Checking quotas: done. Setting securelevel: kern.securelevel: 0 -> 1 Starting virecover. Starting local daemons:. Updating motd. Starting ntpd. [1] Abort trap (core dumped) "${keygen}" -t "${type}" ${bitarg} -f "${f}" -... [1] Abort trap (core dumped) "${keygen}" -t "${type}" ${bitarg} -f "${f}" -... [1] Abort trap (core dumped) "${keygen}" -t "${type}" ${bitarg} -f "${f}" -... Starting sshd. sshd: no hostkeys available -- exiting. /etc/rc.d/sshd exited with code 1 Starting postfix. postfix/postlog: starting the Postfix mail system Starting inetd. Starting cron. The following components reported failures: /etc/rc.d/sshd See /var/run/rc.log for more information. Sat Mar 1 07:58:07 UTC 2025 NetBSD/riscv (riscv64) (constty) login: NetBSD/riscv (riscv64) (constty) login: root Mar 1 07:58:08 riscv64 login: ROOT LOGIN (root) on tty constty Last login: Sat Mar 1 07:56:26 2025 on constty Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025 The NetBSD Foundation, Inc. All rights reserved. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. NetBSD 10.99.12 (GENERIC64) #0: Sat Mar 1 07:47:14 UTC 2025 Welcome to NetBSD! This is a development snapshot of NetBSD for testing -- user beware! Bug reports: https://www.NetBSD.org/support/send-pr.html Donations to the NetBSD Foundation: https://www.NetBSD.org/donations/ -- UNSAFE KEYS WARNING: The ssh host keys on this machine have been generated with not enough entropy configured, so they may be predictable. To fix, follow the "Adding entropy" section in the entropy(7) man page. After this machine has enough entropy, re-generate the ssh host keys by running: /etc/rc.d/sshd keyregen We recommend that you create a non-root account and use su(1) for root access. riscv64# exec /bin/sh riscv64# PS1='anita-root-shell-prom''pt-1740815889.428165# ' anita-root-shell-prompt-1740815889.428165# df -k | sed 's/^/df-pre-test /'; mkdi r /tmp/tests && cd /usr/tests && { atf-run; echo $? >/tmp/tests/test.status; } | tee /tmp/tests/test.tps | atf-report -o ticker:- -o ticker:/tmp/tests/test.txt -o xml:/tmp/tests/test.xml; (cd /tmp && for f in /usr/share/xsl/atf/tests-result s.xsl /usr/share/xml/atf/tests-results.dtd /usr/share/examples/atf/tests-results .css; do cp $f tests/; done;); { cd /tmp && test `du -sk tests | awk '{print $1} '` -lt 90000 && test `>'; expected start of test program df-post-test Filesystem 1K-blocks Used Avail %Cap Mounted on df-post-test /dev/dk1 1435576 1024080 339720 75% / df-post-test /dev/dk0 81269 1023 80246 1% /boot df-post-test ptyfs 1 1 0 100% /dev/pts df-post-test procfs 4 4 0 100% /proc df-post-test tmpfs 62848 0 62848 0% /var/shm ps-post-test UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND ps-post-test 0 0 0 0 125 0 0 8060 uvm DKl ? 0:01.64 [system] ps-post-test 0 1 0 6523 84 0 11692 1708 wait Ss ? 0:00.20 init ps-post-test 35 241 467 1024 85 0 12344 1444 poll I ? 0:00.03 dhcpcd: [control proxy] ps-post-test 0 316 1 0 85 0 11512 968 devmon Is ? 0:00.02 /sbin/devpubd ps-post-test 35 467 1 1024 85 0 12344 1740 poll I ? 0:00.06 dhcpcd: [manager] [ip4] [ip6] ps-post-test 35 551 467 1272 85 0 12344 1476 poll I ? 0:00.03 dhcpcd: [network proxy] ps-post-test 0 552 467 1024 85 0 12404 1596 poll I ? 0:00.04 dhcpcd: [privileged proxy] ps-post-test 0 598 1 0 85 0 17164 2432 kqueue Ss ? 0:00.12 /usr/sbin/syslogd -s ps-post-test 0 1006 1 0 85 0 17164 16568 pause Ss ? 0:00.71 /usr/sbin/ntpd -p /var/run/ntpd.pid -g ps-post-test 0 1150 1 9633 83 0 11648 1468 kqueue Ss ? 0:00.03 /usr/sbin/inetd -l ps-post-test 12 1202 1581 9668 83 0 20152 5192 kqueue S ? 0:00.20 qmgr -l -t unix -u ps-post-test 12 1428 1581 9073 83 0 20112 5168 kqueue S ? 0:00.20 pickup -l -t unix -u ps-post-test 0 1432 1 7226 84 0 11868 1568 nanoslp Ss ? 0:00.04 /usr/sbin/cron ps-post-test 0 1581 1 8479 83 0 19980 2740 kqueue Ss ? 0:00.13 /usr/libexec/postfix/master -w ps-post-test 0 687 1312 26595 29 0 11932 1860 - O+ tty00 0:00.06 ps -glaxww ps-post-test 0 786 1 14974 28 5 28340 14704 - RN tty00- 0:12.26 /usr/sbin/makemandb -Q ps-post-test 0 1312 1497 25571 81 0 12420 2260 wait R tty00 0:00.41 /bin/sh ps-post-test 0 1497 1 8745 83 0 18440 6812 wait Ss tty00 0:00.56 login 4096 bytes per page 1 page color 60779 pages managed 22869 pages free 16804 pages active 0 pages inactive 0 pages paging 4143 pages wired 1 reserve pagedaemon pages 5 reserve kernel pages 2071 boot kernel pages 8527 kernel pool pages 9034 anonymous pages 8318 cached file pages 3610 cached executable pages 256 minimum free pages 341 target free pages 20259 maximum wired pages 0 swap devices 0 swap pages 0 swap pages in use 0 swap allocations 139959 total faults taken 5222 traps 7806 device interrupts 24365 CPU context switches 10323 software interrupts 241835 system calls 0 pagein requests 0 pageout requests 0 pages swapped in 0 pages swapped out 537 forks total 133 forks blocked parent 133 forks shared address space with parent 94872 pagealloc desired color avail 0 pagealloc desired color not avail 0 pagealloc local cpu avail 94872 pagealloc local cpu not avail 0 faults with no memory 0 faults with no anons 0 faults had to wait on pages 0 faults found released page 358 faults relock (358 ok) 55402 anon page faults 0 anon retry faults 15319 amap copy faults 30219 neighbour anon page faults 183077 neighbour object page faults 50631 locked pager get faults 358 unlocked pager get faults 41343 anon faults 14059 anon copy on write faults 37431 object faults 13200 promote copy faults 30557 promote zero fill faults 0 faults upgraded lock 0 faults couldn't upgrade lock 0 times daemon wokeup 0 revolutions of the clock hand 0 pages freed by daemon 0 pages scanned by daemon 0 anonymous pages scanned by daemon 0 object pages scanned by daemon 0 pages reactivated 0 pages found busy by daemon 0 total pending pageouts 0 pages deactivated 88 per-cpu stats synced 11 anon pages possibly dirty 9023 anon pages dirty 0 anon pages clean 560 file pages possibly dirty 200 file pages dirty 11168 file pages clean 279761 total name lookups 220996 good hits 1798 negative hits 48 bad hits 0 false hits 56919 miss 0 too long 15109 pass2 hits 15347 2passes 63 reverse hits 0 reverse miss 0 access denied cache hits (78% pos + 0% neg) system 5% per-process deletions 0%, falsehits 0%, toolong 0% anita-root-shell-prompt-1740815889.428165# echo exit_status=$?= exit_status=134= anita-root-shell-prompt-1740815889.428165# halt Mar 1 07:58:27 riscv64 halt: halted by root Mar 1 07:58:27 riscv64 syslogd[598]: Exiting on signal 15 [ 82.4222389] syncing disks... done [ 82.4423044] unmounting file systems... [ 82.4423044] unmounting 0xffffffe08c554000 /var/shm (tmpfs)... [ 82.4622690] unmounting 0xffffffe08c56c000 /proc (procfs)... [ 82.4622690] unmounting 0xffffffe08c560000 /dev/pts (ptyfs)... [ 82.4622690] unmounting 0xffffffe08caa4000 /boot (/dev/dk0)... [ 82.4622690] unmounting 0xffffffe08e466000 / (/dev/dk1)... [ 83.3380186] unmounting done [ 83.3416139] Trapframe @ 0xffffffc029e97ab0 (cause=15 (store page fault), status=0x120, pc=0xffffffc00042e6f8, va=0x20): [ 83.3416139] ra =0xffffffc00042e6e6 sp =0xffffffc029e97bd0 gp =0xffffffc000956640 [ 83.3416139] tp =0xffffffc029e97be0 t0 = 0x5 t1 = 0x1 t2 = 0x222 [ 83.3416139] s0 =0xffffffc029e97c20 s1 =0xffffffe08010b000 a0 =0xffffffe08fe6f300 a1 =0xffffffc004000000 [ 83.3416139] a2 = 0x1 a3 = 0x2 a4 = 0 a5 = 0 [ 83.3416139] a6 = 0 a7 =0xffffffffffffffff s2 =0xffffffe08ff527c0 s3 = 0x4 [ 83.3416139] s4 = 0 s5 =0xffffffe08fe5d340 s6 = 0 s7 =0xffffffe08fe5d598 [ 83.3416139] s8 = 0 s9 = 0 s10= 0 s11= 0 [ 83.3416139] t3 =0xffffffc029e979ff t4 = 0xa t5 = 0 t6 = 0x63 [ 83.3551549] Skipping crash dump on recursive panic [ 83.3551549] panic: cpu_trap: fatal kernel trap [ 83.3551549] cpu0: Begin traceback... [ 83.3551549] have_addr: true [ 83.3551549] addr: ffffffc029e97900 [ 83.3551549] count: 65535 [ 83.3551549] modif: [ 83.3551549] trace fp ffffffc029e97900 [ 83.3551549] fp ffffffc029e97940 vpanic() at ffffffc0003391e8 netbsd:vpanic+0x13c [ 83.3551549] fp ffffffc029e97960 panic() at ffffffc00033928a netbsd:panic+0x24 [ 83.3551549] fp ffffffc029e97ab0 cpu_trap() at ffffffc00001631a netbsd:cpu_trap+0x33e [ 83.3551549] tf ffffffc029e97ab0 exception_kernexit() at ffffffc00000f4e0 netbsd:cpu_exception_handler+0x98 [ 83.3551549] ---- trapframe 0xffffffc029e97ab0 (288 bytes) ---- [ 83.3551549] Trapframe @ 0xffffffc029e97ab0 (cause=15 (store page fault), status=0x120, pc=0xffffffc00042e6f8, va=0x20): [ 83.3551549] ra =0xffffffc00042e6e6 sp =0xffffffc029e97bd0 gp =0xffffffc000956640 [ 83.3551549] tp =0xffffffc029e97be0 t0 = 0x5 t1 = 0x1 t2 = 0x222 [ 83.3736753] s0 =0xffffffc029e97c20 s1 =0xffffffe08010b000 a0 =0xffffffe08fe6f300 a1 =0xffffffc004000000 [ 83.3736753] a2 = 0x1 a3 = 0x2 a4 = 0 a5 = 0 [ 83.3736753] a6 = 0 a7 =0xffffffffffffffff s2 =0xffffffe08ff527c0 s3 = 0x4 [ 83.3736753] s4 = 0 s5 =0xffffffe08fe5d340 s6 = 0 s7 =0xffffffe08fe5d598 [ 83.3736753] s8 = 0 s9 = 0 s10= 0 s11= 0 [ 83.3736753] t3 =0xffffffc029e979ff t4 = 0xa t5 = 0 t6 = 0x63 [ 83.3736753] ------------------------------------------------ [ 83.3736753] fp ffffffc029e97c20 ld_virtio_vq_done1() at ffffffc00042e6f8 netbsd:ld_virtio_vq_done1+0xae [ 83.3736753] fp ffffffc029e97c60 ld_virtio_vq_done() at ffffffc00042e81a netbsd:ld_virtio_vq_done+0x30 [ 83.3851659] fp ffffffc029e97cc0 ld_virtio_ioctl() at ffffffc00042ed08 netbsd:ld_virtio_ioctl+0x25c [ 83.3851659] fp ffffffc029e97cf0 ld_flush() at ffffffc0000c8b32 netbsd:ld_flush+0x3c [ 83.3851659] fp ffffffc029e97d00 ld_shutdown() at ffffffc0000c8baa netbsd:ld_shutdown+0x12 [ 83.3851659] fp ffffffc029e97d50 pmf_system_shutdown() at ffffffc0002f8ec8 netbsd:pmf_system_shutdown+0x9c [ 83.3851659] fp ffffffc029e97d70 cpu_reboot() at ffffffc000013fe2 netbsd:cpu_reboot+0x1e [ 83.3851659] fp ffffffc029e97da0 kern_reboot() at ffffffc0002ff8e4 netbsd:kern_reboot+0x7a [ 83.3851659] fp ffffffc029e97e40 sys_reboot() at ffffffc0002ff934 netbsd:sys_reboot+0x34 [ 83.3851659] fp ffffffc029e97ee0 syscall() at ffffffc000015522 netbsd:syscall+0xea [ 83.3851659] fp 0000000000000008 exception_kernexit() at ffffffc00000f53e netbsd:exception_kernexit+0x5e address 0x0 is invalid [ 83.3851659] Trapframe @ 0xffffffc029e96f90 (cause=13 (load page fault), status=0x120, pc=0xffffffc000011512, va=0xfffffffffffffff8): [ 83.4052616] ra =0xffffffc000011982 sp =0xffffffc029e970b0 gp =0xffffffc000956640 [ 83.4052616] tp = 0 t0 = 0x7 t1 =0xffffffc00044f55c t2 = 0x222 [ 83.4052616] s0 =0xffffffc029e970e0 s1 =0xffffffc029e970f8 a0 = 0x3fd6168f00 a1 = 0x8 [ 83.4052616] a2 =0xffffffc029e970f8 a3 =0xffffffc029e97100 a4 =0xfffffffffffffff8 a5 =0xffffffc029e970f8 [ 83.4052616] a6 = 0x78 a7 =0xffffffc0008e7530 s2 =0xfffffffffffffff8 s3 = 0x8 [ 83.4052616] s4 = 0 s5 = 0x3ffffeefff s6 = 0x72 s7 =0xffffffc00000f4e0 [ 83.4052616] s8 =0xfffffffffffff000 s9 =0xffffffc00065fe88 s10=0xffffffe08e00d080 s11=0xffffffe08c11d3c0 [ 83.4052616] t3 =0xffffffc029e96def t4 =0xffffffc029e97080 t5 =0xfffffffffffffffe t6 = 0x63 [ 83.4052616] Skipping crash dump on recursive panic [ 83.4052616] panic: cpu_trap: fatal kernel trap [ 83.4052616] Faulted in mid-traceback; aborting... [ 83.4252883] rebooting... OpenSBI v1.5.1 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : riscv-virtio,qemu Platform Features : medeleg Platform HART Count : 1 Platform IPI Device : aclint-mswi Platform Timer Device : aclint-mtimer @ 10000000Hz Platform Console Device : uart8250 Platform HSM Device : --- Platform PMU Device : --- Platform Reboot Device : syscon-reboot Platform Shutdown Device : syscon-poweroff Platform Suspend Device : --- Platform CPPC Device : --- Firmware Base : 0x80000000 Firmware Size : 327 KB Firmware RW Offset : 0x40000 Firmware RW Size : 71 KB Firmware Heap Offset : 0x49000 Firmware Heap Size : 35 KB (total), 2 KB (reserved), 11 KB (used), 21 KB (free) Firmware Scratch Size : 4096 B (total), 416 B (used), 3680 B (free) Runtime SBI Version : 2.0 Domain0 Name : root Domain0 Boot HART : 0 Domain0 HARTs : 0* Domain0 Region00 : 0x0000000000100000-0x0000000000100fff M: (I,R,W) S/U: (R,W) Domain0 Region01 : 0x0000000010000000-0x0000000010000fff M: (I,R,W) S/U: (R,W) Domain0 Region02 : 0x0000000002000000-0x000000000200ffff M: (I,R,W) S/U: () Domain0 Region03 : 0x0000000080040000-0x000000008005ffff M: (R,W) S/U: () Domain0 Region04 : 0x0000000080000000-0x000000008003ffff M: (R,X) S/U: () Domain0 Region05 : 0x000000000c400000-0x000000000c5fffff M: (I,R,W) S/U: (R,W) Domain0 Region06 : 0x000000000c000000-0x000000000c3fffff M: (I,R,W) S/U: (R,W) Domain0 Region07 : 0x0000000000000000-0xffffffffffffffff M: () S/U: (R,W,X) Domain0 Next Address : 0x0000000080200000 Domain0 Next Arg1 : 0x000000008fe00000 Domain0 Next Mode : S-mode Domain0 SysReset : yes Domain0 SysSuspend : yes Boot HART ID : 0 Boot HART Domain : root Boot HART Priv Version : v1.12 Boot HART Base ISA : rv64imafdch Boot HART ISA Extensions : sstc,zicntr,zihpm,zicboz,zicbom,sdtrig,svadu Boot HART PMP Count : 16 Boot HART PMP Granularity : 2 bits Boot HART PMP Address Bits: 54 Boot HART MHPM Info : 16 (0x0007fff8) Boot HART Debug Triggers : 2 triggers Boot HART MIDELEG : 0x0000000000001666 Boot HART MEDELEG : 0x0000000000f0b509 ------------ NetBSD start sp: 0x0000_0000_80c0_2000 pc: 0x0000_0000_8020_0080 hart: 0x0000_0000_0000_0000 dtb: 0x0000_0000_8fe0_0000 l1: 0x0000_0000_80c0_b000 l2: 0x0000_0000_80c0_a000 uspace: 0x0000_0000_80c0_0000 bootstk: 0x0000_0000_80c0_2000 vtopdiff:0xffff_ffbf_7fe0_0000 bss: 0x0000_0000_80b5_6e24 - 0x0000_0000_80c0_c000 l2pde: 0x0000_0000_80c0_a800: 0x0000_0000_2030_2c01 kern: 0x0000_0000_80c0_b000: 0x0000_0000_2008_00ef kern: 0x0000_0000_80c0_b008: 0x0000_0000_2010_00ef kern: 0x0000_0000_80c0_b010: 0x0000_0000_2018_00ef kern: 0x0000_0000_80c0_b018: 0x0000_0000_2020_00ef kern: 0x0000_0000_80c0_b020: 0x0000_0000_2028_00ef kern: 0x0000_0000_80c0_b028: 0x0000_0000_2030_00ef kern: 0x0000_0000_80c0_b030: 0x0000_0000_2038_00ef kern: 0x0000_0000_80c0_b038: 0x0000_0000_2040_00ef kern: 0x0000_0000_80c0_b040: 0x0000_0000_2048_00ef kern: 0x0000_0000_80c0_b048: 0x0000_0000_2050_00ef kern: 0x0000_0000_80c0_b050: 0x0000_0000_2058_00ef kern: 0x0000_0000_80c0_b058: 0x0000_0000_2060_00ef kern: 0x0000_0000_80c0_b060: 0x0000_0000_2068_00ef kern: 0x0000_0000_80c0_b068: 0x0000_0000_2070_00ef kern: 0x0000_0000_80c0_b070: 0x0000_0000_2078_00ef kern: 0x0000_0000_80c0_b078: 0x0000_0000_2080_00ef dtb: 0x0000_0000_80c0_b080: 0x0000_0000_23f8_00e7 PM [ 1.0000000] FDT<0xffffffc002000000> [ 1.0000000] devmap 0xffffffc000822610 [ 1.0000000] bootstrap [ 1.0000000] stdout [ 1.0000000] fdt size 2000/1368 [ 1.0000000] consinit ok [ 1.0000000] NetBSD/riscv (fdt) booting ... [ 1.0000000] FDT /memory @ 0x80000000 size 0x10000000 [ 1.0000000] init_riscv: memory start 80000000 end 90000000 (len 10000000) [ 1.0000000] cpu_kernel_vm_init: kernel phys start 0x80200000 end 0x80c00000 [ 1.0000000] cpu_kernel_vm_init: init phys start 0x80c00000 end 0x80c0c000 [ 1.0000000] dm: 0xffffffc000a0ac10 : 0x200000e7 [ 1.0000000] bootargs: root=dk1 [ 1.0000000] msgbufaddr = 0xffffffe08fff0000 [ 1.0000000] ------------------------------------------ [ 1.0000000] kern_vtopdiff = 0xffffffbf7fe00000 [ 1.0000000] memory_start = 0x 80000000 [ 1.0000000] memory_end = 0x 90000000 [ 1.0000000] memory_size = 0x 10000000 [ 1.0000000] kernstart_phys = 0x 80200000 [ 1.0000000] kernend_phys = 0x 80c00000 [ 1.0000000] msgbufaddr = 0xffffffe08fff0000 [ 1.0000000] VM_MIN_KERNEL_ADDRESS = 0xffffffc000000000 [ 1.0000000] kernstart_mega = 0xffffffc000000000 [ 1.0000000] kernstart = 0xffffffc000000000 [ 1.0000000] kernend = 0xffffffc000a00000 [ 1.0000000] kernend_mega = 0xffffffc000a00000 [ 1.0000000] VM_MAX_KERNEL_ADDRESS = 0xffffffd000000000 [ 1.0000000] pmap_direct_base = 0xffffffe000000000 [ 1.0000000] ------------------------------------------ [ 1.0000000] adding 0x80060000 - 0x80200000 to freelist 0 [ 1.0000000] adding 0x80c0c000 - 0x8fe00000 to freelist 0 [ 1.0000000] adding 0x8fe02000 - 0x8fff0000 to freelist 0 [ 1.0000000] common cpusets bs_pde 0xffffffc000a0a000 ASID max ffff kcpusets nkmempages limits: ffffffc004000000 - ffffffd000000000 [ 1.0000000] kva : ffffffc004000000 - ffffffc019400000 [ 1.0000000] mpstart [ 1.0000000] Loaded initial symtab at 0xffffffc00085c7e0, strtab at 0xffffffc0008eebb0, # entries 23694 [ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, [ 1.0000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, [ 1.0000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, [ 1.0000000] 2024, 2025 [ 1.0000000] The NetBSD Foundation, Inc. All rights reserved. [ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993 [ 1.0000000] The Regents of the University of California. All rights reserved. [ 1.0000000] NetBSD 10.99.12 (GENERIC64) #0: Sat Mar 1 07:47:14 UTC 2025 [ 1.0000000] root@babylon5.netbsd.org:/tmp/build/2025.02.28.16.08.19-riscv-riscv64/obj/sys/arch/riscv/compile/GENERIC64 [ 1.0000000] total memory = 251400 KB [ 1.0000000] avail memory = 243044 KB [ 1.0000000] mainbus0 (root) [ 1.0000000] simplebus0 at mainbus0: riscv-virtio,qemu [ 1.0000000] cpus0 at simplebus0 [ 1.0000000] simplebus1 at simplebus0 [ 1.0000000] simplebus2 at simplebus0 [ 1.0000000] simplebus3 at simplebus0 [ 1.0000000] cpu0 at cpus0: vendor 0 arch 0 imp. 0 [ 1.0000000] intc0 at cpu0: local interrupt controller [ 1.0000000] syscon0 at simplebus1: System Controller Registers [ 1.0000000] plic0 at simplebus1: RISC-V PLIC (95 IRQs) [ 1.0000000] /poweroff at simplebus0 not configured [ 1.0000000] /reboot at simplebus0 not configured [ 1.0000000] /pmu at simplebus0 not configured [ 1.0000000] qemufwcfg0 at simplebus0 [ 1.0000000] /flash@20000000 at simplebus0 not configured [ 1.0000000] gfrtc0 at simplebus1: Google Goldfish RTC + timer [ 1.0000000] gfrtc0: using as Time of Day Register. [ 1.0000000] com0 at simplebus1: ns16550a, 16-byte FIFO [ 1.0000000] com0: console [ 1.0000000] com0: interrupting on plic0 irq 10 [ 1.0000000] virtio0 at simplebus1 [ 1.0000000] virtio0: VirtIO-MMIO-v1 [ 1.0000000] virtio0: block device (id 2, rev. 0x00) [ 1.0000000] ld4 at virtio0: features: 0x10002e54 [ 1.0000000] ld4: max 254 segs of max 65536 bytes [ 1.0000000] virtio0: interrupting on plic0 irq 8 [ 1.0000000] ld4: 1536 MB, 3120 cyl, 16 head, 63 sec, 512 bytes/sect x 3145728 sectors [ 1.0000000] virtio1 at simplebus1 [ 1.0000000] virtio1: VirtIO-MMIO-v1 [ 1.0000000] virtio1: block device (id 2, rev. 0x00) [ 1.0000000] ld5 at virtio1: features: 0x10002e54 [ 1.0000000] ld5: max 254 segs of max 65536 bytes [ 1.0000000] virtio1: interrupting on plic0 irq 7 [ 1.0000000] ld5: 100 MB, 203 cyl, 16 head, 63 sec, 512 bytes/sect x 204800 sectors [ 1.0000000] virtio2 at simplebus1 [ 1.0000000] virtio2: VirtIO-MMIO-v1 [ 1.0000000] virtio3 at simplebus1 [ 1.0000000] virtio3: VirtIO-MMIO-v1 [ 1.0000000] virtio4 at simplebus1 [ 1.0000000] virtio4: VirtIO-MMIO-v1 [ 1.0000000] virtio5 at simplebus1 [ 1.0000000] virtio5: VirtIO-MMIO-v1 [ 1.0000000] virtio6 at simplebus1 [ 1.0000000] virtio6: VirtIO-MMIO-v1 [ 1.0000000] virtio7 at simplebus1 [ 1.0000000] virtio7: VirtIO-MMIO-v1 [ 1.0000000] /soc/clint@2000000 at simplebus1 not configured [ 1.0000000] pcihost0 at simplebus1: Generic PCI host controller [ 1.0000000] pci0 at pcihost0 bus 0 [ 1.0000000] vendor 1b36 product 0008 (host bridge) at pci0 dev 0 function 0 not configured [ 1.0000000] WARNING: system needs entropy for security; see entropy(7) [ 1.0000030] cpu_boot_secondary_processors: starting secondary processors [ 1.0000030] cpu_boot_secondary_processors: secondary processors hatched. 1 running [ 1.0203348] dk0 at ld4: "EFI", 163840 blocks at 32768, type: msdos [ 1.0203348] dk1 at ld4: "netbsd-root", 2940928 blocks at 196608, type: ffs [ 1.0724330] swwdog0: software watchdog initialized [ 1.0724330] boot device: [ 1.0724330] root on dk1 [ 1.1152088] mountroot: trying lfs... [ 1.1152088] mountroot: trying ffs... [ 1.1202905] root file system type: ffs [ 1.1202905] kern.module.path=/stand/riscv/10.99.12/modules [ 1.1338330] init: copying out path `/sbin/init' 11 Sat Mar 1 07:58:46 UTC 2025 Starting root file system check: /dev/rdk1: file system is clean; not checking Not resizing / (NAME=netbsd-root): already correct size Starting devpubd. [ 4.6254031] entropy: best effort Setting sysctl variables: ddb.onpanic: 1 -> 0 Starting file system checks: /dev/rdk0: 49 files, 80246 free (80246 clusters) rndctl: no entropy in seed Waiting for entropy...done Setting tty flags. Starting network. Hostname: riscv64 IPv6 mode: host Configuring network interfaces:. Adding interface aliases:. Waiting for duplicate address detection to finish... Starting dhcpcd. Starting mdnsd. mDNSResponder: Default: mDNSResponder (Engineering Build) starting [ 10.5258293] pid 570 (mdnsd), uid 0: exited on signal 6 (core dumped) Building databases: dev[ 11.0298503] pid 573 (dev_mkdb), uid 0: exited on signal 6 (core dumped) [1] Abort trap (core dumped) "${@}" , dev[ 11.1374010] pid 617 (dev_mkdb), uid 0: exited on signal 6 (core dumped) [1] Abort trap (core dumped) "${@}" , utmp, utmpx, services 129.35 real 83.04 user 0.91 sys