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

learn more… | top users | synonyms

0
votes
1answer
22 views

Error: you do not appear to have the sources for the 2.6.32-042stab102.9 kernel installed

I've just bought a new VPS with Cent OS 6.6 installed. I'm attempting to install Asterisk 11 on this VPS via command line remotely. I've used the directions here however I get this error: you do not ...
0
votes
1answer
21 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 ...
0
votes
0answers
13 views

Keyboard merely plugged in greatly increases kernel boot time

Specs are here. I am using a K65 RGB. I am using the ckb-git package from the AUR to provide basic input functionality. With Keyboard and with driver: Startup finished in 3.100s (firmware) + ...
1
vote
0answers
35 views

New laptop - hub over-current condition

I bought a new laptop Lenovo B50-70 and I abe installed Linux Mint. In the syslog is long output og messages: .... hub 1-1:1.0: over-current condition on port 3 hub 2-0:1.0: over-current ...
0
votes
1answer
21 views

What is a Kernel Routine ?

In another answer I met a short overview of the sections of the man pages: commands for $-User system call, that means evoking a function from the Kernel library call, that means evoking a function ...
1
vote
1answer
20 views

Which bus drivers to include when compiling freeBSD kernel?

I'm trying to compile a FreeBSD kernel and make it as light as possible. I'm struggling with the configurations on the bus, especially the SCSI Controllers part. there are many modules e.g: ahc, ahd , ...
0
votes
1answer
15 views

can't find “buildkernel” target in FreeBSD source files

I'm trying to compile a FreeBSD 9.3 Kernel. in the docs it states that the commands make buildkernel and make installkernel must be run, However I can't find these two targets anywhere in the make ...
1
vote
0answers
41 views

How to get the Adaptec 1200A to work under Linux at UDMA/100 (instead of 66)

A while ago, I got myself a used Adaptec 1200A controller card to keep my onboard slots free for easier connect/disconnect of drives and now I am wondering why this card will only operate at UDMA 66. ...
5
votes
1answer
35 views

Find out which kernel source files were used when kernel was compiled

I am compiling the Linux kernel for my specific hardware and I only select the drivers/options which I really need. This is in contrast to a typical distribution kernel, where they compile almost ...
0
votes
1answer
25 views

/dev/input/event0 is missing in embedded linux

I'm working on a project and we are trying to make a touch-screen work using Qt with Tslib. We already made some previous prototypes and we managed to make them fully functional. But when creating a ...
4
votes
1answer
32 views

git: show which files have changed between kernel 3.18.6 and 3.18.7

I have checked out linux kernel git repository git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git I know how to use git log, git show and similar commands to see ...
1
vote
2answers
38 views

MMU-less kernel?

I would like to try compile mmu-less kernel. From what I found in configuration there is no option for such a thing. Is it possible to be done?
-1
votes
1answer
34 views

Pfsense source code to build firewall

Pfsense is an open source Firewall based on openBSD kernel. Where can I find the code and how to modify it to build my firewall?
0
votes
0answers
21 views

Compiling a loadable kernel module(Debian/Ubuntu)

