This tag is for questions about the internals of the Linux kernel itself - particularly about use or configuration of kernel modules or drivers.

learn more… | top users | synonyms

1
vote
1answer
3k views

What do these error messages mean and how to fix it?

============================================================== actually I figured out this is an issue of intel video driver:http://lkml.indiana.edu/hypermail/linux/kernel/0902.3/01703.html =========...
0
votes
0answers
27 views

Program systemd tried to access /dev/mem between 9affb000->9affb008

Good day, I am new to linux and installed it for only reason - to learn some ethical hacking. So, according to one of the tutorial I am following, I need to run a VMachine with Kali Linux on it. To ...
0
votes
0answers
10 views

Configure traffic class to bringup DCB in back-to-back setup on linux

OS :- CentOS 7.2 kernel 3.10.0-327.el7.x86_64 lldpad:- lldpad v0.9.46 dcbtool:- v0.9.46 ixgbe :- ixgbe-4.3.15 steps followed:- modporbe ixgbe service lldpad start Redirecting to /bin/systemctl ...
7
votes
2answers
2k views

What is the exact difference between the parameters (pgpgin, pswpin) and (pswpout, pgpgout) in /proc/vmstat?

Please note that this question is specific to linux only. And by swap space, I mean the dedicated swap partition. I did google a bit on this, and found these definitions: Paging refers to writing ...
2
votes
2answers
5k views

How do I stop rfkill module from hardblocking my wifi, without rfkill command?

I went into my BIOS the other day, didn't change anything, and rebooted. After this, my wifi was hardblocked. I looked online for solutions, and learned of the rfkill command. But I get rfkill: ...
0
votes
0answers
18 views

Enable user namespaces in Debian kernel

I'm trying to figure out how to enable user namespaces capability in my kernel (I think CAP_SYS_USER_NS). I'm using Debian Stretch, kernel 4.6.0-1-amd64. My assumption is there is a way to turn ...
1
vote
0answers
45 views

What is the minimum amount of RAM required to run Linux Kernel in ARM cortex-a5?

I want to know what is the minimum amount of RAM required to run Linux Kernel (4.6) in ARM cortex-a5. Now I am using 32MB PSRAM but whenever I am loading vmlinux (elf format) through debugger to ...
23
votes
7answers
67k views

Unable to install VIrtualbox, `“Specify KERN_DIR=<directory>”` — installing Virtual Box to Debian?

I am getting this error: Makefile:181: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again. Stop. Basically I'm doing: $ sudo /etc/init.d/...
0
votes
0answers
7 views

Adding supplementary group id to process

I'd like to add addition sgid to a running process. If i'm superuser, is there any option (system call) to change this (or any other process credential) without running it from a different user or ...
0
votes
1answer
51 views

Is Kali Linux 2 broken?

This might be just on my part but I really doubt that. I'm running it in persistence from USB, the most notable problems come when trying to login as root, can't it just acknowledges test and even the ...
0
votes
0answers
12 views

Display basic image color on the framebuffer

I am trying to debug an issue during the installation of Debian on PowerPC. It seems the Open Firmware Frame Buffer (offb.c built-in driver) is not setup correctly, and has red channel inverted with ...
1
vote
0answers
30 views

Kernel panic not syncing attempting to kill init

We have a Citrix Xenserver 6.2 install. Today we had an incident where power to the server was suddenly cut off from the server. It had been running for quite some time without issue. It has quite a ...
3
votes
2answers
111 views

Which is the user‑space command for resuming from hibernation?

During a long time, I used echo disk > /sys/power/state In order to hibernate to/dev/sda10and I was using the initrd of my Debian distribution to resume. But recently, I switched to a raid ...
0
votes
0answers
19 views

container running CentOS7 on a Centos6 host?

I thought that the containers uses the same kernel as the host... so I thought OS using different kernel versions wouldn't work and I did a test to prove this: I created a VM on virtualbox and ...
4
votes
2answers
5k views

`cat /proc/kmsg` outputs broken text

cat /proc/kmsg is convenient way to follow kernel messages. But the output is unreliable. Example: < eoyfl-o-ilF ilaltssI hwflssesJ a hwbctaealatv-psL hwmmr-sg()nc-l-TtssN oeOfso-eitr()so-l-iesQ ...
0
votes
1answer
61 views

Which address space is used in system calls? physical? or virtual?

Explanation There’s two kind of address space virtual and physical. On the physical model (typically used by the kernel) the memory is bounded and each address correspond to physical ones. The ...
7
votes
3answers
22k views

Linux kernel hangs at 'Switching to clocksource tsc" on Pentium 4

