kernel

  1. BaronBS

    Solved Poudriere and custom kernels

    Guys, good evening folks. My setup is: I build world and kernel (Generic) on my host and I use poudriere to build all ports that I use (around 1200). I want to play with the Kernel configuration and build a custom kernel for my T430. For now I don't want to put any port module inside the...
  2. GoNeFast_01

    Compiling Kernel Debugging and Know-Hows.

    I was having the known problem with Text Console using CTRL + ALT + F1-F8 bug of tearing / square pixelated screens. I am currently still trying/testing with some options in /boot/loader.conf file to see if I can fix this issue of the tearing with Nvidia drivers 510.60.2. Similar to...
  3. L

    FreeBSD kernel change to NetBSD kernel

    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...
  4. alfa

    FreeBSD 14.0 Current Lock order reversal kernel message bpf.c iflib.c

    Hi, 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...
  5. spmzt

    What is the name of fortuna's kernel process?

    Hi, 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?
  6. kr0m

    Howto update system with custom kernel

    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...
  7. Farhan Khan

    Understanding USB callback + assertion panic

    Hi all, 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...
  8. M

    Smallest possible use case for a FreeBSD kernel

    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...
  9. devtop

    Is it possible to have a minimal source tree?

    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...
  10. A

    Kernel driver code which honored FDT variable

    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. #ifdef FDT if ((err = rcrecv_fdt_setup_pin(sc)) == 0) rcrecv_fdt_get_params(sc); #else...
  11. 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...
  12. alfa

    Other How to change Packet Traversal order in FreeBSD IPFW and PF Firewalls in Kernel level ?

    Hi, 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...
  13. ZioMario

    kld_list="i915kms" does not stick on /etc/rc.conf at all.

    Hello. I've added this parameter to /etc/rc.conf : kld_list="i915kms" 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...
  14. O

    Updating 2 machines from the same cloned source leads to 2 differing shasums?

    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. https://docs.freebsd.org/en/books/handbook/cutting-edge/#makeworld After doing so I...
  15. ZioMario

    qemu Mounting from cd9660:/dev/iso9660/13_0_RELEASE_AARCH64_CD failed with error 19.

    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 \...
  16. 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...
  17. sudheera

    Nvidia driver installation problem

    Hello friends, 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 vendor...
  18. the3ajm

    Solved GPU hanging around on GM965 chipset

    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...
  19. Snurg

    Solved Please, assist me in correctly wording a PR to get a 12-year-old kernel module bug fixed!

    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...
  20. D

    Solved Fatal Error On DRM Load

    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...
Back
Top