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

learn more… | top users | synonyms

0
votes
0answers
35 views

Tegra Mesa GLES without X

I am trying to setup a Tegra 3 (Toradex Apalis T30) based system that will have an OpenGL ES based user interface on a touch screen. Unfortunately the standard Linux4Tegra kernel is seriously outdated ...
1
vote
1answer
17 views

How do I understand if an USB Ethernet adapter is compatible with a certain kernel version to use it to load kernel/filesystem?

I'm using an old kernel, 2.6.32, and I would like to boot the kernel over TFTP and mount the filesystem over NFS. Mounting the kernel over TFTP is a plus, but mounting the filesystem over NFS is a ...
0
votes
0answers
12 views

shm.h header file not found in Linux 3.13.3 [migrated]

I am new to for Linux. I have downloaded Linux 3.13.3 and I am trying to make a system call for shared memory. I have created a "hello world" system call and it runs perfectly. When I compile my ...
0
votes
1answer
27 views

Is it safe to upgrade kernel manually on a system which is using NVIDIA drivers?

Upgrading kernel manually on Ubuntu 14.04 can cause trouble with NVIDIA drivers? (one of the troubles could be booting to black screen) I had lot of trouble with installing NVIDIA graphics drivers ...
0
votes
0answers
17 views

Continuety of driver support in linux kernel

I am an embedded GNU/Linux learner. I understand with the new Kernel, driver support for most added hardware is coming through Device Tree Structure (DTS). But I have found out that there are still ...
1
vote
0answers
18 views

Find the creator of a task

I would like to find the creator task of an arbitrary task in the Linux kernel. However, I am not sure, if there is a way to do this in general. Normally, you can find the creator of a task via the ...
3
votes
2answers
2k 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
14 views

Install kernel .deb file without using dpkg

I'm running Manjaro (Derived from Arch). I have a .deb file for kernel 4.0. Is it possible to install the kernel from this file, and what are the steps involved? I tried opening the .deb file and ...
0
votes
1answer
3k 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 ...
1
vote
1answer
43 views

what if I uninstall all linux kernel images from my system

If I run this: sudo apt-get purge linux-image-* this will definitely remove all linux kernels images from my system. so the question is will I be able to use my system normally until I reboot or ...
2
votes
1answer
15 views

add key to proc/keys

How do I add a key to a keyring in /proc/keys ? My openembedded Linux does not come with a keyctl command program. And all I can find on google is the programming interface, but I would like to do ...
0
votes
2answers
108 views

Loginuid, should be allowed to change or not (mutable or not)?

I am trying to configure the linux kernel. I was confused by Make audit loginuid immutable (AUDIT_LOGINUID_IMMUTABLE) [N/y/?]. The help says: +config AUDIT_LOGINUID_IMMUTABLE + bool "Make ...
0
votes
1answer
447 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 ...
0
votes
1answer
44 views

How can I edit /proc/net/tcp?

I need to edit 1 line in /proc/net/tcp while the file is also used by the linux kernel for updating other lines of it by the kernel. Background: Each line in /proc/net/tcp represents a TCP socket. ...
2
votes
1answer
60 views

Device eth0 does not seem to be present, delaying initialization

I have cloned a fedora and now trying to configure network interfaces. Every time i am adding a new NIC, it starts with number eth3 (rather eth0). i have tried removing and modifying the ...
0
votes
0answers
16 views

Recommend distro with not stripped debugs for kernel / user space utils [closed]

Can you recommend some distro which has debug symbols available? This should be for learning purposes.
0
votes
0answers
15 views

centos 7 installation with customized bridge module

I have installed latest Centos 7 x64 edition in my server. I need to modify the linux-bridge module with some customized changes and use it as a default bridge module. Currently I am building centos ...
1
vote
0answers
22 views

Downgrading Linux Mint kernels from 3.18.2-031802-generic to the previous one?

I have Linux Mint 17.1 Cinnamon version on my notebook HP Compaq 15-h050nl and about 1 month ago I upgraded the Linux Kernels to the current version (3.18.2-031802-generic). After done that, I had 2 ...
1
vote
2answers
34 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, ...
0
votes
1answer
34 views

Getting error virtualbox-guest-modules: requires linux<4.0 on antergos while doing system upgrade

I am running Antergos Linux 64 bit on virtual box. when I try to do full system upgrade I get a error: resolving dependencies... looking for conflicting packages... error: failed to prepare ...
10
votes
3answers
674 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 ...
0
votes
0answers
25 views

How to write your own exception/interrupt handler? [migrated]

Any simple and basic example to write the exception? I've been searching the web for the past few days. Couldn't find any good site. :/ I got this as an assignment - Write an "Assembly handler" ...
0
votes
0answers
13 views

“un-select” behavior in kconfig

Are there any ways to generate the behavior of an "un-select" over an option? I don't want the option to disappear ("depends on" behavior), but just the opposite behavior of "select". Thank you very ...
6
votes
2answers
82 views

Besides cache, what does the Linux kernel use significant amounts of memory for?

My computer feels really sluggish. According to free, I have only ~200M RAM left and more than a gigabyte had to be swapped out. I know that it is good if memory is used for caching but this looks ...
1
vote
0answers
11 views

