Everything about UNIX kernels: development, configuration, compilation, design, etc.
1
vote
0answers
10 views
How to extract ACPI tables from .ISO file?
As the title says, i am in need of ACPI tables (DSDT) that comes with Linux ISOs.
Why?
Because i am compiling a custom kernel which includes modules that require certain things to be enabled in ...
0
votes
2answers
31 views
How to determine the options Linux kernel was build with? [duplicate]
Say, I have custom kernel from my distribution, how could I get list of all options the kernel was build with?
It's possible to get them by reading config file from kernel package from vendor's repo, ...
1
vote
0answers
9 views
Is there information such as Operation Mode (Booting Mode) in the device tree?
Good morning.
I am studying Device Tree of Kernel.
I use an ARM board.
According to the information of Operation Mode(Booting Mode) Register, the device medium used for booting the ARM board is set ...
4
votes
2answers
34 views
Hold Kernel for Custom Kernel
I have built a custom kernel which I want to install. I am afraid that the next upgrade will overwrite my custom kernel. Do I have to put the current kernel on hold or is this not necessary? I cannot ...
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
40 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 ...
0
votes
1answer
12 views
Where can I find information on hid-generic error codes?
I am writing some firmware for a microcontroller that communicates over USB. I am getting this error from dmesg:
[3034764.122150] hid-generic 0003:16C0:27DB.0015: item fetching failed at offset -...
0
votes
0answers
30 views
Can't boot using 4.8 kernel on LMDE 2
I'm using LMDE 2 (stable 3.16 kernel). I installed the 4.8 kernel from backports and it gave me warnings on postinst about possibly missing firmware for my radeon module. Then, I upgraded my system ...
-1
votes
1answer
28 views
How to get syslogd/klogd to append to syslog after reboot instead of overwriting?
After a reboot or crash, the syslog does not save any messages from the previous session. What should I do to tell syslogd/klogd to append to syslog instead of overwriting every session? I feel I am ...
-2
votes
1answer
60 views
Where the kernel is located on the disk? [closed]
Where is the exact location of the kernel? (e.g. MBR is locted in first sector 512 bytes on disk)
How to move kernel from disk to memory?
How to do the copying in assembly?
What happens if the ...
0
votes
2answers
69 views
Securing Debian kernel with Grsecurity
I want to secure my kernel with Grsecurity, however; I have researched about it and found some tutorials, but ain't really sure about it.
I have read that you need to replace your current kernel with ...
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
21 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
2answers
28 views
Linux disable/hide mtdblock devices?
I am running Debian on QNAP ts-119P+. It is running well, but I am experiencing
something a little bit annoying. When I use lsblk, there is obviously sda, but also flash memory chips (mtdblockX), that ...
1
vote
2answers
81 views
When is the earliest I can launch a program in Linux?
I understand that the init process is the first to run and all processes get launched from it, but is it possible to launch any programs before init? (Possibly writing a kernel driver that gets ...
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/...
1
vote
2answers
26 views
When is there a need to flush caches in Linux ?
I came across this . And then remembered seeing this something back. Could anybody elaborate is there any need for a user to ever flush the caches or it's only need is when you want to benchmark ...
1
vote
3answers
82 views
how to detect if isolcpus is activated?
How to detect if isolcpus is activated and on which cpus, when for example you connect for the first time on a server.
Conditions:
not spawning any process to see where it will be migrated.
The use ...
1
vote
2answers
47 views
LUKS Container creation error: no loop device
I want to create an encrypted LUKS Container:
# dd if=/dev/random of=pvt.img bs=1M count=512
# cryptsetup -y luksFormat pvt.img
WARNING!
========
This will overwrite data on pvt.img irrevocably.
...
0
votes
1answer
88 views
Bluetooth Mouse stops working after a few seconds (NetworkManager issue)
My Microsoft Designer Bluetooth Mouse will stop working after a short time.
UPDATE: It is a general bluetooth problem. I tried sending files from my mobile to my laptop and received only 1 file. The ...
-3
votes
1answer
87 views
Can operating system work without kernel? [closed]
Can operating system work without kernel? I read so in a pdf. If it is possible, how does it happen? I often have doubt about the difference between both of them.
1
vote
0answers
97 views
Linux kernel boot: uninitialized urandom read (16 bytes read)
In dmesg, I see the following entries:
[ 0.989416] random: systemd-tmpfile: uninitialized urandom read (16 bytes read)
[ 0.989708] random: systemd-tmpfile: uninitialized urandom read (16 bytes ...
1
vote
0answers
34 views
Can I copy a kernel changes to a new machine?
In order to install ORACLE database on Fedora, I had to make A LOT of changes in fedora... How can I copy all those changes and install them on my new fedora installation ?
Or is it even possible to ...
0
votes
1answer
30 views
can't find CONFIG_CRYPTO_ABLK_HELPER option in menuconfig
I am trying to activate the CONFIG_CRYPTO_ABLK_HELPER module while custamizing the 4.8 kernel. But after the search in menuconfig get the message:
Symbol: CRYPTO_ABLK_HELPER [=n]
Type : tristate ...
0
votes
0answers
25 views
Linux Block Device - Looking for a Simple Example [migrated]
I was trying for a linux virtual block device, My requirement is while running cat /dev/mydevice must return some string which I created in the kernel program, (I dont have to write any data to drive, ...
0
votes
0answers
32 views
SSD too slow, maybe about linux? [closed]
I recently bought a Corsair Force LE Series SSD, which has 240 GB storage capacity, supporting SATA3 Interface with 6Gbs. I installed Linux Mint Distro Seamlessely on it. (By the way, I connected this ...
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
1answer
17 views
How to reduce / remove BANDWIDTH_IN lines from kernel info.log file?
First some information.
Linux 4.4.36-desktop-2.mga5 #1 SMP Tue Dec 6 16:56:06 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
This is a media server connected to the network via wifi. For some reason, this ...
0
votes
1answer
58 views
Is it possible write linux kernel in Java Programming Language? [closed]
When linux kernel written in C so is it possible to write in java programming language, microkernel and monolithic kernel ?
Concern developing java os.
3
votes
0answers
29 views
How does failing hardware cause a kernel page fault (fatal trap 12)?
I've experienced a few kernel page fault (fatal trap 12) on my FreeBSD 10.3-RELEASE server. They occur anywhere from milliseconds of uptime to days of uptime. The current process is always different (...
0
votes
1answer
25 views
Installation of linux-image package fails [duplicate]
I get an issue installing Let's Encrypt.
Command : sudo ./certbot-auto
Issue :
Unpacking linux-image-3.16.0-70-generic (3.16.0-70.90~14.04.1) ...
dpkg: error processing archive /var/cache/apt/...
1
vote
1answer
125 views
Systemd invocation parameters
This is a request for official documentation. As I understand it, kernel command line parameters, e.g.:
root=/dev/sda1 foo=bar
That are not recognized by the kernel itself are passed on to init, on ...
1
vote
1answer
105 views
Why does the proprietary nvidia driver break kernel dependencies?
I'm running Fedora 25, with the following nvidia packages installed:
akmod-nvidia.x86_64 1:375.26-1.fc25 @rpmfusion-nonfree-updates
kmod-nvidia-4.8.12-300.fc25....
3
votes
2answers
83 views
How the original unix kernel adressed memory?
Today pretty much all kernels use virtual memory provided by the MMU. They do that with the global page table, the address of which is located in a CPU register, and a page supervisor/mapper of pages ...
2
votes
1answer
100 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?
0
votes
0answers
24 views
How to safely discharge UPS using workstation (prevent filesystem damage)
I'm using quite big UPS comparing to hardware attached to it in order to achieve longer uptime on UPS (up to 1h). However as maintenance practice it's advised to discharge it at least every 3 months. ...
0
votes
0answers
127 views
Unable to enumerate USB device
I have an old Acer S2W 3300 U scanner that I used to use in Linux some ten years ago. Tried to install it in an updated Slackware64 linux box, but the kernel doesn't seem to be able to identify it.
...
2
votes
0answers
32 views
After every kernel update, debug option is first on the list at boot
On Fedora 24, after every kernel update, the debug version of the latest kernel is on top of the list of kernels during boot.
Running grub2-mkconfig -o /boot/grub2/grub.cfg fixes the list, but I ...
1
vote
0answers
24 views
Can i use kernel_thread in kernel when its version is over 3.10?
In my module code, i want to create my thread which doesn't fork from kthreadd, because kthreadd will clone_fs from init, then the fs of init was chroot, so it's not good for me, i just want to create ...
1
vote
1answer
41 views
Why are ARM SoCs so seemingly hard to handle with the Kernel?
When I have some Linux distribution installed on a x64 system, for example I can pretty much unplug my storage drive put it into another x64 machine, install a few HL drivers, like the graphics driver ...
0
votes
2answers
65 views
Debian kernel update (Required for my wireless firmware to work) issues - unmet dependencies linux-base
I am a first-timer user of linux, and I have been able to fix all issues I have met until this one.
Upon trying to upgrade the kernel version to something above 4.1 from Debian backport, I am met ...
0
votes
2answers
42 views
How do you get the kernel config to compile a new kernel?
I have patched several kernels in the past with GRsec but have always been able to find the config under /boot. This is a OVH box but I can't find any config located anywhere.
Is there a way to get ...
1
vote
1answer
65 views
How to determine which kernel version to install?
I've recently installed a fresh copy of Linux Mint 18 on my Lenovo T440p and everything is working great except for one thing: I have trouble when resuming from a "Suspend"- I get no GUI, both of my ...
-4
votes
1answer
67 views
Can able to install Linux Headers (Kali Linux)?
How to install Kali Linux header? I used this command apt-get update && apt-get install -y linux-headers-$(uname -r), but it was showing the below error
E:unable to locate package linux-...
-3
votes
1answer
71 views
how to crash linux kernel [closed]
how to crash linux kernel without root access of personal system ?
i have to crash my linux kernel without fork bomb and without sudo or root access. please help me.
I am searching on it from 3 weeks....
1
vote
0answers
43 views
How to hide the fact that I have Kali in the boot partition of my encrypted system?
I have an encrypted Kali installation.
I don't want to share the fact that I am using Kali, hence my intention to try hide any trace of Kali in the boot partition.
How can I get rid of every kali ...
3
votes
2answers
55 views
How can I find out what the entries in dmesg means?
It's interesting to look at the entries in dmesg, but how can I find out what they all mean? I did man dmesg, but I can't find anything about decoding the messages themselves.
I wonder: Is there a ...
0
votes
0answers
11 views
Software Profiling with kcachegrind for node analysis
I would like to see my applications call graph with KDE and valgrind -based tool kcachegrind.
valgrind -v --tool=callgrind --dump-instr=yes --collect-jumps=yes ./AvoidObjects
Thing that I noticed ...
2
votes
2answers
86 views
Cannot remove module nvidia nvidia-uvm in order to install drivers
I was trying to update the drivers of a system with a couple of Nvidia GTX 980 cards but somehow I messed up and now I encounter this error when I run the installer with Nvidia:
ERROR: An NVIDIA ...
0
votes
0answers
25 views
Low-level Process analysis for getting instruction size, runnable dependencies
I have been trying to develop an application that would model a system using Graph Theory (See [1]) Graph theory, basically, can be used in order to model runnables in order to figure out their ...