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.
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...
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...
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'
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?
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...
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...
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...
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...
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...
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...
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):
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
make buildkernel KERNCONF=MYKERN
Building the kernel went fine, but when it starts to build kernel...
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.