Hi,
I'm trying out FreeBSD 11.1-RELEASE amd64. Fresh install and without any update I'm trying to follow the instruction from http://www.wonkity.com/~wblock/docs/html/buildworld.html to build and install world with custom kernel.
I created my custom kernel by following http://www.wonkity.com/~wblock/docs/html/kernelconfig.html from GENERIC.
Reason for building and installing the world is to remove:
Following the instruction from wonkity, everything goes good without any error until I execute:
This ends with so many errors like:
I've never seen these error during install kernel and I was wondering someone can help me to fix these.
Thank you,
I'm trying out FreeBSD 11.1-RELEASE amd64. Fresh install and without any update I'm trying to follow the instruction from http://www.wonkity.com/~wblock/docs/html/buildworld.html to build and install world with custom kernel.
I created my custom kernel by following http://www.wonkity.com/~wblock/docs/html/kernelconfig.html from GENERIC.
Reason for building and installing the world is to remove:
- binutils which mainly I want to remove ld and use lld instead.
- Removing GAMES, EXAMPLES, NLS, ...
- Removing Debugging tools (this is going to be production/home ;-) server and I don't really need them).
Code:
// Want to have [FILE]lld[/FILE] instead of [FILE]ld[/FILE]
WITH_LLD=yes
WITH_LLD_IS_LD=yes
WITH_LLD_BOOTSTRAP=yes
WITH_LLVM_LIBUNWIND=yes
WITHOUT_BINUTILS=yes
WITHOUT_BINUTILS_BOOTSTRAP=yes
// These are what I have concerns about. My custom kernel doesn't include these
// as well
WITHOUT_BHYVE=yes
WITHOUT_DTRACE_TESTS=yes
WITHOUT_HYPERV=yes
WITHOUT_KDUMP=yes
WITHOUT_KERNEL_SYMBOLS=yes
// Since it is going to be a server, I want it to remove these as they are not need. I have them in
// my desktop
WITHOUT_GAMES=yes
WITHOUT_EXAMPLES=yes
WITHOUT_SHAREDOCS=yes
WITHOUT_DOCCOMPRESS=yes
WITHOUT_DICT=yes
make installworld KERNCONF=CUSTOM
This ends with so many errors like:
Code:
kldxref: error while reading /boot/kernel/libmchain.ko: Bad address
kldxref: error while reading /boot/kernel/linprocfs.ko: Bad address
kldxref: error while reading /boot/kernel/linsysfs.ko: Bad address
kldxref: error while reading /boot/kernel/mfi_linux.ko: Bad address
kldxref: error while reading /boot/kernel/mmcsd.ko: Bad address
kldxref: error while reading /boot/kernel/mrsas_linux.ko: Bad address
kldxref: error while reading /boot/kernel/msdosfs_iconv.ko: Bad address
kldxref: error while reading /boot/kernel/mvs.ko: Bad address
kldxref: error while reading /boot/kernel/mxge_eth_z8e.ko: Bad address
... // Many more (Please let me know if you want me to post more)
Thank you,