Questions tagged [kernel-panic]
The kernel-panic tag has no usage guidance, but it has a tag wiki.
233
questions
0
votes
0
answers
32
views
Constant kernel panics (arch and gentoo)
For the past few months, my Linux installation have been kernel panicking every couple of hours or so.It didn´t bother me much back then since I had Windows on another drive which I ended up using 24/...
1
vote
1
answer
16
views
how to record(copy) the kernal log messages in a Linux kernel system crash
I enable logging to console by:
$ dmesg --console-level 7
$ dmesg --console-on
And I generated a system crash by:
$echo c > /proc/sysrq-trigger
I did get the crash stack trace in a Linux console (...
0
votes
1
answer
50
views
How to determine why the kernel updated
I have an Ubuntu 20.04 VM hosted in Azure, deployed from the prevailing image at the time. It runs a couple of docker containers, and shuts down every day at 17h00, and starts up at 06h30 every ...
1
vote
0
answers
23
views
Which driver is repsonsible for finding UUID in the kernel
I compiled a custom kernel for myself. I can boot via root=/dev/mmcblock1p2 but when I try root=UUID="Actual ID" i get a kernel panic. I think I might have not enabled some driver option.
...
0
votes
0
answers
34
views
CPU stalls in debian bullseye
My development machine often faces CPU stalls.
This kind of error happens randomly, more often at startup, but it can happen anytime, especially when there is a big CPU load.
You can see here a dmesg ...
0
votes
0
answers
16
views
Kernel Oops does not show callstack
I have an Sipeed Lichee RV86 which is a RISC-V computer and I run Debian on that.
At my last boot, I see a kernel Oops:
[ 8.674209] systemd[1]: Started Journal Service.
[ 8.709804] Unable to ...
0
votes
0
answers
34
views
Kernel Panic, how can I fix this?
I changed a setting in GRUB to fix a docker issue, next thing I know I reset my server, and here comes a week of headache. I thought I could post my question in here and get any help.
Thank you!
0
votes
1
answer
105
views
mount overlay failure
I am having read-write JFFS2 FS mounted on a MTD partition.
Later in the boot sequence I am overlaying a read-only FS into this read-write FS.
mount -t overlay overlay -olowerdir=/lower,upperdir=/...
0
votes
0
answers
33
views
After running apt-get update and upgrade and installing wine and winetricks, the terminal deleted OS important files. Why that happenned?
I have a linux with windows on my machine, I ran apt-get update and … upgrade and installed wine and winetricks. During the installation the terminal showed it deleted stuff like mysql, php and even ...
1
vote
1
answer
77
views
Can I reliably determine if the last reboot was due to a kernel panic
I have an embedded Linux system which I would like to reboot automatically in case it encounters a Kernel Panic. However, is there a way I can reliably determine on boot-time whether the last reboot ...
0
votes
1
answer
2k
views
Error message here end Kernel Panic - not syncing: attempted to kill init! exitcode=0x00007f00
My OS crashed while I was using normally the navigator and a text editor, so I've decided to force the shutdown manually, when the screen turned on and it was loading the OS it appeared that busybox ...
1
vote
1
answer
140
views
Why can't I install an almost indentical kernel on brand new debian 11?
My overall objective is to build an RT_PREEMPT kernel that I can modify. As an intermediate step, I'm trying to build and install (and run as a grub entry) a generic, non-RT_PREEMPT kernel. But I ...
0
votes
0
answers
160
views
Kernel panic - "/sbin/init: symbol lookup error: /lib/systemd" - Ubuntu 20.04
At the last shutdown my laptop got stuck at something similar to "Reached target shutdown". After killing it I can't boot anymore (kernel panic). That probably wasn't very smart. I'm running ...
1
vote
1
answer
211
views
Kernel cannot find init
I am learning to build a linux from scratch systemd edition, following the instructions at https://www.linuxfromscratch.org/lfs/view/stable-systemd/index.html on VirtualBox 6.1
but when I was booting ...
0
votes
1
answer
2k
views
Virtual Box: Kernel panic - not syncing vfs unable to mount root fs on unknown-block(0 0) error
I have downloaded a virtual box application which I'm supposed to directly boot into a Ubuntu Virtual Machine. While doing so, I get the following error:
From the solutions I've read online, I'm ...
1
vote
0
answers
81
views
randomly occurring kernel panics at boot
I have a QNAP server on which I installed Debian 10 and then 11, using RAID 1, as recapped in the screenshot below:
It works fine most of the times, but, with both versions, I've been randomly ...
0
votes
1
answer
103
views
Cannot boot (OpenMediaVault) after hardware change
I'm facing a problem that I can't solve by myself so I decided to ask here for some help :
Introduction :
Moving to my new house in a few weeks I decided to give my NAS a little hardware refresh going ...
0
votes
0
answers
122
views
Building android kernel module without exact kernel source and configs
I'm building a very simple android kernel module (returns with no operation in init_module) for my android emulator(that's not a AVD emulator, is a vm on VirtualBox.)
Problem
Unfortunatly, I've no ...
0
votes
0
answers
137
views
Shutdown or reboot from emergency shell
When I am dropped into an emergency shell, no commands to change system state seem to work. shutdown, halt and reboot are found in /sbin, but calling them does nothing.
SysRQ keys also do not work.
If ...
0
votes
1
answer
489
views
Kernel Panic not syncing fatal exception error
I'm using Windows 10 and I'm trying to launch CentOS 7 in Virtual Box, but I am getting the following error:
Kernel Panic - not syncing: Fatal exception
I've tried to solve the error by following ...
0
votes
0
answers
82
views
Unable to Get Kernel Crash Dump on Kernel Panic
I'm using kexec-tools to get a crash dump of kernel on kernel panic. However, when I trigger the panic using sysrq-trigger, the system freezes. I have to power off and then power on to restore the ...
0
votes
0
answers
591
views
Linux kernel init, /bin/sh exists but couldn't execute it (error -8)
The bug:
Linux kernel boots, load's up initramfs/CPIO image but the init process fails with error -8 (NOEXEC)
[ 3.499638] Run /init as init process
[ 3.506228] Failed to execute /init (error -8)
...
1
vote
1
answer
121
views
Android studio freezing Fedora (nouveau and kernel crash)
Since the last upgrade to Android Studio (Android Studio Arctic Fox | 2020.3.1 Patch 2 Build #AI-203.7717.56.2031.7678000), I am experiencing frequent global system freezes in Fedora 33. Nothing ...
2
votes
2
answers
191
views
MacBook 4,1 running Linux Mint Freezes on shutdown
[ OK ] Reached target Final Step
[ OK ] Finished Power-Off.
[ OK ] Reached target Power-Off.
[27022.555948] sd-umoun[21227]: Failed to unmount /oldroot: device or resource busy
[27022.560980] sd-...
0
votes
1
answer
1k
views
Unallocated partition is not visible for arch installation
I am trying to install Arch linux on my laptop. I had allocated 150GB partition to be used as arch partition.
after booting from usb drive and connecting to the internet, I've attempted to do the ...
0
votes
0
answers
52
views
Need help booting a Red Hat Linux 6.1 virtual image - Kernel panic - Unable to mount root fs
I'm trying to virtualize a Red Hat Linux 6.1 image. I restored a clonezilla backup on a .vmdk and I'm trying to get the image to boot successfully in the latest release of VirtualBox 5. Unsurprisingly,...
1
vote
0
answers
61
views
Multiple services fail after kernel panic recover
The last week i crash debian trying to update python3, so i had the brillant idea of:
apt-get remove python3
then python an a huge ist of packages was unistalled and system reboot in kenel panic.
I ...
0
votes
0
answers
143
views
How to fix kernel panic not syncing: vfs :unable to mount root fs on unknown block(0,0)?
I've seen all of the other VFS errors and none of them seem to match my conditions. I built an .iso and I tried running it in Hyper-V, with a 10 GB unformatted virtual hard drive. The system goes ...
0
votes
0
answers
529
views
Kernel panic during shutdown: "System is deadlocked on memory"
I am running Debian Buster within a VM with 70 MiB of memory allocated to it. Curiously, it can boot and run fine, but panics when I try to shut it down.
Here is the log of the panic, which I captured ...
0
votes
0
answers
103
views
debian stretch with mate kernel freeze with linux-image-4.9.0-16-amd64
A few days ago I get an update for kernel and boot it up yesterday the first time. A few minutes later my debian freezed complete. I have to use magic request to reboot my notebook.
I boot up the ...
0
votes
0
answers
456
views
Installing Linux on Apple M1 (Mac Mini)
I would like to install Linux on a Mac Mini with an Apple M1 processor.
So far, I have tried the tutorial at https://corellium.com/blog/linux-m1 (I have tried both the USB and the NVME option). ...
1
vote
0
answers
48
views
boot Debian default kernel with lilo results in kernel panic
I have server with Debian 10 installed.
I am using custom kernel, with lilo boot loader. This is my /etc/lilo.conf:
boot=/dev/sda
root=/dev/sda1
map=/boot/map
lba32
prompt
timeout=50
default=linux
...
1
vote
0
answers
238
views
Linux Mint not shutting down
people!
I use Linux Mint 19.3 Tricia and it's not shutting down sometimes. I have been researching and looks like a kernel panic with a BAD RIP value code,but I'm not sure and I don't know how to ...
-1
votes
1
answer
122
views
Why is this simple bash script destroying my computer?
Something weird is happening with a seemingly inoffensive script I have. I need to copy a series of files to some locations in the system and I have the following script to do so.
#!/bin/bash
# Get ...
0
votes
0
answers
62
views
Linux kernel - Syscall Implentation - Page Table Walk
I am trying to learn a few things about the linux kernel and I have come across a kind of exercise which asks to implement two system calls on th 4.15.0+ linux kernel which aim at reading the pages ...
0
votes
1
answer
225
views
Notebook gets stuck during shutdown
I have a Lenovo ThinkPad with the latest openSUSE Tumbleweed installed (kernel 5.11.6-1-default). Very often when I shutdown this notebook it gets stuck and I see a black screen with a flashing ...
1
vote
0
answers
243
views
Kernel panic - not syncing: unable to mount root fs on unknown-block(0,0) after building a kernel without initramfs
While trying to install KISS Linux (a distribution which doesn't use (or at least doesn't by default) an initramfs), a distribution that requires you to build your own kernel, I always get the same ...
1
vote
2
answers
76
views
kernel bug at kernel/auditsc.c:1532
I'm on a 32 bit CentOS 7 machine.
I just do these commands and a kernel panic is observed:
cd repos/
git clone https://github.com/SergioBenitez/Rocket
cd Rocket/
cd examples/hello_world/
cargo run -v
...
0
votes
1
answer
713
views
Ubuntu Kernel panic when installing compiled kernel, not present when installing kernel from .deb
I'm running Ubuntu 20.04.2 LTS on a Dell Inc. Precision T3610/09M8Y8 and my linux version is 5.8.0-44-generic. I have been successfully compiling and installing the Linux net-next kernel for a few ...
1
vote
1
answer
346
views
end Kernel panic - not syncing
Few days ago, after I did an apt upgrade, I got something like this in the log, multiple times
Error 24 : Write error : cannot write compressed block
E: mkinitramfs failure cpio 141 lz4 -9 -I 24
...
2
votes
0
answers
166
views
Cannot boot from grub / initramfs to desktop in linux mint
Recently I had to download some files for my uni coursework on Docker. I think they were temporarily installed on /var/ and I had to create some syslinks to enable me to have the space to install it. ...
5
votes
4
answers
578
views
Finetuning kernel for high swap environment
I own an 8GB RAM Dell XPS13 9343; the amount of RAM is the biggest pain of this computer, it's soldered on mainboard. Despite the CPU supporting more RAM, even resoldering bigger ones with firmware ...
3
votes
1
answer
409
views
Kernel Panic on Debian Buster with 128 MB of memory
When running Debian Buster 10 with 128 MB of memory get a Kernel Panic. However it works fine on 256 MB of memory. The output lines are:
? initrd_load+Ox5e/Ox5e
ksys_write+Ox57/0xdO
write+Ox29/0x5a ...
0
votes
1
answer
228
views
Help me find my Debian Linux IRQ Kernel Panic Trace problem
I have been having kernel panic traces crashing my media server. Nothing is running or installed outside the normal Debian packages and nothing that would have anything to do with the kernel. It runs ...
1
vote
0
answers
540
views
Kernel Panic on reboot
I manage a RHEL 8.2 server hosted in Azure and whenever I reboot the server, it goes to Kernel Panic. I am getting the below error message.
Starting Reboot...
[1892395.172835] printk: ...
1
vote
0
answers
196
views
Linux kernel.panic not working as expected
For the last 2 months I'v been investigating a problem related to some unexpected "freezes" of my Ubuntu VPS.
Somehow my VPS stops working entering an uncontrolled state, which can only be ...
2
votes
0
answers
399
views
What causes 'kernel panic' in Kali Linux running on VMware Workstation Player?
I installed Kali Linux 2020.2 as a virtual machine in VMware Workstation Player on Windows 10 Home as the host.
uname -mrsvo :
Linux 5.5.0-kali2-amd64 #1 SMP Debian 5.5.17-1kali1 (2020-04-21) x86_64 ...
-1
votes
1
answer
318
views
LiveCD iso boot into VMWare Kernel Panic
I'm trying to boot theiso for hacking: the art of exploitation into VMWare Workstation and for whatever reason it's not working. I know other people have had this problem as there's a stack overflow ...
0
votes
0
answers
322
views
My custom built minimal kernel linux won't boot with the error "Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1)
Sorry about the noob question. I just built the cross compiler, created the filesystem hierarchy, compiled the kernel and BusyBox and put it on a USB and installed GRUB. When I boot it, I get this:
...
1
vote
0
answers
331
views
macOSx / what is the kernel variable os_refcnt counting and what might be causing it to overflow?
Trying to figure out why running some software that I am developing causes my Mac to do a panic restart every 16 h or so always with an "os_refcnt" kernel variable overflow when running tcsh scripts.
...