Hardware: Dell Dimension 4500S : i845G, Pentium 4, stock + 2GB RAM and latest (circa 2002) BIOS update. I've been building a Linux system from source, so far it's LFS 7.0 by the book. The first ...
0
votes
1answer
19 views

error when booting Linux kernel 4.4.2

I compiled a Linux kernel 4.4.2 on my Kali Linux distro with make allyesconfig. When I booted it up it is saying end of kernel panic - not syncing : fatal exception and stopped. What is the ...
0
votes
1answer
493 views

Ubuntu is running in low-graphics mode

This error appears during Ubuntu 10.04 start up and I can run in low graphics mode. I tried to install the NVIDIA driver and then it works but when I reboot Ubuntu this error appears: (EE) NVIDIA(0): ...
0
votes
0answers
37 views

Unable to mount boot partition

I have compiled a custom environment using Yocto. I have most everything working now, but I've hit one major problem. The system boots fine, but after it does, I can't mount the boot partition. ...
0
votes
0answers
10 views

remove link form Linux namespace

I created a namespace in Linux with 'ip netns add foo', created a pair of veth interfaces and moved one in the namespace. I set up IP addresses etc., so that now I can ping my 'foo' namespace from the ...
0
votes
0answers
64 views

initramfs boot error on dual boot machine

Scenario: Dual boot windows7 and ubuntu machine. I downloaded a new linux kernel and then implemented 3 system calls on it. Then I compiled the kernel on ubuntu and tried to boot into the newly ...
0
votes
0answers
272 views

linux bluetooth firmware missing

The kernel is trying to load a bluetooth firmware version that does not exists. dmesg: [ 4.435796] Bluetooth: hci0: read Intel version: 370810011001140d00 [ 4.436742] bluetooth hci0: Direct ...
0
votes
1answer
61 views

How to handle this warning: The Linux source in /lib/modules/3.19.0-25-generic/build has not been configured

