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

learn more… | top users | synonyms

12
votes
4answers
2k 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
257 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: ...
1
vote
0answers
28 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
209 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
131 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
185 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
184 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
25 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
168 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
451 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
0answers
594 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
56 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
617 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
26 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
51 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
218 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
77 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 ...
1
vote
0answers
119 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 ...
1
vote
0answers
91 views

Why doesn't Linux IPSec implementation support fragmentation before encryption?

I am trying to address an issue where ESP packets are getting fragmented as after adding the ESP header the MTU size is exceeded. The solution—which is what everybody does—is to do the fragmentation ...
0
votes
1answer
180 views

Kernel ATA Exception after resume from suspend to RAM

After resuming from suspend to RAM, my Arch Linux system freezes and becomes permanently unresponsive. However, I managed to pull the following kernel log: kernel: sas: Enter sas_scsi_recover_host ...
0
votes
2answers
1k views

How to disable core dump generation in Centos (cPanel Server)?

I want to disable core dump generation, How can I disable it ? One of the website keeps generating core dumps every second and eats up all the disk space. OS Details: CentOs cPanel Server ...
1
vote
2answers
161 views

What is “fs” short for in kernel function “get_fs()”?

There are two Linux kernel functions: get_ds() and get_fs() According to this article, I know ds is short for data segment. However, I cannot guess what "fs" is short for. Any explanations?
1
vote
0answers
32 views

Kernel compilation for minimum program execution

Compiling the Kernel requires me to configure modules. I am unsure how to configure a Kernel which only supports following things: Programs compiled with gcc on other machines (glibc). I want to run ...
0
votes
0answers
26 views

Installing kernel headers (prior to `make install_headers`)

I'm trying to accomplish this make ARCH=x86_64 INSTALL_HDR_PATH=/opt/cross/x86_64-linux headers_install But with the 2.6.9 kernel tarball. It does not support the make target headers_install and ...
1
vote
1answer
65 views

How to see kernel time variables without using adjtimex?

The man page for adjtimex says Anyone may print out the time variables, but only the superuser may change them. How do I see the value shown by adjtimex -p as the tick variable without using ...
0
votes
0answers
254 views

Debian boot freeze (hard lockup)

I'm using debian sid and during two years i watch the same problem. When I boot from grub my system on the screen appears follow text: Linux kernel in decompress level...Parsing elf and then freeze ...
2
votes
1answer
31 views

How do kernel inform OSPF daemon when a physical interface status is down?

When a physical interface status is changed from up to down, there are 3 things related to the computer's current routing table and OSPF. The (connected) network for that interface and remote ...
1
vote
1answer
21 views

Kernel config: Is undefined the same as disabled?

Reading the Debian Kernel Handbook I came across the config option CONFIG_DEBUG_INFO. That option isn't in the official debian 3.2 kernel config, so what I'd like to know: If a certain option is not ...
2
votes
0answers
40 views

Improve kernel boot time

I am using OMAPL138 and kernel version 2.6.37 and I would like to improve the boot time. By analyzing the kernel boot process I think it is taking a long time at MII PHY CONFIGURATION. The printscreen ...
2
votes
0answers
45 views

Debugging info in linux kernel - how does it work?

I have found that I can compile linux kernel with some flags adding debugging support like CONFIG_DEBUG_INFO. These options while useful in debugging are also required by some utilities like ...
1
vote
2answers
184 views

Why is Linux “Unix-like” if its kernel is monolithic?

As I understand it, part of the Unix identity is that it has a microkernel delegating work to highly modular file processes. So why is Linux still considered "Unix-Like" if it strays from this ...
2
votes
2answers
114 views

How to return 0 if a pattern is matched from a file? [duplicate]

I have a binary that repacks android kernel (not mkbootimg). I'm making a script to automate the process. I don't want any output on the screen. So I have redirected the output to a file named ...
1
vote
3answers
122 views

Boot process - Dev sdX name changes

