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

learn more… | top users | synonyms

1
vote
0answers
8 views

CDC ACM doesn't working in a custom linux kernel

I've a cubieboard2 running arch linux with a custom linux kernel. In the cubieboard2 I plugged in my usb-serial device (like an arduino), the device is recognized as CDC ACM. My linux kernel has the ...
5
votes
2answers
222 views

Linux kernel headers' organization

While I was doing some reading on system calls, I did a search for "syscalls.h" to find the header file in LXR. The search results puzzled me. There is a dozen of "syscalls.h" files coming from ...
0
votes
2answers
18 views

GPIO User Space App

GPIO User Space App describes user space application to test the GPIO. Another related link is Linux GPIO Driver. This would be running on a xilinx zynq board having an ARM Cortex A 9 processor. I ...
1
vote
1answer
13 views

leds-pwm driver in linux 3.8

I am using custom board based on beaglebone black. I am trying to enable leds-pwm driver in Linux 3.8 version. But Kconfig says the driver depends on HAVE_PWM config, I am not able to see that ...
0
votes
2answers
243 views

How to use netstat command

My question is what does it mean to LISTEN or ACCEPT on a port as it relates to my example? Example: I have a tomcat server, and It will use port 8080. I want to make sure that port is available for ...
1
vote
1answer
315 views

Binding lsmod module name with kernel configuration menu entry

Lets suppose I have a module named "mptsas". How can I find out, what kernel configuration menu entry (make menuconfig inside /usr/src/linux) corresponds to that module? By 'corresponds' I mean what ...
6
votes
1answer
119 views

show parameters of running kernel

I would like to see with what parameters the running kernel has been started. i.e., I mean those parameters that are specified with the append option, such as ipv6.disable=1 or rootfstype=ext2 Is ...
1
vote
0answers
18 views

How to cross compile linux kernel for ARM using GNU ARM toolchain? [on hold]

I'm trying to cross compile latest Linux kernel 3.14 for ARM architecture. When I executed - make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- The terminal gave me an error that: make: *** ...
3
votes
2answers
29 views

Monitor when read/write on metadata or mmaped files hit the disk

On a server hosting a wide range of websites, I often see IO becoming a bottleneck without being able to identify the processes responsible of IO operations with tools such as iotop, iostat or sar. I ...
-1
votes
0answers
22 views

Good book for tuning/optimizing Linux? [closed]

I am looking for a good book to learn how to optimize/tune Linux, which also explains how/why the recommendations makes the kernel perform faster. I did find this book, Optimizing Linux Performance: ...
11
votes
1answer
2k views

What happens in each step of the Linux kernel-building process?

I've read many tutorials about how to build custom kernels and boot Ubuntu using those kernels, and successfully followed the guides and booted custom kernels, but I have no understanding about what ...
-1
votes
0answers
12 views

Modifying CPU Scheduling algo in linux kernel [closed]

I know how CPU Schedulers work in different linux distributions. I want to see the code for this and modify the CPU Scheduling to optimize it for background processes. But I never worked on kernel ...
0
votes
1answer
23 views

How to use a built in driver in the kernel?

I am building the 3.14 kernel for a board that requires the intel e1000e driver. I would like this kernel to have the driver built in so that I can remove loadable module support. I have chosen the ...
0
votes
0answers
50 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 ...
1
vote
3answers
50 views

Enabling IP forwarding at kernel compile time

I am compiling a kernel for a router. I know a way to enable IP forwarding in an existing Linux system. At compile time, CONFIG_IP_FORWARD is said to do the same task. I am configuring version ...
3
votes
1answer
55 views

Kernel /proc ipv6 settings precedence

I'm about to connect our network to the IPv6 Internet and need to control the kernel ipv6 settings found under /proc. I know there are configurations for each interface, for all interfaces, and the ...
7
votes
1answer
12k 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 ...
1
vote
1answer
40 views

Can a real-time process exist in the 'expired' queue of linux kernel?

In the Linux kernel 2.4: Real-time processes are given a priority of 0-99 and they co-exist in the ready queue along with the nice processes (who's priority goes between 100 and 139). But real-time ...
2
votes
1answer
38 views

Kernel Panic on 3.14.0-gentoo on an IBM 9228LGA / SMP Stack Trace

So I've spent the past weekend trying to get this IBM Xeon server up and running. I also took this opportunity to try and get a bootable GPT/Grub2/BIOS setup going. I am able to get the kernel ...
3
votes
0answers
41 views

EDID Invalid on USB DisplayLink Device

I have a Sabrent USB to HDMI adapter which is a DisplayLink device. It's recognized by udl as being a DisplayLink device, yet seems to be rejected/disabled due to having an invalid EDID: ...
3
votes
2answers
51 views

Change kernel parameters at runtime

While trying to fix an obscure hardware bug, it was suggested that adding a couple of parameters to the kernel might resolve the issue. I can of course do that, but I was wondering whether I can make ...
2
votes
2answers
29 views

Where kernel configuration file is stored?

I currently run Angstrom Linux 2.6.32. I intend to upgrade linux kernel from 2.6.32 to 3.0.7. For this reason, I had to configure kernel 3.0.7 running make menuconfig. Now, I want to compare the new ...
2
votes
1answer
30 views

IPsec doesn't read configuration when the tunnel is deleted

I've created a tunnel between tow Sites using IPsec. I've made an error in configuration, the address of the destination was false. I delete this tunnel. But the ipsec try after deleting to establish ...
8
votes
2answers
84 views

How does the system shutdown of a linux kernel work internally?

I have somehow an rough idea of how the userspace and init-system (be it classic init sysV /upstart/ systemd) work at system shutdown. (Essentially there is an order succession of "Stop!", "Please ...
0
votes
0answers
34 views

How to apply a patch correctly?

I am trying to patch a linux 3.13.7 source tree to 3.13.8 using the patch-3.13.8.xz file. Since the patch file is in xz format, I used the following command to apply it while in the source tree: unxz ...
0
votes
2answers
65 views

System too slow [closed]

My linux system is responding very slowly.I should wait to get the result of my command. How can i investigate to know the problem of his behavior?
0
votes
2answers
274 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 ...
1
vote
1answer
31 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 ...
1
vote
1answer
71 views

How to configure bootloader to boot the new kernel?

I succesfully upgraded linux kernel from 2.6.32.61 to 3.0.7 on BeableBoard-xM, following the steps below: download and untar kernel sources 3.0.7 from kernel.org copy kernel sources on /usr/src ...
0
votes
1answer
114 views

Can I upgrade my Linux kernel from 2.6.32 to 3.0.7?

I currently run Angstrom Linux 2.6.32 on BeagleBoard-xM (ARM architecture). Can I upgrade my Linux kernel from 2.6.32 to 3.0.7 and what is the difficulty level in case upgrade is possible? EDIT#1: ...
0
votes
0answers
50 views

death_handler: Fatal signal 15 received

I have problem with my Linux when I try to shut it down. init 0 I get the following error: death_handler: Fatal signal 15 received setsockopt recvref[30]: Protocol not available The sytem will ...
1
vote
0answers
21 views

Interfacing ds1337 RTC on LPC17xx

I am a newbie and I am trying to understand how to interface DS1337(RTC) on LPC17xx Board. This board uses uclinux 2.6.33. .CONFIG: CONFIG_RTC_LIB=y CONFIG_RTC_CLASS=y CONFIG_RTC_HCTOSYS=y ...
0
votes
1answer
23 views

Linux Kernel Compile-time options for Seagate IDE drive

I am configuring linux kernel 3.12.14 obtained from linux.org for compiling using 'make gconfig'. My question is what options exactly I need to enable to make it work for my Seagate IDE HDD? I am ...
3
votes
1answer
89 views

How to build a custom kernel with localmodconfig that support hardware of multiple machines?

When configuring a server to run a single task, like an appliance, there might rise the need to build a custom kernel. For example to save disk space. Ubuntu Core 13.10 amd64 root filesystem is a ...
5
votes
0answers
59 views

Is my understanding of kernels correct? [closed]

System: Application OS: Scheduler, VMM, IPC, FS Drivers, dispatchers, VFS The above would be a monolithic kernel. In a monolithic kernel all core OS functions are separate from user space. Functions ...
4
votes
2answers
299 views

How does Linux md-RAID handle disk read errors?

There are 2 cases: the read command times out at kernel level (30 seconds by default), the drive reports its unability to read a given sector before the kernel lose patience (the case I'm ...
2
votes
2answers
718 views

Linux (debian/testing) cannot boot after installing kernel 3.9.1

Today I wanted to upgrade the kernel on my debian/testing system from 2.6.32-5-686 to 3.9-1-686-pae. So I installed the image by sudo aptitude install linux-image-3.9.1-686-pae (or something like ...
3
votes
1answer
736 views

What is meant by interrupt remapping in Linux?

Can anyone explain what the interrupt remapping is? Would turning this feature off in the Linux kernel cause any problems, or bring any benefits?
2
votes
0answers
20 views

Set up OS and Runnig app using x32-ABI

Intro I just moved to a 64bit installation and I'm experiencing big difference in memory usage ( especially for app like chrome, firefox, mysql and java apps ): - While before 4gb were enough now they ...
0
votes
0answers
29 views

Choose kernel version in OpenEmbedded

I want to build Angstrom kernel on Ubuntu 13.04 host machine using OpenEmbedded. git clone git://github.com/Angstrom-distribution/setup-scripts.git cd setup-scripts MACHINE=beagleboard./oebb.sh ...
3
votes
3answers
319 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 ...
4
votes
1answer
124 views

How to strip unused architectures, drivers, etc from headers when building a custom linux kernel?

I am building custom linux kernel packages in a Ubuntu 13.10 amd64 environment usingapt-get source linux-image-$(uname -r)the debian way make-kpkg clean;fakeroot make-kpkg --initrd ...
0
votes
0answers
16 views

CLEAN CACHE On X86 Desktop Boxes?

I was building 3.12.13 linux kernel and I came across the CONFIG_CLEANCACHE option. it would seems to reduce I/O considerably especially in conjunction with CONFIG_FRONTSWAP. But I want to know if ...
2
votes
0answers
41 views

String length limit for a kernel module parameter [migrated]

I am passing a string as parameter when loading a kernel module. When the string is > 1024 chars, modprobe results in an error: FATAL: Error inserting mymodule (/lib/modules..): No space left on ...
1
vote
1answer
257 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
45 views

What is the “kernel build”, and where do I get it?

I am trying to compile OpenOnload from Solarflare for my nic on a server that I'm building. It is saying something about not having a kernel build. root@server:/usr/src/openonload-201310-u2# ...
0
votes
1answer
25 views

Trouble using `make gconfig` in ubuntu linux

I am trying to compile vanilla Linux kernel 3.12.14 downloaded from kernel.org. When I try make gconfig, it says: * Unable to find the GTK+ installation. Please make sure that * the GTK+ 2.0 ...
5
votes
1answer
303 views

Loading speedstep_centrino kernel module

Because of a noisy fan in my laptop, I need to change CPU frequency and for this task I need to load the appropriate kernel module. The CPU in my laptop Acer TravelMate 4002WLMi is: $ cat ...
1
vote
2answers
223 views

Why does boot fail with my custom kernel at the mknod step?

I want to build a custom kernel under Ubuntu. I configured and built the new kernel. The new kernel hasn't initrd and comes from vanilla source. I build this new monolithic kernel only with drivers it ...
1
vote
1answer
158 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. ...