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

learn more… | top users | synonyms

1
vote
1answer
90 views

No space left to free up on rootfs partition to upgrade kernel

I want to upgrade Linux kernel from 3.16 to 4.3. Unfortunately when I run aptitude install linux-image-4.3.0-1-amd64 installation fails due to no space on rootfs partition. 117MB left, 174MB needed. ...
0
votes
0answers
10 views

How can I find the module responsible for interaction with keyboard [duplicate]

I have a laptop and want to be able to turn off keyboard for a while. I use this code: modprobe -r usbhid sleep 10 modprobe usbhid But as my keyboard is not usb, and it only blocks mouse. How can I ...
2
votes
1answer
82 views

Can a bootable NetBSD be built on OSX?

I've got OSX 10.9.5 . I want to build NetBSD (or at least it's kernel) on my OSX box. I've tried building the 'config' program but I can't find 'build.sh'. Is this possible and what would be the steps ...
0
votes
2answers
88 views

In Debian Jessie, make allnoconfig and make allyesconfig generate the same .config file

In debian jessie, I've installed the linux source with: sudo apt-get install linux-source I obtain a file /usr/src/linux-source-3.16.tar.xz, I copy it under my home directory, change the ownership ...
1
vote
0answers
59 views

Shared IRQs not operating properly

I'm having problems trying to make use of four out of six serial ports on my motherboard. The situation is: I have 6 serial ports available - ttyS0 to ttyS5 - of which 0 is a RS232 port on the edge ...
0
votes
1answer
41 views

What is the information present inside a kernel core dump

I am running CentOS 6. The system got a Kernel Panic and rebooted. I have enabled coredump generation, hence it generated a Kernel Core Dump of Size 300MB. What is the information that got ...
3
votes
1answer
50 views

FreeBSD: How can I install kernel sources for 10.2-STABLE version?

Lots of articles and posts on internet tell how to install the kernel sources for FreeBSD x-RELEASE versions, but none of them for X-STABLE. For example, my FreeBSD version is 10.2-STABLE. How can ...
0
votes
0answers
67 views

Arch linux kernel upgrade from repositories

About two months ago I build a kernel (4.2.6-ARCH) from source according to this page, this is my current kernel version, the problem comes when I try to upgrade from the repositories, actually I did ...
0
votes
1answer
76 views

What is the difference between micro-kernel and monolithic-kernel? [duplicate]

I heard that Unix/Linux is a monolithic-kernel whereas Hurd is micro-kernel. So, I want to know what is the difference between these kernel type?
4
votes
1answer
98 views

Loading WiFi driver results in the whole system becoming unstable. How to debug?

I am not a linux kernel expert, but I got this new laptop and it's WiFi(RT3290LE) is not working. I tried solutions from various sources and they are not working. So it is upto me to solve it, and I ...
0
votes
0answers
148 views

CentOS update from 7.1 to 7.2 with 2.6 OpenVZ kernel?

We are using CentOS 7.1: $ cat /etc/redhat-release CentOS Linux release 7.1.1503 (Core) We deferred the 7.2 upgrade. It looks like it did not cause any problems so we are planning an upgrade. The ...
0
votes
2answers
31 views

prevent from writing to a large continuous section of virtual memory [closed]

How can an operating system kernel efficiently prevent a user process from writing to a large continuous section of virtual memory?
1
vote
0answers
28 views

Identifying disk drives during RHEL/CentOS/Fedora Installation

What steps are followed in order to identify a connected disk drive during Linux installation ? I am interested RHEL/CentOS/Fedora procedures. Is it entirely depends on the Kernel package and drivers ...
1
vote
4answers
233 views

Kernel panic after Gentoo install — cannot open root device

I have a Debian system on /dev/sda1 (/) and /dev/sda2 (extended, /dev/sda5 is /home, /dev/sda6 is swap). I want to install Gentoo in parallel, so I shrinked sda2 and created /dev/sda3, in which I ...
0
votes
0answers
81 views

Unable to setup TL-WN722N or Unable to install/complete headers

I would like to set up the tl-wn722b WLAN Adapter. I have a Kali Linux version for a Raspberry Pi. I tried to follow this tutorial: ...
0
votes
0answers
40 views

How does GUI works different from the shell CLI?

For example if I want to remove a file I would write rm command in my shell CLI. But when I delete a file using GUI how does the process works ? For shell it would find the filesystem for rm program ...
1
vote
1answer
694 views

