Everything about UNIX kernels: development, configuration, compilation, design, etc.

learn more… | top users | synonyms

0
votes
0answers
6 views

RHEL 6.5 erroneously marking Fusion-io RAID1 card as failed

I am getting the following error every hour for a Fusion-io ioscale2 RAID1 (mirror) configuration. However, the logical volume is mounted and accessible. I do not see similar error in the ...
4
votes
1answer
1k views

Setting up HDMI output from Linux console

I am currently running Debian Wheezy on a HP Microserver N54L with an AMD Radeon 5450 video card. I would like to be able to play audio from the console through the HDMI port of my video card and ...
0
votes
1answer
26 views

How can I boot into Ubuntu with a linux kernel with an earlier version?

Part of the output of ls -ld /usr/src/linux-headers* on ubuntu 12.04 is: drwxr-xr-x 24 root root 4096 Jun 4 2013 /usr/src/linux-headers-3.2.0-45 drwxr-xr-x 7 root root 4096 Jun 4 2013 ...
0
votes
1answer
44 views

yum update returns kernel error

I want to install virtualbox in fedora20. I have followed the instruction here: http://www.if-not-true-then-false.com/2010/install-virtualbox-with-yum-on-fedora-centos-red-hat-rhel/ but when I ...
1
vote
0answers
13 views

How/where are linux device capabilities / bitfields set?

I have a device that has this output in /proc/bus/input/devices: I: Bus=0003 Vendor=05b8 Product=3280 Version=0111 N: Name="PixArt USB Optical Mouse" P: Phys=usb-0000:00:1a.0-1.1/input0 S: ...
13
votes
3answers
183 views

How to force Linux kernel to “freeze” (or nearly freeze) for a few hundred milliseconds

We are running a real-time process on a non real-time kernel (CentOS 6), and this is probably not going to change. We have a streaming video application that requires about 500 MB/s of PCIe traffic ...
0
votes
0answers
4 views

How do I set kernel-ml default in CentOS?

I have installed kernel-ml package from http://elrepo.org/tiki/kernel-ml Now I have both the original CentOS kernel and kernel-ml. How do I set kernel-ml as default on boot? Thank you!
2
votes
1answer
915 views

Scaling issues of i7 3520M with intel_pstate module on Kernel 3.10.0

Few days ago I updated my openSUSE 12.3 system from Kernel 3.9.8-1.gf3348a8-desktop to 3.10.0-1.g3dcd746-desktop and since then, turbo mode of my i7 3520M is enabled by default and it does not ...
0
votes
0answers
16 views

iwlwifi: timeout delays firmware to be loaded

I'm using OpenSuSE 13.2 beta (which runs by the way very nicely). When starting up, my wireless adapter (Intel Centrino Ultimate-N 6300 AGN/Thinkpad T420) delays about one minute... But then it works ...
0
votes
1answer
23 views

How can I check if a certain patch is already installed in my system?

I am about to install a patch for wireless drivers named Compat Wireless in order to solve a problem with my WiFi channel (it locks on the not existing -1 channel) on my Ubuntu Linux v12.04 and Kali ...
0
votes
0answers
23 views

IPTABLES comment: No chain/target/match by that name

Facid with error when adding new rule with 'comment': # iptables -I INPUT 1 --source 66.***.***.78 -j REJECT -m comment --comment "Some" iptables: No chain/target/match by that name. Without ...
0
votes
0answers
12 views

Surface Pro Compatible Wireless cards and drivers

In reference to this post: Surface Pro Wifi Issues on Mint KDE 17 there doesn't seem to be any solution to fixing the wifi issues on the Surface Pro when running Linux. The Marvell card doesn't even ...
2
votes
1answer
42 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 ...
3
votes
1answer
817 views

Linux-image-3.2.0.4-amd64 vs linux-image-amd64 [duplicate]

Installing Debian I have to choose between the kernels linux-image-3.2.0.4-amd64 linux-image-amd64 What's the difference?
2
votes
1answer
1k views

libusb_init() returns -99

