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: 2023-04-21 13:33:24
From: rin
Description: NetBSD/evbarm64 on QEMU with PXE boot
% uname -a NetBSD latipes 9.99.82 NetBSD 9.99.82 (AMD64) #24: Mon May 10 15:40:31 JST 2021 rin@latipes:/usr/src/sys/arch/amd64/compile/AMD64 amd64 % pkg_info | grep qemu qemu-7.1.0 CPU emulator using dynamic translation % ftp https://snapshots.linaro.org/components/kernel/leg-virt-tianocore-edk2-upstream/4480/QEMU-AARCH64/RELEASE_GCC5/QEMU_EFI.fd ...(snip)... % sha1 QEMU_EFI.fd SHA1 (QEMU_EFI.fd) = 5b2770e3ff827720eeb8056d7c1c68377feb07af % ifconfig aq0 aq0: flags=0x8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500 capabilities=0x3ff00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx> capabilities=0x3ff00<UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx,TCP6CSUM_Tx> capabilities=0x3ff00<UDP6CSUM_Rx,UDP6CSUM_Tx> enabled=0 ec_capabilities=0xf<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWFILTER> ec_enabled=0xb<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWFILTER> address: xx:xx:xx:xx:xx:xx media: Ethernet 10Gbase-T full-duplex,flowcontrol (10Gbase-T full-duplex,rxpause,txpause) status: active inet6 fe80::xxxx:xxxx:xxxx:xxxx%aq0/64 flags 0 scopeid 0x1 inet[_IP_XXXXXXXXX]/24 broadcast[_IP_XXXXXXXXX] flags 0 % sudo ifconfig tap0 create up[_IP_XXXXXXXXX]/24 % sudo ifconfig bridge0 create up % sudo brconfig bridge0 add aq0 % sudo brconfig bridge0 add tap0 % cat /etc/dhcpd.conf subnet[_IP_XXXXXXX] netmask[_IP_XXXXXXXX] { range[_IP_XXXXXXX][_IP_XXXXXXXXX]; option domain-name-servers[_IP_XXXXXXX]; option routers[_IP_XXXXXXX]; default-lease-time 3600; max-lease-time 86400; } host arm64 { hardware ethernet [_MAC_XXXXXXXXXX]; fixed-address[_IP_XXXXXXXX]; next-server[_IP_XXXXXXXXX]; option root-path "/exports/arm64"; if substring (option vendor-class-identifier, 0, 9) = "PXEClient" { filename "bootaa64.efi"; } } % sudo /etc/rc.d/dhcpd onerestart Stopping dhcpd. Starting dhcpd. % grep arm64 /etc/hosts 192.168.10.64 arm64 % grep arm64 /etc/exports /exports/arm64 -maproot=root arm64 % showmount -e | grep arm64 /exports/arm64 arm64 % what /exports/arm64/netbsd /exports/arm64/netbsd NetBSD 10.99.2 (GENERIC64) #0: Fri Apr 21 21:32:54 JST 2023 % cat /exports/arm64/boot.cfg menu=normal:boot netbsd root=vioif0 menu=sv:boot netbsd -sv root=vioif0 menu=prompt:prompt timeout=15 default=1 % sudo qemu-system-aarch64 -M virt -cpu cortex-a53 -smp 4 -m 4g -netdev type=tap,id=tap0,ifname=tap0,script=no -device virtio-net-device,netdev=tap0,mac=[_MAC_XXXXXXXXXX] -bios QEMU_EFI.fd -nographic BdsDxe: failed to load Boot0001 "UEFI Misc Device" from VenHw(93E34C7E-B50E-11DF-9223-2443DFD72085,00): Not Found >>Start PXE over IPv4. Station IP address is[_IP_XXXXXXXX] Server IP address is[_IP_XXXXXXXXX] NBP filename is bootaa64.efi NBP filesize is 196056 Bytes Downloading NBP file... NBP file downloaded successfully. BdsDxe: loading Boot0002 "UEFI PXEv4 (MAC:001122334455)" from VenHw(837DCA9E-E874-4D82-B29A-23FE0E23D1E2,003E000A00000000)/MAC(001122334455,0x1)/IPv4(0.0.0.0,0x0,DHCP,0.0.0.0,0.0.0.0,0.0.0.0) BdsDxe: starting Boot0002 "UEFI PXEv4 (MAC:001122334455)" from VenHw(837DCA9E-E874-4D82-B29A-23FE0E23D1E2,003E000A00000000)/MAC(001122334455,0x1)/IPv4(0.0.0.0,0x0,DHCP,0.0.0.0,0.0.0.0,0.0.0.0) boot: client ip:[_IP_XXXXXXXX] boot: server ip:[_IP_XXXXXXXXX] boot: server path: /exports/arm64 \\-__,------,___. \\ __,---` NetBSD/evbarm efiboot (arm64) \\ `---,_. Revision 2.13 (Sat Jan 21 13:49:20 UTC 2023) \\-,_____,.---` \\ \\ \\ 1. normal 2. sv 3. prompt Choose an option; RETURN for default; SPACE to stop countdown. Option 1 will be chosen in 0 seconds. 8509968+3659016+4175968+1741464 [587816+1180296+706825]=0x16019c8 [ 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] 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.2 (GENERIC64) #0: Fri Apr 21 21:32:54 JST 2023 [ 1.0000000] rin@latipes:/build/src/sys/arch/evbarm/compile/GENERIC64 [ 1.0000000] total memory = 4070 MB [ 1.0000000] avail memory = 3922 MB [ 1.0000000] armfdt0 (root) [ 1.0000000] armfdt0: using EFI runtime services for RTC [ 1.0000000] simplebus0 at armfdt0: QEMU QEMU Virtual Machine [ 1.0000000] simplebus1 at simplebus0 [ 1.0000000] acpifdt0 at simplebus0 [ 1.0000000] acpifdt0: SMBIOS rev. 3.0.0 @ 0x13bec0000 [ 1.0000000] ACPI: RSDP 0x0000000138500018 000024 (v02 BOCHS ) [ 1.0000000] ACPI: XSDT 0x000000013850FE98 000064 (v01 BOCHS BXPC 00000001 01000013) [ 1.0000000] ACPI: FACP 0x000000013850FA98 00010C (v05 BOCHS BXPC 00000001 BXPC 00000001) [ 1.0000000] ACPI: DSDT 0x0000000138507518 0014A2 (v02 BOCHS BXPC 00000001 BXPC 00000001) [ 1.0000000] ACPI: APIC 0x000000013850FC18 00018C (v03 BOCHS BXPC 00000001 BXPC 00000001) [ 1.0000000] ACPI: PPTT 0x000000013850D898 00009C (v02 BOCHS BXPC 00000001 BXPC 00000001) [ 1.0000000] ACPI: GTDT 0x000000013850E818 000060 (v02 BOCHS BXPC 00000001 BXPC 00000001) [ 1.0000000] ACPI: MCFG 0x000000013850E918 00003C (v01 BOCHS BXPC 00000001 BXPC 00000001) [ 1.0000000] ACPI: SPCR 0x000000013850FF98 000050 (v02 BOCHS BXPC 00000001 BXPC 00000001) [ 1.0000000] ACPI: DBG2 0x000000013850E418 000057 (v00 BOCHS BXPC 00000001 BXPC 00000001) [ 1.0000000] ACPI: IORT 0x000000013850E718 000080 (v03 BOCHS BXPC 00000001 BXPC 00000001) [ 1.0000000] ACPI: 1 ACPI AML tables successfully acquired and loaded [ 1.0000000] acpi0 at acpifdt0: Intel ACPICA 20221020 [ 1.0000000] cpu0 at acpi0: Arm Cortex-A53 r0p4 (v8-A), id 0x0 [ 1.0000000] cpu0: package 0, core 0, smt 0 [ 1.0000000] cpu1 at acpi0: Arm Cortex-A53 r0p4 (v8-A), id 0x1 [ 1.0000000] cpu1: package 0, core 1, smt 0 [ 1.0000000] cpu2 at acpi0: Arm Cortex-A53 r0p4 (v8-A), id 0x2 [ 1.0000000] cpu2: package 0, core 2, smt 0 [ 1.0000000] cpu3 at acpi0: Arm Cortex-A53 r0p4 (v8-A), id 0x3 [ 1.0000000] cpu3: package 0, core 3, smt 0 [ 1.0000000] gic0 at acpi0: GIC [ 1.0000000] armgic0 at gic0: Generic Interrupt Controller, 288 sources (288 valid) [ 1.0000000] armgic0: 256 Priorities, 256 SPIs, 16 PPIs, 16 SGIs [ 1.0000000] armgic0: GICv2m @ 0x8020000, SPIs 80-144 [ 1.0000000] gtmr0 at acpi0: irq 27 [ 1.0000000] armgtmr0 at gtmr0: Generic Timer (62500 kHz, virtual) [ 1.0000040] C000 (ACPI0007) at acpi0 not configured [ 1.0000040] C001 (ACPI0007) at acpi0 not configured [ 1.0000040] C002 (ACPI0007) at acpi0 not configured [ 1.0000040] C003 (ACPI0007) at acpi0 not configured [ 1.0000040] plcom0 at acpi0 (COM0, ARMH0011-0): mem 0x9000000-0x9000fff irq 33 [ 1.0000040] plcom0: console [ 1.0000040] qemufwcfg0 at acpi0 (FWCF, QEMU0002): mem 0x9020000-0x9020017 [ 1.0000040] virtio0 at acpi0 (VR00, LNRO0005-0): mem 0xa000000-0xa0001ff irq 48 [ 1.0000040] virtio1 at acpi0 (VR01, LNRO0005-1): mem 0xa000200-0xa0003ff irq 49 [ 1.0000040] virtio2 at acpi0 (VR02, LNRO0005-2): mem 0xa000400-0xa0005ff irq 50 [ 1.0000040] virtio3 at acpi0 (VR03, LNRO0005-3): mem 0xa000600-0xa0007ff irq 51 [ 1.0000040] virtio4 at acpi0 (VR04, LNRO0005-4): mem 0xa000800-0xa0009ff irq 52 [ 1.0000040] virtio5 at acpi0 (VR05, LNRO0005-5): mem 0xa000a00-0xa000bff irq 53 [ 1.0000040] virtio6 at acpi0 (VR06, LNRO0005-6): mem 0xa000c00-0xa000dff irq 54 [ 1.0000040] virtio7 at acpi0 (VR07, LNRO0005-7): mem 0xa000e00-0xa000fff irq 55 [ 1.0000040] virtio8 at acpi0 (VR08, LNRO0005-8): mem 0xa001000-0xa0011ff irq 56 [ 1.0000040] virtio9 at acpi0 (VR09, LNRO0005-9): mem 0xa001200-0xa0013ff irq 57 [ 1.0000040] virtio10 at acpi0 (VR10, LNRO0005-10): mem 0xa001400-0xa0015ff irq 58 [ 1.0000040] virtio11 at acpi0 (VR11, LNRO0005-11): mem 0xa001600-0xa0017ff irq 59 [ 1.0000040] virtio12 at acpi0 (VR12, LNRO0005-12): mem 0xa001800-0xa0019ff irq 60 [ 1.0000040] virtio13 at acpi0 (VR13, LNRO0005-13): mem 0xa001a00-0xa001bff irq 61 [ 1.0000040] virtio14 at acpi0 (VR14, LNRO0005-14): mem 0xa001c00-0xa001dff irq 62 [ 1.0000040] virtio15 at acpi0 (VR15, LNRO0005-15): mem 0xa001e00-0xa001fff irq 63 [ 1.0000040] virtio16 at acpi0 (VR16, LNRO0005-16): mem 0xa002000-0xa0021ff irq 64 [ 1.0000040] virtio17 at acpi0 (VR17, LNRO0005-17): mem 0xa002200-0xa0023ff irq 65 [ 1.0000040] virtio18 at acpi0 (VR18, LNRO0005-18): mem 0xa002400-0xa0025ff irq 66 [ 1.0000040] virtio19 at acpi0 (VR19, LNRO0005-19): mem 0xa002600-0xa0027ff irq 67 [ 1.0000040] virtio20 at acpi0 (VR20, LNRO0005-20): mem 0xa002800-0xa0029ff irq 68 [ 1.0000040] virtio21 at acpi0 (VR21, LNRO0005-21): mem 0xa002a00-0xa002bff irq 69 [ 1.0000040] virtio22 at acpi0 (VR22, LNRO0005-22): mem 0xa002c00-0xa002dff irq 70 [ 1.0000040] virtio23 at acpi0 (VR23, LNRO0005-23): mem 0xa002e00-0xa002fff irq 71 [ 1.0000040] virtio24 at acpi0 (VR24, LNRO0005-24): mem 0xa003000-0xa0031ff irq 72 [ 1.0000040] virtio25 at acpi0 (VR25, LNRO0005-25): mem 0xa003200-0xa0033ff irq 73 [ 1.0000040] virtio26 at acpi0 (VR26, LNRO0005-26): mem 0xa003400-0xa0035ff irq 74 [ 1.0000040] virtio27 at acpi0 (VR27, LNRO0005-27): mem 0xa003600-0xa0037ff irq 75 [ 1.0000040] virtio28 at acpi0 (VR28, LNRO0005-28): mem 0xa003800-0xa0039ff irq 76 [ 1.0000040] virtio29 at acpi0 (VR29, LNRO0005-29): mem 0xa003a00-0xa003bff irq 77 [ 1.0000040] virtio30 at acpi0 (VR30, LNRO0005-30): mem 0xa003c00-0xa003dff irq 78 [ 1.0000040] virtio31 at acpi0 (VR31, LNRO0005-31): mem 0xa003e00-0xa003fff irq 79 [ 1.0000040] virtio31: network device (id 1, rev. 0x01) [ 1.0000040] vioif0 at virtio31: features: 0x31870020<EVENT_IDX,INDIRECT_DESC,NOTIFY_ON_EMPTY,CTRL_MAC,CTRL_RX,CTRL_VQ,STATUS,MAC> [ 1.0000040] vioif0: Ethernet address [_MAC_XXXXXXXXXX] [ 1.0000040] virtio31: interrupting on irq 79 [ 1.0000040] acpipchb0 at acpi0 (PCI0, PNP0A08-0): PCI Express Host Bridge [ 1.0000040] pci0 at acpipchb0 bus 0 [ 1.0000040] vendor 1b36 product 0008 (host bridge) at pci0 dev 0 function 0 not configured [ 1.0000040] acpiged0 at acpi0 (GED, ACPI0013-GED): irq 41 [ 1.0000040] acpibut0 at acpi0 (PWRB, PNP0C0C-0): ACPI Power Button [ 1.4167808] cpu0: PMU interrupting on irq 23 [ 1.4467384] WARNING: system needs entropy for security; see entropy(7) [ 1.4866955] swwdog0: software watchdog initialized [ 1.4866955] boot device: <unknown> [ 1.4967467] root on vioif0 [ 1.4982372] nfs_boot: trying DHCP/BOOTP [ 7.4967214] nfs_boot: DHCP next-server:[_IP_XXXXXXXXX] [ 7.4967214] nfs_boot: my_addr=192.168.10.64 [ 7.4967214] nfs_boot: my_mask=255.255.255.0 [ 7.4967214] nfs_boot: gateway=192.168.10.1 [ 19.4322903] root on[_IP_XXXXXXXXX]:/exports/arm64 [ 19.4444993] root file system type: nfs [ 19.4444993] kern.module.path=/stand/evbarm/10.99.2/modules /etc/rc.conf is not configured. Multiuser boot aborted. Enter pathname of shell or RETURN for /bin/sh: We recommend that you create a non-root account and use su(1) for root access. [ 111.7001321] WARNING: system needs entropy for security; see entropy(7) # uname -a NetBSD 10.99.2 NetBSD 10.99.2 (GENERIC64) #0: Fri Apr 21 21:32:54 JST 2023 rin@latipes:/build/src/sys/arch/evbarm/compile/GENERIC64 evbarm #