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

learn more… | top users | synonyms

3
votes
3answers
1k views

Self-built kernel: failed to mount /dev: No such device

I am trying to install a Linux kernel (3.8.1) from source in a Fedora distribution. The kernel is a vanilla one. I follow the kernel's build instructions closely that is: make menuconfig make sudo ...
1
vote
2answers
66 views

CentOS 6 with Linux-Libre kernel?

I understand that CentOS ships with nonfree blobs in it's kernel. It seems that a "nonfree blob" free kernel exists, a.k.a. Linux-Libre. Is it possible to somehow get CentOS to use Linux-Libre ...
3
votes
3answers
147 views

Is it mandatory to have a file system and MMU in Linux? [closed]

Suppose I do not need a filesystem and I have only applications where data reloading may not be required - so MMU may be redundant. Can I remove these two items from Linux, and boot the OS ...
6
votes
3answers
434 views

Is there a file for each socket?

"Everything is a file" in the UNIX World. Above sentence is famous. When I run echo "hello programmer" >> /dev/tty1 , I can watch the given string on TeleType 1 , .... What and where is file ...
1
vote
0answers
170 views

D-Link usb dongle detection problem [ Debian Wheezy ]

according to this topic,I was upgrade kernel from 3.2 to 3.12 (using .deb backport),But at installation process I get some error message like this : # dpkg -Ri kernel3.12 Selecting previously ...
3
votes
1answer
670 views

Kernel booting stops right after “Uncompressing Linux…”

I'm trying to bring up an ARM-based board. I've got U-Boot working but can't seem to get the kernel to load. Most of the time it only goes as far as: Starting kernel ... Uncompressing Linux... A ...
1
vote
1answer
116 views

Debian/Ubuntu:How to compile a Linux kernel on one machine and use on other machines (same architecture)

Debian/Ubuntu: How to compile a Linux kernel on one machine and use on other machines (same architecture)? I know how to do it on the same machine. But to use a compiled kernel other machines, is ...
0
votes
0answers
34 views

Problems configuring kernel

Trying to recompile my kernel and getting the following error to support Xen PCI Passthrough.It almost makes it through the whole build then flops out when building the image. dh_testdir ...
3
votes
4answers
5k views

How do I upgrade the Debian Wheezy kernel offline?

I using Debian (Wheezy) with the 3.2.0-4 amd64 kernel version and want to upgrade my kernel to newest version, like 3.13.3 stable, but I have no internet connection to my Debian OS. I have installed ...
1
vote
3answers
90 views

How to create a kernel source tree?

I am reading a book on creating drivers on Linux, I do not have too much experience with Linux, I have installed a quite a few distros before but I have always used windows as my main operating ...
1
vote
0answers
81 views

How to disable PAE feature of kernel, after installation?

I am using RHEL 5.3(x86) as a base platform for my development purpose.My machine's spec is as follows: Intel, Core-i3 Processor @ 2.5GHz 4GB RAM Problem is whenever I am attempting to install the ...
0
votes
2answers
45 views

How do you check the support for a specific CPU in the Linux or BSD kernel?

Assuming that I have the sources for my kernel and I know the name of a SoC or a CPU, how I can check that the hardware is supported without compiling and running ?
1
vote
1answer
896 views

Driver install, kernel source not found

I am trying to install a NVidia Cuda driver on a Amazon EC2. GPU instance (Amazon Linux AMI (HVM) 2013.09.2 - ami-e9a18d80) following the instructions laid out in a blog. It worked for the last two ...
1
vote
0answers
32 views

Patching the kernel source through git

I'm trying to understand how the patching of the kernel source works. I found the patch that I would like to try an apply on the following page. I found no .patch files that I can use to apply the ...
1
vote
1answer
153 views

What does this key code qualifier mean?

I know that in general this means that I have a "bad disk". But I'm after a more specific reason for why I am getting these messages from the kernel: sd 15:0:0:0: [sda] Attached SCSI disk sd ...
1
vote
0answers
61 views

kernel 3.1x and optimus support

I have encountered a negative observation regarding bumblebee. Namely, using optirun the performance of the GPU seems to be an order of magnitude lower than it should be. To be more specific: I have ...
2
votes
0answers
255 views

graph TCP connection performance based on `ss -i`

A nearby question has brought to my attention the ss utility on Linux, another utility to investigate sockets. It would appear that it may be a great tool to monitor the performance of, say, an ssh ...
1
vote
0answers
1k views

kernel: “echo 0 > /proc/sys/kernel/hung_task_timeout_secs”

I got this errors in syslog. Any idea what does it mean? The system is running on Ubuntu 12.04, kernel: 3.8.0-35-generic #52~precise1 It looks to me like failure when trying to write to disk... ...
0
votes
1answer
51 views

Patching linux kernel fails?

From what I understand, I can easily upgrade my kernel by applying patches to it, opposed to recompiling the kernel every time. I'm trying to go from kernel 3.2.51 to 3.2.54 by applying all the ...
0
votes
1answer
61 views

cc1 not in the PATH

I 'm trying to configure kernel via make menuconfig [Angstrom distribution] on BeagleBoard-xM, but I get these errors: make: Warning: File `/usr/src/linux-2.6.32.61/arch/arm/Makefile' has ...
3
votes
3answers
547 views

Why does MemTotal in /proc/meminfo change?

I monitor value from /proc/meminfo file, namely the MemTotal: number. It changes if a ram module breaks, roughly by size of the memory module - this is obvious. I know the definition for the field ...
0
votes
1answer
188 views

NFS: failed to create MNT RPC client status = -101

I am trying for network file system (NFS) booting between two systems. I am using dhcp server to assign IP-address for client. And my kernel and root file system are present in server. My client is ...
0
votes
1answer
46 views

How to install kernel sources

I 'm running Angstrom distribution (console only) on BeagleBoard-xM. Image was build on Narcissus, with Bootloader Files (x-load/u-boot/scripts) added. I noticed that usr/src directory is empty. I ...
2
votes
1answer
306 views

Finding and reloading driver from kernel

I am using Crunchbang 64 bit O.S. with a ASUS N150 wireless adapter. Everytime I close my laptop and it enters sleep mode, when I "wake it up" I am unable to connect back using the wireless adapter, I ...
0
votes
1answer
102 views

Questions about behaviour of running LiveCD Linux after unmounting a CD-ROM

Could anyone explain what happens in system after unplugging CD-ROM during working with LiveCD session? Suppose that I'm using Ubuntu LiveCD and suddenly by accident the CD-ROM disconnect for a ...
1
vote
1answer
309 views

I want to understand Buildroot - the 3 compression config options (kernel, initramfs & rootfs)

I'm using buildroot to generate my images and for sure there is the option of compression with the help of different methods (LZO, LZMA, gzip, ...). So far i found these 3 compression options in ...
0
votes
0answers
92 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
948 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
72 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
125 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
72 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
45 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. ...
3
votes
2answers
1k 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 ...
4
votes
2answers
4k 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
136 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
97 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
342 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
109 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
255 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
631 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
646 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
73 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
87 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
53 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
127 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
48 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
420 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
115 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
133 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
4k 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 ...