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

learn more… | top users | synonyms

2
votes
1answer
13 views

Tool to give only the built linux source code

Linux is large complex program. A running kernel in the system would not be using all the code. I'm looking for a tool which can give me a source code specific only for the .config I used to build ...
0
votes
0answers
4 views

OpenSuse 11.1 Keyboard Issuses

Im having some repeat issues with my keyboard being unresponsive. Im using opensuse 11.1 with a 2.26.27* kernal and it seems to be getting worst. When the keyboard dies (although the mouse works) , ...
0
votes
0answers
11 views

rtnetlink No such file or directory error For Red algorithm

I tried the following command on my Ubuntu 14.04 Virtual Machine: tc qdisc add dev eth0 parent 1:1 handle 10: red limit 400000 min 30000 max 90000 avpkt 1000 burst 55 ecn adaptive ...
0
votes
0answers
18 views

System not responding and ttyS0 (ttyS0) main process (1627) killed by INT signal

The system is not responding(Unable to do SSH or Telnet, even scheduled cron job is not running) if it runs for more than 5 days. The scenario is "the ssh session is opened and console is opened from ...
1
vote
1answer
31 views

How to test new kernel releases ?

I am using ubuntu 14.04 with linux kernel 3.13.0-37-generic . I know that the latest stable release of the kernel is 3.17.01 and want to test it. Can I test it on my system without blowing away my ...
2
votes
1answer
43 views

Which Debian kernel should I install?

I've started installing Debian testing on amd64 and I've come to a screen asking me to install a kernel. It gives me a choice between linux-image-3.16-2-amd64, linux-image-amd64, and none. What is ...
0
votes
0answers
23 views

Where does the process go after changing to state TASK_STOPPED in Linux? [closed]

Supposed that we have a runnning process in Linux system, the state of that process will be TASK_RUNNING, after that if It receive the SIGSTOP signal , the process's state will change to TASK_STOPPED. ...
0
votes
2answers
30 views

Linux Distro name API to get name of linux distro in a driver code?

I am writing a common code in a driver to get the distros name and host name. host name i am taking from struct utsname{nodename[]}, but how do I get the distro name?
0
votes
1answer
46 views

Role of the Intel P state driver

I searched high and low for what “Intel P state” is and what it does. I found out that it has to do with performance and power consumption. I learned that if you build it in the kernel, it'll becomes ...
0
votes
0answers
21 views

How to display printk messages filtered by level as they come?

I wrote a hello word module that performs a printk when it is loaded in level ALERT and another printk when it is released with level INFO: #include <linux/module.h> #include ...
1
vote
0answers
30 views

How to create the framebuffer file node?

I'm working with a limited embedded device - Linux environment - that uses a custom DirectFB implementation to draw a user interface in its video output. I would like to exchange this method by a raw ...
0
votes
0answers
35 views

Kernel version name is repeated twice

I'm compiling my own kernel on Ubuntu. I use make deb-pkg -j5 to compile and package the kernel. In the kernel Makefile, I have added "-mykernel" to the extraversion part of the version string. ...
8
votes
1answer
369 views

Why do user space apps need kernel headers?

I'm building busy-box and iptables for an embedded device and one of the dependencies for them are the kernel headers. I have searched the whole file system for *.ko files and found none. So i ...
-1
votes
1answer
45 views

Add codes to vmlinuz

When I use the vi editor to add some codes to /vmlinuz I see it in a bad format. It seems a binary file. I am going to improve security and add extra steps for checking password. How can I edit ...
2
votes
1answer
84 views

Display power management in console

When in console (i.e. not in Gnome or KDE) the display will automatically power down in case of inactivity. It seems to me to be set to something around 30 minutes. This power management is completely ...
0
votes
0answers
19 views

Is the device tree compiler tied to the kernel version?

I have a situation in which same device trees are used with different kernels. Can the device trees be build only once and used with all kernels? The reason I ask this is because I found the device ...
0
votes
0answers
559 views

Nvidia driver not working on latest kernel (3.17) and Ubuntu 14.04

I'm pretty new to kernel hacking. However, I have built my own kernel before (3.16) and it works. Now I tried upgrading to the latest kernel (3.17-rc7). I configure the kernel using the config file ...
1
vote
1answer
31 views

