Launched in 2004, dmesgd aims to provide a user-submitted repository of searchable *BSD dmesgs. The dmesg(8) command displays the system message buffer's content, and during boot a copy is saved to /var/run/dmesg.boot. This buffer contains the operating system release, name and version, a list of devices identified, plus a whole host of other useful information. We hope others find this resource useful and further contribute to its growth. Contact us at [ admin at lists dot nycbug dot org ]. Note that this site is not a substitute for sending the dmesg directly to the respective project.
Date: 2026-01-13 21:35:20
From: klaus
Description: sifive-fu540 errata 2 patch tests : mhorne@
(both unpatched OpenSBI(of course))
root@fbsd5pro:~/fbsd2512 # git rev-parse HEAD
457b940bfb6a228af1281f357b627ecf1e26fea5
—
root@fbsd5pro:~/fbsd2512 # git apply pmp_mapping_workaround.patch
—
…………….
……..
=> -version
Unknown command '-version' - try 'help'
=> version
U-Boot 2025.10 (Jan 13 2026 - 17:19:09 +0100)
riscv64-none-elf-gcc (FreeBSD Ports Collection for riscv64noneelf) 11.3.0
GNU ld (GNU Binutils) 2.44
=> boot
switch to partitions #0, OK
mmc0 is current device
** Bad device specification dhcp 0 **
Couldn't find partition dhcp 0:1
SF: Detected is25wp256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
dhcp - boot image via network using DHCP/TFTP protocol
Usage:
dhcp [loadAddress] [[hostIPaddr:]bootfilename]
## Executing script at 88100000
Wrong image format for "source" command
SCRIPT FAILED: continuing...
ethernet@10090000: PHY present at 0
ethernet@10090000: Starting autonegotiation...
ethernet@10090000: Autonegotiation complete
ethernet@10090000: link up, 1000Mbps full-duplex (lpa: 0x3800)
BOOTP broadcast 1
DHCP client bound to address[_IP_XXXXXXX] (1 ms)
Using ethernet@10090000 device
TFTP from server[_IP_XXXXXXXX]; our IP address is[_IP_XXXXXXX]
Filename 'boot.scr.uimg'.
Load address: 0x88100000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
ethernet@10090000: PHY present at 0
ethernet@10090000: Starting autonegotiation...
ethernet@10090000: Autonegotiation complete
ethernet@10090000: link up, 1000Mbps full-duplex (lpa: 0x3800)
BOOTP broadcast 1
DHCP client bound to address[_IP_XXXXXXX] (1 ms)
Using ethernet@10090000 device
TFTP from server[_IP_XXXXXXXX]; our IP address is[_IP_XXXXXXX]
Filename 'boot/loader.efi'.
Load address: 0x84000000
Loading: #################################################
15.1 MiB/s
done
Bytes transferred = 714620 (ae77c hex)
ethernet@10090000: PHY present at 0
ethernet@10090000: Starting autonegotiation...
ethernet@10090000: Autonegotiation complete
ethernet@10090000: link up, 1000Mbps full-duplex (lpa: 0x3800)
Using ethernet@10090000 device
TFTP from server[_IP_XXXXXXXX]; our IP address is[_IP_XXXXXXX]
Filename 'dtb/'.
Load address: 0x88000000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Cannot persist EFI variables without system partition
Booting /boot\loader.efi
Consoles: EFI console
Reading loader env vars from /efi/freebsd/loader.env
FreeBSD/riscv EFI loader, Revision 3.0
(Tue Jan 13 21:30:52 CET 2026 root@fbsd5pro)
Command line arguments: l
Image base: 0xfe652000
EFI version: 2.110
EFI Firmware: Das U-Boot (rev 8229.4096)
Console: comconsole (0)
Load Path: /boot\loader.efi
Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,0000000000000000)/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,6f00000000000000)/MAC(70b3d592f1d5,1)
BootOrder: 0000
Setting currdev to net0:
ethernet@10090000: PHY present at 0
Loading /boot/defaults/loader.confgotiation...
Loading /boot/defaults/loader.conf complete
Loading /boot/device.hints, 1000Mbps full-duplex (lpa: 0x3800)
Loading /boot/loader.confers (status=3)
Loading /boot/loader.conf.local
c\
| ______ ____ _____ _____
| ____| | _ \ / ____| __ \
| |___ _ __ ___ ___ | |_) | (___ | | | |
| ___| '__/ _ \/ _ \| _ < \___ \| | | |
| | | | | __/ __/| |_) |____) | |__| |
| | | | | | || | | |
|_| |_| \___|\___||____/|_____/|_____/
+-------- Welcome to FreeBSD ----------+ ``` `
| | s` `.....---.......--.``` -/
| 1. Boot Multi user [Enter] | +o .--` /y:` +.
| 2. Boot Single user | yo`:. :o `+-
| 3. Escape to loader prompt | y/ -/` -o/
| 4. Reboot | .- ::/sy+:.
| 5. Cons: Video | / `-- /
| | `: :`
| Kernel: | `: :`
| 6. kernel (1 of 1) | / /
| | .- -.
| Options: | -- -.
| 7. Boot Options | `:` `:`
| | .-- `--.
+--------------------------------------+ .---.....----.
Exiting menu!
Type '?' for a list of commands, 'help' for more detailed help.
OK boot -v
Loading kernel...
/boot/kernel/kernel text=0x64162e text=0x1b84e8 data=0x12fed0 data=0xfd0+0x28bb20 0x8+0x13b390+0x8+0x12567f|
Loading configured modules...
can't find '/boot/entropy'
can't find '/etc/hostid'
Using DTB provided by EFI at 0xfe705000.
Kernel entry at 0xf6400030...
Kernel args: -v
---<<BOOT>>---
GDB: debug ports: uart
GDB: current port: uart
KDB: debugger backends: ddb gdb
KDB: current backend: ddb
Type Physical Virtual #Pages Attr
Reserved 000080000000 000080000000 00000060 WB
ConventionalMemory 000080060000 000080060000 00003fa0 WB
BootServicesData 000084000000 000084000000 000000af WB
ConventionalMemory 0000840af000 0000840af000 00072351 WB
LoaderCode 0000f6400000 0000f6400000 00004000 WB
LoaderData 0000fa400000 0000fa400000 00004000 WB
RuntimeServicesData 0000fe400000 0000fe400000 00000001 WB RUNTIME
ConventionalMemory 0000fe401000 0000fe401000 0000024d WB
LoaderData 0000fe64e000 0000fe64e000 00000001 WB
BootServicesData 0000fe64f000 0000fe64f000 00000003 WB
LoaderCode 0000fe652000 0000fe652000 000000af WB
BootServicesData 0000fe701000 0000fe701000 00000004 WB
ACPIReclaimMemory 0000fe705000 0000fe705000 0000000a WB
BootServicesData 0000fe70f000 0000fe70f000 00000004 WB
RuntimeServicesData 0000fe713000 0000fe713000 00000001 WB RUNTIME
BootServicesData 0000fe714000 0000fe714000 00000001 WB
RuntimeServicesData 0000fe715000 0000fe715000 00000021 WB RUNTIME
BootServicesData 0000fe736000 0000fe736000 00000002 WB
RuntimeServicesData 0000fe738000 0000fe738000 00000001 WB RUNTIME
BootServicesData 0000fe739000 0000fe739000 0000000b WB
BootServicesCode 0000fe744000 0000fe744000 0000103b WB
RuntimeServicesData 0000ff77f000 0000ff77f000 00000001 WB RUNTIME
BootServicesCode 0000ff780000 0000ff780000 000007eb WB
RuntimeServicesCode 0000fff6b000 0000fff6b000 00000002 WB RUNTIME
BootServicesCode 0000fff6d000 0000fff6d000 00000093 WB
BootServicesData 000100000000 000100000000 00180000 WB
Physical memory chunk(s):
0x80060000 - 0x27fffffff, 8191 MB (2097056 pages)
Excluded memory regions:
0x80000000 - 0x801fffff, 2 MB ( 512 pages) NoAlloc NoDump
0xf6400000 - 0xf741afff, 16 MB ( 4123 pages) NoAlloc
0xfe400000 - 0xfe400fff, 0 MB ( 1 pages) NoAlloc
0xfe705000 - 0xfe70efff, 0 MB ( 10 pages) NoAlloc
0xfe713000 - 0xfe713fff, 0 MB ( 1 pages) NoAlloc
0xfe715000 - 0xfe735fff, 0 MB ( 33 pages) NoAlloc
0xfe738000 - 0xfe738fff, 0 MB ( 1 pages) NoAlloc
0xff77f000 - 0xff77ffff, 0 MB ( 1 pages) NoAlloc
0xfff6b000 - 0xfff6cfff, 0 MB ( 2 pages) NoAlloc
Found 4 CPUs in the device tree
Copyright (c) 1992-2026 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 16.0-CURRENT #1 main-n283070-457b940bfb6a-dirty: Tue Jan 13 19:36:44 CET 2026
root@fbsd5pro:/usr/obj/root/fbsd2512/riscv.riscv64/sys/GENERIC riscv
FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)
WARNING: WITNESS option enabled, expect reduced performance.
VT: init without driver.
Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffc000ed3000.
Preloaded TSLOG data "TSLOG" at 0xffffffc000edc4d0.
SBI: OpenSBI v1.7
SBI Specification Version: 3.0
CPU 0 : Vendor=Unspecified Core=Unspecified (Hart 2)
marchid=0, mimpid=0
MMU: 0x1<Sv39>
ISA: 0x112d<Atomic,Compressed,Double,Float,Mult/Div>
S-mode Extensions: 0
real memory = 8589541376 (8191 MB)
Physical memory chunk(s):
0x0000000080200000 - 0x00000000f63fffff, 1981808640 bytes (483840 pages)
0x00000000f741b000 - 0x00000000fe3fffff, 117329920 bytes (28645 pages)
0x00000000fe401000 - 0x00000000fe704fff, 3162112 bytes (772 pages)
0x00000000fe70f000 - 0x00000000fe712fff, 16384 bytes (4 pages)
0x00000000fe714000 - 0x00000000fe714fff, 4096 bytes (1 pages)
0x00000000fe736000 - 0x00000000fe737fff, 8192 bytes (2 pages)
0x00000000fe739000 - 0x00000000ff77efff, 17063936 bytes (4166 pages)
0x00000000ff780000 - 0x00000000fff6afff, 8302592 bytes (2027 pages)
0x00000000fff6d000 - 0x00000002750cffff, 6259355648 bytes (1528163 pages)
avail memory = 8342425600 (7955 MB)
Starting CPU 3 (hart 1)
Starting CPU 1 (hart 3)
Starting CPU 2 (hart 4)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
CPU 1 : Vendor=Unspecified Core=Unspecified (Hart 3)
CPU 2 : Vendor=Unspecified Core=Unspecified (Hart 4)
CPU 3 : Vendor=Unspecified Core=Unspecified (Hart 1)
random: no preloaded entropy cache
random: no platform bootloader entropy
arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seeding' was enabled.
VIMAGE (virtualized network stack) enabled
hostuuid: using 00000000-0000-0000-0000-000000000000
ULE: setup cpu 0
ULE: setup cpu 1
ULE: setup cpu 2
ULE: setup cpu 3
random: entropy device external interface
kbd0 at kbdmux0
mem: <memory>
null: <full device, null device, zero device>
openfirm: <Open Firmware control device>
tcp_log: tcp_log device
crypto: <crypto core>
ram0: reserving memory region: 80200000-f6400000
ram0: reserving memory region: f741b000-fe400000
ram0: reserving memory region: fe401000-fe705000
ram0: reserving memory region: fe70f000-fe713000
ram0: reserving memory region: fe714000-fe715000
ram0: reserving memory region: fe736000-fe738000
ram0: reserving memory region: fe739000-ff77f000
ram0: reserving memory region: ff780000-fff6b000
ram0: reserving memory region: fff6d000-280000000
ofwbus0: <Open Firmware Device Tree>
simplebus0: <Flattened device tree simple bus> on ofwbus0
clk_fixed0: <Fixed clock> on ofwbus0
Clock: hfclk, parent: none, freq: 33333333
clk_fixed1: <Fixed clock> on ofwbus0
Clock: rtcclk, parent: none, freq: 1000000
sifive_prci0: <SiFive Power Reset Clocking Interrupt> mem 0x10000000-0x10000fff on simplebus0
sifive_prci0: clk parent: hfclk
sifive_prci0: clk parent: rtcclk
sbi0: <RISC-V Supervisor Binary Interface>
cpulist0: <Open Firmware CPU Group> on ofwbus0
cpu0: <Open Firmware CPU> on cpulist0
cpu0: Nominal frequency 999Mhz
cpu1: <Open Firmware CPU> on cpulist0
cpu1: Nominal frequency 999Mhz
cpu2: <Open Firmware CPU> on cpulist0
cpu2: Nominal frequency 999Mhz
cpu3: <Open Firmware CPU> on cpulist0
cpu3: Nominal frequency 999Mhz
intc0: <RISC-V Local Interrupt Controller> on ofwbus0
sbi_ipi0: <RISC-V SBI Inter-Processor Interrupts> on sbi0
plic0: <RISC-V PLIC> mem 0xc000000-0xfffffff irq 0,1,2,3,4,5,6,7,8 on simplebus0
gpio0: <SiFive GPIO Controller> mem 0x10060000-0x10060fff irq 35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50 on simplebus0
gpiobus0: <OFW GPIO bus> on gpio0
timer0: <RISC-V Timer>
Timecounter "RISC-V Timecounter" frequency 1000000 Hz quality 1000
Event timer "RISC-V Eventtimer" frequency 1000000 Hz quality 1000
rcons0: <RISC-V console>
simplebus0: no default resources for rid = 0, type = 4
uart0: <SiFive UART> mem 0x10010000-0x10010fff irq 9 on simplebus0
uart0: console (115180,n,8,1)
uart0: fast interrupt
uart0: PPS capture mode: DCD
simplebus0: <dma@3000000> mem 0x3000000-0x3007fff irq 10,11,12,13,14,15,16,17 compat sifive,fu540-c000-pdma (no driver attached)
simplebus0: no default resources for rid = 0, type = 4
uart1: <SiFive UART> mem 0x10011000-0x10011fff irq 18 on simplebus0
uart1: fast interrupt
uart1: PPS capture mode: DCD
iicoc0: <OpenCores I2C master controller> mem 0x10030000-0x10030fff irq 19 on simplebus0
sifive_spi0: <SiFive SPI controller> mem 0x10040000-0x10040fff,0x20000000-0x2fffffff irq 20 on simplebus0
simplebus0: <spi@10041000> mem 0x10041000-0x10041fff,0x30000000-0x3fffffff irq 21 disabled compat sifive,fu540-c000-spi (no driver attached)
sifive_spi1: <SiFive SPI controller> mem 0x10050000-0x10050fff irq 22 on simplebus0
cgem0: <Cadence CGEM Gigabit Ethernet Interface> mem 0x10090000-0x10091fff,0x100a0000-0x100a0fff irq 23 on simplebus0
miibus0: <MII bus> on cgem0
ukphy0: <Generic IEEE 802.3u media interface> PHY 0 on miibus0
ukphy0: OUI 0x008083, model 0x0037, rev. 1
ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
cgem0: bpf attached
cgem0: Ethernet address: [_MAC_XXXXXXXXXX]
simplebus0: <pwm@10020000> mem 0x10020000-0x10020fff irq 24,25,26,27 compat sifive,fu540-c000-pwm (no driver attached)
simplebus0: <pwm@10021000> mem 0x10021000-0x10021fff irq 28,29,30,31 compat sifive,fu540-c000-pwm (no driver attached)
simplebus0: <cache-controller@2010000> mem 0x2010000-0x2010fff irq 32,33,34 compat sifive,fu540-c000-ccache (no driver attached)
gpioc0: <GPIO controller> at pins 0-15 on gpiobus0
simplebus0: <otp@10070000> mem 0x10070000-0x10070fff compat sifive,fu540-c000-otp (no driver attached)
simplebus0: <clint@2000000> mem 0x2000000-0x200ffff irq 51,52,53,54,55,56,57,58,59,60 compat riscv,clint0 (no driver attached)
simplebus0: <dmc@100b0000> mem 0x100b0000-0x100b07ff,0x100b2000-0x100b3fff,0x100b8000-0x100b8fff compat sifive,fu540-c000-ddr (no driver attached)
ofwbus0: <gpio-restart> compat gpio-restart (no driver attached)
crypto: assign cryptosoft0 driver id 0, flags 0x6000000
Device configuration finished.
procfs registered
Timecounters tick every 1.000 msec
vlan: initialized, using hash tables with chaining
lo0: bpf attached
IPsec: Initialized Security Association Processing.
tcp_init: net.inet.tcp.tcbhashsize auto tuned to 65536
usb_needs_explore_all: no devclass
iicbus0: <OFW I2C bus> on iicoc0
spibus0: <OFW SPI bus> on sifive_spi0
spibus0: <unknown card> at cs 0 mode 0
spibus1: <OFW SPI bus> on sifive_spi1
mmcspi0: <MMC SPI mode controller> at cs 0 mode 0 on spibus1
mmc0: <MMC/SD bus> on mmcspi0
mmc0: Probing bus
mmc0: SD 2.0 interface conditions: OK
mmc0: SD probe: OK (OCR: 0x40ff8000)
mmc0: Current OCR: 0x00ff8000
mmc0: Probing cards
mmc0: New card detected (CID 0353445343363447800f47345b013800)
mmc0: New card detected (CSD 400e00325b590001dbd37f800a404000)
mmc0: Card at relative address 0x0000 added:
mmc0: card: SDHC SC64G 8.0 SN 0F47345B MFG 08/2019 by 3 SD
mmc0: quirks: 0
mmc0: bus: 1bit, 25MHz (normal speed timing)
mmc0: memory: 124735488 blocks, erase sector 8192 blocks
mmc0: setting transfer rate to 0.000MHz (normal speed timing)
mmcsd0: 64GB <SDHC SC64G 8.0 SN 0F47345B MFG 08/2019 by 3 SD> at mmc0 0.0MHz/1bit/65536-block
sbi_ipi0: using for IPIs
Release APs
Secondary CPU 2 fully online
Secondary CPU 3 fully online
t[0]: 0x8000000000000009Trying to mount root from nfs: []...
Secondary CPU 1 fully online
GEOM: new disk mmcsd0
t[1]: 0x0000000000000120
t[2]: 0x0000000000000000
t[3]: 0x000000000000ff00
t[4]: 0xfefefefefefefeff
t[5]: 0x8080808080808080
t[6]: 0x0000000000000000
s[0]: 0xffffffc000003ad0 (initstack + 0x3920)
s[1]: 0xffffffc003b3a200GEOM_PART: partition 1 on (mmcsd0, GPT) is not aligned on 4194304 bytes
(_end + 0x2f82d28)
GEOM_PART: partition 2 on (mmcsd0, GPT) is not aligned on 4194304 bytes
s[2]: 0xffffffd000b48d00
s[3]: 0xffffffc000003c80 (initstack + 0x3ad0)
s[4]: 0xffffffd00092a8bc
s[5]: 0x0000000000000001
s[6]: 0xffffffd00092a800
s[7]: 0x0000000000000000
s[8]: 0x0000000000000001
s[9]: 0xffffffc003b52020 (_end + 0x2f9ab48)
s[10]: 0xffffffc0006768e8 ($d + 0xc0)
s[11]: 0xffffffc000ac8fe0 (sysinit_list)
a[0]: 0x0000000000000000
a[1]: 0xffffffc082000000 (_end + 0x81448b28)
a[2]: 0x0000000000000003
a[3]: 0x0000000000000005
a[4]: 0xffffffc082000003 (_end + 0x81448b2b)
a[5]: 0xffffffc0006084f0 (generic_bs_w_4)
a[6]: 0x0000000000000010
a[7]: 0xffffffc000b40980 (w_locklistdata + 0x43f80)
ra: 0xffffffc0006109ce (plic_post_ithread + 0x60)
sp: 0xffffffc000003ab0 (initstack + 0x3900)
gp: 0xffffffc00092b1e8 (__global_pointer$)
tp: 0xffffffc000bb3b00 (__pcpu)
sepc: 0xffffffc0006084f4 (generic_bs_w_4 + 0x4)
sstatus: 0x0000000200000100
stval : 0xffffffc082000003
panic: Memory access exception at 0xffffffc0006084f4: 0xffffffc082000003
cpuid = 0
time = 1
KDB: stack backtrace:
db_trace_self() at db_trace_self
db_trace_self_wrapper() at db_trace_self_wrapper+0x36
kdb_backtrace() at kdb_backtrace+0x2c
vpanic() at vpanic+0x16e
panic() at panic+0x26
do_trap_supervisor() at do_trap_supervisor+0x108
cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x74
--- exception 7, tval = 0xffffffc082000003
generic_bs_w_4() at generic_bs_w_4+0x4
intr_isrc_post_filter() at intr_isrc_post_filter+0x4a
intr_event_handle() at intr_event_handle+0x100
intr_isrc_dispatch() at intr_isrc_dispatch+0x2c
plic_intr() at plic_intr+0x80
intr_event_handle() at intr_event_handle+0x88
intr_isrc_dispatch() at intr_isrc_dispatch+0x2c
intc_intr() at intc_intr+0x42
intr_irq_handler() at intr_irq_handler+0x54
do_trap_supervisor() at do_trap_supervisor+0x78
cpu_exception_handler_supervisor() at cpu_exception_handler_supervisor+0x74
--- interrupt 9
plic_bind_intr() at plic_bind_intr+0x92
intr_irq_shuffle() at intr_irq_shuffle+0x116
mi_startup() at mi_startup+0x1ee
va() at va+0x60
KDB: enter: panic
[ thread pid 0 tid 100000 ]
Stopped at kdb_enter+0x3a: sd zero,102(s1)
db>
———————
———————
——————
root@fbsd5pro:~/fbsd2512 # git reset --hard 457b940bfb6a228af1281f357b627ecf1e26fea5
HEAD is now at 457b940bfb6a tuning.7: add more explanation about swap (over-)accounting
—
root@fbsd5pro:~/fbsd2512 # git rev-parse HEAD
457b940bfb6a228af1281f357b627ecf1e26fea5
—
root@fbsd5pro:~/fbsd2512 # git apply improve_dmap.patch
—
x??x???????x?x??????x????x<??x???x?x?x??xx<x?x<?x<??x??x??x??x??x??x??x??x?x???x??x??x<??x?x??x<??x?x<?x??xx??xx??xx<x<?x??x??x??x?x????????x<???x?x???x??x?x<x??x?x????????????????x?x??x???????x?x??????x????x<??x???x?x?x??xx??x?xx<x<x???????x<??x??x<??x??x<?x<?x?x<???x?x?x??x?x<??xx??x??x?x<?x?x??????x<x?x?x<??x??x<?x??x<??x?x<??x??x<?x?x<x??x?x<?x<x??x?x<?x?x?xx??x??xx??x<x<??x????????x<??x?x<??xCore: 36 devices, 22 uclasses, devicetree: separate
MMC: spi@10050000:mmc@0: 0
Loading Environment from SPIFlash... SF: Detected is25wp256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
OK
In: serial@10010000
Out: serial@10010000
Err: serial@10010000
Net: sifive-reset reset: failed to get cltx_reset reset
eth0: ethernet@10090000
Working FDT set to ff744370
Hit any key to stop autoboot: 0
=> version
U-Boot 2025.10 (Jan 13 2026 - 17:19:09 +0100)
riscv64-none-elf-gcc (FreeBSD Ports Collection for riscv64noneelf) 11.3.0
GNU ld (GNU Binutils) 2.44
=> boot
switch to partitions #0, OK
mmc0 is current device
** Bad device specification dhcp 0 **
Couldn't find partition dhcp 0:1
SF: Detected is25wp256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
dhcp - boot image via network using DHCP/TFTP protocol
Usage:
dhcp [loadAddress] [[hostIPaddr:]bootfilename]
## Executing script at 88100000
Wrong image format for "source" command
SCRIPT FAILED: continuing...
ethernet@10090000: PHY present at 0
ethernet@10090000: Starting autonegotiation...
ethernet@10090000: Autonegotiation complete
ethernet@10090000: link up, 1000Mbps full-duplex (lpa: 0x3800)
BOOTP broadcast 1
DHCP client bound to address[_IP_XXXXXXX] (1 ms)
Using ethernet@10090000 device
TFTP from server[_IP_XXXXXXXX]; our IP address is[_IP_XXXXXXX]
Filename 'boot.scr.uimg'.
Load address: 0x88100000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
ethernet@10090000: PHY present at 0
ethernet@10090000: Starting autonegotiation...
ethernet@10090000: Autonegotiation complete
ethernet@10090000: link up, 1000Mbps full-duplex (lpa: 0x3800)
BOOTP broadcast 1
DHCP client bound to address[_IP_XXXXXXX] (1 ms)
Using ethernet@10090000 device
TFTP from server[_IP_XXXXXXXX]; our IP address is[_IP_XXXXXXX]
Filename 'boot/loader.efi'.
Load address: 0x84000000
Loading: #################################################
14.8 MiB/s
done
Bytes transferred = 714620 (ae77c hex)
ethernet@10090000: PHY present at 0
ethernet@10090000: Starting autonegotiation...
ethernet@10090000: Autonegotiation complete
ethernet@10090000: link up, 1000Mbps full-duplex (lpa: 0x3800)
Using ethernet@10090000 device
TFTP from server[_IP_XXXXXXXX]; our IP address is[_IP_XXXXXXX]
Filename 'dtb/'.
Load address: 0x88000000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Cannot persist EFI variables without system partition
Booting /boot\loader.efi
Consoles: EFI console
Reading loader env vars from /efi/freebsd/loader.env
FreeBSD/riscv EFI loader, Revision 3.0
(Tue Jan 13 21:30:52 CET 2026 root@fbsd5pro)
Command line arguments: l
Image base: 0xfe652000
EFI version: 2.110
EFI Firmware: Das U-Boot (rev 8229.4096)
Console: comconsole (0)
Load Path: /boot\loader.efi
Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,0000000000000000)/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,6f00000000000000)/MAC(70b3d592f1d5,1)
BootOrder: 0000
Setting currdev to net0:
ethernet@10090000: PHY present at 0
Loading /boot/defaults/loader.confgotiation...
Loading /boot/defaults/loader.conf complete
Loading /boot/device.hints, 1000Mbps full-duplex (lpa: 0x3800)
Loading /boot/loader.confers (status=3)
Loading /boot/loader.conf.local
c\
| ______ ____ _____ _____
| ____| | _ \ / ____| __ \
| |___ _ __ ___ ___ | |_) | (___ | | | |
| ___| '__/ _ \/ _ \| _ < \___ \| | | |
| | | | | __/ __/| |_) |____) | |__| |
| | | | | | || | | |
|_| |_| \___|\___||____/|_____/|_____/
+-------- Welcome to FreeBSD ----------+ ``` `
| | s` `.....---.......--.``` -/
| 1. Boot Multi user [Enter] | +o .--` /y:` +.
| 2. Boot Single user | yo`:. :o `+-
| 3. Escape to loader prompt | y/ -/` -o/
| 4. Reboot | .- ::/sy+:.
| 5. Cons: Video | / `-- /
| | `: :`
| Kernel: | `: :`
| 6. kernel (1 of 1) | / /
| | .- -.
| Options: | -- -.
| 7. Boot Options | `:` `:`
| | .-- `--.
+--------------------------------------+ .---.....----.
Exiting menu!
Type '?' for a list of commands, 'help' for more detailed help.
OK boot -v
Loading kernel...
/boot/kernel/kernel text=0x64186e text=0x1b84e8 data=0x12fed0 data=0xfd0+0x28bb20 0x8+0x13b390+0x8+0x12567f|
Loading configured modules...
can't find '/boot/entropy'
can't find '/etc/hostid'
Using DTB provided by EFI at 0xfe705000.
Kernel entry at 0xf6400030...
Kernel args: -v
---<<BOOT>>---
GDB: debug ports: uart
GDB: current port: uart
KDB: debugger backends: ddb gdb
KDB: current backend: ddb
Type Physical Virtual #Pages Attr
Reserved 000080000000 000080000000 00000060 WB
ConventionalMemory 000080060000 000080060000 00003fa0 WB
BootServicesData 000084000000 000084000000 000000af WB
ConventionalMemory 0000840af000 0000840af000 00072351 WB
LoaderCode 0000f6400000 0000f6400000 00004000 WB
LoaderData 0000fa400000 0000fa400000 00004000 WB
RuntimeServicesData 0000fe400000 0000fe400000 00000001 WB RUNTIME
ConventionalMemory 0000fe401000 0000fe401000 0000024d WB
LoaderData 0000fe64e000 0000fe64e000 00000001 WB
BootServicesData 0000fe64f000 0000fe64f000 00000003 WB
LoaderCode 0000fe652000 0000fe652000 000000af WB
BootServicesData 0000fe701000 0000fe701000 00000004 WB
ACPIReclaimMemory 0000fe705000 0000fe705000 0000000a WB
BootServicesData 0000fe70f000 0000fe70f000 00000004 WB
RuntimeServicesData 0000fe713000 0000fe713000 00000001 WB RUNTIME
BootServicesData 0000fe714000 0000fe714000 00000001 WB
RuntimeServicesData 0000fe715000 0000fe715000 00000021 WB RUNTIME
BootServicesData 0000fe736000 0000fe736000 00000002 WB
RuntimeServicesData 0000fe738000 0000fe738000 00000001 WB RUNTIME
BootServicesData 0000fe739000 0000fe739000 0000000b WB
BootServicesCode 0000fe744000 0000fe744000 0000103b WB
RuntimeServicesData 0000ff77f000 0000ff77f000 00000001 WB RUNTIME
BootServicesCode 0000ff780000 0000ff780000 000007eb WB
RuntimeServicesCode 0000fff6b000 0000fff6b000 00000002 WB RUNTIME
BootServicesCode 0000fff6d000 0000fff6d000 00000093 WB
BootServicesData 000100000000 000100000000 00180000 WB
Physical memory chunk(s):
0x80060000 - 0x27fffffff, 8191 MB (2097056 pages)
Excluded memory regions:
0xf6400000 - 0xf741afff, 16 MB ( 4123 pages) NoAlloc
0xfe400000 - 0xfe400fff, 0 MB ( 1 pages) NoAlloc
0xfe705000 - 0xfe70efff, 0 MB ( 10 pages) NoAlloc
0xfe713000 - 0xfe713fff, 0 MB ( 1 pages) NoAlloc
0xfe715000 - 0xfe735fff, 0 MB ( 33 pages) NoAlloc
0xfe738000 - 0xfe738fff, 0 MB ( 1 pages) NoAlloc
0xff77f000 - 0xff77ffff, 0 MB ( 1 pages) NoAlloc
0xfff6b000 - 0xfff6cfff, 0 MB ( 2 pages) NoAlloc
Found 4 CPUs in the device tree
Copyright (c) 1992-2026 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 16.0-CURRENT #2 main-n283070-457b940bfb6a-dirty: Tue Jan 13 22:11:23 CET 2026
root@fbsd5pro:/usr/obj/root/fbsd2512/riscv.riscv64/sys/GENERIC riscv
FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)
WARNING: WITNESS option enabled, expect reduced performance.
VT: init without driver.
Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffc000ed4000.
Preloaded TSLOG data "TSLOG" at 0xffffffc000edd4d0.
SBI: OpenSBI v1.7
SBI Specification Version: 3.0
CPU 0 : Vendor=Unspecified Core=Unspecified (Hart 1)
marchid=0, mimpid=0
MMU: 0x1<Sv39>
ISA: 0x112d<Atomic,Compressed,Double,Float,Mult/Div>
S-mode Extensions: 0
real memory = 8589541376 (8191 MB)
Physical memory chunk(s):
0x0000000080060000 - 0x00000000f63fffff, 1983512576 bytes (484256 pages)
0x00000000f741b000 - 0x00000000fe3fffff, 117329920 bytes (28645 pages)
0x00000000fe401000 - 0x00000000fe704fff, 3162112 bytes (772 pages)
0x00000000fe70f000 - 0x00000000fe712fff, 16384 bytes (4 pages)
0x00000000fe714000 - 0x00000000fe714fff, 4096 bytes (1 pages)
0x00000000fe736000 - 0x00000000fe737fff, 8192 bytes (2 pages)
0x00000000fe739000 - 0x00000000ff77efff, 17063936 bytes (4166 pages)
0x00000000ff780000 - 0x00000000fff6afff, 8302592 bytes (2027 pages)
0x00000000fff6d000 - 0x00000002750c6fff, 6259318784 bytes (1528154 pages)
avail memory = 8344088576 (7957 MB)
Starting CPU 1 (hart 2)
Starting CPU 2 (hart 3)
Starting CPU 3 (hart 4)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
CPU 1 : Vendor=Unspecified Core=Unspecified (Hart 2)
CPU 2 : Vendor=Unspecified Core=Unspecified (Hart 3)
CPU 3 : Vendor=Unspecified Core=Unspecified (Hart 4)
random: no preloaded entropy cache
random: no platform bootloader entropy
arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seeding' was enabled.
VIMAGE (virtualized network stack) enabled
hostuuid: using 00000000-0000-0000-0000-000000000000
ULE: setup cpu 0
ULE: setup cpu 1
ULE: setup cpu 2
ULE: setup cpu 3
random: entropy device external interface
kbd0 at kbdmux0
mem: <memory>
null: <full device, null device, zero device>
openfirm: <Open Firmware control device>
tcp_log: tcp_log device
crypto: <crypto core>
ram0: reserving memory region: 80060000-f6400000
ram0: reserving memory region: f741b000-fe400000
ram0: reserving memory region: fe401000-fe705000
ram0: reserving memory region: fe70f000-fe713000
ram0: reserving memory region: fe714000-fe715000
ram0: reserving memory region: fe736000-fe738000
ram0: reserving memory region: fe739000-ff77f000
ram0: reserving memory region: ff780000-fff6b000
ram0: reserving memory region: fff6d000-280000000
ofwbus0: <Open Firmware Device Tree>
simplebus0: <Flattened device tree simple bus> on ofwbus0
clk_fixed0: <Fixed clock> on ofwbus0
Clock: hfclk, parent: none, freq: 33333333
clk_fixed1: <Fixed clock> on ofwbus0
Clock: rtcclk, parent: none, freq: 1000000
sifive_prci0: <SiFive Power Reset Clocking Interrupt> mem 0x10000000-0x10000fff on simplebus0
sifive_prci0: clk parent: hfclk
sifive_prci0: clk parent: rtcclk
sbi0: <RISC-V Supervisor Binary Interface>
cpulist0: <Open Firmware CPU Group> on ofwbus0
cpu0: <Open Firmware CPU> on cpulist0
cpu0: Nominal frequency 999Mhz
cpu1: <Open Firmware CPU> on cpulist0
cpu1: Nominal frequency 999Mhz
cpu2: <Open Firmware CPU> on cpulist0
cpu2: Nominal frequency 999Mhz
cpu3: <Open Firmware CPU> on cpulist0
cpu3: Nominal frequency 999Mhz
intc0: <RISC-V Local Interrupt Controller> on ofwbus0
sbi_ipi0: <RISC-V SBI Inter-Processor Interrupts> on sbi0
plic0: <RISC-V PLIC> mem 0xc000000-0xfffffff irq 0,1,2,3,4,5,6,7,8 on simplebus0
gpio0: <SiFive GPIO Controller> mem 0x10060000-0x10060fff irq 35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50 on simplebus0
gpiobus0: <OFW GPIO bus> on gpio0
timer0: <RISC-V Timer>
Timecounter "RISC-V Timecounter" frequency 1000000 Hz quality 1000
Event timer "RISC-V Eventtimer" frequency 1000000 Hz quality 1000
rcons0: <RISC-V console>
simplebus0: no default resources for rid = 0, type = 4
uart0: <SiFive UART> mem 0x10010000-0x10010fff irq 9 on simplebus0
uart0: console (115180,n,8,1)
uart0: fast interrupt
uart0: PPS capture mode: DCD
simplebus0: <dma@3000000> mem 0x3000000-0x3007fff irq 10,11,12,13,14,15,16,17 compat sifive,fu540-c000-pdma (no driver attached)
simplebus0: no default resources for rid = 0, type = 4
uart1: <SiFive UART> mem 0x10011000-0x10011fff irq 18 on simplebus0
uart1: fast interrupt
uart1: PPS capture mode: DCD
iicoc0: <OpenCores I2C master controller> mem 0x10030000-0x10030fff irq 19 on simplebus0
sifive_spi0: <SiFive SPI controller> mem 0x10040000-0x10040fff,0x20000000-0x2fffffff irq 20 on simplebus0
simplebus0: <spi@10041000> mem 0x10041000-0x10041fff,0x30000000-0x3fffffff irq 21 disabled compat sifive,fu540-c000-spi (no driver attached)
sifive_spi1: <SiFive SPI controller> mem 0x10050000-0x10050fff irq 22 on simplebus0
cgem0: <Cadence CGEM Gigabit Ethernet Interface> mem 0x10090000-0x10091fff,0x100a0000-0x100a0fff irq 23 on simplebus0
miibus0: <MII bus> on cgem0
ukphy0: <Generic IEEE 802.3u media interface> PHY 0 on miibus0
ukphy0: OUI 0x008083, model 0x0037, rev. 1
ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
cgem0: bpf attached
cgem0: Ethernet address: [_MAC_XXXXXXXXXX]
simplebus0: <pwm@10020000> mem 0x10020000-0x10020fff irq 24,25,26,27 compat sifive,fu540-c000-pwm (no driver attached)
simplebus0: <pwm@10021000> mem 0x10021000-0x10021fff irq 28,29,30,31 compat sifive,fu540-c000-pwm (no driver attached)
simplebus0: <cache-controller@2010000> mem 0x2010000-0x2010fff irq 32,33,34 compat sifive,fu540-c000-ccache (no driver attached)
gpioc0: <GPIO controller> at pins 0-15 on gpiobus0
simplebus0: <otp@10070000> mem 0x10070000-0x10070fff compat sifive,fu540-c000-otp (no driver attached)
simplebus0: <clint@2000000> mem 0x2000000-0x200ffff irq 51,52,53,54,55,56,57,58,59,60 compat riscv,clint0 (no driver attached)
simplebus0: <dmc@100b0000> mem 0x100b0000-0x100b07ff,0x100b2000-0x100b3fff,0x100b8000-0x100b8fff compat sifive,fu540-c000-ddr (no driver attached)
ofwbus0: <gpio-restart> compat gpio-restart (no driver attached)
crypto: assign cryptosoft0 driver id 0, flags 0x6000000
Device configuration finished.
procfs registered
Timecounters tick every 1.000 msec
vlan: initialized, using hash tables with chaining
lo0: bpf attached
IPsec: Initialized Security Association Processing.
tcp_init: net.inet.tcp.tcbhashsize auto tuned to 65536
usb_needs_explore_all: no devclass
iicbus0: <OFW I2C bus> on iicoc0
spibus0: <OFW SPI bus> on sifive_spi0
spibus0: <unknown card> at cs 0 mode 0
spibus1: <OFW SPI bus> on sifive_spi1
mmcspi0: <MMC SPI mode controller> at cs 0 mode 0 on spibus1
mmc0: <MMC/SD bus> on mmcspi0
mmc0: Probing bus
mmc0: SD 2.0 interface conditions: OK
mmc0: SD probe: OK (OCR: 0x40ff8000)
mmc0: Current OCR: 0x00ff8000
mmc0: Probing cards
mmc0: New card detected (CID 0353445343363447800f47345b013800)
mmc0: New card detected (CSD 400e00325b590001dbd37f800a404000)
mmc0: Card at relative address 0x0000 added:
mmc0: card: SDHC SC64G 8.0 SN 0F47345B MFG 08/2019 by 3 SD
mmc0: quirks: 0
mmc0: bus: 1bit, 25MHz (normal speed timing)
mmc0: memory: 124735488 blocks, erase sector 8192 blocks
mmc0: setting transfer rate to 0.000MHz (normal speed timing)
mmcsd0: 64GB <SDHC SC64G 8.0 SN 0F47345B MFG 08/2019 by 3 SD> at mmc0 0.0MHz/1bit/65536-block
sbi_ipi0: using for IPIs
Release APs
Secondary CPU 3 fully online
Secondary CPU 1 fully online
Trying to mount root from nfs: []...
Secondary CPU 2 fully online
WARNING: WITNESS option enabled, expect reduced performance.
GEOM: new disk mmcsd0
regulator: shutting down unused regulators
GEOM_PART: partition 1 on (mmcsd0, GPT) is not aligned on 4194304 bytes
GEOM_PART: partition 2 on (mmcsd0, GPT) is not aligned on 4194304 bytes
GEOM_PART: partition 1 on (diskid/DISK-0F47345B, GPT) is not aligned on 4194304 bytes
GEOM_PART: partition 2 on (diskid/DISK-0F47345B, GPT) is not aligned on 4194304 bytes
cgem0: link state changed to DOWN
NFS ROOT:[_IP_XXXXXXXX]:/tftpboot/
cgem0: could not set ref clk to 125000000
cgem0: link state changed to UP
Warning: no time-of-day clock registered, system time will not be set accurately
Warning: no time-of-day clock registered, system time will not be set accurately
start_init: trying /sbin/init
panic: swap_reserved 0x24e7 < decr 0xffffffffed021
cpuid = 2
time = 5
KDB: stack backtrace:
db_trace_self() at db_trace_self
db_trace_self_wrapper() at db_trace_self_wrapper+0x36
kdb_backtrace() at kdb_backtrace+0x2c
vpanic() at vpanic+0x16e
panic() at panic+0x26
swap_release_by_cred() at swap_release_by_cred+0x86
vm_map_entry_delete() at vm_map_entry_delete+0x11e
vm_map_delete() at vm_map_delete+0x15e
kern_munmap() at kern_munmap+0x6c
sys_munmap() at sys_munmap+0x12
do_trap_user() at do_trap_user+0x1f4
cpu_exception_handler_user() at cpu_exception_handler_user+0x72
--- syscall (73, FreeBSD ELF64, munmap)
KDB: enter: panic
[ thread pid 16 tid 100060 ]
Stopped at kdb_enter+0x3a: sd zero,678(s1)
db>