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...
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...
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)
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.