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

learn more… | top users | synonyms

15
votes
2answers
413 views

Can I list the filesystems a running kernel can support?

I'm trying to detect what filesystems a kernel can support. Ideally in a little list of their names but I'll take anything you've got. Note that I don't mean the current filesystems in use, just ones ...
2
votes
1answer
2k views

Building example device driver error: insmod invalid module format

I am following the tutorial @ http://www.embeddedsystemonline.com/home/embedded-system/embedded_linux/lab3-linux-device-driver on step #7 of this tutorial, $ cd ...
0
votes
0answers
119 views

Suse nVidia Driver Problems on 650M + Intel i915

Has anyone succesfully gotten the proprietary nVidia drivers to work on a system with a GT650M and an integrated Intel GPU? I don't need graphics switching, just the discrete GPU. (This is on a ...
3
votes
0answers
198 views

Enabling GPIO in kernel not working

I have tried to enable the GPIO pins for my system through the Kernel but I am not able to get them to work. When I try this: echo 1 > /sys/class/gpio/export The terminal window just closes. ...
1
vote
2answers
255 views

“kernel driver” in “lspci” output

I often use lspci -v to check the LKM in use for particular hardware device. LKMs are listed as "Kernel modules" and can be seen with lsmod. However, what is a "Kernel driver"? For example here: Is ...
19
votes
3answers
3k views

How much RAM does the kernel use?

This question is motivated by my shock when I discovered that Mac OS X kernel uses 750MB of RAM. I have been using Linux for 20 years, and I always "knew" that the kernel RAM usage is dwarfed by X ...
1
vote
0answers
40 views

Why linux is a monolithic kernel, while you can load/unload modules (e.g. drivers)? [duplicate]

Hybrid- and Microkernels are flexible, in the way one can add any higher-level functionality as a module, is it not the same for linux kernels? Why then linux is called a monolithic?
1
vote
1answer
128 views

Upgrading Red Hat 9 (Shrike) kernel manually

I am following the instructions here on how to manually perform a kernel upgrade in Red Hat. The current Kernel RPM's are: kernel-2.4.20-8 kernel-headers is not installed kernel-ibcs is not ...
4
votes
2answers
121 views

How do you get hardware info and select drivers to be kept in a kernel compiled from source?

I would like to create a minimal kernel for a web server. When you compile a kernel from source how do you get hardware info and then know what drivers need to be kept in the kernel so the rest can ...
2
votes
2answers
77 views

Detecting Kernal Thread on Older Kernel Version

