kernel

  1. 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...
  2. 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?
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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 \...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. X

    failed to resolve type kernel struct thread *

    Hello, 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 ...
  20. T

    DTrace unable to resize buffers

    Hi all, I've spent about a week learning and using the DTrace framework and it has worked fantastic. I have also become increasingly familiar with FreeBSD (specifically the kernel) over the last couple of months, but I realize I might still be unaware about a lot of things, so forgive any...
Back
Top