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

learn more… | top users | synonyms

0
votes
1answer
37 views

psmouse kernel module recompiling

I have a ultrabook and its touchpad doesn't work. Linux mike 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-1 (2016-03-06) x86_64 GNU/Linux touchpad doesn't work and it is also not listed in output of ...
1
vote
1answer
47 views

insmod: cannot insert './intrpt.ko': Function not implemented

I'm writing a kernel module that receives interrupts for mpc8308 (PowerPC) board. when I make the code for Ubuntu and my current version of kernel it works well with interrupt of keyboard, but when I ...
2
votes
1answer
146 views

How to switch arch linux to lts kernel?

I'm running a headless server installation of arch linux. The high rate of kernel upgrades caused me some maintainance headache and I therefore wish to switch to the lts kernel. I already installed ...
3
votes
1answer
27 views

WiFi card disappears after reboot, but not after cold boot

I have an Arch-based server (Zotac Nano, AMD Kabini-based) which doubles as WiFi access point using a miniPCI Atheros WiFi card. If I start it form cold boot (as in “it was off”), then everything ...
0
votes
0answers
40 views

Linux + what are the steps use the oldest kernel version in place of the current

I have Linux red-hat 5 version I want to reboot the machine with the previous kernel - 2.6.18-408.el5 so I set the default to 1 but before I will reboot the machine to startup with the older kernel ...
2
votes
1answer
24 views

Packing a bootloader as kernel image

Can a bootloader (lets say lilo) be packed as a valid zImage to trick other bootloaders to chainload another bootloader? Sorry about my english and excuse me if I am not clear enough.
2
votes
0answers
41 views

How to remove all old kernels except the two latest

The following command deletes all kernels except the latest: package-cleanup --oldkernels --count=1 Does the following command delete all but the two latest kernels? package-cleanup --...
6
votes
2answers
145 views

scripted configuring of a linux kernel

Given a list of kernel features, I want to create a minimal linux configuration supporting all given features (and the corresponding dependencies) but nothing else. Is there a way to create a ...
0
votes
2answers
40 views

Why should not I update to most recent kernel immediately after release [closed]

Question intended for system administrators. Consider system running a old but working kernel and all the required functionality is available. (Ubuntu 12.04 LTS specifically with kernel 3.2) Then a ...
1
vote
1answer
60 views

Invalid Build path for driver creation

I wanted to create a simple Hello world driver as in here: Page2 and compile it with Makefile: obj-m := hello.o all: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: ...
0
votes
1answer
9 views

Can I start the VM in openVZ once the checkpoint is completed during vzdump?

I have a VM with huge amount of data, close to 800GB. I was taking a vzdump of this VM. During the vzdump, openvz suspends the vm and does a check point and does a final sync of data before completing ...
1
vote
0answers
67 views

No perf (linux-tools) for kernel 4.5.2

When I first installed 16.04 LTS, at kernel 4.4.0, I had a decent battery life of about 3 hours average, but I upgraded to 4.5.2 to solve the suspend problem and some other issues, and now it's less ...
0
votes
1answer
25 views

Missing NIC in CentOS 5 - AsteriskNow 1.7.1

So I have two nics, but I can't get the second to load, here is the output from lspci -vvv 04:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection Subsystem: Super ...
0
votes
1answer
41 views

Linux red-hat + kernel patch update

I need to run the yum update on my Linux redHat machine during the yum update , I sow that yum perform some patch kernel update therefore I little worry to perform a reboot , because the patches of ...
1
vote
1answer
69 views

Remove the new kernel

I was working without any problem and one day the computer didn't start he said that there is a problem in the Xserver , so I connected to my computer through ssh and reinstalled xserver-xorg ,xserver-...
2
votes
1answer
40 views

Compiling a kernel on STLinux

I have recently accessed STMicroelectronics Base Distribution with BusyBox v1.18.2, built-in shell. I read all the information on STLinux documentary regarding my problems, and followed all the steps....
1
vote
1answer
114 views

Unable to boot after updating the kernel rhel 6.7

I am having a Red Hat 6.7 running on VM which I updated with the latest version kernel-2.6.32-573.26.1.el6.x86_64. but after this update I received the below error: kernel panic-not syncing: VFS: ...
2
votes
1answer
46 views

