This tag is for questions about the internals of the Linux kernel itself - particularly about use or configuration of kernel modules or drivers.

learn more… | top users | synonyms

1
vote
2answers
611 views

Why program fails when started using /lib/ld-linux.so.2?

$ /bin/bash -c 'echo qqq' qqq $ /lib/ld-linux.so.2 /bin/bash -c 'echo qqq' /bin/bash: xmalloc: ../bash/variables.c:2176: cannot allocate 3 bytes (8192 bytes allocated) Why this happens (zsh4, python ...
4
votes
8answers
5k views

Where is installed software stored in Linux? [duplicate]

Possible Duplicate: Where is a typical Linux program installed I'm new to Linux and I want to ask a bit more about packages. In Windows, I download an .exe file and install it. When I ...
1
vote
1answer
819 views

system clock is not set correctly on startup

i have strange problem with the system clock in my Linux system, TinyCore, kernel 2.6.38 . dmesg says the following: rtc_cmos 00:04: setting system clock to 2012-08-08 19:20:00 UTC ...
2
votes
0answers
164 views

What does the linux kernel/initrd loading time depend on?

I recently updated my Linux kernel from 3.1.10 to 3.5.0. Upon booting with GRUB, I noticed that this kernel (or the initial ramdisk?) takes a much longer time to load (~5-6 s vs. ~1 s with the old ...
0
votes
1answer
1k views

Redhat Linux enterprise kernel source code location?

I have downloaded Redhat Linux Enterprise version 6.2 ISO and installed it. It’s running fine and everything looks ok; however I mounted the ISO to look for the kernel-source, or src rpm and I cannot ...
0
votes
1answer
1k views

Disable “longhaul” kernel module with a GRUB command?

I've got a problem with a VIA C3 (1GHz)-system: the system freezes immediately when the CPU frequency goes under 731MHz because of an incompatibility with the (not completely implemented) i686 ...
0
votes
1answer
730 views

Failed to mount disk at startup

I have a 10.10 Xubuntu installed with the kernel 2.6.35-22 but for work I need to make a downgrade to 2.6.30.5, for that, I compiled the kernel with all modules I need (or so I think) and when ...
0
votes
3answers
4k views

How to recover the password for a particular user account on my linux pc

I have a linux pc on which several users are configured to login. for the same PC i have the root access (username and password). I have lost one of the user accounts password. How to get back the ...
0
votes
1answer
58 views

Building modules with linux kernel for custom flavor

I followed the instructions for building a custom kernel and booting it. Everything works fine, except that when building it, I used the option skipmodule=true (as given in this link), so I guess the ...
9
votes
4answers
1k views

Does linux have any measures to protect against fork bombs?

#include <unistd.h> int main(int argc, char* argv[]) { while(1) { fork(); } } I run this program on my linux, nothing outputs on the terminal, the OS seems go dead. Does linux have ...
0
votes
1answer
425 views

Flashing an IP Camera and Add a new Linux distro [closed]

I have a foscam IP camera, it has no USB etc, just wireless and cabled network connections. How would you flash a device like this? And how would you install your own Liunx distro on it ? Could ...
2
votes
0answers
205 views

Capture key events at system level to control e.g. alsamixer

In Linux window managers, it is easy to define actions for key events - e.g. in openbox: <keybind key="XF86AudioRaiseVolume"> <action name="Execute"> <command>amixer set ...
0
votes
1answer
495 views

VMware tools patching - Kernel 2.6.37+ (Slackware 13.37) Graphics Drivers Not Working

Good day, I am using Slackware 13.1 in VMware Fusion 3 (latest) on my OSX10.6 laptop. I recently upgraded my Slackware 13.1 machine which is directly installed on a spare PC to Slackware 13.37, no ...
0
votes
3answers
116 views

wait for kernel after creating partition with sftdisk on linux

I am creating a partition with sfdisk under linux. After partition creation I want to create a filesystem. This fails with mkfs.ext3 not finding the partition: echo ",,L" | sfdisk $DEVICE mkfs.ext3 ...
1
vote
0answers
105 views

Linux and battery usage [closed]

I want to install a linux distro on my laptop but I do not want to have a massive battery drain. I remember reading some kernels drain the battery faster then others? Would Mint Linux or Ubuntu out of ...
0
votes
1answer
439 views

X server not starting up after new kernel compilation

I have compiled the Kernel on my 64-bit Debian XPS Studio 1340 Dell system. srikanth@debian:~ - 05:40:52 PM - $ uname -a Linux debian 2.6.32-5-amd64 #1 SMP Thu Mar 22 17:26:33 UTC 2012 x86_64 ...
3
votes
3answers
2k views

Is it possible to make the OOM killer intervent earlier?

I try to tweak my development system to maximal reliability. I disabled swap, because for GUI usage it mostly renders the machine unresponsive in such a way not useable anymore. Nevertheless, if ...
0
votes
1answer
147 views

Kernel compilation and free space

I am compiling linux kernel 3.0.1 My operating system is Ubuntu 11.04 The source is in /usr/src/linux-3.0.1 Though there is no free space remain in / the compilation is still going on .. ! What is ...
0
votes
1answer
735 views

USB Mouse / Keyboard issues with Linux

First and foremost, this problem only occurs when I compile one of the more recent Linux kernels (3.2.6 or 3.2.7). I do not have these issues when running the stock kernel 3.2.6 or 3.2.7 kernels under ...
0
votes
1answer
152 views

linux chmod causing crash

I needed to give write permission to file representing GPIO pins,out of curiosity i taught changing permissions of all files/folders,by mistake instead of doing chmod 755 * in the root I did chmod ...
1
vote
1answer
2k views

“64-bit mode not compiled in” error while compiling Linux kernel

I am building 2.6.18 from CentOS source code. I'm at the last step to the build process in their instructions but seem to be getting an error that I can't understand. Instructions I'm following: ...
0
votes
2answers
4k views

How to show overall usage of system resources in linux?

Is there any way that i can see all system resources usage together in terminal, as we see on windows platform under Resource Monitor. I can see each resource usage under Linux separately, but i need ...
1
vote
0answers
940 views

Use initrd as root filesystem for network boot

I'm creating a stand-alone set of netboot images based on a LinuxFromScratch installation (7.0, kernel 3.1.0). I want to deploy that image to many diskless clients, but NFS is in my situation not an ...
2
votes
1answer
662 views

ZFS distribution in Linux kernel? [closed]

If anyone has a better title for this question feel free to edit I am wondering about something related to the conflict between CDDL (Sun's license) and the GPL. Mainly pertaining to the reason ZFS ...
2
votes
2answers
346 views

What does this macro mean in linux kernel code?

see i found one config file in which this are macro defined # # Input Device Drivers # CONFIG_INPUT_KEYBOARD=y # CONFIG_KEYBOARD_ADP5588 is not set CONFIG_KEYBOARD_ATKBD=y # CONFIG_KEYBOARD_QT2160 ...
7
votes
2answers
13k views

Linux kernel hangs at 'Switching to clocksource tsc" on Pentium 4

Hardware: Dell Dimension 4500S : i845G, Pentium 4, stock + 2GB RAM and latest (circa 2002) BIOS update. I've been building a Linux system from source, so far it's LFS 7.0 by the book. The first ...
0
votes
1answer
993 views

VirtualBox Under CentOS vboxdrv not loaded

I am a newcomer with linux. I have a little problem with linux. Whenever I try to open [start] virtual box, I get this error and do not know how to fix VERR_VM_DRIVER_NOT_INSTALLED (rc=-1908) The ...
-2
votes
1answer
432 views

Open a linux port without using iptables in Centos? [closed]

just a quick question, is it possible to open a port on linux Centos without using iptables? If so, how do I do that from the command line?
1
vote
1answer
1k views

Kernel log littered with re-mount attempts because of going to/from battery mode. How do i turn it off?

My boot times became a bit too much so i decided to take a look ad kernel log to see what might be causing the problem.. There i noticed repeating: 12/17/11 02:25:28 PM EXT4-fs (sda6) ...
0
votes
1answer
177 views

Installed linux-image-686-pae and now my second monitor won't work

I just installed linux-image-686-pae on my Debian system and the PAE kernel effectively increased the memory limit. However for some reason my dual monitors both show the same image, instead of an ...
2
votes
1answer
105 views

can /usr/src be a sym link?

I want to store all source code of programs I have installed in /usr/src. However, due to size of the drive I made a sym link /usr/src that points to ~/src. That was nice. Unfortunately, that caused ...
1
vote
2answers
4k views

__modver_version_show undefined error when building linux kernel 3.0.4 version

I tried to build the linux kernel 3.0.4 on ubuntu 11.10 in virtualbox. Here are my steps: Download the source code tar xjvf linux-source-3.0.0.tar.bz2 cd linux-source-3.0.0 make menuconfig, changed ...
0
votes
1answer
3k views

Where to get the network NIC's firmware rtl_nic/rtl8105e-1.fw?

Im installing Debian testing version wheezy on my Asus X53Sc with Intel Centrino Wireless-N 100. Im having a problem with my wifi connection. When I try to connect to internet with the wireless ...
1
vote
1answer
216 views

Missing kernel on debian-testing-amd64-DVD-1

I want to install the Debian testing linux version. But at a certain point of the installation, an error occurs: Impossible to install kernel. a compatible kernel version is missing. … or ...
2
votes
1answer
115 views

Oracle Virtualbox on statically compiled kernel

I can't seem to find any documentation on the subject. I'm working on putting together a linux install for a fairly "dirty" environment. Best practice there would be a statically compiled kernel ...
1
vote
1answer
313 views

Sudden machine reboots observed with ipmiutil watchdog timer

Originally raised on serverfault as this question. I've got a production openSUSE 11.1 2.6.34.4 Intel server with a standard ipmiutil-2.4.1 installed. The watchdog is basically a 90 second hardware ...
0
votes
1answer
918 views

L3 cache disabled in Ubuntu 11.04

I have installed Ubuntu 11.04 64bit .. After checking my CPU cache it shows that 3MB cache is disabled. see below : $ sudo lshw description: Notebook product: SATELLITE C660 (PSC1SE-00G009AR) ...
0
votes
3answers
2k views

Can I install Linux on a USB flash drive?

I want to install Red Hat Linux on my flash drive. Is there a way that I can do this? I tried a lot found through searching, but couldn't get a satisfactory answer. In fact, if I try the same for ...
0
votes
0answers
400 views

Debian Squeeze, linux-image-2.6.32-5-486: Boot process halts with [<c1003997>] ? kernel_thread_helper+0x7/0x10

I just upgraded an old box from Debian Etch to Lenny, and then from Lenny to Squeeze. Upon getting the system up to Squeeze, I installed the latest 2.6 kernel, linux-image-2.6.32-5-486. When I ...
0
votes
1answer
1k views

How to add ahci module to linux-image-2.6.38-11-virtual kernel?

I just installed Ubuntu 11.04 with the linux-image-2.6.38-11-virtual kernel as a virtual machine in VirtualBox (4.1.2). When I booted the machine after installation, I got this error message: FATAL: ...
3
votes
3answers
2k views

Unmounting Detachable devices (eSATA,USB storage) in Linux

A detachable device like eSATA, USB drive can be abruptly removed (by simply pulling the plug). If there are open file handles on a partition, then this partitions won't unmount, i.e. the Linux ...
0
votes
1answer
133 views

user not able to access the file which has privilege via group

I am facing the below problem in linux kernel 2.6.18-7.1 I created user "BBC" using adduser -D after this /etc/passwd contains "BBC:x:1010:1010:Linux User,,,:/home/BBC:/bin/sh" I created group ...
3
votes
1answer
164 views

Should I compile the linux kernel in the git repository itself?

This is about common practices. I have a git repository containing the linux kernel. Now I want to build this linux kernel. Should I copy the sources outside the git repository and then build the ...
3
votes
2answers
7k views

How do I set up grub2 with Xen?

I am booting a new Xen kernel and it all goes fine up until some point during the boot process when the machine reboots without warning. Unfortunately, I don't see errors flash up just before that ...
1
vote
1answer
200 views

Building the Linux kernel: compute intensive or disk I/O intensive?

I am trying to explain some results that I got from a recent benchmarking experiment. For that I need to know whether compiling the Linux kernel is a compute intensive task or a disk I/O intensive ...
0
votes
1answer
365 views

Linux kernel compilation taking over 4 GB of temporary disk space

I am trying to compile linux kernel 2.6 and am shocked to see it is taking over 4 Gigs of disk space. It is also taking around 80 minutes to compile. Is it normal ? Or am I doing something wrong ? ...
0
votes
3answers
2k views

How does route -n work in Linux?

I can understand the output of strace route -n, but does route really read any of the files in /proc to get the routing table? Also, if the routes and IP addresses are stored under /proc, why doesn't ...
0
votes
1answer
1k views

Kernel panic when trying to setup rootfs over NFS on ARM board

I have a ARM board on which I am trying to configure NFS so that the rootfs will be mounted over a network. How can I resolve this? My server configuration: OS: Scientific Linux 6.0 My NFS shares: ...
8
votes
2answers
9k views

how to totally clear the filesytem's cache on linux?

In a performance test, I want to bypass the influence of cache of linux system (including page cache/inode cache and so on). I have tried O_DIRECT flag, but it's turned out that direct I/O is still ...
1
vote
1answer
928 views

Setting /proc/sys/vm/overcommit_memory to 1 and then exhausting addresses

As I understand it, setting /proc/sys/vm/overcommit_memory to 1 is supposed to make sure malloc always succeeds, and set the OOM killer loose if there's an actual memory problem. I'm wondering what ...