Questions tagged [kernel]

In computing, the kernel is a computer program that manages input/output requests from software, and translates them into data processing instructions for the central processing unit and other electronic components of a computer. The kernel is a fundamental part of a modern computer's operating system. This tag is for general questions regarding code that runs in the context of an operating system kernel.

This tag is for general questions regarding code that runs in the context of an operating system kernel (kernelspace, as opposed to userspace), including writing custom kernels. Questions about specific kernels should use a relevant tag (eg. , , ).

This tag is not about other uses of the word "kernel" - for example, questions about CUDA kernels should use the tag.

SOURCE

Wikipedia

9344 questions
3
votes
0 answers

Jupyter-Notebooks stuck at "Kernel starting,please wait" (R Kernel)

I'm new to Jupyter Notebooks and whenever I try to create a new notebook i'm unable to run any code because the R Kernel doesn't start. The window shows a message that reads "Kernel starting, please wait" and then changes to "Reconeccting". So far…
3
votes
1 answer

Caching a network stream

My C# program is receiving a lot of data via multiple sockets and it appears that I have problems that the TCP cache on the Windows Kernel is getting overloaded. This can be seen by the following results from the tcpdump from the…
weismat
  • 7,195
  • 3
  • 43
  • 58
3
votes
1 answer

Linux Kernel Debugging: "Python Exception There is no member named module_core." when trying to use helper scripts in gdb

I've been following this guide to set up a Linux kernel debugging environment with gdb and VMWare. Everything went on smoothly until that part: Connect GDB to the debuggee We won’t be able to see symbols from loaded kernel modules yet. We’ll…
0xc3faadd3
  • 91
  • 1
  • 8
3
votes
1 answer

Updating the GNU/Linux Kernal to send n number of TCP packets per packet

I am using a Debian based distribution( Linux Mint 18). I want to make changes to the operating system to send n number of outgoing packets per TCP/IP packet. It would be best if the method does not involve recompiling the kernel. Further not so…
Denis
  • 97
  • 9
3
votes
0 answers

Checking vnode signature from kext

I'm using kauth kernel framework in order to get events on files that are being opened in the system. after filtering out the executable macho files, I'd like to check the signature validation for each such file that it's vnode is represented in vp…
Zohar81
  • 4,554
  • 5
  • 29
  • 82
3
votes
1 answer

Kernel keeps dying when trying to build corpus in pandas

I ran this code in the past and it worked fine. A couple of months later, it keeps causing the kernel to die. I reinstalled and updated all conda/python related files. It doesn't seem to matter. It stalls out on the last line, and no error message…
CJW
  • 81
  • 7
3
votes
1 answer

Fingerprint u.a.u 4500 with ubuntu 18.04

i want to install the drivers for u are u 4500, but it only can be compiled with old kernel versions (2.6 to 3.2) , can you help me to install the drivers on ubuntu with last kernel version. The sample application of fingerprint cant recognize the…
3
votes
1 answer

Gentoo No rule to make target 'olddefconfig'

I have been following this guide from the gentto wiki to install Gentoo. I have hit a bit of a roadblock though which looks reasonably simple but I am having trouble figuring it out. On this page:…
John
  • 219
  • 1
  • 4
  • 15
3
votes
1 answer

iretq throwing GP fault

I'm trying to write a 64 bit OS. It throws a GP on iretq from the timer interrupt handler, then repeatedly throws more GPs from the iretq of the GP handler. I know this because my generic handler prints the ISR number on the serial port, and it…
Adrian May
  • 2,127
  • 15
  • 24
3
votes
2 answers

How does one disable access to the keyboard and mouse from a linux kernel module?

I'm trying to write a kernel module which disables input between certain times of day. I found out how to get the time (How to get current hour (time of day) in linux kernel space) and how to schedule a function. I can't seem to work out how to…
Tom Macdonald
  • 6,433
  • 7
  • 39
  • 59
3
votes
1 answer

Laravel + Cronjob in cpanel not working

I am new in laravel and i tried to set task scheduler using cpanel cronjob. But cronjob not working. php /home/webservername/public_html/demo/projectname/artisan schedule:run 1>> /dev/null 2>&1 My kernel code : protected $commands = [ …
abdul kadhar
  • 337
  • 4
  • 20
3
votes
1 answer

using wakelock in 4.9 kernel driver

I'm trying to port a touchscreen driver that was written in 2014 for a device running Android Q (Hikey 960 on AOSP). The module won't compile because of: #include which isn't there in the Linaro 4.9 kernel that the Hikey 960…
Genoil
  • 777
  • 1
  • 7
  • 18
3
votes
1 answer

Prevention of file direct memory reads in xnu kernel

I've got dylib file for which I prevent access in kernel level. I use driver that listen to kauth vnode scope with callback that prevent any access to this file. However, I've noticed that coreSymbolication framework can bypass this authorization…
user7256215
3
votes
1 answer

How do I open/write/read a uart device from a kernel module?

The device is a scanner. I know uart5 is setup in the dtsi file and in userspace it is listed under /dev/ttymxc4. From userspace, I understand that I can manipulate the device by fd = open("/dev/ttymxc5", O_RDWR|O_NOCTTY|O_NONBLOCK); if (fd < 0) { …
Ryan
  • 436
  • 5
  • 15
3
votes
1 answer

Linux Uart driver modification

I want to modify my linux kernel's (2.6.32) UART driver. I am using the standard uart driver for ttyS2 I dont know the exact files. The problem is Simple, setting and keeping a gpio pin high during transmission and while receving it must be…
yet
  • 773
  • 11
  • 19
1 2 3
99
100