I have successfully built both libfreenect (driver for Xbox Kinect) and libusb (which is a dependency). However, if I try to open the Kinect using the freenect_init(...) function, it returns -99. I ...
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?
2
votes
1answer
51 views

How to change the kernel max PID number? [duplicate]

The default PID max number is 32768. To get this information type: cat /proc/sys/kernel/pid_max 32768 or sysctl kernel.pid_max kernel.pid_max = 32768 Now, I want to change this number... but I ...
1
vote
0answers
208 views

kernel log in /var/log/messages: task xxx blocked blocked for more than 120 seconds . System frozen [closed]

Monit sent out emails in the morning that my java app on the server was not responding to HTTP calls made on the 127.0.0.1 interface. App log shows nothing out of the ordinary, nginx log shows no ...
0
votes
0answers
17 views

Logging in FreeBSD kernel code [migrated]

I am adding some custom cryptography in the FreeBSD kernel and it causes a panic. I would like to log some variable values in functions that don't appear in the crash files. I used both printf and ...
1
vote
1answer
420 views

Why system call hooking produces different result everytime in Linux/Android 2.6.29?

I have implemented system call hooking for Android 2.6.29 kernel through a LKM module. I am tracing down one Android app for system calls. But interestingly, it returns different results every time I ...
0
votes
0answers
12 views

Monitor/Mwait not working in kernel space [migrated]

I want to test if monitor/mwait works in kernel. So I create a module, inside which two tasks are launched, task2 would call monitor/mwait to sleep. Task1 modify the armed address to wake up task2. ...
2
votes
1answer
1k views

SCTP support for Linux kernel 3.3.4-5.fc17.x86_64

I'm using Fedora 17 64-bit version, with Linux kernel version 3.3.4-5.fc17.x86_64. I installed lksctp using yum. sudo yum install lksctp-tools.x86_64 When I try to run sctp_status -H 127.0.0.1 ...
5
votes
1answer
344 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 ...
9
votes
4answers
21k views

Determining cause of Linux kernel panic

I'm running an Ubuntu 12.04 derivative (amd64) and I've been having really strange issues recently. Out of the blue, seemingly, X will freeze completely for a while (1-3 minutes?) and then the system ...
6
votes
1answer
54 views

Linux kernel 3.10.0-123.4.2 processes [flush] aren't present

I am using CentOS 7 with "3.10.0-123.4.2.el7.x86_64" version, but I don't know why the kernel threads named flush aren't present in this kernel version. I tried to look in the kernel change log, but ...
1
vote
2answers
689 views

running kernel on QEMU

I face this message: Failed to execute /initKernel panic - not syncing: no init found. Try passing init=option to kernel. I am using this command line: qemu-system-x86_64 -hda disk.img -kernel ...
2
votes
1answer
3k views

Building example device driver error: insmod invalid module format

I am following the tutorial @ http://www.embeddedsystemonline.com/home/embedded-system/embedded_linux/lab3-linux-device-driver on step #7 of this tutorial, $ cd ...
9
votes
2answers
8k views

How to disable USB autosuspend on kernel 3.7.10 or above?

I've updated my HTPC from kernel 3.7.10 to 3.10.7 and it seems CONFIG_USB_SUSPEND is now gone from the kernel options and included in PM. The main problem I'm facing is that I have an external HDD ...
10
votes
2answers
10k views

disable transparent hugepages

We are installing SAP HANA in a RAID machine. As part of the installation step, it is mentioned that, To disable the usage of transparent hugepages set the kernel settings at runtime with echo ...
0
votes
1answer
45 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 ...
1
vote
1answer
45 views

Full UEFI System, Grub 2 self-compiled + Clover 2, Debian kFreeBSD installation?

I've a computer with full installation UEFI system, with 2 bootloaders (GRUB & Clover on ESP) clover is the primary bootloader that allows me to load OSX and grub2. I want to make a new install of ...
0
votes
0answers
19 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 ...
0
votes
0answers
8 views

A question in ip_append_data [migrated]