I am trying to install a Sangoma PRI card on a Ubuntu 14.04 LTS. During installation of the drivers, it gives me this warning, followed by other errors which are a consequence of this issue (or so I ...
1
vote
0answers
38 views

Disable RAID in custom kernel?

I need a Gentoo 13 machine to test some software on the platform. I'm not a Gentoo regular, so I'm suffering their procedures. I noticed the kernel spends a couple of seconds booting due to RAID ...
2
votes
0answers
158 views

Linux boot fails with /dev/disk/by-uuid/XXXX does not exist - Asus Zenbook Pro Touchpad Not Working

Device: Asus Zenbook Pro ux501vw-ds71t Ubuntu Version: 15.10 I installed Ubuntu 15.10 and the installation was successful. However, the Elantech touchpad did not work. I read that the newer 4.5.0-...
1
vote
1answer
82 views

How to pass CONFIG_BUILD_DOCSRC=n to genkernel?

I need a Gentoo 13 machine to test some software on the platform. I'm not a Gentoo regular, so I'm suffering their install procedures. I'm at Configuring the Linux kernel, and it failed with: (chroot)...
0
votes
1answer
865 views

Kernel 4.4.1-1 fails to boot - root volume “does not exist” - 3.10.0.327 and 4.3.3-1 both continue to boot fine

I'm trying to install and boot kernel-ml (currently 4.4.1-1) on RHEL 7.2 following the instructions here: http://linuxg.net/install-kernel-4-x-on-enterprise-linux-7-centos-7-and-rhel-7/ Install works ...
0
votes
2answers
502 views

AMD driver installation kernel header issues

I am having problems getting the AMD linux graphics drivers installed; every time I try to install it errors saying that it cannot find the kernel headers. The current kernel version running is 3.6.7-...
0
votes
1answer
576 views

Error building mvfs

I am trying to build mvfs so that I can run IBM Rational ClearCase on a CentOS 6.4 machine. I have all the dependencies installed so I cd to the mvfs_src folder and get the following error while ...
-2
votes
2answers
84 views

How to get linux terminal print info and save it to a file

How to get linux terminal print info and save it to a file? there are print information about the application, there are kernel print information.I want to save all the terminal program's output to a ...
1
vote
2answers
4k views

__modver_version_show undefined error when building linux kernel 3.0.4 version

I tried to build the linux kernel 3.0.4 on ubuntu 11.10 in virtualbox. Here are my steps: Download the source code tar xjvf linux-source-3.0.0.tar.bz2 cd linux-source-3.0.0 make menuconfig, changed ...
0
votes
0answers
7 views

Enabling TransHugePage in User Mode Linux

I am running User Mode Linux with Gentoo file system and using 32 bit Linux kernel version 3.12.36. I am not able to enable THP because I am not able to find the requisite file: ls /sys/kernel/mm ...
0
votes
0answers
20 views

Flashing Linux on Ncommputing L300 board

I have a bunch of L300 Thin client nodes which are of now use to me any more. I plan to give away the units after flashing linux into them, because as a standalone device wont achieve achieve ...
0
votes
0answers
30 views

Install x86_64 kernel on already installed i686 system

I have a 64-bit machine with Arch Linux i686, while the processor (Intel Pentium G3258) could support 64-bit. Being a 32-bit OS I can only use 3Gb of RAM out of the 8Gb installed. Since I have a ...
0
votes
1answer
30 views

How does encrypting /home partition with ecryptfs on linux stop malicious modification of /boot or /(root)?

This is a page where a developer of ecryptfs explains the difference between ecryptfs and dm-crypt: https://stackoverflow.com/questions/18230784/what-is-difference-between-linux-kernel-subsystem-dm-...
1
vote
1answer
16 views

why is openat() needed to avoid a two-step race condition with stat and then open()?

The explanation at http://man7.org/linux/man-pages/man2/open.2.html about why openat is needed, reads in part: openat() allows an application to avoid race conditions that could occur when ...
0
votes
0answers
41 views

Custom Android kernel with Sys V IPC

I know that Android uses Google's own Binder IPC, which is built-in to every Android kernel. This causes a dilemma for running GNU/Linux systems on a mobile device: keep the Android kernel, and ...
0
votes
0answers
68 views

ACPI doesn`t work properly?

My PC with next parameters H/W path Device Class Description =================================================== system P5K PRO (To Be Filled By O.E....
0
votes
0answers
24 views

Linux: Why UID and GID are 0 despite not being the root user?

Just a question here. I was looking through my program and its pid, uid, gid. And I found UID and GID are 0 but I'm not signed in as a root user. Why is this the case? And I am curious if UID and ...
1
vote
3answers
83 views

How to launch vmlinuz-linux from efi shell?

How to start vmlinuz-linux from efi shell ? I jump into the ESP and type vmlinuz-linux (vmlinuz-linux is in the ESP) but it says vmlinuz-linux isn't recognized as an internal or external command, ...
1
vote
0answers
18 views

How to Disable Linux kernel tracer

I have installed Ubuntu 12.04 (32bit). The current tracer is set as nop. cat current_tracer nop cat tracing_on 0 Although the current tracer is nop and tracing is disabled, all these following ...
11
votes
5answers
2k views

Does linux have any measures to protect against fork bombs?

#include <unistd.h> int main(int argc, char* argv[]) { while(1) { fork(); } } I run this program on my linux, nothing outputs on the terminal, the OS seems go dead. Does linux have ...
1
vote
1answer
34 views

Virtual machine running a *newer* linux kernel?

Is it possible to, for example, have the main system be Ubuntu 15.04 and install a virtual box that runs Ubuntu 15.10 inside of it? Or does the host system have to have a Linux kernel that is at least ...
0
votes
0answers
41 views

Cannot find root device when loading a new kernel image

I am trying to install an old linux kernel image 2.6.32.69 just for learning purposes. The machine is ubuntu 15.10 32 bit. The commands to build kernel are: make oldconfig make bzImage make modules ...
5
votes
1answer
321 views

Hairpinning in Linux

I have a router in which I installed a Linux system. I want my router to support NAT hairpinning. Does a such feature exists in Kernel Linux? If yes how to activate it? Are there a patch to apply it ...
2
votes
1answer
3k views

linux; return “RTNETLINK answers: Operation not supported” for dummy interface creation

I am trying to create a L3 interface in kernel v3.4.34, that is not attached to a physical interface/device and this is to be used purely as a management interface as an externally visible interface ...
1
vote
1answer
278 views

sd card not detected at all in linux

My SD card reader is not detecting any SD card. There is no output from dmesg when an SD card is inserted. df does not detect anything and also nothing in fdisk -l. Does linux support SD cards? I ...
0
votes
0answers
276 views

How do I fix Manjaro error hibernation device not found on boot?

After installing updates and restarting I got these errors. ERROR: resume: hibernation device 'UUID=long number here' not found ERROR: device '/dev/mapper/ManjaroVG-ManjaroRoot' not found. Skipping ...
0
votes
2answers
116 views

kworker is running modprobe every second

Using fatrace, I discovered that on my computer, modprobe runs approximately every second. To find out why, I replaced modprobe temporarily with this script: #!/bin/bash echo "$0" "$@" > /tmp/...