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

learn more… | top users | synonyms

1
vote
0answers
38 views

How do I figure out what is consuming memory?

I develop a system (x86_64 based) that runs Linux (Ubuntu 14.04.3) and has several pieces of custom built hardware connected. I have written drivers and control software for the custom hardware. ...
3
votes
1answer
18 views

Is a device tree blob tied to a specific linux kernel version?

I was asking myself if a certain dtb that works with linux kernel version 3.18 is compatible with a linux kernel version 4.9. I suppose not, because kernel code concerning the device tree likely ...
2
votes
0answers
22 views

Adding more backup GRUB entries

I'm using Fedora 24. Whenever I update the kernel, Fedora saves the two previous entries as backups, in case something goes wrong with the update. I want to try to compile the kernel on my own (I ...
0
votes
0answers
11 views

Why a kernel built with the deb-pkg recipe doesn't startup?

I'm following the kernel handbook chapter on Common kernel related task as guide. I've copied my .config from a currently running kernel following the steps, and installing the kernel image using dpkg,...
-1
votes
0answers
10 views

what are discarding capabilities (TRIM, UNMAP)? Disks for dummies explanation

Output from RHEL7 VM on OpenStack: # lsblk -D NAME DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO vda 0 0B 0B 0 ├─vda1 ...
0
votes
0answers
20 views

How to detect the execessive write to the block device(eMMC or NAND)

I have the requirement like whenever a process writes the data to the block device unnecessarily(may the process is treated as virus), the process has to be detected and killed. I want to set some ...
0
votes
0answers
21 views

Writing a Sysfs module [migrated]

I'm attempting to learn how to write a sysfs module, and am confused at the basic initialization. In this document looking at the kobject.h file, there are several different functions related to ...
3
votes
1answer
43 views

Tracing packet in the Linux network stack

Is there any possibility of tracing a packet through all networking layers inside the Linux kernel ? I'm aware of SystemTap, but I'm looking to see if there's another (more high level) solution. The ...
0
votes
0answers
10 views

What does ACPI NMI LINT mean? and Why it changes across kernel version?

I'd like to understand what the following lines mean [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x0]) [ 0.000000] ACPI: NMI not connected to LINT 1! [ 0.000000] ACPI: LAPIC_NMI (...
1
vote
0answers
42 views

Linux kernel severe boot-time increase; how to investigate on it?

Starting from kernel 4.5, boot-time increased from 900ms (4.4.44) to 2.1s (4.9.5). I want to fix, or at least help developers by opening a proper bug report but I don't know which information provide ...
1
vote
0answers
14 views

Setting USB_QUIRK_CONFIG_INTF_STRINGS at runtime

I bought a cheap MIDI keyboard for testing something and I found out it's not working on Linux. It keeps constantly reconnecting. After some messing with Wireshark I figured out it's responding with ...
0
votes
1answer
44 views

Linux kernel source code, size difference

When I download the kernel directly as type tar.xz, and untar it, the size is around 1GB. But when I download it via git clone from here, the size is around 7GB. It shows only master branch. Why this ...
2
votes
0answers
82 views

Linux Vs UNIX - kernel - How to understand the difference? [closed]

In 1980's, two most prevalent operating systems came out, 1) System V created by AT&T 2) BSD created at UOC, Berkeley Some of the BSD variants are OpenBSD, FreeBSD, MAC OS X Some of the ...
3
votes
0answers
32 views

Kernel panic using logelevel or quiet

I am using an embedded device with onboard storage (mmcblk0). The system is using UEFI (and GRUB), on mmcblk0 I have a GPT partition with 3 partition: root, configurations, swap. My command to boot ...
1
vote
0answers
22 views

GUI kernel switcher similar to Manjaro

I'm now on Fedora 25 Gnome, used to be on Manjaro XFCE and what I miss the most about it is the GUI Linux switcher, so informative and easy to use. It lists installed kernels, available kernels, alpha ...
-2
votes
1answer
63 views

Unable to boot- please use a kernel appropriate for your CPU- error

When i am installing Kali Linux using .iso image on my laptop, I am geting a black screen with an error: Unable to boot- please use a kernel appropriate for your CPU. Any help??
1
vote
0answers
11 views

H264 support for webcam driver source in kernel?

