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 ].


Date: 2021-01-21 21:22:57
From: Klaus
Description: HiFive Unleashed FreeBSD mhorne@_Opensbi_pmp_Patch_thankyou
U-Boot SPL 2021.01-dirty (Jan 21 2021 - 14:57:52 -0400)
Trying to boot from MMC1
7c0 mstatus=0x0000000200001800

OpenSBI v0.9
sbi_trap_error: hart0: ra=0x00000000800004b6 sp=0x000000008001bf30
   ____                    _____ ____ _____
  / __ \                  / ____|  _ \_   _|
 | |  | |_ __   ___ _ __ | (___ | |_) || |
 | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
 | |__| | |_) |  __/ | | |____) | |_) || |_
  \____/| .__/ \___|_| |_|_____/|____/_____|
        | |
        |_|

sbi_trap_error: hart0: gp=0x0000000000000000 tp=0x000000008001c000
Platform Name             : SiFive Freedom U540
sbi_trap_error: hart0: s0=0x000000008001c000 s1=0x0000000000000000
Platform Features         : timer,mfdeleg
sbi_trap_error: hart0: a0=0xffffffffffffffff a1=0x00000000802799b8
Platform HART Count       : 4
sbi_trap_error: hart0: a2=0x0000000085000008 a3=0x0000000000000000
Firmware Base             : 0x80000000
sbi_trap_error: hart0: a4=0x0000000080000520 a5=0x000000000000007f
Firmware Size             : 108 KB
sbi_trap_error: hart0: a6=0x0000000000000000 a7=0x0000000000000000
Runtime SBI Version       : 0.2
sbi_trap_error: hart0: s2=0x000000008001c000 s3=0x0000000000000000

sbi_trap_error: hart0: s4=0x0000000000000000 s5=0x0000000000000000
Domain0 Name              : root
sbi_trap_error: hart0: s6=0xffffffffffffffff s7=0x0000000000000004
Domain0 Boot HART         : 1
sbi_trap_error: hart0: s8=0x0000000000002000 s9=0x0000000080010148
Domain0 HARTs             : sbi_trap_error: hart0: s10=0x0000000000000000 s11=0x0000000000000000
1*sbi_trap_error: hart0: t0=0x0000000000000000 t1=0x0000000000000000
,2*sbi_trap_error: hart0: t2=0x0000000000000000 t3=0x0000000000000000
,3*sbi_trap_error: hart0: t4=0x0000000000000000 t5=0x0000000000000000
,4*sbi_trap_error: hart0: t6=0x0000000000000000

Domain0 Region00          : 0x0000000080000000-0x000000008001ffff ()
Domain0 Region01          : 0x0000000000000000-0xffffffffffffffff (R,W,X)
Domain0 Next Address      : 0x0000000080200000
Domain0 Next Arg1         : 0x00000000802799b8
Domain0 Next Mode         : S-mode
Domain0 SysReset          : yes

FreeBSD: PMP WAR applied
Boot HART ID              : 1
Boot HART Domain          : root
Boot HART ISA             : rv64imafdcsu
Boot HART Features        : scounteren,mcounteren
Boot HART PMP Count       : 16
Boot HART PMP Granularity : 4
Boot HART PMP Address Bits: 36
Boot HART MHPM Count      : 0
Boot HART MHPM Count      : 0
Boot HART MIDELEG         : 0x0000000000000222
Boot HART MEDELEG         : 0x000000000000b109


U-Boot 2021.01-dirty (Jan 21 2021 - 14:57:52 -0400)

CPU:   rv64imafdc
Model: SiFive HiFive Unleashed A00
DRAM:  8 GiB
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:   eth0: ethernet@10090000
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
** Unrecognized filesystem type **
SF: Detected is25wp256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
device 0 offset 0x1fff000, size 0x1000
SF: 4096 bytes @ 0x1fff000 Read: OK
## 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: 0x3c00)
BOOTP broadcast 1
DHCP client bound to address[_IP_XXXXXX] (3 ms)
Using ethernet@10090000 device
TFTP from server[_IP_XXXXXXXX]; our IP address is[_IP_XXXXXX]
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: 0x3c00)
BOOTP broadcast 1
DHCP client bound to address[_IP_XXXXXX] (2 ms)
Using ethernet@10090000 device
TFTP from server[_IP_XXXXXXXX]; our IP address is[_IP_XXXXXX]
Filename 'boot/loader.efi'.
Load address: 0x84000000
Loading: #################################################################
	 ################################
	 11.3 MiB/s
