As stated in the title, I would like to change the kernel of my Unix build from FreeBSD to NetBSD, as I prefer the philosophy of the rump kernel to that of a monolithic, but prefer the lexicography and semantics of FreeBSD's system applications. The current build is FreeBSD, with only sudo...
I am currently testing FreeBSD 14.0 Current
FreeBSD alfadev 14.0-CURRENT FreeBSD 14.0-CURRENT #1: Fri Sep 30 11:55:56 +03 2022
When machine has started I am getting Lock order reversal messages from kernel :
Oct 1 10:24:17 alfa kernel: em1: link state changed to DOWN
Oct 1 10:24:18...
Historically yarrow algorithm had a kernel process with the name of yarrow. But after replacing it with Fortuna, the kernel process disappears.
What is the name of the new kernel process of Fortuna's algorithm in the permanent kernel processes?
Hello, i have a question about FreeBSD updates when using freebsd-update tool when you are running a custom kernel, in the documentation i can read:
When i compile my custom kernel, the GENERIC ends in /boot/kernel.old directory, i could copy to /boot/GENERIC to mantain a copy the first time...
I am trying to understand how FreeBSD's USB subsystem works and appear to be running into a kernel panic due to a failed assertion that I do not understand. the assertion in question is /usr/src/sys/dev/usb/usb_transfer.c:1954.
My understanding is that you first configure...
I know that FreeBSD distributes a generic kernel to support as many possible devices as possible. I also know I can compile my own target kernel with only my devices. What I would like to know is how small the kernel can get in theory before you start losing any serious functionality. Could it...
I'm currently working on a embedded project, and i'm trying to understand if it's possible to have a small /usr/src tree.
This source tree only has to contain the FreeBSD bootloader, kernel, kernel-modules, because the embedded application will replace /sbin/init.
So is is possible to have a...
I wrote a couple of kernel drivers for GPIO devices which code uses a conditional inclusion based on an FDT flag.
I use it for a device definition using either FDT overlays or a device.hints file.
if ((err = rcrecv_fdt_setup_pin(sc)) == 0)
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...
I have to use both IPFW and PF sametime in my freebsd 12.2 gateway
normally firewalls follows this order pf => ipfw as you now
i am trying to do this order:
input => ipfw => pf
but i think i cannot change this order without touching kernel level .
when i made some research i found this...
I've added this parameter to /etc/rc.conf :
adding it on the rc.conf file should make the setting permanently,right ? But why,everytime I reboot the PC and I come back to FreeBSD,I should write "kldload i915kms",otherwise Xorg does not start,causing the error...
We have 2 machines on the same LAN that I installed FreeBSD on using the 13.0 Release iso
I then followed the quickstart example in hanbook section 24.5.1, in order to update both machines from source.
After doing so I...
Hello. I'm trying to emulate Freebsd for arm64 on my jetson nano (arm64) using qemu and kvm. This is the script that I'm using :
tunctl -t tap0
ifconfig tap0 up
brctl addif virbr0 tap0
/opt/qemu-5.2.0/build/aarch64-softmmu/./qemu-system-aarch64 -m 2048M -cpu cortex-a57 -M virt --enable-kvm \...
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...
I have a TrueNAS 12.0 server which runs with no GUI. I plugged in Nvidia GTX 1050Ti to it in order to use in ffmpeg. After plugging in pciconf -vl gave me the following output
vgapci0@pci0:2:0:0: class=0x030000 card=0x85d11043 chip=0x1c8210de rev=0xa1 hdr=0x00
I find a consistent problem with my laptop whenever I run cheese, the screen will turn black and I'll look into the logs and get this following message:
Feb 8 21:53:43 Dell kernel: error: [drm:pid12:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung
Feb 8 21:53:43 Dell kernel...
Since its introduction in 2009, the vesa.ko kernel module contains a bug, presumably of the category "use of uninitialized data structures".
This bug prevents the system resuming correctly on systems with nvidia graphics card and using the sc console in text mode.
To build+install a custom...
Hello,I have been trying to get clinfo to display my GPU correctly. Currently it displays:
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) No devices found in platform [Clover?]
At first I tried loading the Radeon GPU DRM radeonkms.ko but when I try to load it I get a fatal trap 12 page fault...
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 cannot compile www/node (and some others) with this error
dtrace: failed to compile script src/v8ustack.d: "/usr/lib/dtrace/psinfo.d", line 93: failed to resolve type kernel`struct thread * for identifier curthread: Unknown type name|
My kernel is compiled with CTF options ...