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

learn more… | top users | synonyms

1
vote
2answers
21 views

How do compile Linux Driver for Netis WF2190 Wifi dongle for FriendlyARM mini210s?

GOAL I want to install the Netis WF2190 wifi dongle linux driver onto my FriendlyARM mini210s. Environment FriendlyARM mini210s S5PV210 ARM Cortex-A8 Board ... running Linux 3.0.8-FriendlyARM ...
1
vote
1answer
69 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 ...
2
votes
2answers
2k views

Try to disable console output, console=null doesn't work

as mentioned above, I want to to completely turn off the console output, but putting console= or console=null in the kernel command line doesn't change a thing. When I enque quiet to the kernel ...
4
votes
3answers
93 views

Disallow File IO for a process except for FIFOs

How do you start a process that cannot do any file IO (opening / closing files, creating / deleting files, reading / writing files, etc.), except to read and write to pre-created FIFOs? (chroot will ...
0
votes
0answers
16 views

add another field to user_struct [migrated]

I want to add new field ( to store number of ready process of this user ) to user_struct in file linux-source/kernel/user.c struct user_struct { atomic_t ready_processes; /* I add this field */ ...
1
vote
0answers
9 views

What does “acpi PNP0501:00: Still not present” mean?

On my new laptop, I have an error in dmesg which occurs every 2 seconds: acpi PNP0501:00: Still not present What does this mean? How to troubleshoot it?
3
votes
3answers
11k views

What does “INFO: task XXX blocked for more than 120 seconds” exactly mean on Linux?

I had this message in my kernel log : INFO: task XXX blocked for more than 120 seconds. I would like to know what it means technically: under what conditions does the kernel display this message about ...
1
vote
1answer
16 views

How do I get linux-gate.dso on a newer linux system?

I would like to find out which method my 32bit QEMU guest is using for system calls. There's an excellent article explaining linux-gate.dso (http://www.trilithium.com/johan/2005/08/linux-gate/). ...
0
votes
2answers
2k 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: ...
3
votes
0answers
2k 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 ...
4
votes
2answers
207 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 ...
1
vote
1answer
448 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
1answer
23 views

linux 3.17 supports hotplug of thunderbolt of non-chained thunderbolt devices — what is this?

Linux 3.17 has a commit which supports hotplug of thunderbolt of non-chained thunderbolt devices. But what does "non-chained thunderbolt devices" mean? Is a thunderbolt to ethernet adapter a chained ...
10
votes
1answer
2k views

Linux: What is a tainted kernel?

Under certain conditions, the Linux kernel may become tainted. For example, loading a proprietary video driver into the kernel taints the kernel. This condition may be visible in system logs, kernel ...
1
vote
2answers
47 views

Is system call the only way that a user program can intentionally affect the state of a Linux kernel?

I think there are several ways that a user program can intentionally affect the state of a Linux kernel. By invoking a system call; By invoking mmap() and writing the memory that has been mapped to ...
0
votes
0answers
18 views

Linux 3.x: Supported platforms

Where do I find an (up-to-date) list of supported CPU architectures of the current 3.x Linux kernel? As far as I understood the ucLinux merged their code into the official kernel. Is there any ...
1
vote
0answers
31 views

Utility to list and modify kernel modules loaded at system startup

How do I list all kernel modules loaded while system startup? Is there a user space utility to list and modify the modules loaded during system startup? I am working on RHEL6 Desktop and RHEL6 ...
-2
votes
0answers
28 views

Compile Kernel with Own Device Driver [closed]

Please tell how to compile kernel so as to add my own device drivers into a Kernel such that whenever one person installs/ Compiles this Kernel in their System, My Device drivers should be loaded ...
6
votes
1answer
148 views

Some basic questions about Linux kernel's security [closed]

I don't know much about Linux kernel, and I have some questions. What is the main purpose of separating kernel memory from user-space memory? To make sure that a user application cannot do anything ...
9
votes
4answers
19k views

Enabling IOMMU in the kernel for graphics card pass-through

Short question: How can I turn on the intel_iommu setting in the Linux kernel? I run a Debian host, using the grub2 bootloader. Documentation I've seen says to edit /boot/grub/menu.lst, which seems ...
0
votes
0answers
59 views

device descriptor read/64, error -71

I have problem with USB ports on MSI WIND laptop. I have FC17 installed and usb printer sometimes not responds. If I replug a printer in USB port - it's working. Tried to change usb cable and printer ...
2
votes
0answers
19 views

Why are structured types are referenced by struct tag instead of typename? [migrated]

In Linux kernel, structured types are defined like that: typedef struct _TAG_ { ... }; and then used in routines like that: struct _TAG_ structured_entity; struct _TAG_ ...
4
votes
1answer
57 views

Do all devices under Linux have a device node?

I know that each device on Linux is either a char or block or network device. Do all physical devices that exist on Linux have a device node under the /dev directory? I'm not talking here about ...
0
votes
3answers
685 views

swap partition and its laws

I remember for choice of swap partition, we should use (swap > 2xRAM) at least.Of course it deprecated , because max of computer's ram is very high. kernel support it. My question: i remember each ...
3
votes
4answers
3k views

Installing a cross-toolchain to build ARM binaries on Debian

I tried to install a cross toolchain so I could build Linux kernel on amd64 (Debian testing "jessie") for my ARM system. I have this entry in sources.list: deb http://www.emdebian.org/debian sid main ...
2
votes
1answer
26 views

What entropy sources are used by the Linux kernel?

man 4 random has a very vague description of Linux kernel entropy sources: The random number generator gathers environmental noise from device drivers and other sources into an entropy ...
-1
votes
0answers
13 views

Can't find where __put_user_1 is defined [migrated]

I have been going through the linux kernel module programming guide, and I decided to find out how put_user(*(msg_Ptr), buffer) works. After all macro expansion is done, it appears that this inline ...
0
votes
1answer
2k views

bnx2: Can't load firmware file “bnx2/bnx2-mips-09-6.2.1b.fw”

I just compile the kernel 3.10.19 from kernel.org Support for bnx2 is enable. On my server when I try to start the eth0 interface I got the following error : bnx2: Can't load firmware file ...
0
votes
1answer
18 views

No network interface in QEMU

My network interfaces never shows up in my guest computer. I'm compiling a linux kernel (3.3 I think) from scratch with default settings + Symbol: NE2K_PCI [=y] Type : tristate Prompt: PCI NE2000 ...
0
votes
1answer
18 views

HP SmartArray RAID5 recovery on linux

This is a long time in the making, and I've finally got it working so I thought I'd share this with as many people as I can in case they're in a similar situation. Long story short - HP SmartArray ...
3
votes
1answer
22 views

Create a write-cache loop device for a much larger block device

So, long story short. * I had a 5.5TB RAID5 array with a HP controller. * HP uses a really, really painful RAID5 algorithm (ref: Delayed Parity) * I wrote a new block driver that translates requests ...
8
votes
3answers
573 views

Using real time kernel headers to compile userspace code vs default headers

Per customer requirements, I installed CentOS 5.6 with the default kernel. With this kernel installed, the time.h file includes the #define CLOCK_MONOTONIC. Now, a real-time kernel was installed ...
9
votes
2answers
130 views

Possible to see dead proccesses?

In man ps, it clearly states the different states a process can have on Linux. D Uninterruptible sleep (usually IO) R Running or runnable (on run queue) S Interruptible sleep (waiting for an ...
1
vote
1answer
29 views

How do I find out which version of a driver is included in a kernel?

I need to find out which driver/module version is contained in a kernel which isn't installed. Is there a document in the source that contains this or something listed online that haven't been able to ...
2
votes
1answer
26 views

ifup wlan0 causes kernel Oops

on my laptop, when I do ifup wlan0, sometimes I get following call trace in dmesg. Other times, the log looks perfectly normal, and there are no kernel Oops messages. In both cases (with errors and ...
1
vote
1answer
563 views

Enable kernel's net_key, inet_esp, crypto_hmac modules for to use in a VPN

I'm trying to turn on modules for VPN so I followed this tutorial to compile new ubuntu kernel 3.8.6 . But the features I've turned on using make menuconfig seem not to be enabled. (the features I ...
0
votes
2answers
704 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 ...
0
votes
1answer
35 views

Migrate old custom patches to new Linux versions

I previously used Linux 3.0.35 to customize the OS for an IMX based board. I'm now planning to upgrade it to Linux 3.10.17. The customization was compiled into patches, (80+ patches!). My problem now ...
3
votes
3answers
376 views

AES-NI on Dell Vostro 3360

I don't have AES-NI available on my Dell Vostro 3360 laptop. Why? Does this machine not support it? My /proc/cpuinfo: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 58 ...
285
votes
7answers
25k views

How can I find the implementations of Linux kernel system calls?

I am trying to understand how a function, say mkdir, works by looking at the kernel source. This is an attempt to understand the kernel internals and navigate between various functions. I know mkdir ...
0
votes
1answer
34 views

Why kernel threads are treated as processes

In output of the ps command like the one below (kthreadd,ksoftirqd,kworker) , i can see that there are some processes that don't have an executable file and i find out that's because they are kernel ...
3
votes
1answer
2k 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
1answer
49 views

rt patch for latest stable 3.17.4 vanilla kernel

I want to apply an rt patch to the latest stable vanilla kernel, which is 3.17.4 currently. The latest rt-patch found are for 3.14.24. Does that mean I have to use the the 3.14.x family, and can not ...
0
votes
1answer
1k views

Ping IP works, nslookup fails. New Kernel

I am compiling my own 3.14 kernel. I fear I may have left out some important networking feature to get DNS working. I can't resolve domain names. I can ping my DNS server. I can resolve using that ...
0
votes
1answer
25 views

cc1: warnings being treated as errors when compile FreeBSD 8.2 Release

I am trying to compile FreeBsd 8.2 RELEASE kernel # uname -a FreeBSD 8.2-RELEASE FreeBSD 8.2-RELEASE #2: Sun May 18 00:07:10 PDT 2014 Build the kernel # pwd /usr/src # make buildkernel ... it ...
1
vote
0answers
24 views

Which kernel option for “Intel 8 Series Chipset Family Thermal Management Controller”

My new machine works fine, but lshw shows the following unclaimed device: *-generic UNCLAIMED description: Signal processing controller product: 8 Series Chipset Family Thermal ...
0
votes
1answer
116 views

“Package 'linux-headers-3.13.0-27-generic' has no installation candidate”

I'm trying to resolve an issue that I posted here. I'm basically trying to successfully run this script. To do that, I believe (and I its very possible that I'm wrong) I need to install the ...
0
votes
1answer
37 views

Compiler for Linux kernel

Can Linux kernel be compiled with gcc configured for Linux executables (not bare metal)? I have noticed that Buildroot builds cross-compiler arm-linux-gnueabi to compile everything and became curious. ...
1
vote
0answers
31 views

How to diagnose CPU performance problems?

Recently I bought a new netbook based on AMD A4-1200 CPU and installed Linux Mint 17 with XFCE. RAM is 4GB So, testing some of my programs, I found very strange behavior. On random intervals, the ...
1
vote
0answers
14 views

expanding the priorities table in runqueue in Linux kernel

I have a hw assignment that I'm having really hard time with, probably since I'm new to the whole Linux kernel thing. we're supposed to add a new scheduling policy to the existing scheduling ...