The main component of most operating systems, the kernel manages most of a computer's communication between hardware and software. Typically, the kernel is the lowest level of abstraction a programmer can have to a resource.

learn more… | top users | synonyms

4
votes
4answers
5k views

Error while validating for Ubuntu 12.10 Kernel headers

I have my VMware Player (v 5.0.0 build-812388) all up and running Ubuntu (12.10) from my Windows (Win 7) machine. When I launch sudo vmware-config-tools.pl, it tries to search for kernel Searching ...
4
votes
2answers
903 views

How to use usbmon for knowing amount of data transferred from usb (pendrive )?

Please someone explain me in simple terms how to use usbmon to track the amount of data transferred from pendrive ?
4
votes
2answers
7k views

Linux Kernel Messages: ata1.00: status: { DRDY ERR }

I am receiving a lot of these messages. Is my HD going to die tomorrow morning? ata1: link is slow to respond, please be patient (ready=0) ata1: device not ready (errno=-16), forcing hardreset ata1: ...
4
votes
1answer
205 views

Why is there an extra HDD under /dev being added in my Linux Kernel?

I have created a Linux kernel and for some reason an extra drive is always added at bootup. My hard drive is listed as /dev/sdb. /dev/sda is created too, and it is 8 MB in size. I can't find ...
4
votes
1answer
432 views

FreeBSD compatibility layer on Linux

I am aware of Linux mode on FreeBSD, where Linux binaries can seamlessly be executed in FreeBSD. From the FreeBSD handbook: In effect, there is a Linux kernel in the FreeBSD kernel. The various ...
4
votes
1answer
776 views

Where did SELinux go?

I am compiling a new kernel, and want to enable SELinux but don't see it in menuconfig anywhere. The only framework under security options is Tomoyo.....so I ask, what happened to SELinux? Both ...
4
votes
1answer
1k views

Forward/backward compatibility of glibc and the kernel

Suppose you have glibc 2.5 compiled with kernel headers 2.6.18 Is it safe to run this glibc with Linux kernel 2.6.32? Is it safe to run this glibc with Linux kernel 2.6.9?
4
votes
1answer
56 views

How to distinguish 'syscalls' form 'int 80h' when using ptrace

As far as I know, ptrace can only get syscall number by PTRACE_SYSCALL, but syscall number is different in x86 and x64. So is there any way to figure out where this syscall real origin? I am now ...
3
votes
4answers
453 views

Does 'urandom' share the same entropy of 'random'?

Does the entropy pool /dev/random used the same to /dev/urandom? I want to mknod /dev/random 1 9 to replace the slow random, I think the current entropy is randomly enough, if urandom is based on ...
3
votes
4answers
299 views

Is the Windows kernel considered an “application”?

If it is true that all Windows files with the ".exe" file extension are considered "applications", is NTOSKRNL.exe, the Windows kernel, an "application", or is this an exception to the rule? What ...
3
votes
4answers
547 views

Does a software like VMware run in user space or kernel space?

Vmware is a user installed software. So it should run in user space given by the underlying OS. Yet its runs OS-es which are fully operational and need to run in kernel mode. So where does it run?
3
votes
1answer
3k views

Possible to boot Linux kernel without initrd?

Is it possible to boot a Linux kernel (say 2.6.35) without initrd these days? I seem to remember that this is possible before (early 2.6.x and 2.4). I mean, in theory, if a kernel has all hardware ...
3
votes
2answers
2k views

How to load previous kernel via ssh?

I work remotely on my work computer. I am also the root of the workstation that I am sharing with my colleague. Yesterday, I upgraded the kernel to 2.6.31-17 when asked by the update manager but ...
3
votes
3answers
6k views

Linux: obtain current # of jiffies since reboot

Linux's /proc/PID/stat lists several metrics that are measured in jiffies. Is there a way to get the current # of jiffies since reboot? Jiffies I also assume to be seconds times the USER_HZ value. ...
3
votes
2answers
3k views

How to disable ^C from being echoed on Linux on Ctrl-C

When I press Ctrl-C in any pseudoterminal (xterm, gnome-terminal, rxvt, text console and SSH) in Karmic Koala, the string ^C gets echoed to the terminal in Ubuntu Karmic Koala. This hasn't happened in ...
3
votes
3answers
5k views

Linux Mint 14 severe overheating