I have a EVM board, which has camera connected over mipi bus, Overall my EVM board will act as USB webcam gadget, I want my webcam board to support h264, as I was going through drivers/usb/gadget/...
0
votes
0answers
17 views

Kernel starts OK on POWER-ON but aborts on REBOOT

I have a banana-pi which runs sunxi-linux (kernel 4.2) and there is a strange problem. When I connect the power plug, it boots up and everything is just fine. If I run reboot command from it's ...
1
vote
1answer
41 views

Compiling different kernel version

Are there any rules about what versions of the kernel you can successfully compile and run against a particular OS software base? That is, supposing I'm on Ubuntu 16.04, which includes some ...
0
votes
2answers
374 views

DKMS stuck while installing new kernel, what shall I do?

I am on Linux Mint 18.1 Cinnamon 64-bit. DKMS seems to be stuck while installing new kernel for 30 minutes now, what shall I do? Kill the DKMS process? And then run dpkg --configure -a? Here is the ...
0
votes
0answers
82 views

Installing VirtualBox Guest Addition CentOs6.8

Similar problem has been encountered many time based on my research> But I cannot find a solution. I am trying to install the VirtualBox Guest Addition (VBoxGuestAdditions_5.1.12.iso) on a CentOs6.8, ...
0
votes
0answers
22 views

How to change Centos framebuffer resolution

I'm using Centos with a patched kernel by me that show a custom logo at boot stage. I'm using grub2 as well. If I select a patched kernel in grub the splash screen that I have set as logo in kernel ...
0
votes
0answers
15 views

Rotating X11 and window manager

I'm working with a 2.8 inch ili9341 tft display with my linux device. I'm trying to rotate screen to landscape(320x240), I was able to rotate linux console, linux logo and psplash screen to 320x240 by ...
0
votes
1answer
14 views

What are the differences of editing UTS_RELEASE and EXTRAVERSION?

UTS_RELEASE is in include/generated/utsrelease.h EXTRAVERSION is in makefile For example my kernel has UTS_RELEASE "4.4.30-7+" and the EXTRAVERSION contains -7+ Both are affecting the result of ...
0
votes
0answers
15 views

add_key: Permission denied

I have generated on ubuntu with the kernel 4.4.0-57 a key with: openssl req -new -nodes -utf8 -sha256 -days 36500 -batch -x509 -config x509.genkey -outform PEM -out kernel_key.pem -keyout kernel_key....
-1
votes
0answers
29 views

tick_sched_timer very high number of wakeups in PowerTop

I have recently set up a Gentoo installation on my laptop, and PowerTop reports that tick_sched_timer is causing a lot of wakeups. It varies from 200 wakeups per second all the way up to 1000 or so. I ...
0
votes
0answers
18 views

Openwrt on Mikrotik SXT Lite2

Soldered wires to pcb UART points. Using a USB-UART adaptor. Trying to boot Openwrt ramfs image via Bootp/tftp. Router enters netboot mode an issues a DHCP request. PC replies with IP, bootp ...
3
votes
0answers
46 views

Is it normal that a modalias matches various devices?

Recently another user asked why they were loading the fjes module. While I was trying to understand that question, I realized that Linux is also loading the same module for me. Now, this is the ...
3
votes
1answer
56 views

Find out why linux kernel module was loaded

The debian backports 4.8 standard kernel loads the module fjes on my thinkpad T460s. How can I find out why this module is loaded, i.e. which hardware triggers loading this module?
2
votes
1answer
63 views

Copy files from VCD without conversion to MPEG

I'm using a Fedora 23-like OS (Korora) and recently I got my hands on an old VCD. Korora recognized it as a "Video CD" all right and Nautilus even gave me an option to play using VLC. But as soon as I ...
1
vote
0answers
31 views

Linux kernel fault injection

I am trying to inject fail page allocator on run_test by using Linux Fault injection framework. My command is running successfully but I am not getting that which type of error I will get after inject....
0
votes
1answer
9 views

proc events not arriving over netlink connector (forkstat)

