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

learn more… | top users | synonyms

0
votes
0answers
25 views

Problem while installing ReviewBoard on Oracle Linux 6.2

I am trying to installing ReviewBoard on Oracle Linux 6.2. For that first of all I have installed a epel-release-latest-6.noarch.rpm provided by Fedora. Then when I am trying to give command yum ...
-1
votes
2answers
45 views

Building a kernel

I'm trying to build a custom kernel and I try to build it using make command but I get a No targets specified and no makefile found. Stop. error. Then I searched for the makefile in the folders ...
1
vote
1answer
43 views

Kernel modules still loaded after crash, can't unload them

I've found a funny behaviour in the Linux kernel (version 3.19.0). We were testing a network driver and the system hung completely, it didn't even responded to SysRq commands. After the reboot, the ...
15
votes
2answers
507 views

Linux kernel dropping custom keyboard scan codes

I have a vintage IBM 122 key model M keyboard that I am adapting for use on a modern computer. I am using a Teensy 2.0 to do the encoding and to handle the USB side of things. I borrowed the firmware ...
1
vote
0answers
26 views

what is left inside the cache even after clearing the page cache data?

I was trying to clear the cache using echo 3 > /proc/sys/vm/drop_caches Even after performing the above operation there remain some space inside the cache? When I check with free -m around it ...
0
votes
0answers
130 views

CentOS installation of new kernel

I have a remote Server with OVH where they have their customized kernel which is causing us a problem while installing our software using CentOS 5.10 While applying the procedure to install the ...
0
votes
0answers
47 views

initramfs kernel panic!

I have seen this problem report a few times but the solution everyone posts is not seeming to work for me and I get the same issues Usage: switch_root [-c /dev/console] NEW_ROOT NEW_INIT [ARGS] ...
4
votes
3answers
2k views

'fast interrupts' in Linux

as far as I know, Linux has 'fast interrupts', those that were requested with SA_INTERRUPT flag; fast interrupts are executed with all other interrupts disabled on the current CPU. But how does it ...
0
votes
0answers
14 views

Where exactly is page permissions set in fs/binfmt_elf.c?

As I understand that in linux, the ELF loader (binfmt_elf.c) is the one that loads a particular binary into memory. Usually data will be RW and code segment will be RE. But where exactly in the source ...
3
votes
2answers
357 views

Problems compiling Kernel 4.2 Under Debian Linux (Jessie)

This is my first attempt at compiling a Kernel. I have a fresh minamalist Debian Jessie installation, I then... sudo apt-get install git fakeroot build-essential ncurses-dev xz-utils sudo apt-get ...
7
votes
1answer
15k views

Turning off power to usb port. Or turn off power to entire usb subsystem

I have a usb lamp which I specifically bought in order to turn it off programmatically at a certain time, thus I need to remove the power to its usb port. I believe I have a usb-hub at usb6. The lamp ...
1
vote
2answers
148 views

What type of file is /dev/core or /proc/kcore?