I've tried switching to Mint (it was Mint 12) about 6 months ago, but failed to do it due to enormous overheating which made it virtually impossible to run any applications more complex than Gedit. ...
3
votes
1answer
420 views

Difference between gnu and darwin and mach

These terms belong to the Mac OS X architecture topic and I'm confused about the following: mach is said to be a microkernel Darwin and XNU are mentioned to be a kernel So ...can you help me to ...
3
votes
2answers
591 views

How to keep Linux running after hard drive removal?

I am working on an embedded Linux device with a USB hard drive. There is a swap file on this drive. The hard drive may be powered down at any moment before being powered back on few seconds later. ...
3
votes
2answers
372 views

Why will dmesg have message from user space?

you can use dmesg -u to see log from userspace. In my case, I have log from systemd and lvm. Why is this happening, why userspace program can print to kernel buffer ring?
3
votes
1answer
53 views

On certain Linux boxes, variables in the stack seems to be initialized to 0 - why?

I have a buggy program that pushes a variable onto stack and may use it without initialization. I take the same binary and run it on different Linux boxes. Those boxes have different CPUs (i5, i7), ...
3
votes
1answer
100 views

How is battery charge reported to the operating system?

This feels like a stack exchange EE question, but it seems like it belongs here instead. How is the charge of a notebook computer's battery reported to the operating system? Since all laptop ...
3
votes
1answer
4k views

how to bring network up at boot time in linux

I am working on an embedded linux system, my aim is to activate ethernet interface at boot time. I am using u-boot as bootloader. I passed ip= and eth= u-boot environment variables to the linux kernel ...
3
votes
1answer
925 views

How can I display a static image while Debian Linux is booting up?

I need to show a static image with the logo of our department while Debian boots. Is there any easy way or tool to do this? (Any parameter of the kernel maybe?) It doesn't have to be anything fancy ...
3
votes
3answers
374 views

How do I find out which files were used in insmod in Linux?

I'm working on a script which runs on various types of CentOS/Redhat servers where it needs to find out which files were loaded into the kernel. Running lsmod provides me with the name of the module ...
3
votes
1answer
4k views

Disabling kextcache on 10.5.8 and 10.6.3

