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

2
votes
2answers
2k views

AR9485 chipset support by linux kernel

The wireless in my Asus P8Z77-V Pro didn’t work (it’s a new machine, in which I installed Debian Linux 6.0.6, kernel 2.6.32-5-amd64), and since I’m not an advanced user, and knew naught about ...
0
votes
1answer
2k views

How to downgrade Linux kernel

I have a Linux machine running RHEL3.8 with kernel release 2.4.21-66.ELsmp. How can I downgrade the Linux kernel to 2.4.21-47.ELsmp? Second: About the last kernel upgrade, can we find logs somewhere ...
1
vote
2answers
392 views

Linux kernel compiling: standalone OS

Hi guys I'm new to linux kernel compiling so I have some question: By compiling linux kernel are we building a totally standalone OS which doesn't depend on any linux destributions? If yes... Well ...
0
votes
2answers
423 views

AMD driver installation kernel header issues

I am having problems getting the AMD linux graphics drivers installed; every time I try to install it errors saying that it cannot find the kernel headers. The current kernel version running is ...
2
votes
2answers
2k views

Linux: Disable loopback interface from kernel

I know it is possible to bring down lo interface by doing ifconfig lo down. But is it possible to configure the kernel that the lo interface will simply not be available? Please note that I don't want ...
1
vote
1answer
494 views

Radeon HD6570 only working in Linux Kernel 3.6.7

I have an interesting problem getting my Radeon HD6570 graphics card working in Fedora 17: When booting into any Linux kernel version above 3.6.7-4, after GRUB finishes there is no video except for a ...
0
votes
0answers
163 views

rtl8111/8168b doesn't work after upgrade linux kernel

my computer has a ethernet controller: realtek semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06) my computer is installed archlinux. Before I upgrade kernel, it ...
3
votes
2answers
2k views

Install VirtualBox on Ubuntu 12.04.1 (on [Samsung] Chromebook)

I have dual booted Ubuntu Linux 12.04.1 LTS on my Samsung Series 5 ChromeBook, and am trying to run/install Oracle VirtualBox (from the generic .run file downloaded from their website). However, every ...
0
votes
2answers
83 views

the usage of memory is so high on linux

I found memory usage is so high. And i checked it via top command, only 66664k free, my computer's total memory is 12GB. I checked all processes via system monitor software, found all processes cost ...
0
votes
1answer
71 views

Development environment for embedded system [closed]

I need to develop software in C/C++ for an embedded system. I have Debian 6 running off of a USB hard drive. I would like to be able to generate a stripped-down kernel with modules, and install them ...
0
votes
0answers
504 views

Kernel OOM killer been called when plenty of memory left while using malloc

The program is a memory exerciser that request multiple chunks of 512MB to malloc. For some reason the node 0 is been memory exhausted while the others are not been called. MemExerciser cpuset=/ ...
0
votes
2answers
1k views

Grub installer has been deleted in ubuntu

I was installing an operating system (Fedora) in Virtual box which was installed in the Ubuntu Natty Narhwal. it asked me to format the disk (which should format inside virtual machine), which I did ...
1
vote
1answer
140 views

Raid system fails to boot after moving from 2.6 kernel to 3.5

I'm running Gentoo Linux with a custom compiled kernel and I've just migrated from a 2.6 kernel to a 3.5. As my HD's are on RAID 0 mode I use a custom initrd file in order to be able to boot. While ...
0
votes
0answers
183 views

Kernel recompilation: mp-bios error 8254 timer not connected to ioapic

After recompiling my kernel I see this error every time I start linux. Os starts fine but I see it is not stable at all: sometimes it freezes and I can just reboot it. I guess it is because of this ...
0
votes
0answers
537 views

Get current thread id in kernel based C code (Linux)

I have a module which is accessed for read/write operations to a proc file. I know I can get current process id using current->pid, but is there a way to get the current thread id that is accessing ...
1
vote
1answer
661 views

How can I get the number of threads running in a process from /proc/[pid]/stat in Linux?

I have the pid of the process. I would like to know the current number of thread running in the process. I know I can read /proc/pid/stat for this information, but I'm not sure how to specifically get ...
0
votes
1answer
198 views

Why does my Slackware 13.37 freeze with a kernel bug?

