The kernel of operating systems popularly known as Linux, or sometimes GNU/Linux.

learn more… | top users | synonyms

0
votes
1answer
18 views

iptables REJECT icmp-admin-prohibited

The iptables man page says: Using icmp-admin-prohibited with kernels that do not support it will result in a plain DROP instead of REJECT I have been unsuccessful at finding out at which kernel ...
0
votes
0answers
30 views

Linux kernel root= parameter

I'm trying to make a portable distro of linux on a 16MB SD card. I have a 2.4 kernel and extlinux as a bootloader. How can I pass the root= parameter to the kernel that the distro would be still ...
0
votes
0answers
28 views

Intermediate programmer seeks comprehensible info on which blobs are included in the Linux kernel, 4.2

I am specifically asking about the kernel included in Ubuntu 15.10 and my technical skills are meek-I can code in C, make system calls, use XCB. I barely know make, don't comprehend GIT. I cannot ...
1
vote
0answers
20 views

How to let kernel not run the printk with KERN_DEBUG

I noticed that kernel has different console levels for the printk. I also noticed this post [1]. I understand that we can change the /proc/sys/kernel/printk to change the printk level for the ...
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..
2
votes
0answers
20 views

Cannot create 16-bit LDT segments on kernel 3.8.11

Running Crossover, I get the warning, Your system does not allow creation of 16-bit LDT segments. I am aware that this was a problem around kernel 3.1.x, but I am on 3.8.11. Also, the fix suggested in ...
2
votes
2answers
41 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
27 views

what exactly is the role of device driver in the bluetooth stack (bluez or bluedroid)

I have a bluetooth USB dongle and I wish to get a grasp of what the USB device driver that will be assigned to the bluetooth USB dongle will do and which part of the bluetooth stack it will cover. I ...
0
votes
0answers
45 views

using cpu.cfs_quota_us and cpu.cfs_period_us to limit CPU usage

There are 32 cores in a system (2 cpus each 16 cores) and I want to limit a user to use only 4 cores (100% usage for that 4 cores). There are two kernel parameter for that according to the manuals: ...
0
votes
0answers
20 views

How to call a device's power management methods in another way than during suspend to ram?

Let us consider the e1000e driver for an Ethernet card. This driver provide two power management methods .suspend and .resume to respectively turn off and turn on the card. Those methods are naturally ...
0
votes
0answers
35 views

Virtual serial ports /dev/pts

I'm trying to create virtual ports using GSM cmux. It creates virtual ports in /dev/chn 1 2 & 3. Which is linked to /dev/pts 0 1 & 2. But when I list dev directory there is no pts folder and ...
1
vote
1answer
73 views

Why do the Linux kernel headers contain references to nonexistent headers?

I'm trying to build IBCS (source here) on Ubuntu 15.10 (Linux 4.2.35). This module is obviously pretty old, because its CONFIG.i386 file gives gcc an option -m486, which doesn't exist anymore, but ...
4
votes
3answers
263 views

Do tmpfs and devtmpfs share the same memory region?

