kernel

  1. S

    Sendfile(2) FreeBSD Netflix

    Hi, Hopes everybody is doing great here. My question was related to newly developed Sendfile(2) by Netflix specifically for Nginx on FreeBSD only. Is this already enabled in all FreeBSD systems or we need to recompile kernel to obtain sendfile(2) feature ? The more read is here ...
  2. T

    Help me identify exact kernel (and X11) options for my HW

    Hi there, Can you help me find which exact kernel configuration and X11 options I need to optimize my system for FreeBSD? My hardware is an Acer Extensa 2509 with these components Intel Celeron N2930 2 GB RAM DDR3-1600 Intel HD Graphics (Bay Trail) 820 MHz igdumdim64 Seagate Momentus Thin...
  3. S

    Add a new system call at FreeBSD-11 for calculating sum of two values

    Hello, I am a beginner in FreeBSD. I installed FreeBSD-11.0-RELEASE-amd64 on VM. I want to add first new system call that it is for calculating sum of two values. I read a sample in https://www.nostarch.com/rootkits.htm. struct sc_example_args { char *str; }; static int sc_example(struct thread...
  4. S

    A simple new system call in FreeBSD-11.0-RELEASE-amd64

    I am a newbie in FreeBSD. I installed FreeBSD-11.0-RELEASE-amd64 on VM. I want to add first new system call. I find this link. I Did: cd /usr/src/sys/kern ee mykern.c #include <sys/sysproto.h> #include <sys/proc.h> #include <sys/types.h> #include <sys/systm.h> #ifndef _SYS_SYSPROTO_H_...
  5. A

    Not a How-To: FreeBSD 11 from 0 to full build in less than 2.5 hours

    boring, and a sort of a lost momentum is there Some seminar to attend: Example again: I think there is slipup where "worrier" should have been warrior? Happens to me sometimes. 1. Do not exit install after finishing and answer yes to get to Shell. Once at the prompt type in ee...
  6. S

    freebsd kernel module writing

    Hello, I am a newbie in FreeBSD. I installed FreeBSD-11.0-RELEASE-amd64 on VMware. I want to write first FreeBSD kernel module. I find this link: How to write a FreeBSD Kernel Module and now I have some errors in my file, first.c. cc first.c: in file included from first.c:3...
  7. S

    freebsd kernel module - “make” command

    Hello, I am a newbie in FreeBSD. I installed FreeBSD 11 on VMware. I want to write first FreeBSD kernel module. I find this link: How to write a FreeBSD Kernel Module But in step3, after make command I get: unable to locate the kernel source tree. Set SYSDIR to override. I searched it a lot...
  8. Farhan Khan

    Solved PCI Driver vendorID/deviceID defined where?

    Hi all, I am reading the FreeBSD Architecture Handbook, PCI Devices. In the sample source provided, I do not see where the VendorID or DeviceID are defined. My test VirtualBox instance seems probe and attach to 0x80EE (Likely because its Oracle Virtualbox) with the alternating device IDs of...
  9. J

    Closed Why, as a programmer and desktop user, I seem I cannot give up Linux for FreeBSD

    Hello. I am a C/C++ Python and Java developer at the Elettra Synchrotron Radiation Facility in Trieste, Italy. For the control system we use and produce open source software, and we develop under linux. I have been a fan of FreeBSD since my laurea degree thesis back in 2004. To cope with work...
  10. A

    Solved hint.agp

    I have an old Thinkpad laptop. In order to boot FreeBSD I need to add a device hints. I tried two of them and both work. Those are: hint.agp.0.disabled=1 hint.agp.1.disabled=1 I have only a vague idea what it does, it seems to affect AGP module in the kernel. I know that there is hint.agp.2...
  11. chrbr

    Solved How to force device to be a module when make kernel

    Dear community, I have a custom kernel for which I like to have wlan just in rare cases. In the kernel configuration I have % grep wlan MYKERNEL device wlan # 802.11 support device wlan_wep # 802.11 WEP support device wlan_ccmp # 802.11 CCMP support...
  12. A

    ftp server socket listen backlog is limited - "listen backlog limit Vs kernel maxfile limit"

    From ftp server code, we are limiting the connections to1024 (s.listen (1024) call), but when I do the sockstress tool test it overflowing the listen backlog limit to 12000+ connection. So my system reaching the kern.maxfile limit. Overflow scenario is Vulnerable to the system with sockstress...
  13. Manuel Solis

    Solved Help setting up WiFi Cards - Unsupported hardware

    Dear FreeBSD Support forum, I didn't want to ask for help about this topic as there is No Supported Hardware involved, but I will appreciate some help, the scenario is like this: Have a Dell Precision T7400 with FreeBSD RELEASE 11 installed and I did try to setting up a few wireless USB cards...
  14. S

    Slow uploading speed

    Hi, We're facing quite slow uploading speed on FreeBSD-10.X both over HTTP (NGINX) & over FTP. Hardware is quite strong with 4x1Gbps LACP / 65G RAM / 12x3TB SATA . There's not much load over HDDs so i suspect that maybe tcp tuning has some problem. Here is my sysctl.conf...
  15. aragats

    Wired memory growth

    I observe a significant growth of the wired memory in a small VPS with 512MB RAM. Right after booting top shows 34MB Wired, then after a couple of simple operations like installing a package or deleting a directory with large number of files it jumps to 190MB+:Mem: 18M Active, 34M Inact, 192M...
  16. goshanecr

    Not recognized PCI-E Network card

    Good day! I have PC with 3 network cards. And one of them not recognized by system. uname -a FreeBSD BSD-PRK 11.0-PRERELEASE FreeBSD 11.0-PRERELEASE #0 r305926: Sun Sep 18 15:22:47 NSK 2016 user@BSD-PRK:/usr/obj/usr/src/sys/BSDSERV amd64 pciconf -lv re0@pci0:1:0:0: class=0x020000...
  17. 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...
  18. M

    Building Kernel Errors

    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...
  19. attilagyorffy

    Working with WITHOUT_MODULES and custom kernels

    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...
  20. Irah

    PF Porting SYN cookies implementation to PF module of FreeBSD

    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...
Back
Top