Last active
September 26, 2023 17:46
-
-
Save pandrewhk/2d62664bfb74a504b7f4a894fc85eb97 to your computer and use it in GitHub Desktop.
FreeBSD 13.2 arm64 on Hetzner CAX11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- # download VIMAGE to a spare FreeBSD box | |
- unxz -T0 # uncompress | |
- mdconfig image.raw; mount # for editing | |
- sshd_enable | |
- devmatch_blacklist="virtio_random.ko" # avoid a bug | |
- PermitRootLogin | |
- /root/.ssh/authorized_keys | |
- umount; mdconfig -d | |
- xz -T0 -9 # compress edited image | |
- cp nginx/ # publish with any web server | |
- # reboot the cloud instance into linux rescue | |
- linux-aarch64-rescue$ curl | unxz > /dev/sda | |
- # optional before rebooting | |
- file -sk /dev/sda* # check the file systems | |
- mount -tufs -oufstype=ufs2 /dev/sda3 /tmp/v1 # check the config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC arm64 | |
FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) | |
VT: init without driver. | |
module firmware already present! | |
real memory = 4194304000 (4000 MB) | |
avail memory = 4061442048 (3873 MB) | |
Starting CPU 1 (1) | |
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs | |
random: unblocking device. | |
random: entropy device external interface | |
MAP 132440000 mode 2 pages 128 | |
MAP 1324c0000 mode 2 pages 448 | |
MAP 132680000 mode 2 pages 176 | |
MAP 135c00000 mode 2 pages 400 | |
MAP 135d90000 mode 2 pages 592 | |
MAP 4000000 mode 0 pages 16384 | |
MAP 9010000 mode 0 pages 1 | |
kbd0 at kbdmux0 | |
acpi0: <BOCHS BXPC> | |
acpi0: Power Button (fixed) | |
acpi0: Sleep Button (fixed) | |
acpi0: Could not update all GPEs: AE_NOT_CONFIGURED | |
psci0: <ARM Power State Co-ordination Interface Driver> on acpi0 | |
gic0: <ARM Generic Interrupt Controller v3.0> iomem 0x8000000-0x801ffff,0x80a0000-0x8ffffff on acpi0 | |
its0: <ARM GIC Interrupt Translation Service> mem 0x8080000-0x809ffff on gic0 | |
generic_timer0: <ARM Generic Timer> irq 34,35,36 on acpi0 | |
Timecounter "ARM MPCore Timecounter" frequency 25000000 Hz quality 1000 | |
Event timer "ARM MPCore Eventtimer" frequency 25000000 Hz quality 1000 | |
efirtc0: <EFI Realtime Clock> | |
efirtc0: registered as a time-of-day clock, resolution 1.000000s | |
cpu0: <ACPI CPU> on acpi0 | |
uart0: <PrimeCell UART (PL011)> iomem 0x9000000-0x9000fff irq 0 on acpi0 | |
uart0: console (9600,n,8,1) | |
pcib0: <Generic PCI host controller> on acpi0 | |
pci0: <PCI bus> on pcib0 | |
virtio_pci0: <VirtIO PCI (modern) GPU adapter> mem 0x11289000-0x11289fff,0x8000500000-0x8000503fff at device 1.0 on pci0 | |
pcib1: <PCI-PCI bridge> mem 0x11288000-0x11288fff at device 2.0 on pci0 | |
pcib0: pci_host_generic_core_alloc_resource FAIL: type=4, rid=28, start=0000000000008000, end=0000000000008fff, count=0000000000001000, flags=0 | |
pcib1: failed to allocate initial I/O port window: 0x8000-0x8fff | |
pci1: <PCI bus> on pcib1 | |
virtio_pci1: <VirtIO PCI (modern) Network adapter> mem 0x11000000-0x11000fff,0x8000000000-0x8000003fff at device 0.0 on pci1 | |
vtnet0: <VirtIO Networking Adapter> on virtio_pci1 | |
vtnet0: Ethernet address: 96:00:02:1c:43:34 | |
pcib2: <PCI-PCI bridge> mem 0x11287000-0x11287fff at device 2.1 on pci0 | |
pci2: <PCI bus> on pcib2 | |
xhci0: <XHCI (generic) USB 3.0 controller> mem 0x10e00000-0x10e03fff at device 0.0 on pci2 | |
xhci0: 32 bytes context size, 64-bit DMA | |
usbus0 on xhci0 | |
pcib3: <PCI-PCI bridge> mem 0x11286000-0x11286fff at device 2.2 on pci0 | |
pci3: <PCI bus> on pcib3 | |
virtio_pci2: <VirtIO PCI (modern) Console adapter> mem 0x10c00000-0x10c00fff,0x8000100000-0x8000103fff at device 0.0 on pci3 | |
pcib4: <PCI-PCI bridge> mem 0x11285000-0x11285fff at device 2.3 on pci0 | |
pci4: <PCI bus> on pcib4 | |
virtio_pci3: <VirtIO PCI (modern) Balloon adapter> mem 0x8000200000-0x8000203fff at device 0.0 on pci4 | |
pcib5: <PCI-PCI bridge> mem 0x11284000-0x11284fff at device 2.4 on pci0 | |
pci5: <PCI bus> on pcib5 | |
virtio_pci4: <VirtIO PCI (modern) Entropy adapter> mem 0x8000300000-0x8000303fff at device 0.0 on pci5 | |
pcib6: <PCI-PCI bridge> mem 0x11283000-0x11283fff at device 2.5 on pci0 | |
pci6: <PCI bus> on pcib6 | |
virtio_pci5: <VirtIO PCI (modern) SCSI adapter> mem 0x10600000-0x10600fff,0x8000400000-0x8000403fff at device 0.0 on pci6 | |
vtscsi0: <VirtIO SCSI Adapter> on virtio_pci5 | |
pcib7: <PCI-PCI bridge> mem 0x11282000-0x11282fff at device 2.6 on pci0 | |
pci7: <PCI bus> on pcib7 | |
pcib8: <PCI-PCI bridge> mem 0x11281000-0x11281fff at device 2.7 on pci0 | |
pci8: <PCI bus> on pcib8 | |
pcib9: <PCI-PCI bridge> mem 0x11280000-0x11280fff at device 3.0 on pci0 | |
pci9: <PCI bus> on pcib9 | |
pci0: <simple comms, UART> at device 4.0 (no driver attached) | |
acpi_button0: <Power Button> on acpi0 | |
armv8crypto0: <AES-CBC,AES-XTS,AES-GCM> | |
Timecounters tick every 1.000 msec | |
CPU 0: ARM Neoverse-N1 r3p1 affinity: 0 | |
Cache Type = <64 byte D-cacheline,64 byte I-cacheline,PIPT ICache,64 byte ERG,64 byte CWG,IDC> | |
Instruction Set Attributes 0 = <DP,RDM,Atomic,CRC32,SHA2,SHA1,AES+PMULL> | |
Instruction Set Attributes 1 = <RCPC-8.3,DCPoP> | |
Instruction Set Attributes 2 = <> | |
Processor Features 0 = <CSV3,CSV2,RAS,GIC,AdvSIMD+HP,FP+HP,EL3,EL2,EL1,EL0 32> | |
Processor Features 1 = <PSTATE.SSBS MSR> | |
Memory Model Features 0 = <TGran4,TGran64,TGran16,SNSMem,BigEnd,16bit ASID,256TB PA> | |
Memory Model Features 1 = <XNX,PAN+ATS1E1,LO,HPD+TTPBHA,VH,16bit VMID,HAF+DS> | |
Memory Model Features 2 = <EVT-8.2,32bit CCIDX,48bit VA,UAO,CnP> | |
Debug Features 0 = <DoubleLock,2 CTX BKPTs,4 Watchpoints,6 Breakpoints,PMUv3 v8.1,Debugv8> | |
Debug Features 1 = <> | |
Auxiliary Features 0 = <> | |
Auxiliary Features 1 = <> | |
AArch32 Instruction Set Attributes 5 = <RDM,CRC32,SHA2,SHA1,AES+VMULL,SEVL> | |
AArch32 Media and VFP Features 0 = <FPRound,FPSqrt,FPDivide,DP VFPv3+v4,SP VFPv3+v4,AdvSIMD> | |
AArch32 Media and VFP Features 1 = <SIMDFMAC,FPHP Arith,SIMDHP Arith,SIMDSP,SIMDInt,SIMDLS,FPDNaN,FPFtZ> | |
CPU 1: ARM Neoverse-N1 r3p1 affinity: 1 | |
Release APs...done | |
usbus0: 5.0Gbps Super Speed USB v3.0 | |
Trying to mount root from ufs:/dev/gpt/rootfs [rw]... | |
cd0 at vtscsi0 bus 0 scbus0 target 0 lun 0 | |
cd0: <QEMU QEMU CD-ROM 2.5+> Removable CD-ROM SPC-3 SCSI device | |
cd0: 300.000MB/s transfers | |
cd0: Command Queueing enabled | |
cd0: Attempt to query device size failed: NOT READY, Medium not present | |
da0 at vtscsi0 bus 0 scbus0 target 0 lun 1 | |
da0: <QEMU QEMU HARDDISK 2.5+> Fixed Direct Access SPC-3 SCSI device | |
da0: 300.000MB/s transfers | |
da0: Command Queueing enabled | |
da0: 39064MB (80003072 512 byte sectors) | |
ugen0.1: <(0x1b36) XHCI root HUB> at usbus0 | |
uhub0 on usbus0 | |
uhub0: <(0x1b36) XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 | |
GEOM: da0: the secondary GPT header is not in the last LBA. | |
uhub0: 8 ports with 8 removable, self powered | |
ugen0.2: <QEMU QEMU USB Tablet> at usbus0 | |
Root mount waiting for: usbus0 | |
ugen0.3: <QEMU QEMU USB Keyboard> at usbus0 | |
ukbd0 on uhub0 | |
ukbd0: <QEMU QEMU USB Keyboard, class 0/0, rev 2.00/0.00, addr 2> on usbus0 | |
kbd1 at ukbd0 | |
Dual Console: Video Primary, Serial Secondary | |
vtcon0: <VirtIO Console Adapter> on virtio_pci2 | |
vtballoon0: <VirtIO Balloon Adapter> on virtio_pci3 | |
vtrnd0: <VirtIO Entropy Adapter> on virtio_pci4 | |
random: registering fast source VirtIO Entropy Adapter | |
lo0: link state changed to UP | |
vtnet0: link state changed to UP | |
uhid0 on uhub0 | |
uhid0: <QEMU QEMU USB Tablet, class 0/0, rev 2.00/0.00, addr 1> on usbus0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment