kernel build

  1. P

    How to fix bhyve + kgdb online debugging setup for kernel development

    I'm trying to reach a point where I can do online debugging with kgdb of the FreeBSD kernel and it's modules in order to learn more about the system and take on a small projects in the system development. I have searched through the whole internet for the complete guide on how to do it however...
  2. retro

    Solved link_elf_ctf_get(175): module /boot/kernel/linuxkpi_video.ko has no .SUNW_ctf section - kernel panic

    I'm trying to compile my own FreeBSD kernel for my HP Pavilion g4 (2012) laptop. I have tried everything, including recompiling the GENERIC kernel to see if there was anything wrong in my configuration file. It turns out that, after I booted with the Verbose option enabled, I got the error...
  3. G

    How far can we reduce the FreeBSD kernel?

    How far can we reduce the FreeBSD kernel, to the point of only using busybox, the boot system to start the system, to make it very small? (Sorry for possible spelling mistakes, I'm from Brazil and I have a huge appreciation for FreeBSD)
  4. nxjoseph

    Solved Disabling crypto and aesni support in kernel cause make to fail

    Hi. I made a custom kernel by copying GENERIC to a new file called MYKERNEL and I built kernel with KERNCONF=MYKERNEL. My problem is when i commented out those two lines below, make buildkernel command fails with errors. If I don't comment out these lines, make doesn't fail. I would want to know...
  5. J

    Understanding SD card image vs. kernel compatibility

    If you want to build a custom kernel to be used with an SD card image of FreeBSD, you have to pick a kernel source git version which works with that image. If you pick a wrong version you end up with something like "module 'kernel' exists but with wrong version" message and booting stops right...
  6. C

    Solved Help with locally built stable kernel not finding zfs root

    Hi, I have installed FreeBSD on an amd64 laptop, and the only issue with it is an apparently long-standing bug in support for eMMC storage (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211705#c3), which I would like to investigate. But I'm stuck even getting an unmodified but locally...
  7. A

    buildroot and the linux-kernel

    Hi, I am new to buildroot and embedded linux, I have once build the root on my laptop using the buildroot and it took like 20 to 30 minutes, I want to know what kernel is used in the buildroot and how can I change it e.g. if I want to use the kernel of the freebsd in buildroot, would that be...
  8. zamon

    Solved Stuck in "Loading kernel modules" after build custom kernel

    Hello all, it's 4 days since I trying to make custom kernel and fail with stuck in 'loading kernel modules' (no message just stuck in there). Because I'm curios why this happen, so I try to build another custom kernel without any modification at all, just copy paste the GENERIC as new file...
  9. kr0m

    Solved Confused about kernel configuration options

    I have been compiling kernel but i am a little bit confused about how it chooses to include functionalities and drivers inside kernel or as external module. I have readed the handbook section and the "Absolute freebsd" compilation kernel book section, but i have some unresolved questions. From...
  10. N

    building kernel from github using Ubuntu wsl and windows 10

    I have, for the past 3 days, been trying to get wireless access to my internet with FreeBSD. Yesterday, I got a dongle that IS supported by FreebSD via the rtwn drivers. Unfortunately for me, I need to access the drivers here, rtwn_usb. If you notice this has no option for boot time loading, and...
  11. F

    Remove kernel drivers

    I am following the book "Absolute Freebsd" I suppose many of you will know it. I'm in the chapter that talks about the kernel, where you can remove drivers and options that you don't need. Well I have the following problem and I can not understand why, (I am a newbie) For example on my desktop...
  12. T

    Solved clang error during kernel compilation

    Hello, I have just upgraded my system from 12.2-Release to 13.0-Release without any problems. I had a custom kernel set up before and wanted to compile one for the upgraded install too. Obtained relevant /usr/src from git with branch releng/13.0 and configured it using a copy of GENERIC. I then...
  13. V

    Solved Unable to compile custom kernel cam_iosched error recompile with -fPIC

    Whenever I try to compile my custom kernel (I have commented out some useless things from GENERIC) I get: ld: error: relocation R_X86_64_32S cannot be used against local symbol; recompile with -fPIC >>> defined in cam_iosched.o >>> referenced by cam_iosched.c:1171...
  14. T

    Solved PF Packet Filter not loading rules on reboot manual required

    Hello, For the past 3 weeks I have been testing PF firewall and so far so good except for the rules not loading automatically on reboot. I load the rules using pfctl -F all -f /etc/pf.conf and all works great. I did change my default kernel to accomodate altq I actually had to redo the kernel...
  15. DrEuclidean

    STABLE-13 Kernel fails to build: kmalloc issue

    I'm trying to build the FreeBSD STABLE-13 kernel, but it errors out in various ways all relating to invocations of kmalloc I'm running an older version of CURRENT-13 /usr/src/sys/compat/linuxkpi/common/include/linux/string.h:122:11: error: implicit declaration of 'kmalloc' errors in...
  16. D

    Solved Custom Kernel Build Fails

    I got the 12.1 source code from the base/releng directory of the SVN repository which would give me the latest 12.1-RELEASE kernel (p10). I used the GENERIC configuration to create the attached configuration file and then ran make -j4 buildkernel KERNCONF=SMALLER And the build goes well until...
  17. F

    Solved Kernel build error

    Any help would be appreciated. Ive never seen this error and dont know what to do? MYKERNEL' ERROR: version of config(8) does not match kernel! config version = 600016, version required = 600018 Make sure that /usr/src/usr.sbin/config is in sync with your /usr/src/sys and install a new config...
  18. Alain De Vos

    Building kernel and world in a poudriere jail

    Can I build a kernel and world in a poudriere jail? Is there a kernel and world port ? Or how to do ?
  19. Unee0x

    Kernel Development and Testing

    I'm just starting kernel development ( custom kernels, drivers, patching and etc... ) and i'd like to find a good tutorial of how to setup and environment for FreeBSD Kernel Development. For instance, executing custom code on a live kernel as well as debugging. Will I actually need two machines...
  20. illumulli

    Where do I sign up?

    I have been using FreeBSD and tinkering with it for about 4 years now and I want to take on a bigger role in the community and really work on the FreeBSD operating system at a lower level in my free time to expand my skill sets. I know a little Assembly and am pretty versed in C. Any tips on...
Back
Top