I had a Slack 13.1 machine with 2.6.36 kernel. Then, I updated the kernel to 3.12.1. This machine has connected: a bootable disk with three partions (/dev/sda1 --> Linux OS files..., /dev/sda2 --> ...
2
votes
0answers
1k views

Install rtl8188etv/rtl8188eu driver on Orange-Pi

I'm trying to install the wifi driver on Orange-Pi board. The real chip is rtl8188etv but the driver is the same. I have compiled 3.4.105+ Kernel to have the headers: mkdir ...
2
votes
0answers
72 views

View syscalls/kernel activity for I/O from a running process

I'd like to be able to view syscalls or kernel activity for a process...I'm not actually sure of the terminology I need here! Specifically I'm looking for the difference between I/O going to local ...
2
votes
1answer
50 views

What is /proc/filesystems supposed to be and why is it different from /lib/modules/linux_ver/kernel/fs?

The very little documentation about /proc/filesystems says it is a "list of supported file systems". I see a lot of file system modules in /lib/modules/linux_ver/kernel/fs, most of which do not appear ...
1
vote
1answer
154 views

Missing kernel headers, but need them to install the Wifi driver

I am trying to install Kali on my Lenovo Yoga13, but after formatting the disk the setup failed to install grub because of no internet access (no Ethernet, need driver to get Wifi to work). So, I ...
0
votes
2answers
346 views

ubuntu Kernel panic while installing CentOS 7 in VirtualBox

I have a laptop with Xubuntu desktop 14.10 , and I installed VirtualBox and updated it to the latest version . I'm trying to install CentOS 7 (source downloaded from the official site) as a VM, ...
1
vote
1answer
187 views

Cannot update new kernel for CentOS 7 although the server have space enough

I try to update kernel on my CentOS 7 but the yum say there is no space enough on /boot although /boot have 343 MB as show below: Filesystem Size Used Avail Use% Mounted on /dev/sda2 477M 105M 343M ...
1
vote
1answer
341 views

How to manually compile Fedora 20 kernel

I am trying to recreate an environment for debugging purposes. I require Fedora 20 specific kernel version (in this case its 3.17.7-200.fc20.x86_64). I have manually compiled vanilla kernel (3.17.7) ...
13
votes
2answers
1k views

Is it good to have multiple version of Linux Kernel?

Once, I was installing some kernel patches & something went wrong on a live server where we had hundreds of clients. Only one kernel was there in the system. So, the server was down for some time, ...
3
votes
1answer
186 views

bash runs out of memory

This question is a fork of this SO question. Here is the MCVE version: $ PS1='Parent-$ ' Parent-$ type seq seq is /usr/bin/seq Parent-$ bash $ PS1='Child-$ ' Child-$ for i in $(seq 1000000000); do ...
1
vote
0answers
124 views

Using DKMS, to automatically patch and install kernel on update

I have a system that needs patching a file in kernel to work properly. The system is running Ubuntu 14.04. The patch patches a file in drivers/hwmon. So after every kernel update I need to download ...
3
votes
1answer
170 views

Building a minimal linux

I have been following A Minimal Linux System from Scratch in order to build a Linux with a small footprint (10MB or less). I'm fairly certain that there were no errors up until the last point, where ...
0
votes
0answers
162 views

Avoid Booting Fedora in Failsafe Mode

I recently bought a Lenovo G50-45 and managed to setup a dual boot system with Windows 8.1 and Fedora 21 (UEFI booting). But when I boot Fedora, the following error message shows up: [1.079848] EFI: ...
0
votes
0answers
113 views

Linux Kernel Panic and Problem with boot

I have installed CentOS 6.4 on VmWare Workstation (Win 8 as Host OS). I worked with it for several days, but suddenly when I rebooted it, it did not boot properly and on stopped with this error : ...
1
vote
0answers
32 views

Investigating Active MemInfo

I am seeing high Active usage when I do a cat /proc/meminfo : MemTotal: 65965328 kB MemFree: 51640992 kB Buffers: 1050332 kB Cached: 8516112 kB SwapCached: 0 kB Active: 11512732 kB Inactive: 1878028 ...
3
votes
0answers
229 views

How to prevent kernel or any broadcast messages from flooding the TTYs?

Because of some hot-plugging issue, similar to what talked of here, the TTY displays show a continuous stream of messages (which are also logged in the /var/log directory). Every text I key in flows ...
0
votes
1answer
551 views

What is MCH_SSKPD warning in dmesg?

While i was reading dmesg log just to check that everything is fine, i met [ 18.956187] [drm] Wrong MCH_SSKPD value: 0x16040307 [ 18.956190] [drm] This can cause pipe underruns and display ...
1
vote
0answers
170 views

No brightness control for opensuse 13.2?

I have posted on brightness issue Here!! After upgrade to KDE 5 Now i cannot change brightness through controls !! AND ALL FUNCTION KEYS (wireless,brightness,touchpad,sound +/-) are not working ...