I am confused with ip_append_data in linux network protocol stack when I see those codes: if (!(rt->u.dst.dev->features&NETIF_F_SG)) { unsigned int off; off = ...
0
votes
0answers
441 views

Kernel 3.14.1 compilation errors

I installed the kernel 3.14.1 and there seem to be no issues. uname -r 3.14.1-031401-generic However, when I try to go to the folder and try to do a make it fails. I see that multiple files are ...
0
votes
0answers
25 views

Best approach to adding a kernel driver

I have a task to complete. An LED must be controlled immediately after the kernel loads and into the launch of a Debian system. It also must be controlled in user land. I already have basic LED ...
2
votes
1answer
31 views

What does kernel-wedge do?

After looking at the package description and using kernel-wedge help, I'm not really sure what it does. Does it take a .deb kernel package and split it into smaller packages? Does it compile a ...
6
votes
2answers
703 views

Asus X101H - Touchpad not recognized (want to disable while typing)

I have been struggling with this issue for a while and have done an exhaustive search for answers here and elsewhere before posting this question. On my Asus X101H, the touchpad is not recognized as ...
0
votes
0answers
14 views

How to recompile official OpenSUSE kernel & initrd?

But it is not okay. I want all of the suse patches applied, I want an official initrd to be generated, and I want to make rpms from all of them. So, I want to recompile the kernel just as the SuSE ...
0
votes
1answer
29 views

Mount JFFS2 FS in openwrt

I'm trying to mount 1[MB] of flash as JFFS2 FS in openwrt environment, using 128[MB] NAND flash (4 bit ECC). I'm using the following sequence - flash_eraseall -j dev/mtd6 mount -t jffs2 -o noatime ...
1
vote
1answer
2k views

How to get back from “testing” to “stable” - Kernel downgrade

currently I am having lot's of fun with apt-get - and the bad thing is, it was my own fault. I had enabled the testing packages in /etc/apt/sources.list to install a certain package. And I told my ...
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 ...
2
votes
0answers
43 views

Explanation of the building process of the kernel on Ubuntu/Debian systems

I'm getting into Linux kernel programming and I have successfully built my own kernel several times now. However, I have done it using step by step guides found from the internet and I don't really ...
0
votes
0answers
33 views

Fedora 20 won't startup after shutdown during kernel update

I had a few bugs in my System(System Settings not opening and Firefox not starting) and I thought a kernel update(via yum) could do it some good. During that update, I suddenly got logged out as if ...
5
votes
1answer
87 views

Linux kernel dropping custom keyboard scan codes

I have a vintage IBM 122 key model M keyboard that I am adapting for use on a modern computer. I am using a Teensy 2.0 to do the encoding and to handle the USB side of things. I borrowed the firmware ...
13
votes
1answer
2k views

How do pdflush, kjournald, swapd, etc interoperate?

Recently saw a question that sparked this thought. Couldn't really find an answer here or via the Google machine. Basically, I'm interested in knowing how the kernel I/O architecture is layered. For ...
1
vote
1answer
533 views

Enable kernel module for 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
36 views

Compilation error when building a custom kernel

I'm trying to build a custom kernel from a git repository on my Ubuntu virtual machine. I run the make command as follows : sudo apt-get install vim libncurses5-dev gcc make git exuberant-ctags mkdir ...
0
votes
1answer
486 views

modpost.h:12:23: fatal error: elfconfig.h: No such file or directory

I am running Ubuntu: #lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.4 LTS Release: 12.04 Codename: precise Kernel info: 3.8.0-38-generic ...
1
vote
2answers
641 views

CentOS ELRepo Kernel installing VMware

Already installed VMware Workstation 9 on my Linux CentOS 6.5 Final with 3.10.40-1.el6.elrepo.x86_64 running kernel. When I open VMware Workstation, it asks me to locate the Kernel Headers ...
22
votes
4answers
1k views

What are the responsibilities of each Pseudo-Terminal (PTY) component (software, master side, slave side)?

I am trying to figure out how a tty works1 (the work-flow and responsibilities of each elements). I have read several interesting articles about it, but there are still some blurry areas. This is ...