# # https://docs.freebsd.org/de/books/handbook/kernelconfig/ # # cat /root/MYKERNEL > /usr/src/sys/amd64/conf/MYKERNEL # ### die zu bauenden Kernel festlegen in /etc/src.conf # KERNCONF=MYKERNEL GENERIC include GENERIC ident MYKERNEL nooptions DDB # Enable the ddb(4) kernel debugger options NULLFS # NULL filesystem device nvram # Access to rtc cmos via /dev/nvram # device speaker # Play IBM BASIC-style noises out your speaker envvar hint.speaker.0.at="isa" envvar hint.speaker.0.port="0x61" device isa #nodevice isa # Don't need to support an ISA bus # options ZFS # NB: This depends on crypto, cryptodev and ZSTDIO device crypto # core crypto support device cryptodev # /dev/crypto for access to h/w options ZSTDIO # zstd-compressed kernel and user dumps # device sg # Linux SCSI passthrough # PCI Ethernet NICs. device cxgb # Chelsio T3 10 Gigabit Ethernet device cxgb_t3fw # Chelsio T3 10 Gigabit Ethernet firmware device cxgbe # Chelsio T4-T6 1/10/25/40/100 Gigabit Ethernet device cxgbev # Chelsio T4-T6 Virtual Functions device mxge # Myricom Myri-10G 10GbE NIC device oce # Emulex 10 GbE (OneConnect Ethernet) ### oder in der /etc/src.conf mit der Variablen WITHOUT_MODULES abschalten ### WITHOUT_MODULES= amr arcmsr ciss iir ips mly twa smartpqi tws aac aacraid ida mfi mlx mrsas twe agp cbb pccard cardbus wlan wlan_wep wlan_ccmp wlan_tkip wlan_amrr an ath ath_pci ath_hal bwi bwn ipw iwi iwn malo mwl ral wpi virtio hyperv # nooptions COMPAT_FREEBSD4 # Compatible with FreeBSD4 nooptions COMPAT_FREEBSD5 # Compatible with FreeBSD5 nooptions COMPAT_FREEBSD6 # Compatible with FreeBSD6 nooptions COMPAT_FREEBSD7 # Compatible with FreeBSD7 nooptions COMPAT_FREEBSD8 # Compatible with FreeBSD7 nooptions COMPAT_FREEBSD9 # Compatible with FreeBSD9 nooptions COMPAT_FREEBSD10 # Compatible with FreeBSD10 #nooptions COMPAT_FREEBSD11 # Compatible with FreeBSD11 / lang/rust rust-1.83.0 => Sanity check failed: kernel is missing COMPAT_FREEBSD11 #nooptions COMPAT_FREEBSD12 # Compatible with FreeBSD12 # ===> Configuring for rust-1.75.0 # Bad system call # => Sanity check failed: kernel is missing COMPAT_FREEBSD11 # => Aborting build