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

learn more… | top users | synonyms

0
votes
0answers
215 views

Doubt when compiling USB/IP drivers

I need to install a USB 3G modem to a Windows virtual machine (running on OVM). The modem will be plugged on a Linux host. (Would Windows be easier?) I don't understand what the following README file ...
0
votes
0answers
77 views

PPPD hangs, running over console 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 ...
3
votes
2answers
199 views

How to measure PCI-Express bus usage?

I'm looking for a way to find out if PCIe bus is the bottleneck or not. It's not a problem to measure how much bytes was transferred through any particular NIC: Is there a way to find how much ...
0
votes
1answer
2k views

bnx2: Can't load firmware file “bnx2/bnx2-mips-09-6.2.1b.fw”

I just compile the kernel 3.10.19 from kernel.org Support for bnx2 is enable. On my server when I try to start the eth0 interface I got the following error : bnx2: Can't load firmware file ...
21
votes
3answers
983 views

If computers start counting at 0, why does the init process have a pid of 1?

Not much to put here in the body, the question is self explanatory.
0
votes
1answer
146 views

what is a Kernel? [closed]

I'm learning Unix from the Unix Architecture book by Maurice J Bach. So if my question seems too stupid, please do bear with it. I read a few related questions but I would like a more simple ...
0
votes
1answer
652 views

CentOS 6.4 Kickstart bootloader problem

I am installing CentOS 6.4 via a kick start file that looks like this in my build: # install the bootloader (GRUB) bootloader --location=mbr --driveorder=sda --append="crashkernel=auto" After the ...
1
vote
1answer
66 views

I/O brings a machine to its knees [closed]

Why, on every Linux I've used, when a program is really I/O bound, it bogs the machine down? It just happened when I (accidentally) tried to make gcc compile a (valid!) 50Mb C file. GCC was so I/O ...
2
votes
0answers
669 views

“Kernel panic - not syncing” after building Centos-6/elrepo 3.10.19 kernel from source

I need to rebuild the Centos-6 / elrepo 3.10.19 kernel from source. Background: the GVision touch screen drivers are incompatible with kernels > 3.8 and require source code patches to add code to ...
1
vote
2answers
116 views

How do I enable kernel option MMC_UNSAFE_RESUME

I am trying sleep and wake up my Kobo Mini ebook reader manually by using the command rtcwake. The reader is using busybox. cat /proc/version gives me this output: Linux version 2.6.35.3-850-gbc67621+ ...
0
votes
1answer
51 views

auditctl reports “File system watches not supported” on a very old system

When I run auditctl -l I got: # auditctl -l No rules File system watches not supported And I've already have AUDITSYSCALL enable in kernel, # zgrep AUDIT /proc/config.gz CONFIG_AUDIT_ARCH=y ...
0
votes
1answer
80 views

What kernel for ARM architechture, Linux or BSD? [closed]

I'm a computer sciences student and recently started a project with the engineering department that involves an onboard ARM processor, the question is what sort of operating system, kernel and ...
5
votes
1answer
567 views

How can I check my kernel preemption configuration?

I want to check if my Linux kernel is preemptive or non-preemptive. How can I check this using a command, something such as uname -a?
0
votes
1answer
46 views

Can the kernel be moved to a different mtd while the system is running?

I am attempting to do a full update on a mobile Linux Arm device. I have successfully pivoted my file system root and have been able to flash a new file system to that mtd. What I would like to ...
0
votes
1answer
343 views

Ubuntu 12.04.1 LTS - /boot is using 98.4% of 193MB

I have a problem. I have noticed that my VPS is saying : => /boot is using 98.4% of 193MB Looks like something went wrong, doesn't it? I have tried to run dpkg -l | grep linux to check what's ...
10
votes
2answers
10k views

disable transparent hugepages

We are installing SAP HANA in a RAID machine. As part of the installation step, it is mentioned that, To disable the usage of transparent hugepages set the kernel settings at runtime with echo ...
2
votes
3answers
91 views

What is the language that appears on the first line of a script? [duplicate]

Bash scripts start with the following line #!/bin/bash # Rest of script below ... In bash the # character is the start of a comment, but #!/bin/bash is definitely not a comment, therefore it isn't ...
3
votes
2answers
2k views

How to add more /dev/loop* devices on Fedora 19

How to add more /dev/loop* devices on Fedora 19? I do: # uname -r 3.11.2-201.fc19.x86_64 # lsmod |grep loop # ls /dev/loop* /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 /dev/loop5 ...
15
votes
2answers
439 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
3k 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
132 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
250 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
383 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
5k 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
44 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
174 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
125 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
99 views

Detecting kernel thread on pre-3.0 kernels

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
81 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
554 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
269 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
246 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
453 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
477 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
700 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
589 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
77 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
224 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
118 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
1k 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
45 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, ...
7
votes
2answers
197 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
563 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
66 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
311 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
128 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
324 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
53 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 ...
3
votes
1answer
459 views

What happened to `vga=ask` in 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
74 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?