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
2answers
506 views

FreeBSD sysctl.conf kernel.panic parametr?

There is a kernel.panic param in Linux's /etc/sysctl.conf to auto-reboot the OS when the kernel crashes. Is there anything like this in FreeBSD?
4
votes
3answers
554 views

Pipe kernel messages to another process as they occur

I have an OLED screen on my laptop that I have configured to show status information. The current driver I have installed in Linux for it is able to display messages by sending them to a script as an ...
4
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 ...
4
votes
3answers
1k views

where does Kernel reside on a multi-core system

Suppose I have a multi-core system, say 4 cores, and in this I pin 3 user process to a 3 CPU's. In such a case, where will the kernel reside? Suppose one of the user process make a system call, or ...
4
votes
4answers
353 views

Home wireless router as a PC

Is it possible to install a small program on a cheap home router that runs a Linux kernel and run it? I mean can I use a router that runs a Linux OS as a small computer to run arbitrary code on it? ...
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
2k 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
8k 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
160 views

Who's crashing my kernel?

Symptoms Suddenly, a message saying "A problem in the kernel package has been detected" started appearing after I login upon boot. A new message is shown every second, incessantly (translation ...
4
votes
1answer
517 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
927 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
91 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
3answers
482 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
339 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
647 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
3answers
7k 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 make bootable USB with Linux Kernel alone?

I would like to boot the Linux kernel alone and run busybox, not including a GUI. How can I do that? How can I make a custom bzImage, initrd.img and how can I change the file structures in that ...
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
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
548 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
637 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
1answer
4k views

IPTables module ip_tables not found for root

We got a custom build Linux distribution from a vendor, which is not shipped with iptables enabled. root@xxxx:~# iptables -L modprobe: FATAL: Module ip_tables not found. iptables v1.4.21: can't ...
3
votes
1answer
3k views

Problems with mounting HFS+ drives

I have a problem mounting some hfsplus drives. I just need them mounted readonly. (disabling journal is not an option) I did a lot of research and found out that due to changes from kernel version ...
3
votes
1answer
599 views

negative effect of running PAE kernel?

Fedora, and other distros install a PAE kernel if the hardware supports it. Are there any negative effect on running a PAE kernel on a machine with less than 3-4Gb ram ?
3
votes
1answer
5k views

What does `apt-get install linux-headers-generic` do

Looking for explanation on apt-get install linux-headers-generic. What does installing linux-headers for a kernel do ? The significance of that command at the time of kernel installation and after a ...
3
votes
2answers
505 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
54 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
104 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
5k 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
977 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
455 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
360 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
286 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
413 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
1answer
4k views

The system time has changed kernel-general, off by one day

Random events showing in event log. The system time changes to tomorrow, and then corrects about 10-15 seconds later. Causing all sorts of temproary havoc w/ VPN, Outlook, etc. Any thoughts?
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
1answer
363 views

How to stop jbd2 to release a device

In an AWS EC2 instance, we have multiple EBS volumes. When I try to detach any of them, the umount command works, but the device can't be detached. # grep -c xvdj /proc/mounts 0 However, lsof ...
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
1answer
2k views

Kernel data types u8, u16, u32, u64 not resolved

I am trying to compile some files related to wireless subsystem (mac80211) which use datatypes u8, u16, u32, u64. These are not resolved. The header file being referred to is linux/types.h which is ...
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
515 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
17k 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
229 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
208 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
1k 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 ...