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

learn more… | top users | synonyms

1
vote
0answers
42 views

RHEL6 Idle Thread Behavior

I am doing some cpu performance profiling with the perf tool on a RHEL6 box running weblogic12g. It looks like the idle threads are presented as native_safe_halt in the stack profile but ...
0
votes
2answers
64 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 ...
3
votes
4answers
142 views

None of the linux programs work except 'cd'

Before stating the question, here's what I did and observed before the problem started: On a fedora 18 Xfce, I tried compiling 3.6.10 kernel with a cdv driver, After many attempts, it finally ...
0
votes
0answers
17 views

Filesytem errors during boot

I am using OMAPL138 and kernel version 2.6.37 and I would like to improve the boot time of my system. I made some progress on this, but I still have some errors which may be causing delay in the boot ...
1
vote
1answer
1k views

Centos 7.1 still using outdate kernel 3.10 how to upgrade to kernel 4.0

I'd like to upgrade my Centos 7.1 kernel from 3.10 to 4.0 i did successfully in Ubuntu 15.04 using Linux 4.0.1-040001-generic even though i updated it manually it's works fine so please could ...
0
votes
1answer
191 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?
3
votes
3answers
288 views

Why do people call Linux a kernel rather than an OS?

Why do people refer to Linux as a kernel rather than an operating system? To the best of my knowledge, the kernel is one part of the operating system.
0
votes
1answer
150 views

crypto kernel module not available on Raspberry pi 2 (linux 3.18.11)

I'm trying to use dm-crypt on my Raspberry Pi 2 with Raspbian (debian) to open a trueCrypt volume, but i get Required kernel crypto interface not available. Ensure you have algif_skcipher kernel ...
1
vote
0answers
10 views

Having problems with negative monitor channel, intimidated!

When I try this command: aireplay-ng -1 0 mon0 -a xx:xx:xx:xx:xx:xx I get this output: No source MAC (-h) specified. Using the device MAC (xx:xx:xx:xx:xx:xx) 17:51:23 Waiting for beacon frame ...
5
votes
2answers
4k views

How to know if a network interface is tap, tun, bridge or physical?

As far as i know, there are 4 main types of network interfaces in linux: tun, tap, bridge and physical. When i'm doing sys admin on machines running KVM, i usually come accross tap, bridge and ...
0
votes
0answers
58 views

Kernel problem after editing filesystem.squashfs

I use Kali Live linux (which is based on Debian), today I tried to edit filesystem.squashfs file which is located at /live/filesystem.squashfs using squashfs-tools. First I extracted this file using ...
2
votes
1answer
126 views

Relationship between IO scheduler and cpu/process scheduler?

The concepts of IO scheduler and CPU scheduler confuse me. Below are my understanding: Linux uses CFS scheduler + nice values by default to schedule processes. Each process has an IO queue. There ...
3
votes
1answer
179 views

Which file in /proc gets read by the kernel during the boot up process?

Which file in /proc gets read by the kernel during the boot up process? This was a question on my LPIC 101 test that I think I might have answered wrong. I searched on google and some other places but ...
5
votes
2answers
412 views

How to measure PCI-Express bus usage?

I'm looking for a way to find out if PCIe bus is the bottleneck or not. It's not a problem to measure how much bytes was transferred through any particular NIC: Is there a way to find how much ...
-1
votes
1answer
248 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 ...
1
vote
1answer
67 views

extract Embedded initramfs

I have a kernel in which one initramfs is embedded. I want to extract it. I got the output x86 boot sector when I do file bzImage I have System.map file for this kernel image. Is there any way to ...
0
votes
0answers
27 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
2answers
146 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 ...
21
votes
4answers
922 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 ...
1
vote
1answer
88 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
93 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 ...
2
votes
1answer
107 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
2
votes
0answers
83 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
2answers
64 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
106 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 ...
1
vote
0answers
215 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 ...
3
votes
1answer
2k views

How to get ondemand governor on fedora

In Ubuntu 13.10 on my (Dual Core i5 Lenovo G570) laptop, I recently discovered the wonders of indicator-cpufreq, so I can extend my battery life dramatically by setting it to 'ondemand' or 'powersave' ...
2
votes
2answers
191 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
129 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 ...
2
votes
1answer
994 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 ...
45
votes
4answers
83k views

What is the difference between reboot , init 6 and shutdown -r now?

I just want to know difference between in reboot init 6 shutdown -r now and which is the safest and the best?
11
votes
3answers
2k 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
290 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 ...
21
votes
1answer
17k views

How to assign USB driver to device

This question is two-fold: First, how do you manually detach a driver from a USB device and attach a different one? For example, I have a device that when connected automatically uses the ...
0
votes
0answers
17 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
54 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 ...
8
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
1answer
271 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
1answer
120 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
0answers
19 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
0answers
72 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 ...
0
votes
1answer
264 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" ...
1
vote
2answers
55 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
148 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
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, ...
0
votes
1answer
210 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 ... ...
0
votes
1answer
77 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
55 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
213 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 ...
20
votes
3answers
447 views

How did the Linux Kernel project track bugs in the Early Days?

We all know that Linus Torvalds created Git because of issues with Bitkeeper. What is not known (at least to me) is, how were issues/tickets/bugs tracked up until then? I tried but didn't get anything ...