kernel

  1. goshanecr

    amdtemp not shown AMD A6-9500E sensors

    Good day! I have a PC with such processor: CPU: AMD A6-9500E RADEON R5, 6 COMPUTE CORES 2C+4G (2994.44-MHz K8-class CPU) Origin="AuthenticAMD" Id=0x660f51 Family=0x15 Model=0x65 Stepping=1...
  2. C

    Solved Fatal trap 18: integer divide fault while in kernel mode after compile kernel on Freebsd 11.1

    Hi , I facing the problem above after compile the kernel. Each time FreeBSD will loop boot several time until can go to login page. My cpu info hw.model: Intel(R) Core(TM) i3-4160 CPU @ 3.60GHz hw.machine: i386 hw.ncpu: 4 my kernel info added my option from generic one. # # GENERIC --...
  3. R

    C How can i get the mount_point & absolute_path by the installed file struct?

    I'm writing a simple hook to open / openat. Like this static int openat_hook(struct thread *td, register struct openat_args *uap) { // print uprintf(" SYS_openat: \"%s\", flags: %d, mode: %X fd: %d\n", uap->path, uap->flag, uap->mode, uap->fd); get_whole_addr(td, uap); return...
  4. M

    Dtrace does not work

    Hi, I want to get some specific I/O data from FreeBSD. IOStat command does not return what I want, so I think about using dtrace. The problem is that I am getting this error while executing dtrace command: [2.3.1-RELEASE][admin@machine]/usr/share/dtrace: dtrace -s iotime.d dtrace: failed to...
  5. Harmnot

    Should i build new kernel ?

    Hey, I just finished install FreeBSD 11 on external harddisk, and I want to ask about kernel, should I rebuild kernel after installation? I was building kernel , and I cancel it after a hour because it was take very long time and my laptop got very hot on for it , I follow This instructions to...
  6. andrewschools

    Compile kernel module with modified object file

    I'm not sure if this is the right forum for this sort of question. If not, forgive me. I made a change to this file: /usr/src/sys/modules/usb/usb/ng_lookup.c and have ran a make which produces many object files. The one I am concerned with is /usr/src/sys/modules/usb/usb/usb_lookup.o. Now I...
  7. Rastko

    Using laptop without battery

    If I take out the laptop battery, do I confuse the acpi system? I get kernel spam containing: No handler for Region [RCM0] acpi_ec0: evaluation of query method _Q42 failed: AE_NOT_EXIST Is it due to me removing the battery, and if so, how can I tell acpi system not to look for it?
  8. Petr Fischer

    Solved FreeBSD 11.1 has begun to crash accidentally - how to debug?

    Hello, FreeBSD 11.1 (somewere after 11.1-RELEASE-p1) has begun to crash sometimes - I am on Xorg + i3 (often in a Firefox) and suddenly Xorg crashes, I can see a few lines in a console (for a fraction of a second) and then, laptop restarts. How can I find out what happened? There is nothing...
  9. rigoletto@

    Intel bug incoming.

    Intel Bug Incoming. EDIT: It seems sh!t will get pretty serious: Intel's CEO Just Sold a Lot of Stock UPDATE: 'Kernel memory leaking' Intel processor design flaw forces Linux, Windows redesign
  10. vermaden

    Move FreeBSD kernel messages (white) to second console

    By default FreeBSD puts kernel messages (white color) on the first console. I know I can disable them with boot_mute in the /boot/loader.conf file, but is there a way to move them to second console instead of disabling them? ... or to redirect them to some file instead of disabling them...
  11. Farhan Khan

    dtrace probe not listed

    I do not see the function ifhwioctl listed when I run dtrace -l. This function is located in /usr/src/sys/net/if.c. I thought maybe this was optimized out, so I set the following in my /etc/make.conf CFLAGS= -O0 -fno-inline But it is still not listed. What may be causing this lack of probe?
  12. H

    C tdq_runq_add

    Is MIN and MAX realtime in comment /* * This queue contains only priorities between MIN and MAX * realtime. Use the whole queue to represent these values. */ a typo or am I understanding it wrong? /* * Add a thread to the actual run-queue. Keeps transferable counts up to *...
  13. Gravis

    C Init: mounted root by kernel guaranteed? and other questions.

    I'm developing an init system for many POSIX/POSIX-like systems and after reviewing part of the FreeBSD Architecture Handbook as well as part of the kernel source it appears that upon calling the init binary that it's guaranteed that root will already be mounted. I just want to verify if this...
  14. _enso

    Minimal Kernel & Base Config

    My goal is to create a base system with only the essential tools needed to operate a modern web server. For instance I use IPFW so I don't need PF, IPTABLED and IPFILTER. However this is my first time doing this so I would like advice / feedback on anything that looks incorrect or is a bad...
  15. 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.
  16. N

    Solved Unknown option MFS error when compiling the kernel

    I get unknown option MFS error when I try to compile kernel with option MFS. Here is config: # # MT7628_FDT -- Kernel configuration file for FreeBSD/MIPS MT7628 and MT7688 # SoCs # # This includes all the configurable parts of the kernel. # # $FreeBSD: head/sys/mips/conf/MT7628_FDT 315141...
  17. David John

    Type casting!

    Can someone explains this casting: #define __DECONST(type, var) ((type)(__uintptr_t)(const void *)(var)) Ref: cdefs.h, L651 I have exauhsted all my resources trying to figure out an explanation for this type casting. I appreciate your help.
  18. A

    Writing a FreeBSD kernel module that handles arbitrary interrupt and output to device

    I would like to write a FreeBSD kernel module that could accept some arbitrary interrupts and upon receiving these interrupt, output some data to an arbitrary device. Currently, I'm facing several issues: How would I acquire interrupts through a specific IRQ? On Linux there is the...
  19. J

    What happens in a jail when updating the main host system?

    Hi, despite reading and re-reading the manual, I have an extremely hard time understanding how to keep my FreeBSD host and my FreeBSD jails secure. I am going to try to express my current understanding of FreeBSD as maybe the problem is that I don't understand it. There seems to be on one...
  20. C

    Solved disable device sound in kernel for ASUS Essence One MKII MUSES Edition

    I try to build a FreeBSD Kernel and disable device sound. This is needed for my USB Sound: ASUS Essence One MKII MUSES Edition. To bring this hardware to work I want to install the port: audio/oss This port requires to disable the device sound in kernel. It works great with FreeBSD 10. Now I...
Back
Top