We use Radmind to manage our Mac OS X loadsets and, as such, often run into difficulty when new OS releases come out due to, among other things, updated kernel extensions. The workflow in the past (OS ...
3
votes
1answer
310 views

enabling CONFIG_LIBIPW on kernel compiling

I need to enable CONFIG_LIBIPW=m on kernel 3.4.0 I see that IPW2100, IPW2200, and PCI needs to be enabled, but I could not find any clue where they are on the menuconfig. I read on ...
3
votes
1answer
230 views

How to connect Linux to a HDD that has been “security locked”

In the process of playing around with several hard-drives, and hdparm's --security-set-pass and --security-erase options, I have a pile of HDDs that are in a "locked" state and I cannot unlock them. ...
3
votes
1answer
339 views

What is the significance of — in kernel parameters?

I've been customising some kernel parameters and notice that on some guides it has something like initrd=/blahblah.gz -- quiet and others only have initrd=/blahblah.gz quiet I've tried both and ...
3
votes
2answers
4k views

Skip kernel module at boot

There is a broken kernel module, due to which I can not even load the OS, so I can not delete or fix it. Is it possible to skip this module at boot, using the kernel's parameters or something?
3
votes
2answers
218 views

Random flickering on 2.6.32 kernels after suspend

I have XUbuntu 9.10 installed on a Toshiba NB200 netbook with Intel video card that's handled with i915 driver. With 2.6.31 stable, recommended kernel everything but WiFi works fine: Atheros ath9k ...
3
votes
0answers
498 views

Stuck on GRUB command prompt after regular kernel update

I am running Debian Wheezy. Update Manager suggest to install kernel update. After update, I reboot system but instead of listing all the kernels (bootloader), it gave me a GRUB command prompt: ...
3
votes
0answers
3k views

Perf samples too long, lowering kernel.perf_event_max_sample rate to

My machine freezes from time to time and I can get it working back by pressing the space key. I have this problem since two weeks now, but it was just once per day max. Now it's starting to be many ...
3
votes
1answer
2k views

Adding system call to kernel 3.11 [closed]

What I want to do is add a dummy system call to the 3.11 Linux Kernel. What I did: Downloaded and extracted kernel v3.11 from kernel.org and placed it in /usr/src In file, ...
3
votes
2answers
5k views

Macbook Pro Kernel IO errors - Freezes, Extremely slow Boot

Having kernel IO errors in the console, extremely slow boots, and reproducible freezes. Tech Specs: Macbook Pro Early 2008 4 GB ram 500 GB Seagate Momentus XT HDD/SSD hybrid drive (installed late ...
3
votes
1answer
1k views

Extracting init script from bult-in intrfs into Linux bzImage

I have following problem - I damaged my system (Gentoo - by rebuilding using gcc 4.5) beyond repair. I unmounted /home, copied /etc + other important files and I've started reinstalling system. ...
2
votes
2answers
491 views

What is the kernel module “hid_microsoft”?

The lsmod-command shows the odd module. The command "modprobe -a hid_microsoft" does not reveal anything. What is it? $ modinfo hid_microsoft filename: ...
2
votes
3answers
14k views

Windows Kernel Name\Version?

Mac OS X has the Darwin 10.6.0 Kernel, and Ubuntu has the Linux 2.6 Kernel, so in Windows what is it called?
2
votes
2answers
221 views

Unlocking My CPU's 64-bit Goodness

I'm expanding my RAID array (Linux software RAID) and have run into what appears to be a hard limit of 16TB on the XFS file system. Poking around on Google seems to indicate that this is a result of ...
2
votes
2answers
156 views

Can linux kernel be installed alone without any other existing OS

Hi I am newbie to linux world. I have just downloaded the latest kernel from kernel.org. I want to install this simple kernel into my PC(my PC is formatted and has empty hdd). Can I do that? if so, ...
2
votes
2answers
1k views

How to access Linux startup tty

I have a problem that is shown at the end of bootstrapping the kernel, just before the screen is cleared and Linux swaps me to tty1 where I can put my login. How can I access the bootstrapping tty ...
2
votes
1answer
975 views

Magic key in Linux Kernel

What is the purpose of the following command? sudo echo t > /proc/sysrq-trigger I run it, but I can see no difference in the magic key and its output at dmesg. Trigger suggests me that the ...
2
votes
3answers
3k views

Which Kernel version does Ubuntu Install on 11.10?

On a clean install which kernel comes with 11.10? And if possible which other distros have the same or similar one so I can test a hardware failure I keep having on a clean install. Update: I didn't ...
2
votes
1answer
120 views

Where the Ubuntu's source can be gotten?

Where can I get Ubuntu's source code? Actually I want It's kernel's code. I know I can get the kernel from kernel.org but as I found out that Ubuntu does some patching on the kernel I want to know ...
2
votes
2answers
595 views

Advantages of Re-Compiling of Linux Kernels: Share your Ideas

can you give me some advantages of Recompilation of New Linux Kernel and Installations. make xconfig modules modules_install install this is what i`m talking on. can someone provide me the basic ...
2
votes
3answers
1k views

In a multicore system, will each cpu have its own linux kernel?

What i meant was, in a multicore system with 'n' number of cpu's, will each cpu have its own linux kernel installed, or will all cpu's have a copy of the same kernel image? Another question ...
2
votes
1answer
2k views

Linux kernel scheduler for a pen drive - noop or deadline?

I run Debian Live as a persistent system on a 16 GB pen drive. This is my workhorse every day system. I was earlier plagued with continual delays and freezes due to slow write speeds. I have ...
2
votes
2answers
2k views

How does 'strace' work?

Recently, I was using mv to move a large amount of files from my hard drive to a flash drive. I forgot to add a verbose flag so I had no idea "where" the move was at and how many transfers remained. ...
2
votes
4answers
1k views

Linux kernel, Nvidia: Turning off graphics in Ubuntu

How can you turn off graphics at Ubuntu's GRUB -bootloader such that you can access and see terminal? I have a 5-year-old Nvidia graphics-card which is not anymore compatible with Linux kernel 2..18 ...
2
votes
1answer
64 views

Turn on out of memory killer

I am running ubuntu 13.04 and currently if any user accidently writes some code that uses too much RAM it brings the whole system down so badly I have to switch the power off and on again. Is there ...
2
votes
1answer
910 views

Why are user level threads faster than kernel level threads?

I found out that user level threads are a lot faster than kernel level threads but I could not find any convincing example of WHY is user level threads are faster than kernel level threads ? Could ...