The kernel of operating systems popularly known as Linux, or sometimes GNU/Linux.

learn more… | top users | synonyms

1
vote
0answers
13 views

Is this possible to use a different rootfs that the one kernel comes with?

Here's the situation: I have a compiled zImage that comes with its own rootfs that contains linuxrc. I can extract it using this script. I would like to modify some startup scripts that are part of ...
0
votes
0answers
15 views

Can Linux decapsulate double GRE encapsulation?

For an application when the packets arrive at the receiving host, those packets are double GRE encapsulated (IP Hdr + GRE Hdr + IP Hdr + GRE Hdr + payload packet). I am wondering if Linux kernel in ...
9
votes
2answers
7k views

How to list all loadable kernel modules?

I'm looking for a few kernel modules to load i2c-dev and i2c-bcm2708. But the modprobe command returns: sudo modprobe i2c-dev modprobe: module i2c-dev not found in modules.dep How can I list all ...
0
votes
2answers
6k views

Error while installing wireless-bcm43142-dkms-6.20.55.19: dependency linux-headers is not satisfiable

I have to install a .deb file with the firmware for the wifi card (This is the name of the file: wireless-bcm43142-dkms-6.20.55.19_amd64.deb; I've downloaded the file from here: ...
0
votes
1answer
15 views

Linux kernel 3.14: Cannot find LILO

I'm trying to compile linux kernel 3.14 on ubuntu 14.04. Before anyone points out, I know newer stable versions of the kernel are available but I have been asked to install 3.14 itself. So, I wrote a ...
2
votes
1answer
14 views

How to find a specific patch for a kernel file

I've been debugging an issue in my linux kernel and have found a fix for the issue. Checking cross reference, I can see that the fix was applied to that file between kernel version A and kernel ...
3
votes
0answers
27 views

Does linux do outer ip fragmentation

I am looking to understand if Linux has the capability to do fragmentation of the outgoing packets at inner ip or outer ip level? I looked the source code in /net/ipv4/files in Linux kernel source, ...
0
votes
0answers
20 views

Bare bone system for a Raspberry PI 3 [on hold]

good day! I intend to build an OS that can run on Raspberry PI 3, this OS is for very specific use, i was thinking of just having the Linux Kernel alone, and then build the components myself, ...
0
votes
1answer
865 views

custom kernel and firmware loading

After I have compiled my kernel, and when I type make modules_install, not only are the modules copied into /lib/modules/ but also firmware is copied into /lib/firmware/. The following is the end of ...
4
votes
2answers
24 views

Is there a way to determine compile-time state of a kernel flag from a running system?

I have a running kernel and I'm trying to determine whether it was compiled with support for BTRFS extended attributes. Is there a way to determine a running kernel's compile flags?
7
votes
1answer
4k views

“Northbridge Error (node 0): ECC Error in the Probe Filter directory”

I've received an e-mail from a user worried that the following errors on one of his servers is indicative of a serious problem. The trouble is, the errors below are all that I have to go on. I ...
0
votes
1answer
26 views

psmouse kernel module recompiling

I have a ultrabook and its touchpad doesn't work. Linux mike 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-1 (2016-03-06) x86_64 GNU/Linux touchpad doesn't work and it is also not listed in output of ...
2
votes
0answers
40 views

How do Linux kernel modules get enabled in a Linux distro's kernel package?

Although I know how to recompile my kernel to enable a module I want, I'm curious to know how the default Linux kernel modules are chosen in a Linux distribution's kernel package. Taking a comparison ...
0
votes
0answers
6 views

Mint + Kernel 4.5.4: laptop loses suspend state when unplugged

I'm using Linux Mint 17.3 on a newish Asus laptop with Mate desktop. To get the Nvidia graphics and Elan touchpad both to work, I installed the 4.5.4 Linux kernel. I've pretty much got everything ...
0
votes
0answers
15 views

Strange PFN read from pagemap

I m trying to find the physical page to which a range of virtual addresses are mapped in a piece of C code that I ve written. I m using the /proc/self/pagemap to read the mapping. I ve used the code ...
1
vote
0answers
22 views

Raspberry pi blocks completely after multiple reboots

I have a c++ program running on login on the raspberry pi, this program checks data for multiple devices attached on to it (Arduino Mega 2560 + Modbus RS485), gets inputted data from them and sends ...
1
vote
1answer
21 views

Libraries and linux Kernel 2.6

Which command i can use to see what my current installed software libraries use from the Kernel 2.6? I want to know this so I can check if it would work fine in case I upgraded my Kernel to 3.1.
1
vote
3answers
769 views

Determine whether kernel built-in driver supports a device

I'm trying to find a way to accurately determine whether all the hardware on some system has a valid driver installed either via a kernel module or built-in to the kernel. I'm working with RHEL 5.5 ...
1
vote
0answers
35 views

External Fragmentation in FreeBSD due to unmovable Kernel pages

Is external fragmentation an issue in FreeBSD due to unmovable Kernel pages similar to what Linux (1) (2) faces?
2
votes
1answer
329 views

How to interpret cpu_idle and cpu_frequency event's trace logged by ftrace?

I used ftrace to trace two events, cpu_frequency and cpu_idle. I am not able to find out any documentation which states how to interpret this information. I have provided two snippets from the ...
3
votes
1answer
1k views

DisplayPort and Intel HD cause GPU hangs

My system has problems with the displayport connection. This is indicated by several problems that, at the first glance, do not have anything in common. The reason why I claim DP for beeing the cause, ...
1
vote
0answers
38 views

Pagemap on memory mapped devices not working

I am trying to find the physical addresses of heap variables, stack variables and memory mapped peripheral addresses using the /proc/{pid}/pagemap file using the steps detailed in the file: ...
2
votes
1answer
2k views

How to fix make error “No rule to make target 'menuconfig'” when building a kernel for Beagleboard?

The aim is to build and install the USB Video Class (UVC) module, via make modules_install. I'm trying to configure the kernel via make menuconfig on Angstrom distribution, running on BeagleBoard-xM. ...
1
vote
0answers
48 views

Kernel driver for trackpoint on Lenovo Thinkpad 13

On other ThinkPads I've succesfully configured the trackpoint with udev using this method but on my new Lenovo Thinkpad 13 this isn't possible: This command: find /sys/devices/platform/i8042 -name ...
0
votes
0answers
26 views

Screen glitches linut mint lenovo yoga 900 after Kernel 4.6 update

Installed mint 17.3 on my yoga 900, updated to kernel 4.6 to get touchpad, wireless card, and touchscreen working. Everything seems to be working okay other than the screen glitches, specifically on ...
0
votes
1answer
92 views

Ubuntu 16.04: How is the bonding kernel module gettting loaded automatically?

I recently set up an Ubuntu 16.04 system with a bonded ethernet configuration. Previously, it appears that to get this to work the bonding module needed to be included in /etc/modules or ...
3
votes
2answers
231 views

Why can the waitpid system call only be used with child processes?

The man page wait(2) states that the waitpid system call returns the ECHILD error if the specified process is not a child of the calling process. Why is this? Would waiting on a non-child process ...
10
votes
2answers
191 views

What program(s) is(are) lowering my entropy pool level?

I've made a simple bash script that checks the entropy pool level in /dev/random. I realize that the way I do it, I lower it very slightly at each check (cat /proc/sys/kernel/random/entropy_avail) but ...
2
votes
2answers
2k views

File system CRC check

I know that before running the kernel, u-boot (the boot loader) will check the kernel image CRC. Only if it is correct it will go further, else it will give a "Bad CRC" error. I want to do same thing ...
2
votes
1answer
53 views

understanding “bridge check” hop in packet flow in Linux kernel

According to "Packet flow in Netfilter and General Networking" drawing in Wikipedia Netfilter article: ..one of the first hops in packet flow right after the traffic control and queuing is bridge ...
1
vote
0answers
15 views

lubuntu reduce size of vmlinuz file for PXE boot

I have poor knowledge about Linux systems, but Windows XP support is over. I have two older computers. I want install Lubuntu from PXE on this computers, but the problem is that they says "NBP is too ...
3
votes
2answers
168 views

Unable to compile Linux kernel

I am trying to upgrade my kernel to 4.5 in Linux Mint 17.3, but I get the following error: Makefile:666: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler ...
1
vote
1answer
16 views

Can making CPU-intensive processes lowest priority (19) have adverse effects?

When I make a CPU-intensive process lowest priority (niceness of 19), it seems the amount of real memory consumption goes up. Perhaps this has other causes. But, can making CPU-intensive processes ...
1
vote
2answers
467 views

Identify out of tree modules?

I'm attempting to upgrade and test kernel 3.12. What is the most efficient way to identify out-of-tree modules that should be removed before testing? There are a few mentioned (vitualbox, nvidia, ...
3
votes
1answer
501 views

Corrupt LVM metadata header after kernel update

I'm running Debian Wheezy (Linux wheezy3.2.0-4-amd64 #1 SMP Debian 3.2.63-2+deb7u1 x86_64 GNU/Linux) as an encrypted LVM with hardware raid 1 (Adaptec 6405E) on a supermicro server. I was encounting ...
2
votes
1answer
42 views

How do I run the Linux kernel?

I'm reading Robert Love's Linux Kernel Development in order to learn more about, well, Linux kernel development! But in Chapter 2: Getting Started with the Kernel, I'm instructed to download and ...
3
votes
2answers
54 views

What is the Out of Memory message: sacrifice child?

My computer recently ran out of memory (a not-unexpected consequence of compiling software while working with large GIS datasets). In the system log detailing how it dealt with the OOM condition is ...
0
votes
0answers
30 views

Manjaro doesn't update syslinux.cfg when I install new kernels. How can it be done?

I have a fresh installation of Manjaro 15.12 (Capella) 64-bit on my Dell Latitude. I started with the CLI installer as I had a couple of LVM volumes to reattach to my system — such as /home and the ...
0
votes
1answer
36 views

understand chains and tables in netfilter/iptables

As I understand, Linux kernel has five hook points for IPv4 packet flow defined in netfilter_ipv4.h file: /* IP Hooks */ /* After promisc drops, checksum checks. */ #define NF_IP_PRE_ROUTING 0 /* ...
1
vote
0answers
36 views

Can't purge old kernels (dependency problems), but /boot is out of space

I'm running Ubuntu 14.04.4 LTS, and I'm trying to install a new package using apt-get. Unfortunately, whenever I try I get messages like: The following packages have unmet dependencies: ...
10
votes
3answers
868 views

When a process forks is its virtual or resident memory copied?

The standard way of making new processes in Linux is that the memory footprint of the parent process is copied and that becomes the environment of the child process until execv is called. What memory ...
3
votes
2answers
9k views

GRUB2 and kernel vga= parameter

According to the documentation, use of the vga= kernel parameter is deprecated as of GRUB2. The fact that some newer kernels don't seem to support it anymore on certain adapters is of no concern as ...
20
votes
4answers
31k views

Can I create a virtual ethernet interface named eth0?

I am running Arch based on the Linux 3.10.5-1 kernel. The system uses the new de-facto naming conventions of ethernet interfaces enp*s* and wlp* etc. This is a problem however, as my educational ...
2
votes
1answer
563 views

How to automate configuration of the Linux kernel build

I'm compiling a flavor of the Linux kernel based on the default configuration (for an ODROID system), with some additional features enabled. I want to automate this process so that I don't have to ...
3
votes
1answer
48 views

How does the kernel assign cpu ids to physical cores?

One may find a lot of info about how to inspect physical cores layout in a running linux system, but I'm wondering how the physical cores are assigned a cpu id in the first place. After experiencing ...
17
votes
4answers
9k views

Does Android really use the same kernel as Linux?

I read from somewhere that Android uses the Linux Kernel. Is it really true? I thought the Linux Kernel was meant for desktop operating systems.
2
votes
0answers
22 views

Use netconsole to debug with kernel crash

Recently I use netconsole to debug with kernel crash. However the log prints too fast, it seems that netconsole cannot transfer all the log in real-time, since ehternet allows maximum payload of each ...
1
vote
1answer
33 views

Dracut failure when trying to boot Fedora with Qubes kernel

I would like to boot Fedora 23 Workstation x86_64 with a kernel from QubesOS 3.1. I have copied vmlinuz-4.1.13-9.pvops.qubes.x86_64 and initramfs-4.1.13-9.pvops.qubes.x86_64.img into the /boot ...
44
votes
3answers
6k views

On Linux, when does “uptime” start counting from?

My computer says: $ uptime 10:20:35 up 1:46, 3 users, load average: 0,03, 0,10, 0,13 And if I check last I see: reboot system boot 3.19.0-51-generi Tue Apr 12 08:34 - 10:20 (01:45) ...