The kernel of operating systems popularly known as Linux, or sometimes GNU/Linux.
-1
votes
0answers
16 views
Post Upgrade Kernel Panic [on hold]
After the latest system initiated update to Ubuntu 16.04LTS, when I login, as the only user (root), system locks-up-freezes; ErrorMsg: kernel panic/cannot sync.
The guest account is still operable ...
0
votes
0answers
9 views
Is there some way to extract ram files from Linux kernel dump [on hold]
I know that this is a very vague question, was not able to find any answer any where else that's why post the question here. It would be really helpful. Sorry for my ignorance.
1
vote
0answers
12 views
What are ways in Linux for non-root user to trigger kernel module loading
One way is to create listening socket for some protocol, and module for that protocol will be loaded. For example, DCCP and SCTP.
Are there other ways?
-1
votes
1answer
20 views
why such behavior in Linux Network over Loopback Interface
I have one physical interface Ethernet with name eth0 and IP address 192.168.40.50 and a lo(loopback) with 127.0.0.1. After manually down lo using ifconfig lo down command, then I observed that self ...
0
votes
1answer
38 views
Everything is file or process - Linux [on hold]
In Linux world, I learnt that there is corresponding file that user space program communicates with, in order to actually communicate with any hardware device , for example, below are the files for ...
2
votes
1answer
42 views
Debian: New error message upgrading kernel (to 4.9) - reload ioctl error
I am trying to upgrade the kernel in Debian 9.0 Stretch to kernel to 4.9.0-1-amd64.
The package is installed, however, at the end of the procedure I got the cryptic error:
device-mapper: reload ...
0
votes
0answers
9 views
What is the use of struct cdev in this case [migrated]
So I have been leaning device drivers in linux and saw various examples of how to create one. The most common steps were,
create file operations
create major and minor numbers
create a struct cdev, ...
3
votes
1answer
18 views
What locations should I use for dumping flash memory from electronic components in HDDs?
From my understanding , the electronic components in HDDs can store memory in flash memory chips. I am not interested in the disc platters. I would like to dump only this flash memory using a Linux ...
0
votes
0answers
10 views
Get real inode number on BTRFS [on hold]
I previously had a problem that the same device has 2 device Id on btrfs.
In order to solve it, i had to use
BTRFS_I(inode)->root->anon_super.s_dev //instead of inode->i_sb->s_dev
...
1
vote
0answers
38 views
Remove linux-libc-dev:i386? [on hold]
Every time when I need to upgrade to a new Linux kernel, I use the method given here by jippie (first portion). But lately, I have also been getting a listing for linux-libc-dev:i386. Is it safe to ...
2
votes
0answers
13 views
How to I can compile the Linux Kernel with GRSecurity and SELinux using the git repositories?
I want compile the Linux kernel with two patches (Grsecurity and SELinux) using the git repositories if theses sources, my problem is in the patch file generation because I unknow how make the patches ...
3
votes
1answer
27 views
System unable to allocate memory even though memory is available
I'm running Gentoo on my server, and I've just upgraded from kernel 4.4.39 to 4.9.6, with the kernel configuration essentially unchanged. My system log is filling up with error reports such as the ...
0
votes
1answer
26 views
Does umount calls sync to complete any pending writes
We have BBB based custom board with kernel 3.12 running on it.
I have doubt regarding umount and & sync.
Lets say a script is umounting a partition, Does it require to run sync command before ...
0
votes
0answers
17 views
Will compiling linux kernel with low-config give any benefits compare to Ubuntu kernel?
Currently I run kernel with amd64-generic config and grsecurity applied. Will making config without everything I don't need provide me somehow 'GOOD' profit? Cause compiling time and kernel size are ...
0
votes
0answers
27 views
How to optimize battery usage on Linux operating systems?
My computer is notebook, Acer Aspire 5820TG.
I have a Windows 7 Home Premium OS installed along with Tiny Core Linux OS. On windows it's keeps usage to minimum,if configured, but on any linux it ...
2
votes
2answers
42 views
How Linux servers update their kernel without rebooting
According to my informations, upgrading the linux kernel needs a reboot. Rebooting a home computer is not a problem, but I don't think that it is the same thing for a server.
So does the servers that ...
1
vote
0answers
11 views
Does OpenRC support cgroups v2?
A simple question: does OpenRC support cgroups version 2?
It seems that only version 1 is supported. And if it supports v2, how do I enable it?
3
votes
0answers
12 views
Why does NetHogs report 0 KB/second while benchmarking lo?
I was curious to know how much traffic the Linux kernel could handle on the loopback network, so I decided to benchmark it. In one terminal, I ran:
% nc -l -p 5235 127.0.0.1 > /dev/null
And in ...
0
votes
1answer
20 views
Hpc does not support c++ 11 what can be done to use c++ 11 library [closed]
In our university hpc has redhat based Linux which does not support c++ 11. S
0
votes
0answers
6 views
PHP fastcgi stops running on request a lot of pages
My Server Info is...
Ubuntu Linux 16.04.1
Linux 4.4.0-62-generic on x86_64
Nginx 1.10.0
PHP 7
My sites using WordPress
PHP FastCGI for subdomain stops running in these cases,
Randomly With no ...
1
vote
2answers
54 views
Command to know active running kernel packages
I have been doing some research and as far as I know, it's possible to have multiple versions of kernel and other kernel packages and to know the version of the active running kernel, the uname ...
1
vote
0answers
27 views
How to find the exact mainline kernel version used in debian 6
In debian 6 uname -a returns Linux debian 2.6.32-5-686 ... and cat /proc/version shows Linux version 2.6.32-5-686 ... but in kernel.org theres no linux-2.6.32-5-686.tar.gz instead there are linux-2.6....
0
votes
0answers
29 views
How to build module-less Linux kernel with Nvidia driver
I am trying to build Linux kernel
[ without loadable module support {CONFIG_MODULES is not set} ]
with nvidia proprietary driver.
I've already done it with nouveau.
Also I have found this link (...
3
votes
1answer
49 views
How to apply the xenomai kernel patch on debian?
I've been trying to install xenomai on debian and I'm confused about all the version numbers. I'm on Debian 6 (Linux debian 2.6.32-5-686 #1 SMP Tue May 13 16:33:32 UTC 2014 i686 GNU/Linux)
Steps I ...
5
votes
3answers
577 views
How can I make a shell to show up in my own distro (linux)? [closed]
I am interested in Linux and been digging it for a while. I just learnt to compile a Linux kernel from source and boot it with Grub which lands you with the shell of the kernel.
Now as soon as the ...
0
votes
0answers
20 views
Linux Installation By USB Giving Error
I bought new dell latitude 3460 laptop which was come with UBUNTU. Because of some reason I had to remove and installed windows 10. Now I want to install UBUNTU along with winsows 10. So I created USB ...
0
votes
0answers
30 views
mmc0: error -110 whilst initialising SD card
I have an issue with my Arch.I insert the SD I can't detect it.
Also I find the following error kernel log:
uname -a
Linux localhost.localdomain 4.9.6-1-ARCH #1 SMP PREEMPT Thu Jan 26 09:22:...
0
votes
0answers
19 views
insmod: error inserting '../../../kernel/crypto/twofish_common.ko': -1 Invalid module format
I am getting errors related to insmod of few modules during the boot-up of my system. It was working fine in my previous image. The only difference between my current image and the previous one is the ...
0
votes
0answers
14 views
pci birdge in linux kernel do not forward vga addr
my only vga device on board:
--bus0--bridge0--bus1--vga_dev
|-bridge1--
I noticed this vga dev can't set to boot device. And in kernel file vgaarb.c, normal function break down in a while ...
0
votes
1answer
48 views
Compile and install pure Kernel on Debian
I'm trying to compile and install the kernel-4.9.8 sources from https://kernel.org on Debian 8 (jessie).
I'm following this procedure:
make defconfig
make menuconfig
make
I managed to compile the ...
0
votes
1answer
39 views
Is Linux's monolithic nature (part of) the problem with ARM drivers? [closed]
My knowledge about the kernel is rather limited, so please excuse if this question is on the wrong premises to start with.
On an x86 based computer like my laptop, I can install every Linux ...
0
votes
0answers
60 views
Booting with linux-image-4.4.0-62-generic causes wifi to be lost
My computer loses wifi connection when booted with "linux-image-4.4.0-62-generic". Why so ?
I am on Ubuntu 14.04.
16
votes
1answer
906 views
ps only prints up to 4096 characters of any process's command line
When I grep for a java process I get below output but it's limited to 4096 characters which results to actual process name(which is kafka.Kafka) not shown in grep output.
Is this a limitation of grep?...
1
vote
1answer
41 views
Anonymous Pipe Kernel Buffer Size
I am trying to understand the structures associated with a call to the pipe syscall.
int pipe(int pipefd[2]);
From my understanding, there will be a "read" and "write" kernel buffer/structure ...
0
votes
1answer
42 views
Linux: location in memory of initramfs
What is the standard location in the RAM of the initramfs (0xSOMETHING) ? If it is not specific, how do I specify an address to load initramfs from during boot?
Is it possible to run make menuconfig ...
1
vote
0answers
19 views
Bluetooth over uart using hciattach?
It am using QN9021 SoC working in controller mode (BLE Bluetooth core specification v4.0). It supports some standard HCI commands as well as some vendor specific commands. I am trying to attach it in ...
1
vote
1answer
21 views
Can SCHED_FIFO be preempted by SCHED_DEADLINE?
As stated in the man pages:
A SCHED_FIFO thread runs until either it is blocked by an I/O
request, it is preempted by a higher priority thread, or it calls
sched_yield(2).
From the same source:
...
1
vote
3answers
53 views
How can I safely delete the old kernel version from the /boot partition of my Ubuntu system?
I am not so into Linux and I have the following problem related to the fact that my /boot partition seems to be full and it seems to cause a problem trying to install a program.
I am using Ubuntu ...
1
vote
0answers
21 views
How does Linux kernel know when to use memory buffer/cache?
When we do a find in linux, I am guessing the kernel will store the result into buffer/cache. Let say after an hour, some changes of the folder and files happened, so my question is, when we do the ...
5
votes
0answers
109 views
Repack the filesystem image from vmlinux.bin (embedded initramfs) without rebuilding?
In How do I extract the filesystem image from vmlinux.bin? and https://wiki.gentoo.org/wiki/Custom_Initramfs#Salvaging methods are presented for getting and unpacking an embedded initramfs/initrd ...
2
votes
2answers
56 views
Remove all kernel packages except the currently used one
How can I automatically delete all other kernels which I'm not using?
So, here's my situation:
Using different versions of Ubuntu / CentOS
Automatic updates were on -> Linux downloaded many new ...
0
votes
1answer
50 views
Install a real-time kernel on CentOS
Recently I got to know about real time kernel. I just wanted to know how can I make my current CentOS 7.3 kernel into a real time kernel.
Kernel version I have is "3.10.0-514.2.2.el7.x86_64".
1
vote
1answer
127 views
How to install kali Linux on an external hard disk? [closed]
My machine is running MintOs, I want to install kali Linux on my external hard disk. What are the steps to be followed for doing such setup and how to boot kali OS from my external hard disk?
1
vote
0answers
29 views
Debugging kernel panic while in X server
I sometimes get kernel panic - when that happens caps lock start blinking. However when this happens while I am in X server, the image just stuck, including mouse cursor and everything.
Is there any ...
2
votes
1answer
35 views
How to find the process with a page in Linux kernel?
I'm working on a project about Linux kernel mm(memory management) and with a page, I need to find the process which the page belongs to.
However, I could not find any way without modifying the kernel....
3
votes
2answers
63 views
Slowdown the system clock in Linux server
I have Centos server, in which I don't want to jump back the time to one hour during time change. instead I want to slow down the system clock few hour before the time change so that when the time ...
0
votes
1answer
26 views
Linux on Laptops
Good evening.
I have an acer notebook running in dualboot configuration with Fedora 25 and Windows 10. I would like to know if it is possible to irreversible damage the notebooks hardware by linux not ...
4
votes
2answers
70 views
Is it possible to query process information from Linux kernel directly?
I know pgrep, top, and ps all query /proc filesystems. So far so good. Yet what got me thinking is that in the past there was no /proc filesystem. Even nowadays, Mac OS X, as far as I know, has no /...
0
votes
0answers
23 views
How to build only filesystem from buildroot?
I have Raspberry Pi 3 board.
I have toolchain and mainline kernel. I'm using buildroot, but if i try to build buildroot it is downloading kernel too.
How do I make sure only filesystem is ...
1
vote
0answers
51 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.
...