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

learn more… | top users | synonyms

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 ...
-1
votes
1answer
12 views

virtualbox can not create new virtual machine

I'm try to make a new virtual machine but virtualbox have this error in end step : Failed to create a new session. Callee RC: NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154) and in terminal this shwn ...
0
votes
0answers
16 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 ...
3
votes
2answers
313 views

What are the concepts of “kernel ring buffer”, “user level”, “log level”?

I often saw the words "kernel ring buffer", "user level", "log level" and some other words appear together. e.g. /var/log/dmesg Contains kernel ring buffer information. /var/log/kern.log ...
3
votes
2answers
40 views

Set default kernel in GRUB

How can I pick which kernel GRUB2 should load by default? I recently installed a the linux realtime kernel and now it loads by default. I'd like to load the regular one by default. So far I only ...
1
vote
2answers
46 views

Are “kernel mode” and “user mode” hardware features or software features?

I read that there are two modes called “kernel mode” and “user mode” to handle execution of processes. (Understanding the Linux Kernel, 3rd Edition.) Is that a hardware switch (kernel/user) that is ...
0
votes
0answers
27 views

VMware and kernel 4.0

I'm trying to install VMware in Elementary OS freya updated with kernel 4.0 but it doesn't start. The error suggests incompatibility with kernel 4.0. How can I solve this?
1
vote
1answer
32 views

What are the deb files for installing a kernel for?

When installing a kernel in Ubuntu(e.g. http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-vivid/), what are the files for respectively: linux-headers-4.0.0-xxx_all.deb ...
1
vote
2answers
63 views

How to test modified FreeBSD source code?

I am trying to modify the default congestion control algorithm in FreeBSD (NewReno) by creating a copy of the source file (cc_newreno.c, located in /usr/src/sys/netinet/cc) called cc_newreno_mod.c and ...
0
votes
2answers
39 views

why can't we install application compiled for Ubuntu, on Linux mint, or some other distros with same kernel?

When i try to download some applications like VLC, it shows in download options, various Operating systems which includes Linux mint, Ubuntu etc. Though Linux mint's kernel is from Ubuntu, still they ...
21
votes
4answers
723 views

Making Linux read swap back into memory

The Linux kernel swaps out most pages from memory when I run an application that uses most of the 16GB of physical memory. After the application finishes every action (typing commands, switching ...
2
votes
0answers
26 views

is THP good or bad for MySQL Server?

Linux kernel new feature called Transparent Huge Pages (THP) which is by default enabled on CentOS 6.x and above OS. Is THP good for MySQL DB machine? I am trying following to disabled THP but seems ...
2
votes
1answer
37 views

How does ath9k introduce itself to mac80211?

My question is about Linux kernel and ath9k wireless driver: How does ath9k announce itself to the mac80211? How come the mac80211 knows how to configure ath9k? Thanks in advance
0
votes
0answers
16 views

quick question about kernel modules [migrated]

I'm very familier with linux (been using it for 2 years, no windows for 1 1/2 years), and i'm finally digging deeper into kernel programming and I'm working a project. So my questions: Will a kernel ...
2
votes
2answers
31 views

Is there any Syscall table just like Interrupt Table?

Are the system calls like fork(), exit() saved in some kind of function pointer table , just like the Interrupt Descriptor Table ? where does my OS go when I call my fork() or exit() ? I guess this ...
0
votes
1answer
19 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
15 views

No sound with audio jack

I am using a Debian wheezy on Netbook eeepc 1001px After last kernel update When I plug the audio jack, I can here the electric charge but no sound when I remove it the internal speaker works ...
3
votes
0answers
49 views

Problems with file system

I created a partition with EXT4 file system and when I'm writing in this partition frequently the Kernel return the following error: Jan 01 01:17:54 infobuffer360 kernel: r7:c0561280 Jan 01 01:17:54 ...
11
votes
3answers
1k views

Is USB-to-USB data transfer between two Linux OSes possible?

I want to create a USB-to-USB data transfer system in Linux (preferably Ubuntu). For this I want to use no external hardware or switch (except this cable). It's going to be like mounting a USB drive ...
5
votes
1answer
164 views

what does mount -o remount,ro / actually do (under the hood)

To remount a mounted filesystem to read-only, I can use following command: mount -o remount,ro /foo This is used for example in the shutdown sequence, where root filesystem (/) is remounted ...
2
votes
2answers
39 views

kernel compilation in ubuntu, reboot msg “gave up waiting for root device”

I was trying to compile Linux kernel from source file i.e. 3.19.3 kernel version I ran the following commands for compilation first I extracted tar -xvf linux-3.19.3.tar.xz changed to its ...
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 ...
0
votes
0answers
13 views

Increase multipathed filesystem journaling threads?

We have some hardware which is utilizing multipath to speak to backend storage. A situation has been observed which some are attributing to too few journaling threads being allocated by the kernel. ...
1
vote
2answers
40 views

What are unimplemented system calls?

I was revising Linux system calls. I found that a few calls are unimplemented system calls. For example: afs_syscall. I don't understand why they are included in man pages if they are not yet ...
0
votes
0answers
8 views

GDM UI screen update is jittery with Kernel 3.4 with N2600 ATOM processor

This is in continuation to my earlier post : Upgrading guidance for Cedarview driver in Debian 6 - 2.6.32 I recently updated my kernel from 2.6 to 3.4 (Just for making N2600 chipset detect my ...
1
vote
1answer
69 views

How to install/compile module in Debian without using Full Kernel, only by using the already installed kernel headers

I am a newbie in Linux/Debian and searched the internet for a few days but didn't managed to find any good tutorial. Can someone explain step by step how to install a module on a kernel with headers ...
1
vote
0answers
28 views

Xen Kernel - SCSI_WAIT_SCAN Module

We've recently deployed a HP ProLiant DL180 Gen9 with 12 x Intel 530 SSD Drives. The system is running RAID-10 on top of HP Smart Array P840. Our aim was to use Xen on this server. However, when the ...
1
vote
1answer
47 views

Kernel Panic dumps no log files

I was playing a game on Steam and all a sudden I got a kernel panic, I manually shutdown the computer and booted back into Linux Mint 17.1 (Cinnamon) 64-bit, and went to go check through my log files ...
0
votes
1answer
38 views

Linux kernel version suffix + CONFIG_LOCALVERSION

On system start up I currently see Linux 4.0.0-rc6yy and 4.0.0-rc6yy.old from the bootloader menu. I'm not certain where they came from. I suspect "yy" is arbitrary but can someone explain the ".old" ...
0
votes
1answer
48 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
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
0answers
25 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
45 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
31 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
2answers
29 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
16 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
42 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
36 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
66 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
49 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
53 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
56 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
34 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
1answer
87 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
69 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
32 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 ...
0
votes
0answers
10 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
49 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
81 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
28 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 ...