done
Bytes transferred = 1415772 (159a5c hex)
ethernet@10090000: PHY present at 0
ethernet@10090000: Starting autonegotiation...
ethernet@10090000: Autonegotiation complete
ethernet@10090000: link up, 1000Mbps full-duplex (lpa: 0x3c00)
Using ethernet@10090000 device
TFTP from server[_IP_XXXXXXXX]; our IP address is[_IP_XXXXXX]
Filename 'dtb/'.
Load address: 0x88000000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Scanning disk [_EMAIL_]...
** Unrecognized filesystem type **
** Unrecognized filesystem type **
** Unrecognized filesystem type **
Found 4 disks
No EFI system partition
Booting /dtb\

Consoles: EFI console  
    Reading loader env vars from /efi/freebsd/loader.env
FreeBSD/riscv EFI loader, Revision 1.1
(Thu Jan 21 13:04:04 UTC 2021 root@freebsd)

   Command line arguments: l
   Image base: 0xfe5de000
   EFI version: 2.80
   EFI Firmware: Das U-Boot (rev 8225.256)
   Console: comconsole (0)
   Load Path: /dtb\
   Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/MAC(70b3d592f1d5,1)
Setting currdev to net0:
ethernet@10090000: PHY present at 0
ethernet@10090000: Starting autonegotiation...
Loading /boot/defaults/loader.conf complete
Loading /boot/defaults/loader.confps full-duplex (lpa: 0x3c00)
Loading /boot/device.hintsrs (status=3)
Loading /boot/loader.conf
Loading /boot/loader.conf.local
\

c/
-  ______               ____   _____ _____  
  |  ____|             |  _ \ / ____|  __ \ 
  | |___ _ __ ___  ___ | |_) | (___ | |  | |
  |  ___| '__/ _ \/ _ \|  _ < \___ \| |  | |
  | |   | | |  __/  __/| |_) |____) | |__| |
  | |   | | |    |    ||     |      |      |
  |_|   |_|  \___|\___||____/|_____/|_____/      ```                        `
                                                s` `.....---.......--.```   -/
 +-----------Welcome to FreeBSD------------+    +o   .--`         /y:`      +.
 |                                         |     yo`:.            :o      `+-
 |  1. Boot Multi user [Enter]             |      y/               -/`   -o/
 |  2. Boot Single user                    |     .-                  ::/sy+:.
 |  3. Escape to loader prompt             |     /                     `--  /
 |  4. Reboot                              |    `:                          :`
 |  5. Cons: Video                         |    `:                          :`
 |                                         |     /                          /
 |  Options:                               |     .-                        -.
 |  6. Kernel: default/kernel (1 of 1)     |      --                      -.
 |  7. Boot Options                        |       `:`                  `:`
 |                                         |         .--             `--.
 |                                         |            .---.....----.
 +-----------------------------------------+
   Autoboot in 10 seconds, hit [Enter] to boot or any other key to stop     
Loading kernel...
/boot/kernel/kernel text=0x58f35c text=0xeebec data=0xcd000 data=0x96c+0x66cec -syms=[0x8+0xb1ca8+0x8+0xd4422]
Loading configured modules...
/boot/entropy size=0x1000
/etc/hostid size=0x25
Using DTB provided by EFI at 0x87f00000.
Kernel entry at 0xf660002e...
Kernel args: (null)
---<<BOOT>>---
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2021 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 13.0-ALPHA1 #4 5bd565855a9: Thu Jan 21 13:53:57 UTC 2021
    root@freebsd:/usr/obj/usr/riscv-src/freebsd-src/riscv.riscv64/sys/GENERIC-NODEBUG riscv
FreeBSD clang version 11.0.1 ([_EMAIL_XXXXX]:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe)
SBI: OpenSBI v0.9
SBI Specification Version: 0.2
CPU(0): Unknown Implementer Unknown Processor
real memory  = 8589934592 (8192 MB)
avail memory = 8338493440 (7952 MB)
FreeBSD: PMP WAR applied
hart 2)
FretBSD: PMP WAR applied

FreeBSD: PMP WAR applied

FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
random: unblocking device.
random: entropy device external interface
WARNING: Device "openfirm" is Giant locked and may be deleted before FreeBSD 13.0.
ofwbus0: <Open Firmware Device Tree>
simplebus0: <Flattened device tree simple bus> on ofwbus0
fu540prci0: <SiFive FU540 Power Reset Clocking Interrupt> mem 0x10000000-0x10000fff on simplebus0
fu540prci0: cannot get clock 19
device_attach: fu540prci0 attach returned 19
clk_fixed0: <Fixed clock> on ofwbus0
clk_fixed1: <Fixed clock> on ofwbus0
fu540prci0: <SiFive FU540 Power Reset Clocking Interrupt> mem 0x10000000-0x10000fff on simplebus0
plic0: <RISC-V PLIC> mem 0xc000000-0xfffffff irq 0,1,2,3,4,5,6,7,8 on simplebus0
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>
cpulist0: <Open Firmware CPU Group> on ofwbus0
cpu0: <Open Firmware CPU> on cpulist0
cpu1: <Open Firmware CPU> on cpulist0
cpu2: <Open Firmware CPU> on cpulist0
cpu3: <Open Firmware CPU> on cpulist0
cpu4: <Open Firmware CPU> on cpulist0
uart0: <SiFive UART> mem 0x10010000-0x10010fff irq 9 on simplebus0
uart0: console (115180,n,8,1)
uart1: <SiFive UART> mem 0x10011000-0x10011fff irq 18 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:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
cgem0: Ethernet address: [_MAC_XXXXXXXXXX]
cryptosoft0: <software crypto>
Timecounters tick every 1.000 msec
Release APs
Trying to mount root from nfs: []...
cgem0: link state changed to DOWN
NFS ROOT:[_IP_XXXXXXXX]:/mnt/rpi4img
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
Interface cgem0 IP-Address[_IP_XXXXXX] Broadcast[_IP_XXXXXXXX] 
eval: cannot open /etc/fstab: No such file or directory
No suitable dump device was found.
Setting hostuuid: 30303030-3130-3564-0000-000000000000.
Setting hostid: 0x76ac81b1.
eval: cannot open /etc/fstab: No such file or directory
fstab: /etc/fstab:0: No such file or directory
Warning! No /etc/fstab: skipping disk checks.
fstab: /etc/fstab:0: No such file or directory
mount_nfs: can't update /var/db/mounttab for[_IP_XXXXXXXX]:/mnt/rpi4img
Mounting local filesystems:fstab: /etc/fstab:0: No such file or directory
.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat
/etc/rc: WARNING: $hostname is not set -- see rc.conf(5).
Setting up harvesting: [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED
Feeding entropy: .
eval: cannot open /etc/fstab: No such file or directory
lo0: link state changed to UP
Starting Network: lo0 cgem0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
	inet6 ::1 prefixlen 128
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
	inet[_IP_XXXX] netmask 0xff000000
	groups: lo
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
cgem0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=80008<VLAN_MTU,LINKSTATE>
	ether [_MAC_XXXXXXXXXX]
	inet[_IP_XXXXXX] netmask 0xffffff00 broadcast[_IP_XXXXXXXX]
	media: Ethernet autoselect (1000baseT <full-duplex>)
	status: active
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
Starting devd.
devd: cannot open pid file: No locks available
add host[_IP_XXXX]: gateway lo0
add host ::1: gateway lo0 fib 0: route already in table
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
fstab: /etc/fstab:0: No such file or directory
fstab: /etc/fstab:0: No such file or directory
Updating /var/run/os-release done.
Creating and/or trimming log files.
Clearing /tmp (X related).
Updating motd:.
Starting syslogd.
syslogd: cannot open pid file: No locks available
Mounting late filesystems:fstab: /etc/fstab:0: No such file or directory
.
fstab: /etc/fstab:0: No such file or directory
Starting sendmail_submit.
Starting sendmail_msp_queue.
Jan  1 00:00:18  sm-mta[669]: NOQUEUE: SYSERR(root): cannot flock(/var/run/sendmail.pid, fd=5, type=6, omode=40001, euid=0): No locks available
Starting cron.
cron: can't open or create /var/run/cron.pid: No locks available
/etc/rc: WARNING: failed to start cron
Starting background file system checks in 60 seconds.

Thu Jan  1 00:00:18 UTC 
FreeBSD/riscv (Amnesiac) (ttyu0)

login: root
Jan  1 00:00:23  login[702]: ROOT LOGIN (root) ON ttyu0
FreeBSD 13.0-ALPHA1 (GENERIC-NODEBUG) #4 5bd565855a9: Thu Jan 21 13:53:57 UTC 2021

Welcome to FreeBSD!

Release Notes, Errata: https://www.FreeBSD.org/releases/
Security Advisories:   https://www.FreeBSD.org/security/
FreeBSD Handbook:      https://www.FreeBSD.org/handbook/
FreeBSD FAQ:           https://www.FreeBSD.org/faq/
Questions List: https://lists.FreeBSD.org/mailman/listinfo/freebsd-questions/
FreeBSD Forums:        https://forums.FreeBSD.org/

Documents installed with the system are in the /usr/local/share/doc/freebsd/
directory, or can be installed later with:  pkg install en-freebsd-doc
For other languages, replace "en" with a language code like de or fr.

Show the version of FreeBSD installed:  freebsd-version ; uname -a
Please include that output and any error messages when posting questions.
Introduction to manual pages:  man man
FreeBSD directory layout:      man hier

To change this login announcement, see motd(5).
root@:~ #