kernel build

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. D

    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...
  6. 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...
  7. 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...
  8. 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 ?
  9. 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...
  10. 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...
  11. rwatt

    Unable to build generic kernel. All methods generate errors.

    Hello, Still learning the ins and outs of FreeBSD, so please keep that in mind. :-) I'm happy to read whatever manual that might help with this, but my searches have not turned up anything that is helpful. I have a server at home running FreeBSD 12.1-RELEASE-p3 GENERIC amd64. It is mainly just...
  12. F

    Trying to configure JACK, but sound isn't working...again

    Hi, so I reinstalled FreeBSD a few days ago, and everything seemed to be working except for sound. I'm going through a slew of problems to configure it. My audio interface is a Focusrite Scarlett 18i8. When I first installed it, I got a desktop running with the dwm wm, Firefox, and the JACK...
  13. O

    Build kernel and world from sources and jails

    Hello, I am looking for some feedback to improve my current setup/flow. What I have: * home server, with 12.1R with ZFS * a few jails that I manage with iocage (have a template that I clone to create new) * I build world and kernel from source from now and then, following handbook steps...
  14. B

    Updating On an RPI 3

    Hi everyone! I know that the Raspberry Pi is not a tier 1 system, so I have been struggling with ways to update my kernel without having to do it on the Pi itself, for I fear that would take way too long than I have patience for. I am about to move on to trying out Crochet, but I would like to...
  15. R

    ERROR: ctfconvert: accf_http.o doesn't have type data to conver

    BSDians, I am newbie starting my FreeBSD development, actually starting to learn FreeBSD kernel development. I am trying to first compile the existing running kernel to get to know the feeling of kernel compilation (of course with some modifications like omitting floppy drive support). After...
  16. B

    Solved Device "atacard" is unknown

    Hello everyone! (To admins: if you feel there is a better place for this thread, go ahead and move it.) During my new attempt to recompile the kernel for my old ThinkPad X31 laptop I have left the following lines for minimal ATA support (without dozens of unneeded controllers): device atacore...
  17. alx82

    Build kernel and kernel modules as normal user

    Hello, I'm trying to build the kernel, with some modules as normal user. I have checked out the code of FreeBSD 11.1 in my home director $HOME/src, then $export MAKEOBJDIRPREFIX="$HOME/obj" make buildkernel KERNCONF=MYKERN Building the kernel went fine, but when it starts to build kernel...
  18. K

    Enabling disabled SIMD operations for kernel...

    Hello, As some of you may already know SIMD operations are disabled in /sys/conf/kern.mk for kernel: # # For AMD64, we explicitly prohibit the use of FPU, SSE and other SIMD # operations inside the kernel itself. These operations are exclusively # reserved for user applications. # .if...
  19. I

    Error when rebuilding kernel

    Hi guys, I tried to rebuild the kernel and I ran into the error displayed here: Any ideas what this might be about. I verified and I do have the source code file genassym.c in the location specified there. Thanks, J
  20. P

    Compiling the kernel via GCC

    Has anyone been able to successfully compile the kernel using GCC as against CLANG the default compiler on most later versions of FreeBSD? I was able to successfully buildworld. After which I reboot and now /usr/bin/cc points to GCC as requested. However kernel fails to link Here is my src.conf...
Top