23 questions
0
votes
0
answers
38
views
kernal-headers.rpm is flagging as security vulnerability from Aqua scans for the version 6.1.119-129.201.amzn2023
We are using the AL2023 image with the GCC package, where kernel-headers is included as an indirect dependency with version 6.1.119-129.201.amzn2023. We are not specifying any version for GCC; it ...
0
votes
1
answer
2k
views
Unable to install linux headers after kernel update
I recently did a full system upgrade on my OpenMediaVault machine. The update included a kernel update. After the update, I realized that my nvidia card was no longer working as intended, as the ...
0
votes
1
answer
119
views
Linux kernel 6.6 from block_device how to find out if it has mounted file system
Prior to kernel 6.6, struct block_device had member variable:
struct super_block * bd_super;
One could check if the block device had a mounted file system or not by checking:
struct super_block *...
0
votes
1
answer
961
views
Broken Linux kernel <linux/...> includes on Ubuntu 20.04
I'm trying to write a kernel module in VS Code on Ubuntu 20.04
The problem is that my includes seem to be completely broken.
Firstly, I have no <linux/uaccess.h> or <asm/uaccess.h> headers....
-1
votes
1
answer
1k
views
Displaylink fails to install on Linux Kernel 6.2
How to install the displaylink driver for D6000 over kernel headers v6.2?
After an automatic upgrade to the new kernel headers v6.2, I was not able to reinstall the official displaylink driver v5.6.0 ...
0
votes
1
answer
981
views
why my bpftrace program can not run on linux kernel version 4.18
/* FILENAME: vfs_open.bt */
#include <linux/path.h>
#include <linux/dcache.h>
kprobe:vfs_open
{
printf("open path: %s\n", str(((struct path *)arg0)->dentry->d_name....
3
votes
2
answers
17k
views
How to install raspberry pi kernel headers of which version matches with $(uname -r) version
Title
I want to install raspberry pi kernel headers of which version matches with $(uname -r) version because I'll develop kernel modules on Raspberry Pi.
Description
I tried to execute sudo apt ...
0
votes
0
answers
483
views
No kernel header files in `5.10.0-rc1-sev-es+`, despite installing `linux-headers-`uname -r`
I am running a Debian 9 at kernel version 5.10.0-rc1-sev-es+. The directory /lib/modules/5.10.0-rc1-sev-es+/build (which I need for compiling kernel modules) does not seem to exists. However, when I ...
0
votes
1
answer
4k
views
User kernel module "not found in directory"?
I did a simple Linux kernel module. I can install the module temporarily via sudo insmod my_module.ko and use it.
But I tried and failed to load the module at boot time:
copied it to /lib/modules/5.4....
0
votes
0
answers
182
views
Can I install linux headers package as non-root?
Ubuntu 20.04 - is it possible to install the Linux headers package as non-root? Perhaps to a different directory under $HOME somewhere?
The reason for asking is I would like to have an Jenkins job ...
0
votes
1
answer
182
views
Trying to include header for vsnprintf throws error in compiling
What is the header file for vsnprintf in the kernel? Can anyone please tell me this, I have kernel 5.14 and I am not sure what headers are default on my system. I have a number of different kernel ...
1
vote
2
answers
3k
views
Installing kernel headers packages missing error
I am trying to install kernel-headers but getting this error
E: Unable to locate package linux-headers-5.9.0-kali1-amd64
E: Couldn't find any package by glob 'linux-headers-5.9.0-kali1-amd64'
E: ...