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...
I am having trouble compiling an untouched copy of the Kernel (Generic).
I started out by adding a few print lines (uprintf) to the /usr/src/sys/dev/usb/usb_hid.c. The idea is to see the program work thoroughly when attaching a usb hid device, but that's beside the point.
However, when I try...
Hi all,
I'm experimenting with a custom kernel configuration for my limited VPS resources. I have been manually copying GENERIC and taking out options and devices manually until I realsied that /etc/make.conf can be used to achieve something similar.
Can someone enlighten me what...
I've been using the PF module for NATing/firewalling purposes (8 cores, 16 GB RAM hardware), it seems to be doing good under normal traffic. But during TCP SYN floods it suffers a lot. I want the SYNPROXY feature to get enabled dynamically as the traffic increases for that particular rule (based...
Dear all,
I am a complete newb, coming from years of Linux use, who is going to put some time aside over the summer (or just after) when my coding commitments finish, and really give FreeBSD (and its excellent handbook) a good look through.
My query regarding the ongoing linuxkpi work is that...
Hello I can't mount fdesc,here is the output
root@nshost2:~ # mount -t fdescfs fdesc /dev/fd
mount: fdesc: Operation not supported by device
And here is the output of dmesg
root@nshost2:~ # dmesg | grep fdesc
KLD fdescfs.ko: depends on kernel - not available or version mismatch
And kldstat...
Hello,
I've some troubles with Bluetooth module ng_ubt on FreeBSD 10.3 .
It is automatically loaded at boot, despite ng_ubt_load="NO" put in /boot/loader.conf. Even if I manually unload with kldunload ng_ubt it reloads itself back(?!), as shown by kldstat.
This module turns on bluetooth device...
I have three Sun 501-6522-07 cards in a Dell Poweredge 2850 and they are recognized and configurable inside FreeBSD 10.3 however no traffic is sent out or received by the NICs. I have checked /boot/kernel and if_cas.ko wasn't there. Am I correct to assume that file needs to be loaded into the...
Hi there,
Using 10.3-RELEASE and trying to compile a simple kernel module. My Makefile is really simple....
~/code/memstat % cat Makefile
# Source files for kernel module
SRCS=memstat_kmod.c
# Declare Name of the kernel module
KMOD=memstat
# Include kernel module makefile
.include...
Hello, Everyone.
I'm loading kernel module by kldload...
I'm trying to call kern_execve() from kthread_create(): if I call kern_execve() directly from start() - everything works fine, but if I call kthread_create() from start() and then call kern_execve() from the created child - I'm getting...
Apologies for the long title. But I couldn't think of a more concise version.
I've been meaning to cobble up something that say; greps all the hardware detected by the kernel (from /var/run/dmesg.boot), and returns the results in such a way, that it better facilitates the creation of a KERNCONF...
Hello, I'm build kernel with options for Bhyve:
device if_bridge
device tap
device nmdm
It's ok and it works.
But, I can't find anywhere option for vmm like: device vmm.
With this option kernel can't build. My configuration for bhyve works when I add to /boot/loader.conf
vmm_load="YES"
But...
Hello.
I think the title says it all!! :)
I would like to know if there is indeed a way to toggle between gdb and ddb while debugging a remote kernel.
I am already at the gdb (or rather kgdb :rolleyes:) prompt. From here how do I switch to local ddb on the debugged machine??
My kernel...
Hello everyone,
I recently purchased an Acer Aspire One "cloudbook" that has a 64gb Hynix eMMC part as it's internal disk. My goal is to make this a lightweight FreeBSD-only machine for travel and daily mobile computing. When trying an install of 10.1-RELEASE the eMMC device was not found and...
Hello.
I created the config file as a non-privileged user and then as a root user, soft linked this file into /usr/src/sys/amd64/conf. Later on, I compiled the kernel with make buildkernel KERNCONF='name-of-new-conf-file'. It went straight ahead without flagging any error or anything.
As...
Hello
I am trying to add a virtual serial port (as a named pipe) on two FreeBSD 10 VMs in workstation. One end, I am keeping it as the server (the one VM which will actually be having the virtual serial port) and the other VM will connect to the other end.
MY host is Windows 8.1. However when...
Hi,
We've been using FreeBSD-10 for video streaming website where FreeBSD serves static content (mp4, jpg) over Nginx+php-fpm & performs FFmpeg encoding for users uploaded videos. Server is utilizing 2Gbps realtime port (2 x 1Gbps LACP) and under load we examined bit high percentage of...
Hi,
I have to run many instances of PostgreSQL in different jails. And it seems it's not currently possible to run PostgreSQL in a jail without setting sysvipc_allow="YES" in the jail config.
(Or is it? I stumbled onto this: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=48471 where someone...
Hi! According to the FreeBSD handbook, before installing the emulators/linux_base-c6 port/package in order to enable Linux compatibility, you should do
sysctl compat.linux.osrelease=2.6.18
but, if I am right, the latest emulators/linux_base-c6 port/package is based on a newer Linux kernel...
Hi! I want to install FreeBSD 10.2 release on a netbook (Sony VPCW12J1E) and I don't know exactly how to set up the proper driver for its graphics card (Intel GMA 950). Should I just install the x11-drivers/xf86-video-intel port/package and then install Xorg or should I also load some kernel...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.