Binding to not existing interface

I've just noticed the very weird situation I don't have a good explanation for. The machine (debian) has one interface with one IP address assigned: # ifconfig vmbr0 |grep inet inet ...
3
votes
1answer
43 views

Easy way initrd to chain loading another kernel with kexec

I have here a machine which won't boot 64-bit kernels (it has efi32 with a little bit of... uncommon firmware). Currently, my only way to boot my 64-bit linux system is: Booting a 32-bit distro ...
0
votes
0answers
16 views

DEBUG_RODATA option in the linux kernel

I am wondering what exactely the use of DEBUG_RODATA is in the linux kernel. The help says: CONFIG_DEBUG_RODATA: Mark the kernel read-only data as write-protected in the pagetables, in order to ...
3
votes
1answer
30 views

kernel: pass option to driver, when not compiled as module

I had the driver for my sound card compiled as module, i.e.: CONFIG_SND_HDA_INTEL=m and I did pass following options to the module (via /etc/modprobe.d/alsa-base.conf): options snd-hda-intel ...
1
vote
0answers
32 views

How to make 'install USB' with custom Linux?

I built my own custom kernel for new hardware.(Not a normal PC, embedded x86 device), and using syslinux I could create a booting USB for that kernel. After a few trial and errors, I was able to ...
29
votes
2answers
1k views

Why did powering down my machine after a bad `rm` save my files?

Classical situation: I ran a bad rm and realized immediately afterwards that I had removed the wrong files. (Nothing critical and I had tolerably recent backups, but still annoying.) Knowing that ...
0
votes
0answers
26 views

I have made custom audio cape using TLV320AIC3107 codec and here is a schematic diagram

I have made custom audio cape using TLV320AIC3107 codec and here is a schematic diagram. For connection with BeagleBone Black I refer audio cape which is available in market. here is a link: ...
1
vote
0answers
20 views

Is it possible to run the 2.4 linux kernel and RTLinux 3.2 on modern hardware? [closed]

I have software written for kernel 2.4 and RTLinux 3.2, but the old hardware started breaking. The software is huge and complicated, so rewriting it for modern hardware is most likely not going to ...
3
votes
2answers
35 views

Linux kernel patch and development source tree

We are using linux3.12 and its led driver has a bug which got fixed in later version of Linux. We see that driver change in Linux 3.15 see Linux Cross Reference Now my question is how can I find a ...
0
votes
0answers
34 views

rts5139/rtsx_usb borked in 3.15+

Some time in 3.15, someone moved the rts5139 driver out of staging (I cannot find a changelog of this) and it got renamed to rtsx_usb. This, unfortunately, broke support for at least the RTS5139 card ...
0
votes
2answers
84 views

Can anyone recommend some linux kernel related books for beginners? [closed]

I'm a newcomer of Linux kernel, and I want to know the mechanism of Linux kernel. But I was confused by such a huge number of concepts, structs and functions after the reading of Understanding the ...
0
votes
1answer
26 views

to print address space of a process in ubuntu 12.04

How do I print an address space of a process by taking the process' PID?
4
votes
1answer
33 views

kill unresponsive process

According to top, process named pccardd loads my CPU nearly 100%: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND ...
1
vote
1answer
44 views

How logical address of one process differs from the logical address of another?

I am a newbie. I am reading Understanding Linux Kernel. There, I am trying to understand how logical address got translated to physical address. To my understanding, I believe logical address got ...
-3
votes
2answers
65 views

Why do I have to make my own drivers?

Why does *NIX require me to make (i.e. build) my own drivers to install them? Couldn't they just be pre-built by the author and so long as they target the right CPU architecture I could install the ...
2
votes
1answer
59 views

Booting Linux minimally

I am trying to boot just linux itself. It's mostly for the learning experience. I got a small HDD with only one ext4 partition looking like this: /bin/bash /dev/console /boot/vmlinuz ...
1
vote
1answer
22 views

Kernel does not load after modifying parameters and kernel image with Syslinux

