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

learn more… | top users | synonyms

2
votes
1answer
18 views

what is Linux global scheduling policy?

I am learning operating systems. I have a doubt. For example if scheduling policy for some set of process(set 1) is SCHED_RR and scheduling policy for some other set of processes(set 2) is SCHED_FIFO ....
0
votes
0answers
30 views

-fstack-protector-strong available but compiler is broken while compiling kernel using gcc

I have looked around for this specific error however I did not find it, instead I found errors that are similar such as 'not supported by compiler'. I am trying to compile Kernel version 4.8.8, i ...
1
vote
0answers
9 views

AlphaServer 1000 4/266 in a new system Alpha Server 1000A 5/333 DU3.2C

I tried to boot the disks that had the operating system that initially were on an AlphaServer 1000 4/266 in a new system Alpha Server 1000A 5/333. And when I tried to boot the generic vmunix, it gave ...
1
vote
2answers
26 views

why .config file doesn't appear in /boot after installation kernel 4.8.8

I've already seen this Why is the .config file not copied to /boot after installing new kernel? but the question weren't answered ! I've installed the new kernel and everything seems to be running ...
0
votes
1answer
22 views

Installing a specific kernel version on debian linux

I want to install kernel 4.5 on a Debian Jessie machine (I want to be as close as possible to a specific machine I have in production). Currently the version on the backports repo is 4.7, and I can't ...
-1
votes
0answers
25 views

reboot unexpectedly [on hold]

server : CentOS Linux release 7.2.1511 kernel : 3.10.0-327.el7.x86_64 log : /var/log/messages Nov 16 18:10:56 12-226-IDC systemd: Starting Initrd File Systems. Nov 16 18:10:56 12-226-IDC systemd: ...
-1
votes
0answers
33 views

+25 Years; is Linux still obsolete? [on hold]

