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

learn more… | top users | synonyms

0
votes
0answers
122 views

Card Reader UB6520 on Parabola GNU/Linux

I'm trying to make work the SD card reader UB6250 on Parabola GNU/Linux. Could you help me please? After inserting the SD card, I get the following dmesg: [65408.273667] usb 2-5: new high-speed USB ...
2
votes
1answer
2k views

modules make: *** /lib/modules/3.7-trunk-amd64/build: No such file or directory

I need to install Kali Linux updates without Internet access on my laptop. I think I need to do this because I'm trying to install the WiFi driver but I get an error when I try to make: make ...
0
votes
1answer
80 views

Ubuntu Kernel Compilation?

I'm trying to compile and install kernel 3.13.1 on ubuntu 13.10 using following commands: sudo apt-get install gcc sudo apt-get install libncurses5-dev cd Downloads/ sudo tar -xvf ...
1
vote
1answer
178 views

Linux Booting with USB File System [closed]

I'm trying to boot a Linux system stored in a USB drive that I got by following the Linux from Scratch manual. I finished all but the booting part, the problem is that when the kernel tries to to ...
0
votes
0answers
82 views

Updating a driver quirk in kernel

Os : Debian 6 Kernel Version : 2.6.32 I have been recently working with Linux application and now we have some little hard-disk issues where my motherboard doesn't support AHCI through bios. On ...
1
vote
1answer
64 views

sysrq-trigger doesn't accept parameter 'g'

I'm trying to debug the kernel. But I couldn't trigger kgdb with echo g > /proc/sysrq-trigger, it just prints help message. I have enabled kernel debugging, kgdb over serial, frame pointer etc. ...
5
votes
2answers
3k views

Human readable dmesg time stamps on OpenWRT

The output of dmesg shows the number of second+milliseconds since the system start. [ 10.470000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 14.610000] device eth0 entered ...
6
votes
2answers
9k views

yum installs kernel-devel different from my kernel version

I am attempting to install the VMWare player in Fedora 19. I am running into the problem that multiple users have had where VMware player cannot find the kernel headers. I have installed the ...
0
votes
1answer
178 views

Change the root filesystem on an embedded system

I'm using Buildroot to generate an embedded Linux with a kernel v. 2.6.39, which in the end starts busybox. Everything works fine when building with Initramfs as "rootfs". But Initramfs isn't the best ...
1
vote
1answer
129 views

Cooking EDID and finding values for .S file

