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

learn more… | top users | synonyms

0
votes
1answer
38 views

Why Gentoo detects no network devices? [on hold]

I've faced the problem installing Gentoo: after the installation is seems to be completed and LiveCD is extracted, network becomes unreachable: gentoo~ # ping 8.8.8.8 connect: Network is unreachable ...
0
votes
0answers
14 views

Number of Threads in Kernel

How can I get the number of threads in the kernel at specific sampling rate? I need to measure the utilization of the system directly by myself.
0
votes
1answer
124 views

Update kernel to 4.1.1 in Ubuntu Mini

I'm using Ubuntu Mini 15.04 and I want to update the kernel to the latest 4.1.1. I've been looking online but there are so many different ways. I've tried some but always ran into some error. I am ...
0
votes
1answer
84 views

How to use a built in driver in the kernel?

I am building the 3.14 kernel for a board that requires the intel e1000e driver. I would like this kernel to have the driver built in so that I can remove loadable module support. I have chosen the ...
1
vote
1answer
3k 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 ...
32
votes
7answers
22k views

Linux Kernel: Good beginners' tutorial [closed]

I'm interested in modifying the kernel internals, applying patches, handling device drivers and modules, for my own personal fun. Is there a comprehensive resource for kernel hacking, intended for ...
-1
votes
1answer
29 views

Remove branding from custom kernel

I have an assignment to build a custom kernel which removes all the drivers/plugins that are not needed and also remove any traces that it is Ubuntu's. Basically, my teacher wants us to strip it down ...
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
1answer
83 views

What is a Kernel Routine ?

In another answer I met a short overview of the sections of the man pages: commands for $-User system call, that means evoking a function from the Kernel library call, that means evoking a function ...
0
votes
0answers
16 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 ...
1
vote
1answer
30 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 ...
0
votes
0answers
32 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
1answer
536 views

custom kernel and firmware loading

After I have compiled my kernel, and when I type make modules_install, not only are the modules copied into /lib/modules/ but also firmware is copied into /lib/firmware/. The following is the end of ...
1
vote
1answer
211 views

can't filter printk messages

I'm writing a driver and usually I implement my own log-level scheme. However, this time I figured that I would try to utilize the printk scheme that is built into Linux. I see that I can adjust the ...
14
votes
3answers
17k views

How to disable USB autosuspend on kernel 3.7.10 or above?

I've updated my HTPC from kernel 3.7.10 to 3.10.7 and it seems CONFIG_USB_SUSPEND is now gone from the kernel options and included in PM. The main problem I'm facing is that I have an external HDD ...
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
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 ...
2
votes
1answer
47 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 ...
4
votes
2answers
923 views

Benefiting of sched_autogroup_enabled on the desktop

I am running a 2.6.37 kernel with sched_autogroup_enabled set to 1. I am not certain that I am seeing the benefits of this patch since: I am launching my applications from the desktop; applications ...
0
votes
0answers
18 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 ...
0
votes
1answer
12 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 ...
1
vote
1answer
40 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 ...
4
votes
1answer
48 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 ...
4
votes
2answers
16k views

Command to install linux headers fails

I need to install my linux headers for an Nvidia driver install. But I get an error when doing so: peter@peter-deb:~$ sudo apt-get install linux-headers-$(uname -r) Reading package lists... Done ...
2
votes
2answers
1k views

busybox initramfs loop mount

I'm trying to loop mount my root filesystem (a loop file) within a busybox initramfs. I try to run the command: mount /rootfs.raw /root ... which works on my Ubuntu laptop, however, I simply get ...
0
votes
0answers
26 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
21 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 ...
64
votes
5answers
91k views

How to reload udev rules without reboot?

How should one reload udev rules, so that newly created one can function? I'm running Arch Linux, and I don't have a udevstart command here. Also checked /etc/rc.d, no udev service there.
0
votes
1answer
26 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
52 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 ...
4
votes
1answer
2k views

Setting up HDMI output from Linux console

I am currently running Debian Wheezy on a HP Microserver N54L with an AMD Radeon 5450 video card. I would like to be able to play audio from the console through the HDMI port of my video card and ...
0
votes
1answer
31 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
1answer
55 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
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
0answers
25 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
vote
2answers
125 views

What does __ prefix before some kernel api's convey?

Why do some function calls in kernel specially have this prefix __ example: __init initialization(void) is __init a macro? What does this convey? Are these a special class of function calls inside ...
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 ...
-1
votes
1answer
25 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 ...
2
votes
2answers
33 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
511 views

Wireless constantly reconnecting on Ideapad running Arch

I just bought a new laptop, a Lenovo IdeaPad U330 touch, and after some struggle (with the Secure Boot stupidity) I have managed to install Arch Linux. I have configured my system, installed all the ...
1
vote
1answer
36 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
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 ...
0
votes
2answers
184 views

How can I replace the default kernel with an earlier kernel?

I am working on petalinux, Linux for xilinx FPGAs. The source code is here This Linux is having 3.x kernel, and I have been asked to change the kernel to some earlier release version. What are the ...
0
votes
1answer
21 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 ...
7
votes
1answer
108 views

NTP and NTPD Nanokernel

I had a couple of questions about the NTP Nanokernel as explained here: http://www.eecis.udel.edu/~mills/database/brief/nano/nano.pdf The big question is how does this Nanokernel manage to deliver an ...
1
vote
3answers
3k views

CentOS ELRepo Kernel installing VMware

Already installed VMware Workstation 9 on my Linux CentOS 6.5 Final with 3.10.40-1.el6.elrepo.x86_64 running kernel. When I open VMware Workstation, it asks me to locate the Kernel Headers ...
3
votes
1answer
1k views

Scaling issues of i7 3520M with intel_pstate module on Kernel 3.10.0

Few days ago I updated my openSUSE 12.3 system from Kernel 3.9.8-1.gf3348a8-desktop to 3.10.0-1.g3dcd746-desktop and since then, turbo mode of my i7 3520M is enabled by default and it does not ...
3
votes
2answers
2k views

running kernel on QEMU

I face this message: Failed to execute /initKernel panic - not syncing: no init found. Try passing init=option to kernel. I am using this command line: qemu-system-x86_64 -hda disk.img -kernel ...
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 ...
1
vote
0answers
23 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 ...