Most people here will be familiar with the (in)famous Tanenbaum/Torvalds debate (If you're not, take 30 minutes and read it http://www.oreilly.com/openbook/opensources/book/appa.html it's worth the ...
0
votes
0answers
4 views

uImage freezes at bio: create slab <bio-0> at 0

I tried to cross-compile a default Linux kernel for ARM. However when I flashed this kernel image, together with yaffs2 filesystem and bootloader, my Linux kernel freezes after the command bio: create ...
1
vote
1answer
24 views

Quickest and simplest way to “ live booting ” a freshly compiled vanilla kerel ?

Assuming that I have my vmlinux ready, what is the quick and easy way to create a live cd ( or usb disk image ) to try and test my new kernel on a machine without installing it ?
1
vote
0answers
18 views

What are the most user experience patches in fedora kernel [closed]

I was thinking about the differences between the main Linux kernel and the Fedora specific kernel. What are the most user experience changing patches? Thanks for your opinion. dudas
0
votes
0answers
42 views

How do I solve the error “No modules were added to the image. This is probably not what you want.” when installing kernel packages in Arch Linux?

I compiled the 4.8.7 linux kernel in Arch using the ABS where I received the warning No modules were added to the image. This is probably not what you want. I noticed that the extramodules folder ...
1
vote
1answer
12 views

Scanning order of the kbuild / kconfig kernel build system?

I would like to know what is the order followed by kbuild when configuring the kernel and what is the order that it's more convenient to use when writing CONFIG_ options in the .config file . I have ...
3
votes
0answers
65 views

Kernel 4.8.7 failure on cpufreq - CentOS 7

After upgrading my CentOS 7 kernel from 3.10.0 to 4.8.7, while rebooting the system I will get the following lines: [ 0.641455] cpufreq: cpufreq_online: Failed to initialize policy for cpu: 0 (-19)...
0
votes
0answers
21 views

userspace vs kernel space network stack difference

Let we are using a userspace tcp/ip stack. How is it different from kernel level tcp/ip stack? Can we use a single userspace tcp/ip stack in more than one application?
1
vote
1answer
18 views

Is there a way to update kernel version without rebooting?

I am running an update which can update the kernel to the latest version, After that I am installing a few drivers but they get loaded on the old kernel since. Upon rebooting, those drivers go missing ...
0
votes
0answers
6 views

udevadmin monitor 1 minute delay when plugging in usb camera

We have this issue when plugging in a USB Camera. In Ubuntu 12.04 it takes less than 10s for the device to be available, while in 14.04 and 16.04 it takes at least 40s. We have monitored it using ...
0
votes
0answers
27 views

/proc/stat does not refresh

The OS is Scientific Linux release 6.6, kernel 2.6.32-642.6.2.el6.x86_64. When I try to read /proc/stat use the full path, for example, head /proc/stat always output same content. But if I cd to /proc ...
0
votes
0answers
40 views

Black screen at Fedora after update to new kernel version

I have a fresh Fedora 24 install running kernel-4.5.5-300.fc24.x86_64 and everything works fine. Now I have updated the system by running dnf update -y and the kernel was updated to kernel-4.8.6-201....
1
vote
0answers
17 views

What is the equivalent of CONFIG_MORE_COMPILE_OPTIONS and CONFIG_COMPILE_OPTIONS for 3.x and 4.x kernels?

I'm trying to pass some extra flags to Kbuild, with a 2.6 kernel I can go for CONFIG_MORE_COMPILE_OPTIONS CONFIG_COMPILE_OPTIONS but with modern kernels there are no such flags, what I should use ...
3
votes
1answer
46 views

Why modify the linux kernel instead of creating a kernel module?

I have a development board which has an older version of Linux installed on it. The vendor supplies an image for the device with a heavily modified linux kernel, some loadable kernel modules, and some ...
2
votes
2answers
26 views

How to force a CONFIG_ option to stay on?

I don't know how to properly debug the kernel configuration process when an option that should be on ( because it doesn't really depends on anything and it doesn't conflict with anything that I can ...
1
vote
1answer
39 views

Failed to start loading kernel modules

After updating Arch Linux xfce4 has been crashed and When I reboot the machine I got this message Failed to start loading kernel modules This is the output of uname -a Linux NasserLaptop 4.8.4-...
1
vote
1answer
41 views

RHEL: can't use ipset utility with error: cannot open session to kernel

I'm using a VPS from a VPS provider that run a 2.6 kernel, RHEL with OpenVZ virtualization system. I want to use ipset utility to manage ip sets on my iptables firewall. This is the error I'm getting ...
2
votes
0answers
377 views

Apply kernel patch to support PIC Mode

I am getting an error when I try to compile drivers for a TP Link AC 600, on Kali Linux amd64 4.7.0 gcc 5.4.1 Debian 5.4.1-3. The error is "error code model kernel does not support PIC mode" After ...
0
votes
1answer
32 views

Multithreaded applications on a single threaded CPU?

The motivation behind this question arises from exploring the Intel Galileo gen2 board which has a single threaded processor. I'm looking for a conceptual explanation on what does that mean for all ...
1
vote
1answer
96 views

cat: write error: Invalid argument

Writing to a custom character device using cat 123 > /dev/chardev gives cat: write error: Invalid argument I have changed the permissions to 666 and even tried it with sudo. Still the same ...
0
votes
1answer
37 views

What consequences may arise from using an alternate GCC version to compile the kernel? [closed]

Related to: Cannot compile kernel: error, kernel does not support PIC mode I also just had this issue, instead of patching; I configured alternates with a different gcc version, jumped from v4 to ...
0
votes
0answers
26 views

LFS Linux kernel won't boot - black screen

I've recently completed an LFS build using GRUB-2.03~beta, and I've installed this using UEFI. When I boot linux however, I'm greeted with a black screen. I'm unsure how to debug this as the kernel ...
-1
votes
0answers
34 views

Debian Jessie - Installing new kernel - update-grub2 fails

(I am no expert; Debian Jessie; remote system; virtual server) I am trying to upgrade my Kernel from 2.6.. to 3.16.0.4 The Kernel is installed but a reboot didnt load it, so I had to install grub2(I ...
1
vote
0answers
23 views

Trying to add cinnamon to gentoo - gives me a masked warning

So I am trying to add cinnamon for a desktop environment for my Gentoo machine, so far I have done the install well, and gotten to the part with the x-server, though I am having trouble getting the ...
1
vote
1answer
38 views

boot linux kernel (4.7) with efistub, initrd, and lvm

for a few days, I googled everywhere to see if someone ever had the same issues as I do. here is my linux kernel on my Lenovo Z50-70 ( maybe it's important) $ uname -a Linux Z50-Debian 4.7.0-1-amd64 ...
0
votes
0answers
18 views

Public key is not available: NO_PUBKEY

I'm running Ubuntu 14.04(32bit) on my system and I want to use MATLAB(64bit). Since my Ubuntu installation is 32-bit I'm not able to install MATLAB on it. I've read that I should be able to run a 64-...
0
votes
1answer
57 views

What are kernel UUIDs? Why would they be crazy sh!t?

I've watched DebConf 14: QA with Linus Torvalds, and at about 19:50 Linux mentions how "UUIDs are crazy sh!t." What are UUIDs used for (at the kernel level)? What does Linus mean by this?
0
votes
1answer
57 views

Which kernel for which system

I often have issues between the Linux kernel and the hardware I'm using. But I guess this is not new, especially on laptops. GPU support, WiFi support, hibernation, etc... Is there a tool that can "...
0
votes
0answers
24 views

‘‘TCA_HTB_PAD’ undeclared’ undeclared

I was trying to build the kernel with a new package called kaunetem included in the kernel tree. I got the following error when compiling. I do not think it has occured due to the kaunetem package as ...
0
votes
1answer
21 views

how to stop wifi module triggering from udevadm trigger?

I'm working on kernel 2.6.37, i have made some loadable module instead of static to optimize kernel, My task is to load some module after running a application which i'm doing successfully, In any ...
0
votes
1answer
19 views

kGraft ,Live Kernel patching in suse

Can anyone did Kernel live patching using Kgraft in SLES 11 or 12 ? Is there any procedure to be followed ? How can we verify the kernel vulnerability fixes after Kgraft patching ??
0
votes
1answer
22 views

Locked out of ssh after mounting bind /dev /run /proc and reboot

I've added the following commands in my /etc/rc.local file to automatically mount kernel's virtual file system, as said on Linux From Scratch (LFS). And rebooted... Sections 6.2.2 Mounting and ...
0
votes
0answers
7 views

Optimizing read I/O with read ahead while avoiding storing data in page cache

I need to be able to read data sequentially from a file while not storing the data that is being read in the page cache as the file contents are not expected to ever be read again and also because ...
2
votes
1answer
50 views

Where does system information come from

For example: Where does the lshw - list hardware program read the info out? (I mean on a software level, that there are probably some ROM chips here and there is of course the case) Basically ...
0
votes
2answers
44 views

How to enable CONFIG_NETFILTER in Kernel?

I'm trying to install my own Firewall on ubuntu using iptables. In a tutorial it says, I need the iptables-Kernelmodule and the parameter CONFIG_NETFILTER=Y in Kernel Configuration. I didn't found a ...
1
vote
0answers
30 views

How kernel decides what is a suitable module for some hardware device? [duplicate]

Now if some hardware device does not work I have to Google out what kernel options I should turn on to compile a kernel module for this hardware. I hope there is a better way to do it. Somehow when I ...
0
votes
0answers
22 views

Linux dynamic kernel debug

Have been working on getting dynamic debug to work on my embedded linux distro by following this guide https://github.com/tinganho/linux-kernel/blob/master/Documentation/dynamic-debug-howto.txt But ...
0
votes
2answers
50 views

Does the linux kernel keyring store keys on disk?

I'm trying to learn a bit about the linux kernel keyring (as background for using ecryptfs). Does the kernel keyring store keys somewhere on disk, or does it get reinitiailized programmatically ...
5
votes
0answers
73 views

(ubuntu 16.04) How can I detect a device independent USB insert event

I am trying to detect an USB insert regardless of the device it is. Eg: A phone, a battery pack, a biometric system etc., which may or may not be recognized by Linux (no drivers or nothing to "Drive/...
0
votes
0answers
15 views

Processes killed when performing actions in a specific directory

I have a project folder, /home/myuser/git/project, and whenever I try to perform an operation there from the command line, the process gets killed. e.g. $ rm -Rf .tox Killed $ python setup.py ...
1
vote
0answers
22 views

How to build Debian release like packages from an arbitary kernel source?

I'd like to take an arbitrary kernel (say, 4.1.33), patch it with something (say, linux-vserver), and then build the sorts of packages Debian builds and distributes (including e.g. linux-perf-4.1.33). ...
4
votes
2answers
70 views

Kernel Source Code: What are parent_tidptr and child_tidptr in do_fork()?

On the above link what is meant by parent_tidptr and child_tidptr on do_fork() which creates a new process ?
0
votes
0answers
34 views

Custom Linux ISO & Kernel update

I have downloaded a Custom ISO from BlackMagic Design to run a program called DaVinci Resolve. By custom I mean, It comes with all of the BlackMagic software / dependencies installed The install ...
1
vote
1answer
22 views

where are the other partitions?

My laptop has windows 7, windows 8 and linux. I have by mistake changed the partition of linux from logical to primary. so after running sudo fdisk -l i got only: Device Boot Start End ...