It became really annoying and the resolution is bad so I decided to make my EDID and pass that to the Kernel. (I am creating EDID for S20A300B and samsung says in its page the best RES for this ...
1
vote
1answer
553 views

Saving a kernel config file through menuconfig results with different options?

I'm experimenting with different kernel configuration files and wanted to keep a log on the ones I used. Here is the situation: There is configuration file called my_config which i want to use as ...
2
votes
3answers
118 views

None of the linux programs work except 'cd'

Before stating the question, here's what I did and observed before the problem started: On a fedora 18 Xfce, I tried compiling 3.6.10 kernel with a cdv driver, After many attempts, it finally ...
1
vote
1answer
494 views

What's the right way to set Linux kernel runtime parameters?

What's the prescribed way to set Linux kernel runtime parameters? I've seen sometimes that people will set these in files such as /etc/rc.local. Is this really the right way to do this?
1
vote
1answer
933 views

Permanently set kernel parameters [isolcpus] without grub?

Is there any way to set kernel parameters in an Ubuntu-based system without relying on grub? (not available in the target environment) Specifically I want to set the isolcpus parameter to dedicate ...
1
vote
1answer
703 views

Setting up Intel Giga PHY I217V on Debian 2.6.32 kernel

Trying to getting the Intel integrated network card driver (Giga PHY Intel I217V) working on Debian (kernel 2.6.32) but I'm having issues. I've downloaded the driver from the Intel website and ...
-2
votes
1answer
82 views

Loading a kernel driver to a specific memory address

How can I load a kernel driver at a specific memory address? How could it be done with the following methods? commands/scripts like insmod or modprobe using C code (not sure if there may exist ...
1
vote
2answers
97 views

Linux and CPU usage

What does it mean for a core to run at different loads in different moments? How does a 10% load differ from a 90% load? How is this number calculated, essentially?
1
vote
1answer
57 views

File (products) of a kernel cross compilation

When the kernel is cross compiled (example. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-), what are the newly created files and their meanings? I'm not looking for a detailed explanation of each ...
2
votes
0answers
188 views

How can I compile minix when I make changes in libraries

I am looking for a way to compile minix. The make hdboot command seems to do nothing with the directories under /usr/src/lib. I changed only one .c file in syslib. Do I have to do make world for this ...
0
votes
0answers
52 views

Fedora 14 root missing capability

I am trying to run a process that performs a clone() operation using a set of flags (CLONE_NEWIPC, CLONE_NEWNET, ...) that require CAP_SYS_ADMIN capability. This should not be a problem since I am ...
3
votes
1answer
745 views

“unknown partition table” - misconfigured kernel

I was compiling a custom linux kernel for a newly installed machine, and after booting into the new kernel (3.12), the init process fails to find a root device, which I traced to the system getting an ...
1
vote
1answer
142 views

USB disk doesn't work on the new kernel

I just install the latest linux kernel (3.12.6) on my laptop(Lenovo). My system is Ubuntu 12.04. I just use the old configuration file in the old system which is "config-3.2.0-58-generic". Everything ...
3
votes
3answers
146 views

API with no system calls

The book 'Understanding Linux Kernel' says that 'for something abstract such as math functions, there may be no reason to make system calls'. Can any one please explain how is a system call not ...
4
votes
3answers
8k views

mount.cifs : mount error(12) : Cannot allocate memory

I encountered this problem a while ago when upgrading my kernel but put off upgrading until now. On my system I can happily mount network shares using CIFS running kernel 3.7.10, however when I've ...
1
vote
1answer
51 views

What software allows the change of runtime-environment, while keeping the same kernel running?

I know that with a GNU/Linux distribution you can switch between different distributions at runtime when they use the same kernel or the kernel is compatible between 2 or more different distributions; ...
6
votes
2answers
248 views

Location of the kernel binary (when not in /boot)?

I failed to find the kernel binary in the standard location in /boot. I've also searched the whole file system for vmlinux or bzimage find / -iname vmlin* find / -iname bzimage However, this is an ...
2
votes
1answer
591 views

GRUB2 Insert additional kernel modules

GRUB2 doesn't have the menu.lst file. How do I configure a boot script. During boot, I hit E on the kernel image that I want to modify and make my modifications. But I would prefer to make the ...
5
votes
2answers
344 views

What would I get when sudo a kernel-destructive program?

It suddenly comes to me how easy it will be for a sudoer to crash the kernel, so I tried something like this: #include<stdio.h> int main(){ printf("hello world"); int a; ...
3
votes
1answer
267 views

What is the maximum allowed number of TTY, is it defined anywhere in kernel headers?

What's the maximum allowed number of TTYs? I found pty.max, but is there anything similar for TTYs? Or is it defined as a fixed value in kernel headers, I couldn't find that
2
votes
2answers
2k views

After upgrading the kernel, the sound no longer works

I have updated the Linux kernel on my system to Linux 3.11-2-amd64 #1 SMP Debian 3.11.10-1 (2013-12-04) x86_64 GNU/Linux. Having done that, the sound no longer works. Distribution Info(cat ...
2
votes
1answer
273 views

How can I run gdb in one machine and run kgdb kernel in another machine?

I want to run two machine: debugged machine: compiled kernel with kgdb option. debugger machine: for running gdb How can I debug machine 1 from machine 2?
3
votes
2answers
151 views

How to fake a filesystem that cannot be mounted by others

I'm currently working on a project. There's an Ubuntu Linux system installed on a disk, DA, mounting the other disk, DB. What it requires is that DB can be only mounted by DA in order to prevent data ...
6
votes
2answers
350 views

what's the format spec for `ss -D `?

Background of the question: I am trying to sum up the total bandwidth, but ss -i cleverly converted numbers to more readable format like Kbps/s or Mbps/s, which is not accurate. So does ss -o with ...
0
votes
1answer
41 views

HDD indicator blinks when I run out of memory, but I have no swap configured [duplicate]

I'm running Arch Linux, with 8 GB memory and no swap defined. Sometimes it ran out of memory, then my system get a little bit stuck, and I can see the HDD indicator blinking. Then I restart X, which ...
3
votes
4answers
2k views

Is it necessary to reboot after a kernel upgrade (via APT)?

I have been wondering this for quite a while. Let's say that you have a Debian server that you keep updated via APT. Usually (every 1-2 months) there are some kernel updates, which will update the ...
1
vote
0answers
539 views

Qemu: No file system could mount root (unable to mount roofs)

In Linux, I've created the root file system (rootfs) by following commands: dd if=/dev/zero of=ramdisk.img bs=1M count=4 mkfs.ext2 ramdisk.img sudo mount -o loop ramdisk.img rootfs sudo cp init ...
1
vote
0answers
81 views

Kernel IPsec SA database: FIFO instead of LIFO

When processing an IP packet, the kernel looks into the security policy (SP) database to determine whether it is to be protected with IPsec. If the identifiers of the packet (e.g. IP addresses, etc.) ...
8
votes
5answers
4k views

Given a kernel ATA exception, how to determine which physical disk is affected?

I woke up this morning to a notification email with some rather disturbing system log entries. Dec 2 04:27:01 yeono kernel: [459438.816058] ata2.00: exception Emask 0x0 SAct 0xf SErr 0x0 action 0x6 ...
-4
votes
1answer
62 views

when update kernels do they close bugs?

I'm not an expert in linux but when I upgrade my kernel to latest stable one which is 3.12.2, does it close all security bugs? How linux security bugs be closed? by installing newer kernel or how ...
4
votes
2answers
1k views

Capturing key input from events device and mapping it (toggle TouchPad key is unmapped)

I have a Lenovo IdeaPad Yoga 13 with Ubuntu 13.10 Installed. The device has a "Toggle TouchPad" button on the keyboard (F5). The keyboard's F* buttons are reversed (so to get F5, I need to press Fn + ...
2
votes
1answer
177 views

Where in the linux kernel sources can I find a list of the different keyboard scancodes?

I was looking for a list of keyboard scancodes in the linux kernel sources, but I did not find anything. Does someone know where to find these? Especially the USB scancodes would be interesting.
0
votes
2answers
444 views

Mainline kernel supported Raspberry Pi competitor? (no GPU needed)

The Raspberry Pi uses its own kernel fork. For a headless server (no GPU needed), is there a device with similar specs, performance-wise, that can use the vanilla mainline kernel from kernel.org?
3
votes
0answers
533 views

Debian driver needed for Intel ICH7M SouthBridge I/O controller

I am using a motherboard based on this architecture. http://www.intel.com/content/www/us/en/intelligent-systems/navy-pier/embedded-intel-atom-n270-with-mobile-intel-945gse-express-chipset.html I ...
0
votes
0answers
238 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 ...
3
votes
2answers
220 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
1k 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
152 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
821 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 ...