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

learn more… | top users | synonyms

0
votes
0answers
11 views

64bit Linux Mint on Dual Core Pentium 4 machine

I have a HP 530 desktop with a 3200Mhz Dual Core P4 processor, 4GB RAM and 1TB Sata HDD. I'm setup with Dual Boot Windows 7 and Linux Mint 17. Although Windows 7 64 bit loaded fine, Linux Mint 17 64 ...
0
votes
0answers
27 views

I installed linux. And it doesn't recognize usb keyboard and mouse

When I boot computer with kernel 2.6, I can use usb keyboard and mouse. But If I use kernel 3.10, It doesn't work. / / kernel 2.6 $ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 ...
0
votes
0answers
6 views

udev usb stick device list

we have 2 different yocto distributes. 1) ARM Kernel 3.10.53 2) X86 SMP Kernel 3.10.0 if we add a usb stick to the ARM system we get the different udev Messages. usb/usb_device usb/use_interface ...
0
votes
0answers
3 views

How kernel will get control from u-boot in linux and who will un comnpress the image

I am basically Linux BSP. I want to know how u-boot will give control to kernel in android kernel or linux kernel. And how uImage will get uncompressed.
0
votes
0answers
8 views

grsec installer compilation error

I'm looking to install grsec to enhance the security of my Debian box. When I run the unofficial grsec installer (re: https://github.com/rickard2/grsecurity-Debian-Installer) that was written to ...
0
votes
0answers
10 views

How to prevent Apper from removing older kernels when updating (installonly_limit)

Fedora usually keeps 3 kernel versions installed by default, so a kernel update will remove the oldest kernel version installed. However, in some cases it may be necessary to keep all kernels. In ...
1
vote
1answer
39 views

How the kernel can prevent a malicious program to operate?

If I write an x86 assembly program that tries to fetch and analyse all the addressable memory space. How the kernel can prevent this operation to be done? I am more familiar with small CPU ...
1
vote
1answer
23 views

4G modem on an embedded 2.6.32.9 kernel on a Parrot AR Drone 2.0

I am attempting to compile support for a Huawei E3276 usb LTE modem for an embedded Linux/BusyBox installation on a Parrot AR Drone 2.0, which is based on kernel 2.6.32; however, I am running into ...
2
votes
1answer
43 views

How to (really) disable NCQ in Linux

I implemented my own Serial-ATA Host-Bus-Adapter (HBA) in VHDL and programmed it onto a FPGA. A FPGA is chip which can be programmed with any digital circuit. It's also equipped with serial ...
0
votes
1answer
11 views

fakeroot make-kpkg buildpackage

When I run make-kpkg --initrd buildpackage with concurrency_level set to 17, all cores are at 100% according to gnome-system-monitor, when running the cc1-jobs. When I run fakeroot make-kpkg ...
0
votes
0answers
22 views

Unknown symbol in module

I have a kernel module which is was probably written for kernel version 2.6xx. Now currently I want to plug that module onto kernel version 3.1x and above. I have tweaked and change the code and ...
1
vote
1answer
20 views

Kernel driver for wireless adapter not in use

