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

learn more… | top users | synonyms

0
votes
0answers
14 views

Little slow downs in Embedded Linux application

My team is working in an embedded Linux solution for a product where a center application receives and process data from the hardware and sends it to a database and to the interface application. In so ...
0
votes
1answer
22 views

How do I install wpa_supplicant on bare embedded (ARM) linux (3.0.8)?

Environment FriendlyARM mini210s Linux 3.0.8 armv7l Cross-compilling I need to install wpa_supplicant, how do I do that? Shall I get the source for wpa_supplicant and place it somewhere in my ...
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?
1
vote
2answers
23 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
18 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/). ...
1
vote
1answer
27 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 ...
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
32 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 ...
6
votes
1answer
152 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 ...
0
votes
0answers
66 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 ...
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 ...
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_ ...
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
19 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
23 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 ...
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 ...
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 ...
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 ...
1
vote
0answers
26 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
51 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
29 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 ...
0
votes
1answer
121 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
38 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 ...
1
vote
2answers
32 views

No build scripts available when compiling module outside of Linux source tree

I am attempting to build a basic module outside of the Linux source tree (3.18.0-rc6). When I build it, I get an error saying it couldn't find scripts/... My directory setup looks like this ...
2
votes
1answer
46 views

What could be done to make Embedded Linux boot faster?

My team is developing a software for a Embedded Linux solution. The problem we are facing is that it takes too much time for the system to be ready to start running our desired apps (that is, too much ...
1
vote
0answers
21 views

Is there support for flattened device tree in Sparc 32 port of the Linux kernel?

We are trying to write a minimal bootloader for booting the linux kernel on a Sparc V8 processor simulator. From what I understand, the interface between the bootloader and kernel consists of a data ...
1
vote
1answer
48 views

Does it take time for process to utilize CPU?

I have a single-core x86 machine where I execute the burnP6(from cpuburn package) for 1 second and then kill the program: while true; do /usr/bin/burnP6 & sleep 1; pkill burnP6; sleep 1; done ...
0
votes
0answers
26 views

Linux Booting from NAND instead the uSD

I have some trouble with booting up my zImage. I'm using CORE9G25. So, usually I boot up using the uSD. And after uncompressing the linux and etc it's working. But, after I moved the uSD to the other ...
0
votes
0answers
41 views

custom built kernel module problems

I have been struggling to find a solution for loading module ath9k into the kernel and I have met a dead end. The kernel is 3.17.1 taken from kernel.org and I am compiling it in Ubuntu Trusty (14.04) ...
2
votes
1answer
82 views

Will kdbus replace D-Bus?

According to this LWN article kdbus is supposed to replace D-Bus. Can this be confirmed somehow? I wonder if after all this will be an easy task as I would imagine that both have a distinct API? To ...
0
votes
1answer
97 views

grub will not boot new kernel

For some time back I installed Linux mint 17 on my desktop machine, which is a dell studio 540. During the installation process, I did not have any internet connection, because my wireless card needed ...
2
votes
3answers
138 views

cannot reconfigure virtualbox-dkms

I have installed vitualbox on Debian Jessie according to instructions on debian wiki. By running: apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') virtualbox During installation ...
2
votes
0answers
36 views

How to determine the wordsize in Linux kernel programming? [closed]

In userspace code, the macro __WORDSIZE is used, included in <bits/wordsize.h>. However, when I do Linux kernel programming, the __WORDSIZE seems not available. If <bits/wordsize.h> is ...
4
votes
1answer
56 views

Error compiling custom kernel with a new usb serial driver

I have tried compile a driver for my kernel 3.13.0-40-generic. I have also tried compile a custom kernel with this driver but both have failed. The name of the driver is vizzini for Linux ...
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
0answers
28 views

GFP mask of 0x200da on a 64-bit system?

Recently, an OOM showed a GFP mask of 0x200da on a 64-bit system. How is that possible? 0xa would suggest we are talking about Movable Highmem, see: ...
2
votes
2answers
186 views

Are Linux drivers part of the kernel or the rootfs

I have been working on a board with an embedded ARM processor. To get it to boot I have to add a bootloader, a linux kernel and a disk image containing the root file system. This disk image is ...
1
vote
1answer
50 views

running vanilla kernel with LTS distro

what can potentially go wrong when running a custom vanilla kernel (e.g 3.16.3) with an LTS distro (e.g Linux mint 17)
5
votes
1answer
47 views

What is ENOANO (No Anode) intended to be used for?

This question is merely for idle curiosity, but I suspect others will be curious as well. Searching through errno.h (of Linux 2.6) I found ENOANO "No Anode". There is no sign of a "No cathode" error. ...
2
votes
0answers
37 views

“can't write to batman adv kernel file” while using “batctl p mac-address”

I installed batman-adv and batctl on Ubuntu 14.04.1. When I issue the comand: batctl p 00:16:bf:01:68:46 I get this error: Error - can't write to batman adv kernel file ...
1
vote
2answers
63 views

Why does Linux store cpu temperatures on so many files?

I have a laptop(thinkpad) with 2 cpus. Currently I can read the cpu temperatures from the files below with cat(1): cat /sys/class/thermal/thermal_zone0/temp cat /sys/class/thermal/thermal_zone1/temp ...
3
votes
0answers
36 views

Why does a device show up as hidraw instead of hiddev?

I read the kernel documentation for hidraw and hiddev, and I understand the differences, but I am wondering how the kernel decides whether or not a device should show up as /dev/hidraw* or ...
1
vote
0answers
19 views

Weird X11 behaviour after resume from suspend

I experience the following problem with xfig, but I don't believe that it is a xfig problem: In xfig, I draw a text and then I can move it around with the mouse (after going into move-mode). As I ...
3
votes
1answer
134 views

Boot delay due to non-existent SATA disk

My ASUS M4A87TD EVO board has two on-board disk controllers, one of them is a JMicron JMB361 with one old IDE disk connected. When I boot Arch Linux, it shows in the system journal like this: Nov 02 ...