How do I run the Linux kernel?

I'm reading Robert Love's Linux Kernel Development in order to learn more about, well, Linux kernel development! But in Chapter 2: Getting Started with the Kernel, I'm instructed to download and ...
1
vote
0answers
73 views

Qualcomm Atheros AR298X not working with recent kernels

My wifi doesnt work. It used to when the kernel was 3.18 or less. If I have a kernel more than 4.1 it will not work. I would like to use ubuntu 16 and I don't want to downgrade the kernel. lspci | ...
0
votes
0answers
18 views

Kernel bug at at fs/dcache.c on XenServer

Yesterday on of our servers running Xen 6.5 restarted, in /var/log/messages I found following messages: Apr 29 11:52:59 server kernel: [7476681.051566] ------------[ cut here ]------------ Apr 29 11:...
1
vote
1answer
43 views

Dracut failure when trying to boot Fedora with Qubes kernel

I would like to boot Fedora 23 Workstation x86_64 with a kernel from QubesOS 3.1. I have copied vmlinuz-4.1.13-9.pvops.qubes.x86_64 and initramfs-4.1.13-9.pvops.qubes.x86_64.img into the /boot ...
0
votes
1answer
45 views

Designing a new Operation System

I want to design a new OS to learn more about how an OS works. This OS is only for educational purpose and I had a few doubts choosing its kernel. Is there any legal issue for using an Ubuntu kernel?...
5
votes
3answers
102 views

How filesystem atomically writes a block to disk?

Block is an abstraction provided by filesystem, block size is integer multiples of disk sector size. Suppose a filesystem uses 4K as its block size, and the disk sector size is 512B, when the ...
1
vote
0answers
27 views

Home directory does not mount on kernel update

My home directory will not mount on booting with new linux kernel. Previously, my home directory has been mounted automatically from a network device. I updated my kernel to 4.6.0 from the git ...
0
votes
0answers
28 views

How do I enable higher C-states on Xeon 1505m with Linux?

I am running a Lenovo ThinkPad P70 with a Xeon E3-1505M v5. Installed the 201604 Arch, most everything is running well, except power states. The kernel I'm using is 4.5.1-ARCH, but I've also tried 4.6 ...
0
votes
0answers
16 views

How do I compute the angle of the 2D 3 points ? [[ In kernel space]

I 'm looking at the touch driver 's Kennel. Sometimes a touch is bouncing County singah appear. Collected by recruiting three points 'm trying to calculate the angle between . But there is no such ...
2
votes
0answers
38 views

How to support 64-bit times on a 32-bit Linux platform

I need to support 64-bit times on a 32-bit ARM embedded Linux system based on kernel version 4.1. I use clock_gettime() and clock_settime() to get/set the time, but they are limited to 32-bit seconds ...
0
votes
0answers
35 views

Kernel problem after upgrading to 4.5.1

I updated my kernel from 3.19 to 4.5.1 (which is the latest ubuntu-based upgrade), and when I rebooted, I saw an alert: Alert! /dev/disk/by-uuid/xxxxxxxxxxxxxxxxxxx does not exist! where x's are ...
0
votes
0answers
16 views

ALG IPSEC and RSTP

I have linux 3.18. my Linux is installet on a router. in this router I activate a NAT from the wan side. Does this Linux support ALG of IPSEC and RSTP ?
0
votes
1answer
89 views

How to use the proper video driver on Scientific Linux 6 for Display Port screens?

I am working with (one of) my workstation(s) working under Scientific Linux 6, so, basically a quite old version of Red Hat Enterprise Linux. I would need to use 2 screens, but only have 2 DisplayPort ...
0
votes
0answers
20 views

Installing Wireless Adapter (GWU625 v1.1) On Modern Fedora OS

I am trying to install the driver to GWU625 v1.1. You can download it here for what it is worth. It is recommended for Fedora v10 but I want a to run an OS which is supported by the people who ...
0
votes
1answer
20 views

Are IPv6 link-local addresses assigned by the kernel or by a userspace program

When IPv6 is enabled for an interface, it will get a link-local address assigned automatically based on the MAC of the network interface. But who assigns this address? Is it done in the kernel, or by ...
0
votes
1answer
21 views

What is kernel Space and User space. [duplicate]

what is Kernel space ? i want to understand it and same with User space and what is the diff between them
1
vote
1answer
37 views

How to block drivers built-into Kernel, i.e. drivers who are not a module

I configured and compiled Linux kernel with nouveau driver built-into kernel, i.e. with <*> as opposed to <M> when doing make menuconfig inside Linux kernel source directory. Now, I ...
2
votes
0answers
98 views

How to compile custom kernel for Raspberry Pi

I'm trying to run the Ubuntu 14 Raspberry Pi ARM image in QEMU, and for that I need the kernel that matches the version used in the image. If I mount the image and run file vmlinuz I see: vmlinuz: ...
0
votes
2answers
52 views

How is redirection implemented?

Is redirection a concept of the shell, not of the OS kernel? How is redirection implemented in terms of system calls? Is redirection implemented similarly to pipe?
0
votes
3answers
43 views

Filesystem kernel API

Assuming that all filesystems are specific, how tools like ls, touch, cat, etc interacting with them? I suppose that 'ls' doesn't know specifics about btrfs for example, but it reads directory entries ...
0
votes
2answers
39 views

Cleaning swap space while running

I have a theoretical question, What would happen if I clean up all the swap space while running, Would the operating system crash because of page faults that would happen in the kernel?
0
votes
0answers
34 views

m2c : Command not found

I want to experiment on DCTCP protocol. For that I am trying to compile linux kernel version 3.2.18 and include a dctcp patch for that. I am following the directions given here. While I am compiling ...
4
votes
1answer
104 views

Error on enabled probe: syscall::open_nocancel:entry): invalid user access in action #2 at DIF