“rcu_preempt detected stalls on CPUs / tasks” message appears to continue

My board continues to display the message below. The terminal does not have any input. What is it with the following message, which I know? (T, g, c, q ...) What is the cause of this phenomenon? ...
1
vote
2answers
792 views

Linux Kernel - Wacom Tablet (CTL-490DW-S) - Lockout

I'm a bit of a beginner with Linux and after trying to fix this over the last few days I've finally given up and need your help. I'm trying to use my new Wacom (CTL-490DW-S (Intuos DRAW)) drawing ...
0
votes
2answers
98 views

Copy the Linux kernel config file to another distribution

I am installing new Linux distro (gentoo) and I want to copy the linux kernel config I have here in the linux mint live USB to the Gentoo system. The way Mint has the kernel config file is ...
0
votes
0answers
39 views

Problem with xv6 on qemu

I was doing the assignment on this link --> http://zoo.cs.yale.edu/classes/cs422/2013/lec/l2-hw After running make qemu the assignment document says A separate window should appear ...
3
votes
1answer
162 views

change size of devtmpfs /dev/

My new kernel has CONFIG_DEVTMPFS enabled, and thus my /dev is mounted as devtmpfs. My old kernel was not using CONFIG_DEVTMPFS, and /dev used to be mounted as plain tmpfs. Now I have noticed, the ...
1
vote
1answer
234 views

cannot read key “net.ipv6.conf.all.stable_secret” in sysctl?

I am running kernel version as followings on an Arch Linux computer: [root@router ~ ]$ uname -a Linux router 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 and I noticed that every time ...
3
votes
2answers
222 views

No /dev/mmcblk0 during boot

I am trying to install CentOS-6 on an eMMC drive. Since the supported 2.6.xx kernel from CentOS-6 doesn't support mmc, I compiled a newer kernel (4.2.6) which has updated mmc drivers. I tried booting ...
4
votes
1answer
107 views

Different Debian versions from two different commands

This might be silly, but I'm new to Linux. I wanted to check my current Debian version so I typed uname -a and it gave me some stuff including Debian 3.2.73. But Then I found this command cat ...
1
vote
1answer
53 views

How to enable auto upgrade of kernel-devel package when kernel version is upgraded?

I have a USB wireless adapter for which I need to re-install a kernel module every time the kernel gets upgraded to a new version. But for installing this kernel module again, I need to download and ...
1
vote
0answers
169 views

Error while building Linux kernel for versatile board

I'm trying to build the 2.6.32.69 version of Linux Kernel for versatile board but I got this error during the build step init/mounts.o: In function `tty_port_users': ...
4
votes
1answer
191 views

How the terminal can run programs and show its output? [closed]

I'm slowly creating a mental model of how linux works, and I've tried to simplify the most, my model of how linux works. Let's assume that the kernel boots and inits the only software it's gonna run: ...
1
vote
0answers
35 views

My SLES 11 uses 6 GB RAM while nothing is running. How can I find out what is needing it? [closed]

Can anybody tell me what is consuming that much memory on my SLES 11 SP3 server? I suspect a serious bug in the kernel that it does not release memory allocated by an application once it quits. This ...
0
votes
0answers
44 views

vmlinuz damaged

Hello everyone I am new here. I recently purchased Ubuntu 14.04 LTS DVD from a retailer store. Then I burned the iso into my pendrive and configured the file isolinux.cfg. The file was alright. ...
2
votes
1answer
74 views

Change the parameters a kernel module loads with

When I plug in an SD card in Ubuntu, the module mmc_block loads with the value of mmcblk.perdev_minors set to 8. I am pretty sure this is the default value coded into the module. What file might I ...
1
vote
0answers
93 views

new kernel compile - error on bootup - Could not find overlay

I was compiling the kernel using slackware-current, the latest version of the kernel, 4.3.3, also tried 4.4-rc5, and ran into this error on bootup Could not find overlay #6 ### dt-test ### of ...
2
votes
1answer
68 views

Create serial console on plug in USB serial device