While scanning a filesystem for changes with a shellscript, I forgot to exclude /dev, so core got tested too. Strangely enough, which ever way I test it, it is not consistent for a type: $ if [ -f ...
4
votes
2answers
2k views

Restricting memory area for linux kernel

I am running ltib Linux on P1022RDK (P1022 Core) platform. I have 512 MB = 0x20000000 memory. I want my Linux kernel to use the second half of the board memory (i.e from 256 MB to 512 MB) and want the ...
1
vote
0answers
21 views

How can I get the information about the owner of the page [closed]

If have the pointer to structure page i.e. struct page *page how can I use this pointer to get the information about the page i.e. who is the owner of the page, the page belong to which process etc.
1
vote
1answer
59 views

Page cache elimination in Linux kernel

Optimizing the page cache space for less memory utilization in some system where systems don't have swap space and external flash drive or hard disk. Is there any possibility that if we can remove or ...
0
votes
1answer
41 views

Compiling kernel module Debian 7.9 xillybus

I'm having problems to compile XIllybus kernel module. As this official guide explains (on the top of page 8 of 25) I unpackaged the tar.gz file and compiled the kernel module by typing the make ...
0
votes
1answer
58 views

replace new linux kernel with make

Nowdays, I have to compile linux kernel more and more... So : make /home/mohsen/K=kernel menuconfig make /home/mohsen/K=kernel make /home/mohsen/K=kernel modules_install install Question is , ...
1
vote
0answers
28 views

Filtering bridged packets by IP address

I am using a small Ubuntu 12.04 box as a Wi-Fi Access Point. The box has two interfaces which are bridged together as follows: brctl addbr br0 brctl stp br0 off brctl addif br0 wlan0 brctl addif br0 ...
1
vote
0answers
32 views

How does a chroot system interact with the kernel

I am trying to debug an OpenGL issue in a piece of closed source software. The software supposedly works in Debian Wheezy and I would like to get it working in Arch. I tried running it in a Debian ...
0
votes
0answers
146 views

Kernel Panic - not syncing : Attempted to kill init

Cloning a hardware image using clonezilla at VM Workstation and getting the following error. I am able to boot the system using rescue CD , but don't know how to proceed.
7
votes
2answers
617 views

What decides which kernel modules are built in the kernel statically during compilation?

I just compiled a new kernel and asked myself: What decides during the compilation process which kernel modules are built in the kernel statically? I then deleted /lib/modules, rebooted and found ...
2
votes
1answer
63 views

What is the effect of smaller pages?

Does a smaller page size lead to smaller page table(s)? If so, is that good or bad !? I think that this lead to more data handling. Is it possible: to test that within Linux manually or that ...
0
votes
0answers
54 views

Run Linux kernel on Raspberry Pi together with Crosswalk

Is it possible to run the Linux kernel on a system like the RPi and have the Crosswalk runtime on it too. I would like to create an app that runs using Crosswalk on the RPi or any other sytem, but the ...
0
votes
0answers
131 views

Status of UVC 1.5 support in Linux

My (Debian 8) kernel, 3.16.7 only detects the Logitech C930E webcam as UVC 1.0 (when it does support 1.5). Searching the Internet only throws up kernel patches, most of them from Pawel Osciak form ...
2
votes
1answer
465 views

How to suppress input overrun messages

I have a Raspberry Pi running Raspbian (a Debian flavor: Linux version 3.12-1-rpi (debian-kernel@lists.debian.org) (gcc version 4.7.2 (Debian 4.7.2-5+rpi1) ) #1 Debian 3.12.9-1+rpi1 (2014-05-19) ). ...
0
votes
2answers
2k views

Empty kernel directory but kernel-headers are installed

Host - Windows 7 Guest - CentOS I am trying to install kernel-headers using yum since during the installation of vmware-tools I get a message asking for the path to the kernel header files for the ...
1
vote
2answers
50 views

Do i need to recompile the whole linux kernel

If I change some part or some subsystem of Linux kernel, do I have to recompile the whole kernel? Is there any way to recompile only that particular subsystem?
3
votes
2answers
313 views

How can I know if my kernel has ExFAT support?

I would like to know if some ExFAT formatted SD card (or pendrive, USB hard disk... etc) will be read by the kernel of my installed Linux distro. I know that, since about 2013, most kernels include ...
5
votes
0answers
44 views

Why kernel modesetting, instead of privilege separation?

Kernel modesetting was kind of painful to get on Linux at first, but now it's pretty awesome to have. I mean, X not need to run as root? High-res hardware accelerated consoles? Cool stuff. Problem ...
1
vote
0answers
35 views

Linux version string config - what should I call my custom kernel release?

Suppose I'm about to ship a smart toaster running SysToast, which is my custom Linux-based high-level system. The kernel is (heavily) based on source version 4.1.6-1-ARCH (I interpret this as: ...
4
votes
1answer
1k views

dmesg: pci BAR 7: can't assign io

I have VMware virtual machine running Debian Wheezy. I have compiled my own kernel 3.14. I have noticed dmesg is flooded with messages pci BAR 7: can't assign io (size 0x1000). I have no idea what ...
2
votes
1answer
630 views

Why system call hooking produces different result everytime in Linux/Android 2.6.29?

I have implemented system call hooking for Android 2.6.29 kernel through a LKM module. I am tracing down one Android app for system calls. But interestingly, it returns different results every time I ...
1
vote
0answers
85 views

weak-modules from module-init tools directory

I see in module-init directory, files named as weak-modules*. bash # ls /usr/lib/module-init-tools/weak-modules* /usr/lib/module-init-tools/weak-modules /usr/lib/module-init-tools/weak-modules2 ...
1
vote
1answer
190 views

debian testing hangs on wakeup from s2disk / hibernate

My machine (ThinkPad x230) hangs on wake up from s2disk or s2ram after a recent aptitude safe-upgrade.† The hang looks like a blank screen with a blinking cursor in the upper right after loading data ...
3
votes
1answer
66 views

Debugging info in linux kernel - how does it work?

I have found that I can compile linux kernel with some flags adding debugging support like CONFIG_DEBUG_INFO. These options while useful in debugging are also required by some utilities like ...
22
votes
4answers
14k views

What is the difference between the following kernel Makefile terms: vmlinux, vmlinuz, vmlinux.bin, zimage & bzimage?

While browsing through the Kernel Makefiles, i found these terms. So i would like to know what is the difference between vmlinux, vmlinuz, vmlinux.bin, zimage & bzimage?
0
votes
0answers
324 views

Cpu and memory utilization is high in Aix

Hello everyone, I have problem with my CPU utilization I am using sar command to know my cpu idle % in that idle percentage is null and %sys %usr utilizing more, I am trying to check with ...
1
vote
2answers
65 views

What hardware components do not require driver and why

This is a question that I had in my mind long ago but just now resurfaced back after reading this article. May I know why CPU and memory do not require driver? What other hardware components do not ...
1
vote
1answer
28 views

Why is debug_putstr() not being printed during boot?

I'm asking myself why debug_putstr() in arch/x86/boot/compressed/misc.c is not being printed during x86 boot phase, though it is configured to do so with GRUB_CMDLINE_LINUX_DEFAULT="". On other ...
0
votes
1answer
49 views

xenix (sysv) file system doesn't support since kernel 2.1.21

xenix filesystem equvalent sysv filesystem, man mount says: Note that,cohorent, sysv and xenix are equvalent and that xenix amd cohorent will be removed at some point in future use sysv instead. ...
1
vote
1answer
61 views

Can grub load a kernel from HTTP?

Typically the kernel file is loaded via disk. Questions Is it possible to load it via HTTP/HTTPS? If so how?
0
votes
1answer
23 views

Production ready derivative from LFS

I've recently started delving into LFS and have been wondering if there are any popular or well-used distros that have been derived from LFS or BLFS. There are a few of completed projects on Github ...
0
votes
1answer
224 views

Surface Pro Compatible Wireless cards and drivers

In reference to this post: Surface Pro Wifi Issues on Mint KDE 17 there doesn't seem to be any solution to fixing the wifi issues on the Surface Pro when running Linux. The Marvell card doesn't even ...
0
votes
2answers
65 views

What is the command in linux, or a utility to know the current comand status (process status)

For example when I write telnet abc.wtf the telnet session begins saying trying to connect so and so IP, but is there a command that I can type in and know what is the current process happening to ...
33
votes
4answers
4k views

What are the responsibilities of each Pseudo-Terminal (PTY) component (software, master side, slave side)?

I am trying to figure out how a tty works1 (the work-flow and responsibilities of each elements). I have read several interesting articles about it, but there are still some blurry areas. This is ...
2
votes
2answers
948 views

Looking for a distro that has linux kernel 4.0? [closed]

The computer I'm looking to upgrade to linux has a wifi card that isn't supported in linux but I read somewhere that it is supported in the 4.0 kernel. Because of this I can't install an old kernel ...
1
vote
2answers
454 views

Are “kernel mode” and “user mode” hardware features or software features?

I read that there are two modes called “kernel mode” and “user mode” to handle execution of processes. (Understanding the Linux Kernel, 3rd Edition.) Is that a hardware switch (kernel/user) that is ...
0
votes
0answers
46 views

lock_kernel declaration

I was trying to get usbip to work on my Mint netbook with Linux 3.2. The repo package doesn't have the require kernel module and the source won't compile. So I set off to fix it. I don't know the ...
9
votes
6answers
17k views

How does a kernel mount the root partition?

My question is with regards to booting a Linux system from a separate /boot partition. If most configuration files are located on a separate / partition, how does the kernel correctly mount it at boot ...
3
votes
3answers
83 views

How do I check the running kernel version?

While troubleshooting a problem with my ethernet card, I've found that the driver I'm currently using may have some issues with old kernel versions. What command can I use to check the kernel version ...