I've the following one-liner to show files opened by process: sudo dtrace -n 'syscall::open*:entry { printf("%s %s",execname,copyinstr(arg0)); }' however I've plenty of repeated errors such as: ...
0
votes
0answers
30 views

minimum time between two consecutive UDP packets

I am interested in developing a C application which sends UDP packets with minimum delay between two consecutive packets. Is it possible to "book" the UDP stack with the NIC hardware from user space ...
2
votes
2answers
140 views

Change Wireless adapter driver in Linux

I am using openSUSE Tumbleweed. I've bought a new PCI-E Wireless card, that supports 5G WiFi (Intel 5100 AGN). It doesn't show up in lspci and even if I take old adapter out it still cannot see my ...
2
votes
0answers
52 views

Linux usb-drive write cache

Is there any way to change the way the Linux kernel handles external storage and the external storage cache? Every time I copy something to it, the copy process seen from userspace seems really fast. ...
0
votes
0answers
10 views

it terms of terminology is there an accepted difference between a kernel agent and a kernel module or a kernel driver?

In terms of terminology is there an accepted difference between the concept of a kernel agent, kernel module, or a kernel driver?
1
vote
0answers
47 views

Userspace Network Stack

I am writing a (very simple) userland IP network stack. For this purpose, I need to go "around" the OS network stack and obtain the raw Ethernet frames. The tap interface sounds like a way to go, but ...
0
votes
0answers
106 views

dracut-initqueue: Could not boot, /dev/disk/by-uuid does not exist

I've just installed second linux kernel on my machine and after the boot, I'm getting following error: dracut-initqueue: Could not boot [Warning] /dev/disk/by-uuid/943eb4bb-be3f-4252-83e9-...
1
vote
0answers
18 views

How to verify NX usage in Linux kernel?

I'd like to verify that the current system is using NX bit protection somehow. I know that this can be done by checking the initial lines in the dmesg output. But that's a rolling buffer, so I'm not ...
1
vote
0answers
26 views

How to uninstall linux kernel?

I was building linux kernel from git master for ubuntu all day, I was not able to build packages, so I just ran sudo make module_install install. How to remove it? Makefile doesn't provide make ...
2
votes
1answer
104 views

How does a bootloader actually hand off to a kernel?

Assume I have a bootloader with a kernel and initrd line. For all intents and purposes, I now have 2 or 3 stages of "kernel" going on: firmware grub (or other bootloader) actual linux kernel The ...
3
votes
1answer
55 views

How to simulate GPU hardware failure?

I'm doing some research that has to do with GPGPU resilience with NVIDIA graphics cards and I've been looking for a way to, as accurately as possible, simulate hardware failure. I know about ...