This question is a follow up of this one. I am trying to compile the ELF loader as an individual LKM and use it as a standalone application(replacing the original module within the base kernel sounds ...
3
votes
0answers
17 views

Calling ioctl on same file descriptor from two different processes [migrated]

If I call ioctl (this is a custom kernel driver to read/write Altera registers), and another process calls ioctl on the same file descriptor while the first ioctl is still executing, does the first ...
3
votes
1answer
72 views

Get kernel source: apt-get install vs apt-get source

I'm looking forward to download a Linux Kernel to get to know how to modify it and how to compile it. I am using Debian distribution and I'm interested in the Debian-modified Linux Kernel rather than ...
4
votes
1answer
42 views

Can I limit the size of the linux file cache?

I am running 64-bit Xubuntu 14.04, linux version 3.8.0-25 with 8GB of RAM. I have a script (in MATLAB, for what it's worth) that loads a large number of data files (~23k) one at a time, for a total ...
3
votes
1answer
27 views

How do I completely remove a wireless interface (and re-add it)?

I'm trying to use a new usb wireless interface (atheros ar9271) and my onboard wireless (intel 6200) is interfering with it. The goal is for me to be able to turn the rf kill switch on (enabling ...
1
vote
0answers
9 views

Issue with network up/down in kernel [migrated]

I am trying to write a Linux kernel module that with the correct command, will bring down the the network interface (lets say wlan0) change its IP address to the one specified, then bring the ...
0
votes
0answers
8 views

Get static driver from kernel zImage

I have one kernel zImage inside that there is one static modules for touch panel So is it possible to get touch panel module from zImage because I have no kernel source Please guide me
0
votes
1answer
26 views

U-Boot Bootup error

I'm running a Debian Linux on a Cubietruck, running off a SD card. When I power on, I get the following error: Booting kernel from Legacy Image at 46000000 ... ...
-1
votes
2answers
61 views

Generate major page faults

Is it possible to generate major page faults in the linux kernel at will? Can a program be written such that it is guaranteed to cause a major page fault on it's execution.
1
vote
0answers
25 views

Linux Networking Bootup script takes too long

I am working with a fork of a raspberry pi SoC. One of the modification is the use of AP6210 WiFi/Bluetooth chip. I am running Debian. During boot up, the following 3 startup scripts need to run in ...
1
vote
0answers
40 views

How does the Linux kernel initialize console graphics?

Observation: I switch on a Linux box Boot loader displays its output on screen Boot starts with first output messages Screen goes blank, and never comes back on. Note: this is about the console, ...
1
vote
1answer
44 views

Recognizing GPT partition table created with different logical sector size

I have a 3TB drive which I have partitioned using GPT: $ sudo sgdisk -p /dev/sdg Disk /dev/sdg: 5860533168 sectors, 2.7 TiB Logical sector size: 512 bytes Disk identifier (GUID): ...
0
votes
1answer
23 views

NAS: 100% system (kernel) cpu usage

I have a single core NAS My Live Duo. It runs Debian lenny release. I found via htop utility that it constantly use 100% of red cpu without any noticeable process to eat it. Than I checked via iostat ...
0
votes
0answers
22 views

Linux Kernel Version >=3.14 Obliterates Wi-Fi Dongle!

I own a TP-LINK WN725N, and any linux distro with the kernel version before 3.14 works fine, but past 3.14, the dongle cannot hold a speed of over 10 kb/s for more than 10 seconds. Reconnecting solves ...
0
votes
0answers
21 views

Do dracut handles boot parameters mentioned in dracut.cmdline (7)

If I understand correctly, in boot time the kernel will mount initramfs and then calls /sbin/init from it(which is a symbolic link to /lib/systemd/systemd on Fedora/RHEL systems) and dracut itself ...
0
votes
0answers
113 views

Debian wheezy, 3.19, problem keyboard and mouse on dekstop environment

I am running Debian Wheezy on a BananaPi. I just compiled the kernel and the keyboard was working in terminal(if it's called that way). However, after I installed a dekstop interface using "apt-get ...
1
vote
2answers
53 views

Log message “Disabling IRQ”: what does it mean?

This message appears in my dropdown terminal at seemingly random times when no processes is running in that terminal: andreas@debianator:~$ Message from syslogd@debianator at Feb 24 18:57:58 ... ...
1
vote
0answers
17 views

Print list of bad blocks in NAND flash from user space

Is there any user space tool that can retrieve and dump the list of bad blocks in a NAND flash device? I've checked the mtdinfo command line utility, and also searched /proc and /sys, but couldn't ...
12
votes
4answers
1k views

Why some operating systems event handling is written in asm instead of c?

My question is why nowadays some operating system event handling is still written in assembly language instead of a higher level language such as C, when the kernel itself is written mostly in C?
4
votes
0answers
100 views

Centos 7 boot up with custom kernel problem

I have installed centos 7 on virtualbox machine which has kernel-3.10.0-123.20.1.el7.x86_64. I am trying to build Linux kernel from kernel sources. I downloaded the kernel source files from: ...
2
votes
0answers
78 views

Corrupt LVM metadata header after kernel update

I'm running Debian Wheezy (Linux wheezy3.2.0-4-amd64 #1 SMP Debian 3.2.63-2+deb7u1 x86_64 GNU/Linux) as an encrypted LVM with hardware raid 1 (Adaptec 6405E) on a supermicro server. I was encounting ...
1
vote
0answers
12 views

insert module to kernel

I installed latest version of IPCOP, I've the correct module of my wireless card (htc_9271.fw): put it to /lib/firmware/ there is not any insmod/rmmod but only modprobe: modprobe htc_9271 FATAL: ...
4
votes
1answer
60 views

RTC time synchronization not working (CONFIG_RTC_SYSTOHC)

I have the option CONFIG_RTC_SYSTOHC enabled in my kernel: Device Drivers ---> [*] Real Time Clock ---> [*] Set the RTC time based on NTP synchronization The help says: ...
0
votes
1answer
37 views

Few questions about system calls and kernel modules (kernel services in parallel)

I have few questions about system calls and kernel modules. Let's assume we have two applications (A and B) and each of them is running on a different core. (A-CPU 0, B-CPU 1) When two applications ...
0
votes
1answer
43 views

setting (system-wide) CPU affinities for running processes on a Linux platform

I am conducting a kind of research in that I schedule multiple parallel applications (e.g., OpenMP/pthreaded applications) and execute the applications on specific (partitioned) cores on Linux-based ...
1
vote
1answer
38 views

Enabling ethernet over usb support in Linux Kernel

How to enable Ethernet over USB support in linux kernel. Which driver(like CONFIG_USB_USBNET) is related to this support. Is EEM (Ethernet Emulation) regarding this support or not..???
0
votes
0answers
16 views

Slow graphics when using kernel without module unloading support

If this is the wrong place for this question, please let me know. I didn't know where to ask, so here we go: Initially I wanted to disable module loading support for my linux kernel because I know ...
1
vote
0answers
36 views

Is it safe to disable Frequency Scaling and CPU idle Power Management support for Real Time purposes?

I'm using a Raspberry Pi board and I would like to build a real time system. During the kernel configuration, I found the CONFIG_CPU_FREQ option, which (from the help section) allows you to change ...
1
vote
1answer
106 views

Compiling kernel but doesn't build kernel modules

I am trying to compile a linux-sunxi kernel for my Banana pi. Using this link: http://sunxi.org/Linux_Kernel#Compilation Unfortunately I am getting the following message at the bottom when I am ...
3
votes
1answer
94 views

update kernel without restart

Recently Linux got a new feature called Live Kernel Patching, which you means you dont have to restart your system to update kernel. Is there any other kernel which has this feature already or Linux ...
0
votes
0answers
28 views

Boot partition was unmounted during kernel update

So, I updated the kernel from 3.18.5-Arch to 3.18.6 and without mounting my boot partition. Now, no usb device (vfat not recognized) can be mounted and no network connection (no interface except lo) ...
4
votes
0answers
150 views

dmesg: pci BAR 7: can't assign io

I have VMware virtual machine running Debian Wheezy. I have compiled my own kernel 3.14. I have noticed dmesg is flooded with messages pci BAR 7: can't assign io (size 0x1000). I have no idea what ...
0
votes
0answers
18 views

How to instruct RHEL6.5 Linux to save/starts states before crush or restart

I have multiple Workspaces, each responsible for different revisions of the same software. Not to have to recreate all Worspaces and open all tools/windows, I'm wondering how can I instruct Linux to ...
2
votes
2answers
34 views

Kernel panic if LUKS password is bad x times

Q: Is it normal if a RHEL 6.5 machine kernel panics if I type the LUKS password a few times wrong?
1
vote
1answer
72 views

lsof: measure I/O rate of a socket fd

I'm writing a script that parses the output of lsof to show a list of what processes have sockets open (similar to what netstat shows). lsof also gives me a file descriptor. What I want to do now is ...
2
votes
0answers
28 views

USB keyboard is disconecting automatically (without being unplugged)

In my log, I see following message: kernel: usb 1-1.6: USB disconnect, device number 5 acpid: input device has been disconnected, fd 7 acpid: input device has been disconnected, fd 8 I have not ...
0
votes
0answers
40 views

cannot locate header while making buildworld in custom kernel source

I'm trying to install a custom kernel in freebsd and here's step I followed: install freebsd 9.1 on vm from the image get the source from hardenedBSD (branch hardened/9/kernsep) execute "make ...