Kernel 3.14 stable-79. I wish to trace fork(2) and related events using forkstat. For some reason no events arrive over the socket. strace shows that it hangs indefinitely in recv(2): fstat64(1, {...
0
votes
0answers
12 views

Why UTS_RELEASE and UTS_SYSNAME are located in different files?

I've once edited UTS_RELEASE in Raspbian by using ncurses (via GUI). It worked, but my professor advised me to learn it by playing around on lower layers to get the basics and try to change ...
3
votes
2answers
31 views

dirty_ratio per device

I've recently examined a RHEL7.2 that hanged almost totally just because it have written to a CIFS filesystem. With the default settings of dirty_ratio = 30 and cifs being cached (for both reading and ...
0
votes
1answer
53 views

Dnf install kernel doesn't install kernel to /boot

I have the same problem as reported at https://ask.fedoraproject.org/en/question/73766/fedora-22-not-using-newer-kernal-after-dnf-update/ NOTE: the answers to that posting are not addressing the ...
4
votes
0answers
33 views

How is the page cache mapped in the kernel on 64-bit x86 architectures?

On a modern 64-bit x86 Linux, how is the mapping between virtual and physical pages set up, kernel side? On the user side, you can mmap in pages from the page cache, and this will map 4K pages in ...
4
votes
0answers
48 views

Kernel config for keyboard special LEDs

I'm building a 4.9 linux kernel (which is working great) for my T460s. The F1 key has a led that shows if sound is muted. I can't get this LED to work even when enabling all kinds of LED-relevant ...
0
votes
0answers
10 views

How to get usbip-tools after kernel 3.17 (after usbip 1.7)?

I'm using OpenSUSE 13.2 (maintained kernel 3.16) with separately installed kernel from Tumbleweed (4.6) so old usbip package doesn't work form me, yet I don't see any new usbip package for new kernel. ...
0
votes
1answer
297 views

Leap second Bug 31st Dec 2016

I just wanted to understand in a better way regarding the leap second bug. Our Linux servers receive time from the windows PDC services, As per the update from the Microsoft regarding the leap second,...
6
votes
4answers
489 views

Delete new kernels /boot full

We've some Ubuntu 16.04 servers. unattended-upgrades are automatically enabled since 16.04 and the boot partition is on a separate partition. Due to the automatic security updates the boot partition ...
0
votes
1answer
55 views

uCLinux (linux 4.9 nommu) VFS: Cannot open root device “(null)”

I'm stuck with this kernel panic. What I want is to embed an initramfs into the kernel xip Image, but linux panic and tell me to pass a valid "root=" rootfs value. But WHY does Linux look for this ...
0
votes
1answer
35 views

What is the difference between BAT0 and ADP0 on the linux kernel?

Well I'm trying to identify a device in my program so I can classify and get the power status of a device. The thing is that I'm getting different values on the same OS but using different machines. ...
0
votes
2answers
78 views

Why don't we include File System drivers in the kernel itself instead of using Initrd/Initramfs

The Linux kernel contains very minimal code that is necessary to boot on a majority of devices but I don't get the point of having Initrd/Initramfs.As far as I've understood Initrd/Initramfs job is to ...
0
votes
0answers
102 views

update-initramfs Stuck

I ran apt upgrade and it wanted to remove an older kernel. I ran apt autoremove and it got stuck at update-initramfs: https://hastebin.com/jegeyitoxi.cpp3 Here's the referenced log: https://hastebin....
8
votes
1answer
155 views

gnupg 2.1.16 blocks waiting for entropy

Releases of gnupg from 2.1.16 (currently 2.1.17) block waiting for entropy only on first invocation. Note: this isn't an attempt to generate a key, just to decrypt a file and start the agent. The ...
0
votes
0answers
42 views

Failed to start fcoe service in CentOS 7 with kernel 4.9.0-1

I am currently working with linux centos 7 and a kernel version 4.9, and the fcoe service does not boot. My server has the following settings: # uname -a Linux node21 4.9.0-1.el7.elrepo.x86_64 #1 ...
2
votes
1answer
104 views

How to find out a linux kernel ring buffer size?

Quite interested in the size of the kernel ring buffer, how much information it can hold, and what data types?
-4
votes
2answers
43 views

how to set alias for the folder in Linux [closed]

I want to set the alias for the "abc-abc" folder as "abc" in Linux.Can you help me? EX: /raj/abc-abc/xyz/data
1
vote
1answer
58 views

Do system calls call themselves?

Do they? for example, I was thinking of the simple system call chown. Does it call other system calls like read and write? How can we find out?
-2
votes
1answer
22 views

how to find NIC card Bandwith in linux using native commands [closed]

How to find NIC card band width using native commands without using ethtool