My Slackware 13.37 started to freeze from time to time. Mouse and keyboard stops working, while xmms still playing the song. I paste my syslog and I hope someone could see the reason it crashes. BUG: ...
1
vote
1answer
2k views

Linux boot - stop the kernel switching to a new framebuffer mode clearing output

I'm working on an embedded system (based onUbuntu 12.04 LTS) and I'm customizing its kernel. I'm having some problem with upstart, mountall and plymouth. Nothing unsolvable I suppose, but the real ...
1
vote
0answers
120 views

Installing Kernel 3.5.1 breaks boot up

I have twice tried to update my kernel from 3.2.0.30 to 3.5.1 on my Ubuntu 12.04 32 bit system using two different methods I found via google. In both cases the operation appeared to run flawlessly ...
1
vote
1answer
157 views

Is there any Base Filtering Engine (BFE) service in Linux similar to windows

In windows we have Base Filtering Engine which helps applications to monitor network traffic. Is there any similar service which runs in Linux too. Something similar to a packet filtering service. I ...
1
vote
0answers
135 views

An error during bochsdbg installation

I want to install bochs which can debug the kernel. First, I download a package, then: tar zxvf bochs-2.4.6.tar.gz<br> cd bochs-2.4.6.<br> ./configure --enable-debugger --enable-disasm ...
0
votes
1answer
109 views

I'm compiling a modified Linux kernel in Ubuntu; can I recover from a corrupted kernel if I boot into recovery mode?

I have installed Ubuntu from wubi.exe along-side windows, and I am a new user to it. If my kernel has an error after modifying it and replacing the previous one, does the "safe" option in my ...
1
vote
1answer
23 views

which module of linux kernel can be loaded dynamic

So, is there a list of the modules which are loadable? Is the schedule module loadable? my english is poor, maybe you know what I say.
5
votes
1answer
226 views

Kernel hacking methodology - how to find out where to hack the linux kernel

I have a throw-away cheap laptop I'd like to twiddle around, a Thinkpad SL 500. What bothers me are two leds, the one for wireless connectivity, and the one for hibernation, which don't light up at ...
1
vote
3answers
232 views

Linux How can I prove if udev installed?

How can I prove if udev is installed and working proper? Just call udevadm would be a method, right?
1
vote
1answer
59 views

A tiered approach to cloning linux partitons

I'm looking at a strategy for cloning Linux (root) partitions without having to use a Live CD. Literature suggests rightly that the source and target partitions must be umounted to be able to get a ...
1
vote
2answers
766 views

Update in grub.cfg file for loading new kernel image in Ubuntu 11.04

I am new to Linux. I am compiling Linux kernel (ver: 2.6.34.12) in gcc in traditional manner in VMware machine in Ubuntu (kernel version - 2.6.38-8-generic) 11.04 version. I am unable to find, where ...
0
votes
0answers
2k views

How to make VirtualBox or VMWare (or any other virtualization software) use a native guest network driver?

I've just posted something in stackoverflow and was asked to post this question here. I have a problem I could use some help with... I am really not an expert in virtualization, so I don't know if ...
0
votes
1answer
131 views

in which kernel version CONFIG_IP_NF_MATCH_OWNER appears?

In which kernel version CONFIG_IP_NF_MATCH_OWNER key appears? I dont see it while make mennuconfig on 3.2.28 that I am trying to compile for my ubuntu 12.04 (3.2.0 - default kernel version).
0
votes
1answer
481 views

serial console output goes away while booting

I added console=ttyS0,57600n8 to my kernel command line. I get the normal boot messages until this [ 5.123106] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) Begin: ...
3
votes
1answer
4k views

Where can I find the Linux kernel file?

Is there any common directory to find kernel file in all Linux distributions?if yes please tell me how to browse to the directory? Where can I find the Linux file in Ubuntu & RedHat operating ...
0
votes
0answers
218 views

Not able to mount HFS partition in Linux (SD Card)

I am trying to mount an HFS Plus partition in my Linux embedded target(2.6.35) and I ended up with the following error: "mount -t hfsplus /dev/mmcblk0p9 /mnt" mount: mounting /dev/mmcblk0p9 on /mnt ...
1
vote
2answers
565 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 ...
3
votes
8answers
4k 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
711 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
149 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
663 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
2k 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
56 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
958 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
384 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
194 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
468 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
109 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
104 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
406 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 ...
2
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
131 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 ...