I recently installed Archlinux on my laptop, and as per the instructions on the Arch Wiki (https://wiki.archlinux.org/index.php/Wireless_network_configuration#Check_the_driver_status) I checked the ...
4
votes
1answer
44 views

How is raw mouse movement converted to /dev/input/mice content?

Raw mouse movement is generating some data and sent via USB. It is then getting processed somewhere and written into /dev/input/mice & supplied to GUI, etc. How is this happening? If I want to ...
0
votes
1answer
23 views

Kernel current working directory and inode information placement

I'm reading some doc about UNIX but I don't understand two things: Why is important for the kernel to know the current working directory of the running process? Why not keeping the inode information ...
0
votes
1answer
50 views

Why ARM devices are not shipped with latest Linux kernel?

Wondering why ARM based devices like Raspberry Pi, Android phones, Routers etc. are not shipped with latest Linux kernel ? Is it simply due to lack of proprietary device driver support ? Like lack of ...
0
votes
1answer
24 views

HugePage Centos 6.6

Recently i install a CentOS 6.6, but when i tried to configure HugePages, i cannot see the common paths that i already using to configure hugepages in other Centos 6, but with 2.6 kernel series. So i ...
0
votes
0answers
10 views

SystemTap log output to file

I want to log output from my SystemTap script to a file. But when I try to use the -o option like: stap -r $PWD --remote user@hostname -o test.txt -S 1 ./test.stp I can't find the log file. If I ...
0
votes
1answer
54 views

Writing drivers for Oracle Solaris

I understand that Oracle doesn't provide sources for Solaris any more, as was done via OpenSolaris in the past. However, they do offer live CD images. How much does a system installed with such ...
0
votes
0answers
9 views

How do I compile a custom Linux kernel to be optimized for Hadoop?

What can I do to configure a kernel to have resources that are optimized for Hadoop? I want to maximize the CPU and RAM availability for Hadoop. What can I remove from a traditional kernel if the ...
0
votes
0answers
24 views

“Illegal instruction (core dumped)” in __lll_lock_elision() for various programs after suspend with initramfs (Arch/Manjaro)

I am getting random "Illegal instruction (core dumped)" on various programs in my Arch Linux system, since I ran some system updates. The crashes are quite random. E.g. sometimes "git status" crashes ...
-1
votes
1answer
21 views

Grub Refuses New Kernel

so my Mint 17 hasn't been booting, and I tried reinstalling the kernel from a live USB drive. I followed the steps detailed in this guide to edit /etc/default/grub to accept the last saved kernel ...
0
votes
1answer
36 views

What is the impact on system performance when kernel debug info is enabled?

In order to debug kernel or use tools like stap (https://en.wikipedia.org/wiki/SystemTap) kernel must be compiled with full debugging information included - namely option CONFIG_DEBUG_INFO has to be ...
1
vote
1answer
33 views

restoring grub mint 17

I'm currently trying to get my Mint 17 partition booting again. I tried to fix a booting problem with boot-repair and a live USB, but upon inputting the command sudo chroot "/mnt/boot-sav/sda7" ...
0
votes
1answer
20 views

bluetooth - btusb module remove stops bluetooth service

I just faced a strange issue; Every time after suspend the btusb module is kicked out the RAM (for some reason but its OK cause I can reinit it manually) but as a result the bluetooth.service must be ...
1
vote
0answers
21 views

cannot upgrade kernel (grubby fatal error: unable to find a suitable template)

I have an appliance (read: a PC in a rackmount chassis which sits in the rack and does its job for years without anyone really paying it much attention until it dies) running CentOS 5.4. Trying to ...
0
votes
0answers
7 views

How is kstkesp determined for each process? [migrated]

I'm working on a tool that sometimes hijacks application execution, including working in a different stack. I'm trying to get the kernel to always see the application stack when performing certain ...
3
votes
1answer
42 views

How do I detect that my system has auto-rebooted after a kernel panic?

I'm using Linux in embedded systems, and want to configure the system to automatically reboot after a kernel panic. However, when the system comes back up, it's important for me to detect and log the ...
2
votes
2answers
31 views

Linux kernel parameter “net.ipv4.tcp_workaround_signed_windows”

I am seeing some intermittent network issues when sending large amounts of data over a network and it has been suggested to me that setting this option to a 1 may possibly resolve the issue. ...
2
votes
1answer
33 views

linux kernel module building prerequisites

The "How to Build External Modules" section of the kernel.org kbuild documentation ( https://www.kernel.org/doc/Documentation/kbuild/modules.txt ) says: To build external modules, you must have a ...
1
vote
1answer
32 views

Linux kernel: meaning of source-tree, in-tree and out-of-tree

What do the terms "in-tree" and "out-of-tree" exactly mean? Also, does "source tree" specifically refer to the official kernel released from / maintained at kernel.org or is it a more general term ...
0
votes
1answer
55 views

how to get 32 bit kernel headers in 64 bit debian jessie installation [duplicate]

aptitude search linux-headers provides this: p linux-headers-3.16.0-4-all - All header files for Linux 3.16 (meta-pack p linux-headers-3.16.0-4-all-amd6 - All header files for Linux 3.16 ...
3
votes
1answer
40 views

Difference in execution of init with embedded vs. external initramfs?

I'm building a very minimal linux system that just consists of the kernel (v4.1-rc5) and an initramfs populated with busybox (v1.23.2). It works fine for the most part, but I observe a difference in ...
52
votes
5answers
5k views

Why is the Linux kernel called an “image”?

I often hear people refer to the Linux kernel as the Linux kernel image and I can't seem to find an answers on any search engines as to why its called an image. When I think of an image I can only ...
2
votes
1answer
42 views

How can I prevent a module from flooding my kernel log with useless output?

I'm using the atmel_mxt_ts module, and it floods my kernel log with useless status messages, about 10 per second. I'm worried this will make my journal massive and cause unnecessary writes to my SSD. ...
1
vote
1answer
61 views

Is the Linux kernel affected by paging?

Is the whole kernel always loaded to RAM whatever the size of the RAM? In other words, can the Linux kernel be affected by paging (some part of kernel reside in virtual memory)?
2
votes
0answers
49 views

How to explain strange kernel messages?

I have a server running on Debian Wheezy 3.2.68-1+deb7u1 x86_64. Lately strange records in /var/log/messages appeared. First messages of this log starts just after server reboot. 6.222.18 LEN=44 ...
0
votes
0answers
14 views

How to debug freeze at start, output of syslog

Every now and then, my computer freezes while starting. I can see some "Oops" in /var/log/syslog, but from there I am not sure what to do to try and fix the problem. Jun 5 12:47:40 fulla kernel: [ ...
1
vote
0answers
70 views

how to make LVMs at available boot? kernel panic - dracut cannot find logical volumes after kernel upgrade in CentOS 6.6

I have a centoOS 6.6 vmware vm that I ran yum update on which upgraded the kernel after reboot, I started getting this: dracut Warning: No root device "block:/dev/vg_myhost/lv_root" found dracut ...
0
votes
0answers
21 views

Qemu Linux(kernel with debugging symbols) and ARM

I'm looking for a Linux ARM kernel, disk image and initrd that is compiled with debugging symbols. I'm looking to debug the kernel using the qemu and gdb. Could you point me to an arm linux image that ...
2
votes
1answer
58 views

Linux kernel patches: can I skip some?

I have the source of Linux 3.4.0 to which I added some modifications. I know that here (ftp://ftp.kernel.org/pub/linux/kernel/v3.x/) I can find all the 107 patches that need to be applied to my source ...
1
vote
0answers
16 views

System accounting misbehaviour on MacOS X (Yosemite)?

On all my Unixes (CentOS, FreeBSD, MacOS X) I activate the system accounting as a basic security rule. On MacOS X (Yosemite, 10.10.3) I see a misbehaviour I am investigating to fix. Everytime I run ...
0
votes
0answers
23 views

High read/write system call time

I am facing a weird problem with one of process taking more processing time in one system comparing to other systems. Most of the time is spending on read and write system call on problem host. I am ...
1
vote
2answers
46 views

Triggering hardware interrupts by connecting parallel port pins 9 and 10 does not work

I want to trigger hardware interrupts as described in the book Linux Device Drivers by connecting pins 9 and 10 with a wire. I tried that but apparently there's no interrupt beeing triggered: cat ...
3
votes
0answers
36 views

Book for understanding latest Linux kernel [closed]

I want to understand the Linux kernel. For this I have the book "UnderStanding the Linux Kernel, 3e". Inside the book I have found that the book has written based on Linux kernel 2.6. But as my ...
3
votes
2answers
176 views

What are the programs/commands which the magic SysRq key invoke?

From Magic SysRq key The magic SysRq key is a key combination understood by the Linux kernel, which allows the user to perform various low level commands regardless of the system's state. It ...
-1
votes
1answer
101 views

How do you install the FreeBSD10 kernel sources?

I am trying to run an update of freebsd10 and I am being asked for the kernel sources ===>>> Launching child to update lsof-4.89.b,8 to lsof-4.89.d,8 ===>>> All >> ...
1
vote
1answer
47 views

Where is routing table stored internally in the Linux kernel?

When I execute route -n, from where exactly (from which structs) is the information displayed retrieved? I tried executing strace route -n but I didn't help me finding the right place it's stored.
1
vote
0answers
12 views

Why there is PPPd instead of all PPP software in kernel?

Are there any reasons why the need of PPP software separation from kernel and process (PPPd)?
0
votes
2answers
61 views

how to untar file in linux red hat?

I am compiling linux red hat stable kernel on red hat linux and the error which I am facing is as below
2
votes
1answer
353 views

Kernel Backport for Debian Jessie?

I installed the 32 bit version of Debian Jessie (8.0) on an Asus X205TA. The Asus X205TA laptop is quirky like a lot of Intel Baytrail Atom laptops/tablets in that it has 32 bit EFI but a 64 bit ...