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

learn more… | top users | synonyms

2
votes
2answers
115 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
39 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
30 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
56 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
23 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
81 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
51 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
39 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
19 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
25 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
18 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
27 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
163 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
50 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
11 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
23 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
123 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
65 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 ...
0
votes
0answers
24 views

Dynamic mdev ifup and ifdown of network interface

Is it possible to have an mdev.conf rule that would run ifup on device creation and ifdown on detach? i.e. eth[0-9] root:root 660 @ifup $MDEV | $ifdown $MDEV
-1
votes
1answer
91 views

How to install kernel 4.4 on debian testing?

Hello can someone tell me how to install kernel 4.4 on current debian testing ? I have a bug that might be solved by the kernel 4.4 so I want to give it a shot but can't find the name of the package ...
3
votes
0answers
114 views

How to interpret perf -e cache-misses:pp?

I find the behavior of perf top -e cache-misses:pp -p <my_pid> quite confusing. I own an Intel i5-3230M, running kernel 4.4.5 64 bit. If I just run that commmand, I get basically no samples ...
3
votes
2answers
43 views

How can I activate extra-verbose mode (debugging mode) during Debian boot?

How do I activate extra verbosity during boot, on Debian? I removed the quiet parameter and tried to add debug but it didn't help. My problem is that my keyboard takes 2-3 min to activate so it ...
0
votes
0answers
38 views

Kernel panic dump analisys

We got a kernel panic today and I think that one scsi device caused it. Can you help me to interpret this output? What does <<EOE>> mean? <0>Kernel panic - not syncing: Watchdog ...
1
vote
0answers
35 views

Build custom EDID with several modelines

I would like to build custom EDID using kernel sources. But I need to use several modelines - more refresh rates for same resolution. Is it possible using method in kernel sources? Could you please ...
2
votes
1answer
32 views

How to map Linux hard drive identifiers like “sd 3:0:0:0:” to ones like “ata8:”? [duplicate]

In my kernel log, I can see entries like: [ 0.765510] sd 3:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB) and when something fails, it's usually something like: [ ...
0
votes
1answer
10 views

Add symbols of LKM to kernel

I am trying to get my android kernel working but I have a kernel module that is needed in order to get access to the file system of the device. Unfortunately there is no source code available so there ...
1
vote
2answers
122 views

How to make a minimal bootable linux (only with terminal) from kernel source code? [duplicate]

I want to make a very minimal linux os which only have a terminal interface and basic commands/applications (busybox is my choice for commands/apps). I don't want the installation option on my os. I ...
1
vote
2answers
47 views

What 4.2 Kernel Optimizations could I make to speed up CR48 netbook?

I have a CR48, had one for years. Love the little grimlin, but it is still a single core machine with the chances of upgrading the processor being slim and none (Even then what looks to be the best ...
1
vote
0answers
67 views

Error installing kernel from source!

I compiled the latest Linux Kernel (4.5.x) from Linus's git tree. The Kernel compiled perfectly with no errors. After compiling the kernel I installed the modules using sudo make modules_install. That ...
1
vote
1answer
52 views

How to spoof uname -rs per process

My ubuntu server returns Linux 3.13.0-63-generic when I run uname -rs. From what I found in internet, uname is also a system call which can't be easily overridden when third party program run this ...
1
vote
1answer
86 views

How to Downgrade CentOS 7.2 to 7.1 on Linode?

I can change Kernel on Linode Manager page, but I don't know how to Downgrade CentOS 7.2 to 7.1
0
votes
0answers
17 views

ip_local_port_range kernel parameter confusion

On my system we have following setting: [root@voip ~]# cat /proc/sys/net/ipv4/ip_local_port_range 32768 61000 We have asterisk running on it which is using RTP port range 12000-13000 in case we ...
1
vote
1answer
36 views

Wacom Tablet (integrated; X201T) disconnects sporadically

I have an X201 tablet with stylus and finger multitouch running Ubuntu 14.04.4 with the 4.2.0 kernel. For no apparent reason, it seems to have an affinity for not recognizing finger (henceforth ...
2
votes
3answers
35 views

Updating kernel but not packages

I need to update the kernel from version 2.6.30 to 2.6.37. I'm going to just compile the kernel and kernel modules for this architecture and boot it. But also there are a lot of packages installed, ...
0
votes
1answer
47 views

What part of TTY subsystem control the active /dev/ttyN (TTY device driver N)? [closed]

TTY subsystem contains TTY driver, line discipline and hardware drivers (keyboard driver, display driver). Let's say I use a virtual terminal/console. So, my current session uses /dev/tty1 (TTY driver ...
0
votes
0answers
25 views

bash's pseudo terminal master [duplicate]

I learn when we use pts, there is master of pts. Then, when we type the characters on the pts(which is the terminal of bash), not only the output of bash goes to pts but also its master? I confirm ...
1
vote
1answer
40 views

Cannot compile a linux kernel for an ARM board [closed]

I am trying to compile a linux kernel (2.6.32.70) for an ARM board (versatilepb), it is my first steps in embedded linux. At the end of the compilation, two compressed kernel images are generated ...
22
votes
4answers
1k views

What exactly happens when I execute a file in my shell?

So, I thought I had a good understanding of this, but just ran a test (in response to a conversation where I disagreed with someone) and found that my understanding is flawed... In as much detail as ...
0
votes
0answers
35 views

Help debugging a kernel oops

My system has been freezing up for a while, and I keep seeing this particular kernel oops: syslog. Xorg.log Here's another similar crash from a few months ago. syslog Can you help me debug this? How ...
0
votes
1answer
29 views

Loop device support on self compiled kernel doesn't work

I compiled 3.10 kernel, I checked that these configuration lines are not commented CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_LOOP_MIN_COUNT=8 When i'm trying to mount loop device I get this error # ...
0
votes
0answers
54 views

Kconfig (bool/def_bool/tristate)

In a Kconfig file, what are the differences between : bool def_bool tristate Thank you.
0
votes
0answers
26 views

perl script stall nanosleep() call in strace output

I have perl base SIP client which calling for SIP REGISTRATION process but i am seeing it stall for 10 second at nanosleep() call send(4, "REGISTER sip:sip.example.com S"..., 513, 0) = 513 select(8, ...
0
votes
2answers
43 views

CPU: 13 PID: 15452 Comm: ssd_blk/0 Tainted: G B I E 3.19.0+ #1

I developed a module which works as an emulator for a block device. When I write into the block device, I get this in dmesg and the module crashes. I cannot get any hint about what is going on? ...
0
votes
1answer
31 views

How do I know which File Systems my linux supports? [duplicate]

I am working with linux 3.19.0+ and I want to know if my linux kernel supports f2fs (Flash-Friendly File System). How do I know that?
3
votes
0answers
29 views

How to switch static drivers like switching kernel module drivers?

I have a linux embedded device that I need to switch between USB file storage gadget driver and USB Ethernet gadget driver at runtime. The approach I use now is to build both drivers into kernel ...
2
votes
2answers
51 views

How can strace monitor itself?

I have a Hypothetical Situation. (1) Let us say we have two strace Processes S1 & S2, which are simply monitoring each other. How can this be possible ? Well, in the command-line options for ...