1. D

    Solved DRM Module Kernel Panic with pkg

    Hello, I have been trying to get OpenCL working and found out I needed graphics/drm-fbsd12.0-kmod in order to get OpenCL recognize my GPU. The problem is, that module only works if it's built from ports and crashes when it's installed from pkg. The other issue is for number of reasons I can't...
  2. A

    C link_elf_obj: symbol mkdir undefined

    Hello, I am a total beginner with freeBSD. So far, I'm reading a book called: Designing BSD rootkit by Joseph Kong. As I mentioned, I barely know what I am doing, but I'm doing it and kind of manage to understand a little. However, I am currently stuck on an error when I load the module in the...
  3. Hornpipe2

    Module auto-loading for PCI devices?

    I have several questions about hardware driver module loading. When I run pciconf -l -v, I see output for the various devices in my system, like so: hostb0@pci0:0:0:0: class=0x060000 card=0x3084103c chip=0x35808086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device =...
  4. David John

    Solved Where is the definition and implementation of kldload?

    I am trying to find the implementation of kldload function, which is used in /usr/src/sbin/kldload/kldload.c, L177 fileid = kldload(argv[0]); I searched the kernel code but couldn't really find its implementation! I appreciate your help.
  5. M

    KLD Load - depends on kernel - not avail. or version mismatch

    I'm developing a device driver kld module to be hooked up to the FreeBSD system. Using a very simple default "hello" driver found below, I'm trying to kld load the module. However I'm getting the error: KLD hello.ko: depends on kernel - not available or version mismatch linker_load_file...
  6. dave

    mount_smbfs: kldload(smbfs): No such file or directory

    I am running 10.3-RELEASE on a raspberry pi. When I try to mount an external samba share, I get the error message in the title: mount_smbfs: kldload(smbfs): No such file or directory Anyone know why? Thanks
  7. P

    Cannot kldload pefs from compiled port

    Hello, I am trying to install sysutils/pefs-kmod on a FreeBSD 10.1 box: FreeBSD 10.1-RELEASE-p19 FreeBSD 10.1-RELEASE-p19 #0: Sat Aug 22 03:55:09 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 with the following hardware: CPU: Intel(R) Atom(TM) CPU D525 @...