# Config file for Syslinux - # /boot/syslinux/syslinux.cfg LABEL arch MENU LABEL Arch Linux LINUX ../vmlinuz-linux APPEND root=/dev/sda3 rw INITRD ../initramfs-linux-ck.img LABEL ...
4
votes
1answer
87 views

Log files for kernel panic on Arch Linux

I have recently updated my Arch Linux machine. Since then, I have been getting kernel panics here and there. (the screen freezes and the status lights on my keyboard are blinking) It seems to happen ...
6
votes
1answer
53 views

What Linux kernel features does os-prober require to find a Windows 8 installation?

I built a new custom Linux kernel using make localmodconfig and after booting the new kernel, update-grub doesn't detect my Windows 8 installation. My distro kernel (with tons of modules I don't ...
0
votes
0answers
69 views

USB Keyboard Hotplug Module not Working

The following module could be compiled and loaded without any error: #include <linux/module.h> #include <linux/kernel.h> #include <linux/usb.h> #include <linux/usb/input.h> ...
1
vote
1answer
47 views

blktrace - differentiating between sequential to random io

I'm looking for a way to determine whether an app is doing sequential or random I/O. Is it possible to look at a blktrace capture and say if I/O is sequential or random? If yes, any examples of what ...
0
votes
0answers
27 views

Can't get Kernel image

I am trying to write the kernel image in my ARM, I am using an ARMStone a9 here is the information about this board: http://www.fs-net.de/en/products/armstone/armstonea9/ The problem is that I am ...
3
votes
1answer
582 views

How interpret kworker threads names?

On a Linux kernel 3.11.0-13-generic running on top of a dual socket Xeon X5650 hexa core board running htop show different kworker threads. Sorted by names (I tweaked the result I am showing here a ...
0
votes
0answers
36 views

Kernel clears the U-Boot splashscreen

We have a proprietary embedded board design based on the AM335x EVM. I have configured MLO to display a linux_logo.h image and u-boot.img to display a bitmap image using the bmp command. When the ...
0
votes
0answers
21 views

OpenVswitch in Linux kernel configuration

There's a kernel configuration variable Open vSwitch (CONFIG_OPENVSWITCH). This enables openVswitch support inside the kernel, but still to use it, we need a userspace daemon. My question is, what ...
0
votes
0answers
32 views

How is user space process/thread controlled by the operating system

I understand this: User code executes in a process/thread context in a process address space, in user mode, and can address only user code/data defined for the process, with no access to privileged ...
1
vote
2answers
48 views

Is it bad to have too many Kernel modules?

I'm trying to compile a Linux kernel to debug an issue I have on Arch Linux, and I was configuring modules, but I didn't know what a lot of the stuff was so I left them on. If this kernel works I ...
0
votes
0answers
30 views

Why would attempts to bind affinities for rcu kthreads fail?

I am trying to get full tickless mode working on my box on Ubuntu kernel 3.10.39. I am running the following command: for i in `pgrep rcu` ; do taskset -pc 0 $i ; done It seems to work on some of ...
0
votes
1answer
55 views

qemu can't run linux kernel

I saw this question and I did pretty much the same but I enabled initrd in configuration to use temporary root file system and no other modification but I still get this error on: qemu -kernel ...
1
vote
1answer
209 views

How do I compile the linux kernel version 3.16.1 to run in Slackware 14.1?

Could someone teach me or give me some tutorial? How do I compile the linux kernel version 3.16.1 to run in Slackware 14.1.
1
vote
0answers
83 views

drm Kernel v>3.11 Issues

Just a regular Fedora 20 user here (coming from no answers on ask.fedoraproject.org). I'm having some issues with the most recent kernel versions. The last working (no black line) kernel I have ...
3
votes
0answers
179 views

When do I need to specify add_efi_memmap as kernel argument in UEFI/EFI boot?

I am reading some tutorials how to EFI stub (efistub) load the Linux kernel. These instructions often use kernel boot parameter add_efi_memmap. The intended hardware is Intel x64 having 8GB of RAM. My ...
3
votes
0answers
78 views

Why are block sizes limited by page size in Linux?

In many (all?) file systems that Linux uses, including ext2/3/4, the maximum block size is the page size of the architecture Linux is running on, ie. 4KiB on x86. Why is there this limit? Might this ...