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

learn more… | top users | synonyms

0
votes
0answers
23 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
11 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 ...
1
vote
1answer
15 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
37 views

How to Recompiling the Kali Linux Kernel ( real tutorial 4/2016 )? [closed]

I was follow this tutorial : http://docs.kali.org/development/recompiling-the-kali-linux-kernel , and it not helpful . Basicl I finish in this step: http://imgur.com/a/3AuHs . But in step Configure ...
0
votes
0answers
24 views

What is the correct approach to update linux kernel? [closed]

Currently I use Ubuntu 14.04, 4.0.0-040000-generic. Hardware: intel i3-6100, motherboard asus b150m-c, video card AMD R7850. I've got an issue with Xorg, which led me to updating video drivers, whose ...
0
votes
1answer
44 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 ...
5
votes
3answers
60 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
20 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
17 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
15 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
19 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
14 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
10 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
38 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
14 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 ...
-1
votes
0answers
18 views

Centos kernel-devel 4.x kernel

I'm under directive to use Centos with kernel 4.x due to a customer requirement I updated my Centos kernel to 4.5..., Now when I try to build my kernel driver I get an error saying build is not ...
0
votes
1answer
15 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
13 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
27 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 ...
-1
votes
0answers
61 views

Debian Wheezy VirtualBox error: Kernel driver not installed

Installed virtualbox on wheezy via apt, while I try to launch my VM a message error appears: The virtual machine 'Windows 7' has terminated unexpectedly during startup with exit code 1 (0x1)." ...
2
votes
0answers
29 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
42 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
36 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
38 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
22 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 ...
2
votes
1answer
28 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
27 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
76 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
30 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
24 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
27 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] ...
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
22 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 ...
0
votes
0answers
3 views

dma_free_coherent doesn't work for a large array - Kernel module [migrated]

I am trying to allocate an array of 0x40000 bytes (256kB) for dma purpose with dma_alloc_coherent in a driver (so in kernel space). I allocate this array inside the probe function and I free it with ...
2
votes
1answer
62 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
45 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 ...
1
vote
0answers
29 views

How to know when I could reactivate HWP (Hardware PStates)

I have a x1 carbon 4gen, and my computer hangs during boot on "HWP enabled" message. For now the solution is to disable HWP (Hardware PStates) with the option intel_pstate=no_hwp on boot. There is a ...
0
votes
0answers
12 views

Kernel make install error for RTAI 3.8 on CentOS 6.5

Before posting I have read almost every similar post I could find on this and other websites but I haven't found an useful answer. I have to install a custom software that needs RTAI 3.8 on top of ...
0
votes
1answer
24 views

is there a description for kernel messages?

I use dmesg to output kernel messages, but since I'm new to linux I have no idea what this informations mean. Is there a good tutorial or description so I can understand the messages. for example: ...
0
votes
0answers
15 views

Mouse button stops working intermittently

I have noticed that I'm not the only one with mouse button problems. This problem seems to affect multiple users on many different Linux versions regardless of Desktop versions (at least in Unity ...
1
vote
0answers
24 views

How to trace the life cycle of kernel threads by following creation and switching?

How to trace the life cycle of kernel threads by following creation and switching ? kernel_thread() and schedule() are the 2 functions I know that but have no idea how to implement it..
0
votes
2answers
104 views

Why can't I find kernel headers on CentOS 7 when trying to install VirtualBox Guest Additions?

I have a minimal CentOS 7 installation as a VirtualBox 5.0.16 r105871 guest on a Windows 8.1 host. uname -r reports "3.10.0-327.10.1.el7.x86_64". When I try to run VBoxLinuxAdditions.run I get an ...
0
votes
0answers
11 views

Difference between symlimk and link? [duplicate]

What is the difference between a "symlink" and a "link".
0
votes
1answer
37 views

What step am I missing to get my 2.6 ARM kernel running in QEMU?

I am trying to cross-compile and boot a Linux 2.6 kernel for ARM using QEMU. I have basically followed the same instructions that are included in seemingly every single tutorial on the topic. ...
0
votes
0answers
9 views

Raspbian Kernel Oops at fs/dcache.c

We have a Raspberry Pi 2 running Raspbian 8 Jessie. We are running a simple Python 3 based Flask server to read from GPIO pins and toggle a relay (Externally powered). This system is polled every ...
0
votes
0answers
18 views

Ubuntu upgrades blocked due to insufficient disk space for linux-image [duplicate]

I am running Ubuntu Server 14.04 LTS on a desktop at my home that I was intending to turn into a server, but I never really did much on it. I then decided to turn it into a send-only SMPT server, but ...
0
votes
0answers
15 views

GMA500 video chip uses mode that monitor can't sync to (even text mode)

I have a new CentOS7 installation which starts fine (I see the Grub2 menu). If I disable RHGB I can even watch bootup to a point - then all video disappears. The OS is booting to runlevel 1 (text ...
0
votes
2answers
108 views

Why can't I run android apps on generic linux? [closed]

I know about projects like archon, and various emulators exist, but it seems strange that I can run windows programs but not android programs under a stock linux kernel.
2
votes
2answers
42 views

How to get the absolute position (x, y coordinates) of a finger on a touchpad?

Main question: How to get the absolute finger position on the touchpad? I would like to get the absolute position (x, y coordinates) of a finger on a touchpad? I believe it is possible to extract it ...