Hallo,
zunächst: ich bin kein IT-Fachmensch. Ich versuche gerade, FreeBSD zu verstehen. Ein wenig Linux-Erfahrung hab ich.
Konkret will ich demnächst versuchen, einen Kernel nur mit den erforderlichen Modulen zu bauen - ist noch ein langer Weg. Denn folgendes Problem:
ich habe keine Ahnung, welche der vielen Konfigurationsdateien überhaupt beim Booten geladen werden.
Das Handbuch, die Man-pages brachten mich nicht weiter.
Ich bin noch nicht einmal so weit zu sagen, ob irgendein "EFI"- oder anderer Loader zum Tragen kommt
Habe hier eine VM eingereichtet, FreeBSD aber auch auf einem älteren Notebook installiert. Ein paar Ausgaben der VM:
Das ein ZFS vorliegt und eine GPT-Tabelle ist somit mal verstanden (hoffe ich...).
Wie kann ich denn herausfinden, welche Konfigurationsdateien ausgeführt werden und wo die Modulkonfiguration erfolgt?
Besten Dank!
zunächst: ich bin kein IT-Fachmensch. Ich versuche gerade, FreeBSD zu verstehen. Ein wenig Linux-Erfahrung hab ich.
Konkret will ich demnächst versuchen, einen Kernel nur mit den erforderlichen Modulen zu bauen - ist noch ein langer Weg. Denn folgendes Problem:
ich habe keine Ahnung, welche der vielen Konfigurationsdateien überhaupt beim Booten geladen werden.
Das Handbuch, die Man-pages brachten mich nicht weiter.
Ich bin noch nicht einmal so weit zu sagen, ob irgendein "EFI"- oder anderer Loader zum Tragen kommt

Habe hier eine VM eingereichtet, FreeBSD aber auch auf einem älteren Notebook installiert. Ein paar Ausgaben der VM:
Code:
root@Beastie:~ # gpart show -l
=> 40 209715120 ada0 GPT (100G)
40 1024 1 gptboot0 (512K)
1064 984 - free - (492K)
2048 4194304 2 swap0 (2.0G)
4196352 205516800 3 zfs0 (98G)
209713152 2008 - free - (1.0M)
Das ein ZFS vorliegt und eine GPT-Tabelle ist somit mal verstanden (hoffe ich...).
Code:
/var/run/dmesg.boot:
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-RELEASE-p11 #0: Tue Apr 5 18:54:35 UTC 2022
root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe)
VT(vga): text 80x25
CPU: AMD Ryzen 5 PRO 4650G with Radeon Graphics (3693.16-MHz K8-class CPU)
Origin="AuthenticAMD" Id=0x860f01 Family=0x17 Model=0x60 Stepping=1
Features=0x1783fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2,HTT>
Features2=0x5ed82203<SSE3,PCLMULQDQ,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,RDRAND>
AMD Features=0x2a500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM>
AMD Features2=0x1f3<LAHF,CMP,CR8,ABM,SSE4A,MAS,Prefetch>
Structured Extended Features=0x840021<FSGSBASE,AVX2,RDSEED,CLFLUSHOPT>
TSC: P-state invariant
real memory = 4831838208 (4608 MB)
avail memory = 4112486400 (3921 MB)
Event timer "LAPIC" quality 100
ACPI APIC Table: <VBOX VBOXAPIC>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
random: registering fast source Intel Secure Key RNG
random: fast provider: "Intel Secure Key RNG"
random: unblocking device.
ioapic0: MADT APIC ID 4 != hw id 0
ioapic0 <Version 2.0> irqs 0-23
Launching APs: 3 1 2
Timecounter "TSC-low" frequency 1846581572 Hz quality 0
KTLS: Initialized 4 threads
random: entropy device external interface
[ath_hal] loaded
WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD 14.0.
kbd1 at kbdmux0
000.000058 [4347] netmap_init netmap: loaded module
mlx5en: Mellanox Ethernet driver 3.6.0 (December 2020)
nexus0
vtvga0: <VT VGA driver>
cryptosoft0: <software crypto>
aesni0: <AES-CBC,AES-CCM,AES-GCM,AES-ICM,AES-XTS>
acpi0: <VBOX VBOXXSDT>
acpi0: Power Button (fixed)
acpi0: Sleep Button (fixed)
cpu0: <ACPI CPU> on acpi0
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xd000-0xd00f at device 1.1 on pci0
ata0: <ATA channel> at channel 0 on atapci0
ata1: <ATA channel> at channel 1 on atapci0
vgapci0: <VGA-compatible display> port 0xd010-0xd01f mem 0xe0000000-0xe1ffffff,0xf0000000-0xf01fffff irq 18 at device 2.0 on pci0
vgapci0: Boot video device
em0: <Intel(R) PRO/1000 Network Connection> port 0xd020-0xd027 mem 0xf0200000-0xf021ffff irq 19 at device 3.0 on pci0
em0: Using 1024 TX descriptors and 1024 RX descriptors
em0: Ethernet address: 08:00:27:05:31:5d
em0: netmap queues/slots: TX 1/1024, RX 1/1024
pcm0: <Intel ICH (82801AA)> port 0xd100-0xd1ff,0xd200-0xd23f irq 21 at device 5.0 on pci0
pcm0: <SigmaTel STAC9700/83/84 AC97 Codec>
ohci0: <Apple KeyLargo/Intrepid USB controller> mem 0xf0804000-0xf0804fff irq 22 at device 6.0 on pci0
usbus0 on ohci0
usbus0: 12Mbps Full Speed USB v1.0
pci0: <bridge> at device 7.0 (no driver attached)
acpi_acad0: <AC Adapter> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
WARNING: Device "psm" is Giant locked and may be deleted before FreeBSD 14.0.
psm0: model IntelliMouse Explorer, device ID 4
orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff pnpid ORM0000 on isa0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff pnpid PNP0900 on isa0
atrtc0: <AT realtime clock> at port 0x70 irq 8 on isa0
atrtc0: registered as a time-of-day clock, resolution 1.000000s
Event timer "RTC" frequency 32768 Hz quality 0
atrtc0: non-PNP ISA device will be removed from GENERIC in FreeBSD 14.
Timecounters tick every 10.000 msec
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
pcm0: measured ac97 link rate at 26803 Hz
Trying to mount root from zfs:zroot/ROOT/default []...
Root mount waiting for: CAM usbus0
ugen0.1: <Apple OHCI root HUB> at usbus0
uhub0 on usbus0
uhub0: <Apple OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ada0 at ata0 bus 0 scbus0 target 0 lun 0
ada0: <VBOX HARDDISK 1.0> ATA-6 device
ada0: Serial Number VB6f59a013-1469c71e
ada0: 33.300MB/s transfers (UDMA2, PIO 65536bytes)
ada0: 102400MB (209715200 512 byte sectors)
cd0 at ata1 bus 0 scbus1 target 0 lun 0
cd0: <VBOX CD-ROM 1.0> Removable CD-ROM SCSI device
cd0: Serial Number VB2-01700376
cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present
uhub0: 12 ports with 12 removable, self powered
vboxguest0 port 0xd040-0xd05f mem 0xf0400000-0xf07fffff,0xf0800000-0xf0803fff irq 20 at device 4.0 on pci0
vboxguest: loaded successfully
intsmb0: <Intel PIIX4 SMBUS Interface> irq 23 at device 7.0 on pci0
intsmb0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
[drm] amdgpu kernel modesetting enabled.
lo0: link state changed to UP
em0: link state changed to UP
Besten Dank!