TCP retransmission for the same packet but with the different TCP payload [migrated]

I'm developing an Ethernet driver in Linux platform. I found that when a TCP retransmission occurred, the TCP payloads of multiple retransmission packets referring to the same sequence number packets ...
0
votes
1answer
20 views

Kernel Firmware for Radeon

I'm building LFS. I was trying to enable Ati radeon drivers in the kernel, but it didn't seem to work, so I did a little Googling and found that the there is something called firmware which the kernel ...
0
votes
0answers
11 views

installing r8168 driver in centos 4.8

I have installed cent os 4.8 and I am not able to connect to internet from that system. After searching on the net I found that the system has r8169 driver instead of r8168. Now I am trying to ...
0
votes
0answers
13 views

Different types of pageouts - Data?

In Linux, pageouts are controlled by the following properties /proc/sys/vm/dirty_expire_centiseconds /proc/sys/vm/dirty_background_ratio /proc/sys/vm/dirty_ratio Thus pageouts can happen due to ...
2
votes
1answer
40 views

Linux kernel action upon init process exiting

Say I am writing my own init program running on a Linux kernel. What happens when my init program exits with return value 0 ? Additionally is the behaviour different if the return value is non-zero? ...
1
vote
0answers
14 views

how to set or know scaling driver in linux kernel

I am trying to modify the scheduler/governor. For the same I need to know what CPUFreq Driver or scalling driver am I configured to run. 1.Where can I find what scaling driver am I configured to ...
-1
votes
0answers
17 views

Is netcat or socat zero copy

netcat or socat could run like a broker in messaging systems. For example: a one-line forward server socat TCP4-LISTEN:www,fork TCP4:www.domain.org:www Are they zero-copy under the hood?
0
votes
1answer
23 views

Find SAS controller that is well supported by the linux kernel

How can I find a SAS controller that is well supported by the official Linux kernel? The controller should use the PCIe bus and needs to connect one LTO-6 tape drive. I have looked through the ...
1
vote
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
1answer
580 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
0answers
12 views

Starting Kdump: FAILED

I am unable to start kdump on my machine. It is prompting Starting Kdump: FAILED. I have edited the /etc/grub.conf file and provide 1024M to crashkernel. I have also provided the path to where the ...
0
votes
0answers
6 views

Is that safe to use kfifo (not a _spinlock flavour) in fiq/nmi handlers? [migrated]

Basically need to pass variable-size records to and from FIQ handler (ARM platform). During any get/put operation on kfifo (on the user-space/kernel side only) I am going to disable all IRQs and ...
2
votes
0answers
279 views

Can I make the boot even more verbose than loglevel=7 using kernel parameters?

I have an error when booting on a machine, my machine is stuck with the error message: Booting a command list. I can see this message when I add loglevel=7to the kernel parameters via grub boot ...
7
votes
2answers
3k views

Adding a new System call to Linux 3.2.x with a loadable kernel module [closed]

I want to add a particular new system call in the linux kernel 3.2.x but as a loadable kernel module (as I don't want to recompile the kernel again and again) I read through many posts on internet ...
1
vote
3answers
2k views

Can anyone explain the output of mount?

I'm getting the following output when the mount command is executed. [root@]# mount /dev/sda2 on / type ext4 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type ...
0
votes
2answers
3k 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: ...
5
votes
3answers
694 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 ...
0
votes
1answer
36 views

How to select the tag of the latest non-unstable/release candidate version?

I've downloaded the latest kernel sources: git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git cd linux-stable git tag -l | less and picked v3.9.1. git checkout -b ...
0
votes
1answer
51 views

Upgrading guidance for Cedarview driver in Debian 6 - 2.6.32

Our system runs with Debian 6 squeeze (2.6.32) Kernel with N2600 hardware. I know the version is old. An upgrade is in later plans. Recently, we tried connecting multiple monitors (CRT and HDMI), and ...
1
vote
1answer
65 views

Linux Kernel Live Patching - WHATIS and HOWTO?

I am trying to understand a new concept I got to know recently as the Linux 4.0 makes it way to the mainline - "Live Patching". Supposedly this is a new feature enhancement of the Linux kernel. It ...
0
votes
0answers
35 views

Repackage RPM with kernel

I am tinkering with CentOS 5.4 and upgrading the kernel to the latest 2.6.18 build 402. What I need to do is to rebuild the initrd to include a modified init script, then repackage it all into an RPM ...
0
votes
0answers
26 views

isolcpus doesn't work on Ubuntu 14

I added isolcpus=0 to the end of the following line to the file /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=0" The idea, as I understand it, is to reserve core 0 from having ...
1
vote
1answer
549 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
2answers
948 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
29 views

Is the PTTY inside the Kernel or Userspace?

I read, that drivers are a way to expand the Kernels abilities to communicate with hardware devices, since there are so many and will be even more the Kernel has to be expandable. In order to ...
1
vote
1answer
32 views

web cam starting hangs os

I faced a strange effect as ... when my notebook wakes up from suspend I can start and close my web cam with guvcview 1-3 times; But after while on 3dr or 4th starting attempt (I didn't count for ...