Intel AX200 wifi on Thinkpad Extreme in Arch Linux
I'm unable to use wifi in Arch Linux on my Lenovo Thinkpad X1 Extreme (Gen 2). I verified that the Intel AX200 network interface works through windows. I'm accessing the local network (and the internet...
View ArticleYour kernel headers for kernel 2.6.32-504.e16.x86_64 cannot be found
I have centos 6.6 installed on virtualbox. In order to use features like copy/paste, being able to share folders, etc, I need to install Guest additions on it. I've clicked Device -> Insert Guest...
View ArticleRunning a script every time a new kernel is installed
I'm currently having to recompile my wireless driver from source every time I get a new kernel release. Thinking it would be awesomely hackerish to automate this process, I symlinked my Bash build...
View ArticleSyntax of module.alias Linux Kernel Module
Can anyone help me understand what's the meaning of below line in module.aliasalias of:N*T*Cfocaltech,ftsC* focaltech
View ArticleLinux Kernel custom module build skips module
I'm trying to cross-compile (arm64) a custom module on my linux box. So what I did so far is:install the target Kernel sourcesinstall the cross-compilerenable module and build the Kernels with the...
View ArticleBuild and install kernel module into a defined /lib/module/*kernel directory
I had problems with my distribution's kernel, so I built a kernel (same version) to build my modules. My modules would be compatible. However, if I install the modules, the script creates a new...
View Articlebuild is missing for compiling kernel module
this is my first time trying to create a kernel module, apparently after creating a module I need to follow these steps to compile it:echo "obj-m := Hello.c"> Makefilemake -C /lib/modules/`uname...
View ArticleDisable kernel modules permanently: is TIPC resisting?
Thanks to lynis I'm learning to hardened and diving a bit deeper into GNU/Linux systems.One point the audit's reports indicates is to disable unnecessary protocols / kernel modules (I'm not sure what...
View ArticleModified kernel module doesn't load on boot- is the old one being cached...
I'm modifying the qca7000 kernel module slightly by adding some debug messages (qcaspi.ko).I compile, run depmod then reboot. However my debug messages do not show up on dmesg.If I rmmod qcaspi then...
View ArticleSign Kernel Modules
So i am on a debian buster 10 system and i installed virtualbox and i encountered an error which tells me to load some kernel modules manually.sudo ./vboxconfig [sudo] password for user:vboxdrv.sh:...
View ArticleCustom Kernel module not being loaded
I've modified a kernel module and recompiled it, however my modifications aren't being called (checked dmesg) when the OS boots up.Instead, the old kernel module is being run.If I reload the module...
View ArticleWhat does /sys/class/net/eth1/carrier show? And how to make it 1?
I think it's the hardware connection, because when I unplug the ethernet cable for eth0, carrier goes from 1 to 0.However, on my eth1 connection (using qca7000 driver for a redbeet carrier module) my...
View ArticleMake error(linux) [closed]
I start to install the WiFi driver:tar -xvf DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.bz2cd DPO_MT7601U_LinuxSTA_3.0.0.4_20130913 sudo apt-get install build-essential linux-headers-genericWhen typing...
View ArticleHow do I change the modules directory that the kernel searches
I am new to rebuilding the kernel and kernel modules and such, so I apologize if this is a poor question.I am running Centos 6.8 , 2.6.32.642.el6.x86_64. I am trying learn about device drivers and...
View ArticleHow can my PCI device driver remap PCI memory to userspace?
I am trying to implement a PCI device driver for a virtual PCI device on QEMU. The device defines a BAR region as RAM, and the driver can do ioremap() this region and access it without any issues. The...
View ArticleCreate Linux module dependency for autoloading module
How can I manually create a Linux kernel module dependency?For example, at some point in time module vboxdrv gets loaded automatically. BUT, when this happends I also want to automatically load module...
View ArticleWhy is `kprobes_register` (kprobes) able to retrieve symbol addresses for...
Consider the following kernel module source, which uses kprobes_register to get the address of a kernel symbol.It works for symbols like flush_tlb_all, but not for sys_call_table.A quick lookup using...
View ArticleWhy doesn't the symbol address reported by `register_kprobe` (kprobes) match...
I want to look the address of Linux kernel symbols up using kprobes_register (kprobes).After having planted kprobe for flush_tlb_all, I look up the address using sudo dmesg:[1055.285848] Planted kprobe...
View ArticleWhere are Kernel global variables stored?
I am currently writing a Linux kernel module. I am aware that in case of userspace programs, uninitialized global variables (exported to other modules using EXPORT_SYMBOL) are stored in BSS segment and...
View ArticleCannot print out a list of module versioning information required by kernel...
I want to print out a list of module versioning information required by ceph.ko module, using modprobe, following a tutorial on Linux kernel modules.I've tried to print out the information for several...
View Article