My system disk usage is like this: # df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/rhel-root 50G 39G 12G 77% / devtmpfs 5.8G 0 5.8G 0% /dev ...
2
votes
1answer
27 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: [ ...
3
votes
1answer
111 views

Unable to compile Linux kernel

I am trying to upgrade my kernel to 4.5 in Linux Mint 17.3, but I get the following error: Makefile:666: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler ...
9
votes
1answer
152 views

What program(s) is(are) lowering my entropy pool level?

I've made a simple bash script that checks the entropy pool level in /dev/random. I realize that the way I do it, I lower it very slightly at each check (cat /proc/sys/kernel/random/entropy_avail) but ...
1
vote
0answers
23 views

Unable to establish PPP on USB dongle?

I have USB Dongle and i am willing to setup ppp through the dongle. I have done following steps to setup ppp. 1.When i plugged the dongle into Ubuntu 14.04. It has been detected as the Mass ...
2
votes
1answer
34 views

Difference between architecture and platform in linux kernel

I want to know the difference between architecture and platform in Linux kernel. When I had downloaded the latest kernel tarball, observed that a directory named with arch, it contains different names ...
9
votes
3answers
715 views

How to reduce the size of the initrd when compiling your kernel?

When I compile my own kernel, basically what I do is the following: I download the sources from www.kernel.org and uncompress it. I copy my previous .config to the sources and do a make menuconfig ...
1
vote
0answers
21 views

Selinux inode security struct allocation

i'm trying to understand allocation of inode_security_struct in Selinux. I looked for a source code of selinux and there is only one allocation of this struct on line 230 in hooks.c file. This ...
1
vote
1answer
33 views

mkdir under /cgroup creates files along with directories

All this while I have been thinking that mkdir can only create directories. But I am surprised to see that it was able to create files also under some conditions. I recently started working with ...
0
votes
0answers
22 views

How to recover content of the file in unix? [duplicate]

I accidentally gave cat >filename instead of cat filename and my content is lost.Now I have only my file,but content is deleted.How to recover the content alone? Please help me to get back the ...
0
votes
1answer
47 views

How to create /usr/src/linux-headers-{version} files

I am trying to compile a custom kernel for Nvidia's Jetson TK1 board, and it seems that as well as the kernel itself (zImage) I will need /usr/src/linux-headers-{version} and /lib/modules/{version}. ...
0
votes
2answers
50 views

How can I crash the kernel?

I was writing a system call, done that and its working correctly. but I'm now looking for a way to crash the kernel somehow, and when does the kernel actually crash? I managed to put some pieces of ...
0
votes
0answers
26 views

Linux: Voltage and current regulator framework

When configuring the new 4.5 kernel, several questions arose regarding the "Linux voltage and current regulator framework". Of course I read the config help text and have a clue about what it does, ...
0
votes
0answers
85 views

In 4.4.0-kali1-amd64 all application are installed without errors ,but when i double click on the installed one,No response from the Icon at all.

The application that I installed on my Kali rolling are Google Chrome Banshee FlashPeak Slimjet Wine Everyone are installed,These are the steps that I followed while installing Google chrome ...
3
votes
0answers
35 views

What process state(s) is counted into cpu time?

Two observations of mine (correct me if wrong): In the output of time for timing a process, 'User' and 'Sys' come from wait (2) or times (2), depending on the particular system. In Linux ...
0
votes
0answers
54 views

Linux kernel 4.3 has issue with GPU/graphics hardware

I updated to linux kernel 4.3 on Debian Jessie via backports, i.e. apt-get -t jessie-backports install linux-image-686-pae on my 32Bit laptop with physical address extension and now, after booting, ...
0
votes
0answers
14 views

qemu - linux kernel doesn't recognize the supplied disk image

I'm trying to run Linux kernel on qemu from scratch. I've started working on a minimal configured kernel (after running make allnoconfig) and trying to configure only the things needed. So I have an ...
4
votes
1answer
72 views

Silent disk errors and reliability of Linux swap

My understanding is that hard drives and SSDs implement some basic error correction inside the drive, and most RAID configurations e.g. mdadm will depend on this to decide when a drive has failed to ...
0
votes
1answer
20 views

Where is the kernel source for a cross-complied kernel rpi

I have cross-compiled and installed the Linux kernel with the real-time patch, version 3.18.16-rt13-v7+, on a raspberrypi but then I can't find the current kernel source in /usr/src. Then I tried the ...
1
vote
1answer
38 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 ...
0
votes
0answers
55 views

No data or clock on BeagleBone Green SPIDEV0

I've recently upgraded to the 26-02-16 Beaglebone Black/Green Debian image (Kernel 4.1.18) on a BeagleBone Green, and am trying to get SPI0 working like it was when I was back on kernel 3.8. I've ...
0
votes
0answers
31 views

CJDNS `Network is unreachable`

I'm not shure if this question belongs here, but anyway. I was trying to run cjdns on my android phone (OnePlus One runnig CyanogenMod 13) (actually tried on several devices), but it ain't working. It ...
2
votes
3answers
156 views

How does Linux kernel find out which process to wake up during interrupt handling?

I was reading the book Linux Kernel Development on Chapter Process Scheduling. On Page 61, section Waking Up, the first paragraph reads: Waking is handled via wake_up(), which wakes up all the ...
0
votes
1answer
29 views

What is a kernel-source-tree?

What is the Linux kernel source tree? What does it contain and what is its purpose? I'm trying to build an external module and the tutorial I'm using says to make sure that a kernel source tree is ...
1
vote
1answer
29 views

SATA ssd drives

I have a question regarding the support for SATA ssd drives in the Linux Kernel. I read on the internet that one should enable PCI support for proper usage of the sata drives. Could someone please ...
0
votes
0answers
8 views

How “ata_for_each_link” and “ata_for_each_dev” macros works in linux kernel?

I am trying to understanding the SATA device enumeration sequence from the ata_piix.c Host controller driver which resides at /driver/ata/ata_piix.c in linux kernel. During understanding the flow,a ...
1
vote
0answers
66 views

Netlink access inside a network namespace

I'm trying set up an IPsec gateway (strongSwan) on a Raspberry Pi 2. The Pi was already providing a number of services on the LAN using a private IP address. My initial attempt to turn it into an ...
0
votes
2answers
34 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
42 views

How to change Linux kernel version

I have downloaded and unzipped the Linux Kernel. What file(s) in kernel source file(s) are responsible for displaying Version string in uname ? I want set version to 10, without dots 10.0.5 # uname ...
0
votes
0answers
33 views

Would a process with the higest nice value use only *free* CPU time

I want to be sure that a scheduled job, mostly using gzip, will not impact the production. This is an old Linux server with few CPU, it has SAN attachment so the gzip is running at its maximum using ...
0
votes
1answer
36 views

Scratches on the screen (GMA 3600) and wifi is not detected (rtl8192ce) - Debian Stretch kernel 3.2

I'm having trouble in a notebook with debian, but for the avoidance of doubt guess I better tell the story of his free-software life (if you do not want to read, jump to problems) It is a CCE Win ...
3
votes
0answers
27 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 ...
0
votes
1answer
36 views

How does one establish SIGRTMIN at run-time?

Reading up on signal(7) I can see that now: two, but once: three; signal numbers past 31 are reserved for use by the Real-time signal system and should not be used: Real-time Signals Linux ...
1
vote
1answer
56 views

Are kernel threads processes and daemons?

From Mauerer's Linux Kernel Architecture, Kernel threads are processes started directly by the kernel itself. They delegate a kernel function to a separate process and execute it there in ...
5
votes
0answers
49 views

md raid5: translate md internal sector numbers to offsets

TL;DR summary: Translate an md sector number into offsets(s) within the /dev/mdX device, and how to investigate it with xfs_db. The sector number is from sh->sector in ...
0
votes
0answers
22 views

Possibilty of DisplayPort over PCIe

I'm trying to figure out if it would be possible to add a DisplayPort to my Linux PC using a PCIe slot. I have found cards like ...
0
votes
1answer
94 views

How to make Linux use the right driver (lshw)

I have an Edimax EW-7811Un wireless adapter which I am trying to get to work on my laptop which is running Debian 8.3.0 with LXDE. I have tried various things that I am going to describe below. But ...
1
vote
2answers
22 views

Are there sandboxing concepts for proprietary binary kernel modules in linux?

Quite a lot has been going on to advance inter-process security (UID the same) and priveledge dropping in userland, yet it is common that proprietary linux kernel components are used (it seems that ...