I have a CentOS 7 headless system with no serial ports. I sometimes want to access the server using a serial cable, so I plug in a USB serial cable (to my laptop's serial port) but I can't get a ...
1
vote
1answer
50 views

how do i know if the kernel changed

i have a scenario where i need to recompile my display drivers after kernel updates. i'm trying to shome how automate it with bash scripts during boot time. so i need some sort of a way to know that ...
2
votes
0answers
795 views

Xorg on skylake graphics hangs

I've bought msi gs40 that has intel i7 6700HQ which means integrated graphics hd 530. After a day of struggling I was able to start xorg with HD530. For this I addes i915 to initramfs and ...
0
votes
0answers
122 views

How can I upgrade my debian kernel to 4.3.2?

I am experiencing wireless stability issues and I'd like to upgrade my debian kernel So I'd like to know how can I upgrade my current kernel to the latest stable kernel on kernel.org ? (4.3.2)
1
vote
1answer
1k views

How can Linux 4.2.5 boot on a Skylake CPU when they are supported from 4.3+

I bought a Dell XPS 13 2016 with a i7-6500u (SkyLake). This notebook is not officially linux-supported but I found a few articles on how to get it up and running. But I cannot find an answer to this ...
3
votes
1answer
111 views

How can Wireshark see packets dropped by iptables?

I recently installed my hard drive in a new computer and after some fiddling around I noticed my iptables rules were dropping DNS responses for some reason, turns out they were configured to allow ...
1
vote
0answers
50 views

QT application doesn't receive udp broadcast since linux kernel 3.13.0-70

I'm developing a QT application on Ubuntu and suddenly had problems because QT app doesn't receive UDP broadcast messages. They are visible in Wireshark on that machine, but never received in QT. ...
1
vote
0answers
34 views

Bridging two interfaces with iproute2 doesn't work

I'm trying to create a bridge between eth0 and eth1 with iproute2, but there's always the error: RTNETLINK answers: Operation not supported when I use the command:ip link add name br0 type bridge. ...
1
vote
1answer
58 views

After my system crashed and I run crash, but I get the following error: not a supported file format

My system crashed and even though I haven't been able to know what caused the crash after going through the usual logs: messages, dmesg, secure, etc. There's nothing valuable I have seen on them so I ...
1
vote
0answers
261 views

ip link add gives me an error that it's not supported

I would like to set up a bridge with iproute2 like this: Adding bridge : ip link add name br0 type bridge Bringing bridge UP : ip link set dev br0 up Adding interface to bridge : ip link set dev eth1 ...
0
votes
0answers
52 views

Having a bad time installing Ubuntu

So, I recently upgraded my motherboard and processor. Windows was a real pain to me so I decided to go with Ubuntu. However, I ran into more than a few problems with my installation: When I tried ...
1
vote
1answer
94 views

DKMS modules never installed properly on kernel upgrade

I have multiple DKMS modules installed on my system, some of them mine, and some of them belonging to pretty major maintained packages such as Oracle's VirtualBox 5. What I've found is that on every ...
1
vote
0answers
54 views

Ubuntu DMA Auto Activate Optimization Flag

I have two NAS devices, which differ in architecture. They are connected to the same SATA disks and one of them shows better read and write performances. Okay, there could be many reasons for such ...
0
votes
2answers
132 views

Install Debian kernel header files 3.4.90+ via terminal for ARMHF

I am trying to install the kernel header files on Debian via the terminal, but it does not seem to exist in apt-get. The reason I need the kernel header files is because I need to install WiFi ...
2
votes
0answers
28 views

Assign virtual core number to specific real core

Is there any way to assign ''linux core numbers'' to specific real cores? I'm working with an asymmetric architecture, so not all cores are the same, and I want to assign specific cores number to ...
1
vote
1answer
165 views

building kernel cause dependency cycle error

I was trying to compile latest kernel with some edits. while doing sudo make modules_install INSTALL virt/lib/irqbypass.ko DEPMOD 4.4.0-rc1+ depmod: WARNING: found 2 modules in dependency ...
1
vote
0answers
18 views

What can interrupt execution of threads which are pinned to cores?

I do low-latency application development and I use isocpu and set thread affinity to reduce (eliminate?) context switching during my critical threads. However, I am unsure what other types of ...
0
votes
1answer
80 views

View current kernel parameters?

I saw in my syslog kernel.perf_event_max_sample_rate get changed. I was wondering if I could write a quick script to log this variable every few minutes. Currently it is: sysctl -a | grep ...
1
vote
1answer
87 views

Why are there module options AND driver options - e.g. for the i915 module?

The i915 Kernel module has several "module options" like the infamous enable_rc6. However, for the xorg config file, there are further options such as TearFree. I was wondering - why are there two ...