Looking at the proc man page (http://man7.org/linux/man-pages/man5/proc.5.html) it is possible to detect which processes are kernel threads in /proc/<pid>/stat by looking at the flags value ...
4
votes
1answer
69 views

dmesg email digest

I have a remote server which has some issues (Seem hardware related) which means that it logs KVM errors and then sometime later it becomes unresponsive and locked up. There is an often an early ...
1
vote
3answers
285 views

Need small distro without a desktop or windows manager, just to run a single graphical app [duplicate]

I am looking for some help on this from a linux expert. I am very novice when it comes to linux so I am hoping someone can help out. I need a small distro, that is stable. I don't need a full X ...
2
votes
2answers
246 views

Making a bootable pendrive for custom kernel

I read the tutorials to make a mimalistic custom kernel from here and am able to boot it up as explained in the tutorial over a virtual machine using GRUB as the boot loader. I think it would be more ...
5
votes
2answers
223 views

Processes in Linux

As I understand it, process descriptors are stored in a doubly linked list data structure. But a fork can create multiple children for the same process, so that makes me think that there is a tree ...
4
votes
1answer
368 views

ttyS1/uart1 initialised but not accessible through /dev/ttyS1

I'm not sure at which level I am having a problem. System is a LeopardBoard DM368 running TI's own SDK / LSP / BusyBox kernel, the core Linux kernel is 2.6.x so using serial_core.c driver model. By ...
2
votes
1answer
289 views

User space to kernel space transition

Both physically (hardware, rings) and logically (software), what is user space to kernel space transition? And vice versa. Or more generally what goes on when there is a "space" (or ring) transition ...
2
votes
1answer
585 views

LinuxMint15: Suspend to RAM not working

I just installed LinuxMint15 on an Acer Aspire V3-771G-73638G500Maii. Hibernation works. But suspend to RAM does not. When clicking suspend: After a few seconds the screen goes grey and then off. ...
3
votes
3answers
377 views

Rings and run levels

The question stated below might not be technically correct(misconception) so it would be appreciable if misconception is also addressed. Which ring level do the different *nix run levels operate in? ...
0
votes
1answer
69 views

How do I verify that the Linux kernel is not freezing when uploading or downloading large data over the ethernet interface?

How to verify if the Linux kernel is doing what it's saying for network interfaces? I have one network interface eth0 which has hardware support to do 1GB full-duplex. I have prepared 2 box. Now ...
3
votes
2answers
212 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.
1
vote
1answer
95 views

Kernel pppd task hung after running over serial port

I am trying to run the ppp daemon on the console port of my board which has p2020 processor with Linux kernel 2.6.32. After running ppp interface ppp0 is not coming up and I get an error pppd blocked ...
1
vote
2answers
836 views

error: “net.inet.ip.fastforwarding” is an unknown key

I've been doing some research into improving performance for OpenVPN and I found out about setting fastforwarding to 1 but when I tried I got the error error: "net.inet.ip.fastforwarding" is an ...
1
vote
1answer
38 views

Why have a fake LR-WPAN driver?

In the Linux kernel configuration, a fake LR-WPAN driver can be enabled and added to the kernel that will be compiled. Why would someone want a fake LR-WPAN driver? I assume it would be for debugging, ...
6
votes
2answers
178 views

Are the outputs of /proc/meminfo, /proc/cpuinfo etc always in English?

I am writing code that relies on the output of /proc/meminfo, /proc/cpuinfo etc. Are the file contents always in English? For example, will MemTotal in /proc/meminfo always be MemTotal in all locales? ...
2
votes
1answer
447 views

How can I install Arch Linux on a Laptop with Intel GMA 4500 MHD?

I would like to install Arch Linux on my Acer TravelMate 5735Z. Sadly, it has a Intel GMA 4500 MHD graphic card. This means, I suffer from Kernel Bug [GM45] black screen at boot (0 backlight?). When ...
4
votes
1answer
65 views

Is there any difference between these two configuration options?

Is there any actual difference between iptables -P FORWARD DROP and net.ipv4.ip_forward = 0 ? I know that one is a firewall command while the other one is a kernel option. But: I don't know ...
0
votes
3answers
237 views

Kernel panic after building kernel in Red Hat Linux?

I've been trying to build a new kernel for Red Hat Enterprise Linux virtual installs under VM Ware. I've followed these steps so far: Download the kernel from kernel.org. Extract the downloaded ...
4
votes
1answer
111 views

why would there be a load of 5 if there are zero processes in the runq?

This doesn't make sense to me, why would there be a load of 5 if there are zero processes in the runq? 12:00:01 AM runq-sz plist-sz ldavg-1 ldavg-5 ldavg-15 12:05:01 AM 0 708 ...
5
votes
1answer
254 views

How to specify an ISO as the location of root filesystem for GRUB?

I'm trying to understand the Debian "booting from Hard Disk" installation manual. The process is as follows: I copy a kernel image, a ramdisk initrd and an ISO with installer to the hard drive and ...
1
vote
1answer
51 views

How can I compile, install and run the tools inside kernel/tools?

There are some tools in side the kernel, <kernel source root directory>/tools perf is one of them. In ubuntu I think the tools inside this folder is available as package linux-tools How ...
2
votes
1answer
354 views

What happened to `vga=ask` etc. in the newer Kernels?

I used to activate framebuffer mode in the "older" kernels with vga=ask, and later setting it to a value, once I've figured out which one works best for me. Now, this option seems to be gone, the ...
0
votes
1answer
69 views

Could the Kernel stack of a process be empty, when a process is swapped out to a disk?

I am just curious to know whether the Kernel stack could be empty when a process is swapped out to a disk or not?
10
votes
6answers
2k views

Can Linux “run out of RAM”?

I saw several posts around the web of people apparently complaining about a hosted VPS unexpectedly killing processes because they used too much RAM. How is this possible? I thought all modern OS' ...
0
votes
1answer
383 views

How can I install perf 3.4.25?

By installing perf using sudo apt-get install linux-tools-common sudo apt-get install linux-tools-3.2.0.23 gave me perf version 3.2.14 How can I install perf 3.4.25? Is it related to kernel ...
3
votes
1answer
172 views

ACPI Errors/Exeptions, why they spam, how to know and fix it?

I've been having these errors pollute my dmesg: [21720.400079] ACPI Error: [\_TZ_.THRM] Namespace lookup failure, AE_NOT_FOUND (20130328/psargs-359) [21720.400093] ACPI Error: Method parse/execution ...
1
vote
2answers
1k views

Linux Mint Debian quits on boot

I just upgraded Linux Mint Debian Edition with the up7 package. The update manager failed initially (can't remember where...) so I ran sudo apt update, sudo apt dist-upgrade, sudo apt upgrade and ...
3
votes
2answers
133 views

Linux process “scheduling”

I've seen it written many times that the Linux scheduler schedules processes. I'm teaching a course on multithreaded programming, and would like to get my terminology straight. I have one thing I ...
2
votes
0answers
223 views

TUN/TAP Will not load

I have an OpenVZ server but can't seem to get the tun/tap module to load. I ran modprode tun on the hostnode but when I go under the VM I get: Tue Sep 24 03:08:36 2013 Note: Cannot open TUN/TAP dev ...
0
votes
1answer
80 views

Confusion with Linux kernel [closed]

I am really confused with the kernel concepts. I came to know that the kernel is between application and hardware, and that the kernel takes input from the applications and it will send the ...
29
votes
2answers
1k views

What's the difference between a kernel oops and a kernel panic?

I know what a kernel panic is, but I've also seen the term "kernel oops". I'd always thought they were the same, but maybe not. So: What is a kernel oops, and how is it different from a kernel panic? ...
1
vote
1answer
1k views

How to fix unreliable Realtek Wireless card on Ubuntu 13.04

I have a Realtek RTL8188CE wireless card and it works fine when I have a strong signal, but if I get even slightly away from the wifi I lose connectivity even though there is a strong Rx signal. I ...
4
votes
1answer
149 views

What changed between kernels 3.2 and 3.9 that affect MiniDLNA?

I'm using Debian testing, and I've problems with MiniDLNA on kernel > 3.2. The DLNA client works about 30 min, after that it lost the connection with the minidlna server and can't discover the server ...
2
votes
1answer
504 views

Features that Linux kernel has and Windows does not? [closed]

What are the significant technical features the Linux kernel has that the Windows does not? Something that I might find on a kernel feature list, which is conceptually an advantage, or significantly ...
0
votes
2answers
60 views

Is there kernel patch to prevent load files into RAM for LiveCD?

Is there kernel patch to prevent load files into RAM for LiveCD? I mean, if I'm use LiveCD with "boot to Ram" option, there is no needs for kernel to load executable binaries to RAM from RAM. It ...
0
votes
2answers
197 views

Linux kernel with absolutely no virtual memory [duplicate]

I am interested in obtaining (or building myself) a version of the Linux kernel that has absolutely no virtual memory and none of its attendant overhead. No swap file, no nothing. What are my ...
2
votes
1answer
86 views

Server pinning one core

I'm working on a server using Vert.x in Java and I'm noticing some performance problems when running on a dedicated server running Ubuntu 12.04. The server picks up the incoming HTTP requests, does ...
3
votes
1answer
540 views

How can a user run a program in kernel mode?

Is it possible for a user to run their own program in kernel mode? How could a user accomplish this? What weakness in the system's protection mechanism would they have to bypass? I'm thinking that a ...
8
votes
2answers
5k views

How to disable USB autosuspend on kernel 3.7.10 or above?

I've updated my HTPC from kernel 3.7.10 to 3.10.7 and it seems CONFIG_USB_SUSPEND is now gone from the kernel options and included in PM. The main problem I'm facing is that I have an external HDD ...
4
votes
2answers
151 views

What does it mean to install a kernel?

What does it mean to install a new version of the kernel. My Linux box gave me this message when I was updating, NOTE, 3.8.13 was the last maintained maintenance release by Greg Kroah-Hartman. ...
7
votes
2answers
149 views

Why should I build a custom kernel? [closed]

Several of my coworkers have been building custom kernels for their workstations and servers. What advantages/disadvantages are there to building a custom kernel? Why should I build a custom kernel? ...