kernel

  1. WhatTheHell

    Solved "Mounting from ufs:/dev/da0s1a failed with error 19. " after using the new kernel

    I've compile the kernel with this conf in vmware workstation, [root@FreeBSD14 ~]# cat SEC cpu HAMMER device acpi device aesni # AES-NI OpenCrypto module device bpf # Berkeley packet filter device ch...
  2. nxjoseph

    Solved Disabling crypto and aesni support in kernel cause make to fail

    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...
  3. C

    Setting up a bhyve vm for kernel development and debugging

    I recently set up a bhyve vm on my workstation for kernel development and figured others might be able to make use of my notes as well, because it's really quite easy. VM setup Download a FreeBSD disk image, i.e. 13.2-RELEASE if you're running 13.2. This version should match whatever kernel...
  4. I

    There appears to be a "hidden" kernel panic somewhere during the shutdown/reboot process??

    I've done some updates to my packages and recently upgraded from 13.2-p3 to p4 and noticed that when I reboot or turn on from a cold boot, savecore saves a core dump for some reason. The system appears perfectly normal the rest of the time; it has no apparent panic during the...
  5. C

    Solved Help with locally built stable kernel not finding zfs root

    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...
  6. imgoby

    How to create iso image file after compiling the kernel source code.

    If the kernel source code is compiled, how can I create an image? I want to try, but I can't find a way. Has anyone given a response.
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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?
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. 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...
Back
Top