kernel

  1. 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...
  2. 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...
  3. the3ajm

    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...
  4. 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...
  5. fedqx

    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...
  6. 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...
  7. 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 ...
  8. 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...
  9. Alain De Vos

    Building kernel and world in a poudriere jail

    Can I build a kernel and world in a poudriere jail? Is there a kernel and world port ? Or how to do ?
  10. Unee0x

    Kernel Development and Testing

    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...
  11. I

    Did you ever consider using a microkernel?

    I read a lot about L4 microkernels recently and I found that seL4 is the only kernel that has a formal verification, which sounds pretty impressive. Somebody already ported OpenBSD to L4 many years ago, so it is not impossible to do it with BSD systems. As far as I understand from security and...
  12. rwatt

    Unable to build generic kernel. All methods generate errors.

    Hello, 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...
  13. J

    calling kernel space malloc get error

    ###Here is the errors I am getting. Below the error is the code I wrote, any help would be incredibly appreciated.!! Thanks! Can someone explained by I am getting implicit warning for malloc and Malloc_Define, I included the header files. I also would like to know how to fix the errors ...
  14. J

    unknown type name intrmask_t when include sys/systm.h

    I am new to freebsd, just imported #include <sys/systm.h> errors Not find uintfptr_t Intrmask_t definitions, Do yall know what else I need to include or change? n file included from main.c:4: /usr/include/sys/systm.h:419:39: error: unknown type name 'uintfptr_t'; did you mean...
  15. M

    What is it with TPM (Trusted Platform Module) preventing resume from suspend-to-RAM?

    Interestingly I have been struck by the same issue that is always only referenced for ThinkPad users, although I don't have a ThinkPad but a Clevo N130WU (which is quite a common laptop known around the world under different brands). I could only get resume from suspend-to-RAM working by first...
  16. vanbreukelingen

    kernel panic on bhyve virtualization

    At the link you can find a fotograph of the kernel crash, it could not even been dumped or a continue; a restart helped, but after 10 minutes the same story. I guess its virbr0-interface when you disable option HYPERV in kernel configuration. to make a long story short: rvc_start < rvc_end...
  17. Bobi B.

    How to specify kernel configuration when compiling out-of-tree kernel modules?

    Or, having an out-of-tree (i.e. not in /usr/src/sys) custom FreeBSD kernel module, how one can specify a kernel configuration, like GENERIC, the module shall be built against? Here is a very small kernel module that can be compiled, but cannot be loaded on a stock FreeBSD 12. Makefile: KMOD=...
  18. M

    FreeBSD 12.0 - module init function is called few times - Raspberry Pi 3.

    Hi, I write a driver of LCD, witch use SPI and GPIO and works on kernelspace. Source code is available on my github: https://github.com/mattpro/freebsd_test2/blob/master/lcd.c I'll try to test spi but I find strength things. When I load module into kernel: kldload ./lcd.ko I see that init...
  19. jontheil

    Solved Some necessary steps missing to install a new kernel

    Some months ago, I had some problems when upgrading to FreeBSD 11.2 https://forums.FreeBSD.org/threads/cannot-make-buildworld-after-failed-upgrade-to-11-2.67177/ After using some of the nice advices, I ended up with a usable system, even though some inconsistencies were obvious. I did wget...
  20. Y

    OSS Sound Quality

    The default settings of oss are insane. These settings are for pure quality without cracking or any other kind of distortion and low-quality annoyance. This is an passthrough, bypassing some features you don't need. This gives you full quality without thinking about it anymore. sysctl.conf...
Top