kernel-panic

Kernel panic – not syncing: VFS: Unable to mount root fs on unknown block(0,0)

Kernel panic – not syncing: VFS: Unable to mount root fs on unknown block(0,0) I have created a image file with this commands: dd if=/dev/zero of=linux.img bs=16M count=1024 cfdisk linux.img mkfs.ext4 linux.img and installed a linux system following the instructions from the book Linux From Scratch 11.3. I have access to this system via chroot, …

Total answers: 1

Kernel panic when booting new kernels

Kernel panic when booting new kernels I’m running Linux Mint 21.1 Xfce and it was all good up to and including 5.15.0-60-generic but after updating to -67 I started getting an "out of memory" error at boot (hit any key) followed by "kernel panic, not syncing, VFS unable to mount rootfs on unknown block". Booting …

Total answers: 1

kernel panic when trying to play audio

kernel panic when trying to play audio I’m trying to get my TAS2505 audio chip working with my arm64 linux system (IMX8MM). It gets detected as an audio device however when I try to play any kind of audio I get a kernel panic. dmesg: [ 0.594275] of_get_named_gpiod_flags: parsed ‘reset-gpios’ property of node ‘/soc@0/bus@30800000/i2c@30a50000/tlv320aic32x4-hifi@18[0]’ – …

Total answers: 1

Constant kernel panics (arch and gentoo)

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/7 due to constant crashed on Linux. I was using Arch Linux when …

Total answers: 1

How to determine why the kernel updated

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 morning. When I checked today, the VM was inaccessible. Eventually found …

Total answers: 2

kernel bug at kernel/auditsc.c:1532

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 kernel BUG at kernel/auditsc.c:1532! invalid opcode: 0000 [#1] SMP What should I do? Where to report? I have no idea …

Total answers: 3

AMD-VI: completion wait loop after a failed install of Arch Linux on a blank SSD

AMD-VI: completion wait loop after a failed install of Arch Linux on a blank SSD Update 2019-05-21 19:37 EST: My motherboard is on the latest BIOS available, released 2019-03-06, but still has the install problems described below. Update: I burned the Arch ISO to a CD then tried booting from it, both in UEFI and …

Total answers: 2

Can I make Qemu exit with failure on kernel panic?

Can I make Qemu exit with failure on kernel panic? I’m trying to add Qemu to my continuous integration pipeline to test various initrd artifacts. I’ve already discovered that I can run Qemu like this: qemu-system-x86_64 -machine q35 -drive if=pflash,format=raw,file=OVMF_CODE.fd,readonly -drive if=pflash,format=raw,file=OVMF_VARS.fd -kernel vmlinuz-4.4.0-121-generic -initrd my-initramfs.cpio.xz -nographic …and cause qemu-system-x86_64 to exit with status 0 …

Total answers: 2

Why can't linux kernel boot on my new Intel i7-6500U CPU?

Why can't linux kernel boot on my new Intel i7-6500U CPU? It’ hard to isolate the CPU, I know, but the errors I’m seeing suggest that’s the issue. This is definitely not a malfunctioning/broken hardware problem. I’ve been running Windows 10 all day for the past several days and this thing is flippin’ fast! No …

Total answers: 4

Kernel panic – not syncing: Fatal machine check on current CPU

Kernel panic – not syncing: Fatal machine check on current CPU In the latest few weeks, my machine rebooted a few times with this kernel panic error. It’s a fedora 21, Linux 4 machine on an AMD E-350 APU. I didn’t observe any pattern. When I reboot, the BIOS says the CPU is at some …

Total answers: 1

How to scroll up after a kernel panic?

How to scroll up after a kernel panic? While tinkering with a Linux VM I regularly get kernel panics, that push up all the helpful output with stuff I don’t understand and that is probably not helpful to me. The panics mostly occur during the initramfs phase. I’m using VirtualBox. The normal Shift+Pg Up does …

Total answers: 2

Kernel Panic dumps no log files

Kernel Panic dumps no log files I was playing a game on Steam and all a sudden I got a kernel panic. I manually shut down the computer and booted back into Linux Mint 17.1 (Cinnamon) 64-bit, and went to go check through my log files in /var/log/, but I couldn’t find any references or any …

Total answers: 2

Random restarts caused by a machine check exception

Random restarts caused by a machine check exception My laptop restarts randomly about twice a day. It shows the following error log before the restart. . Unfortunately I don’t have an idea how to decode the Machine Check Exception (MCE). mcelog –ascii outputs nothing. Is there a chance that this is a software problem? The …

Total answers: 4

What's the difference between a kernel oops and a kernel panic?

What's the difference between a kernel oops and a kernel panic? I know what a kernel panic is, but I’ve also seen the term “kernel oops”. I’d always thought they were the same, but maybe not. So: What is a kernel oops, and how is it different from a kernel panic? Asked By: strugee || …

Total answers: 2

How to determine which module taints the kernel?

How to determine which module taints the kernel? My kernel keeps panicking when connected to a certain wireless network. I’d like to send a bug report but my kernel is apparently tainted. From /var/log/messages: Apr 17 21:28:22 Eiger kernel: [13330.442453] Pid: 4095, comm: kworker/u:1 Tainted: G O 3.8.4-102.fc17.x86_64 #1 and [root@Eiger ~]# cat /proc/sys/kernel/tainted 4096 …

Total answers: 5

How to cause kernel panic with a single command?

How to cause kernel panic with a single command? Is it possible to cause a kernel panic with a single command line? What would be the most straightforward such command for a sudoing user and what would it be for a regular user, if any? Scenarios that suggest downloading something as a part of the …

Total answers: 6

Determining cause of Linux kernel panic

Determining cause of Linux kernel panic I’m running an Ubuntu 12.04 derivative (amd64) and I’ve been having really strange issues recently. Out of the blue, seemingly, X will freeze completely for a while (1-3 minutes?) and then the system will reboot. This system is overclocked, but very stable as verified in Windows, which leads me …

Total answers: 5

How to early configure Linux kernel to reboot on panic?

How to early configure Linux kernel to reboot on panic? You can put “panic=N” on the kernel command line to make the system reboot N seconds after a panic. But is there a config option to specify this (other than the default kernel command line option) before even boot loader comes into a play? Some …

Total answers: 9

How to investigate cause of total hang?

How to investigate cause of total hang? My Arch machine sometimes hangs, suddenly not responding in any way to the mouse or the keyboard. The cursor is frozen. Ctrl-Alt-Backsp won’t stop X11, and ctrl-alt-del does exactly nothing. The cpu, network, and disk activity plots in conky and icewm stop updating. In a few minutes the …

Total answers: 2

Kernel Panic because of RAM stick?

Kernel Panic because of RAM stick? one of my RAM sticks causes a Kernel Panic on my Ubuntu 10.10 (something like “not syncing” with a lot of memory adresses shown on screen). It’s definitely this one RAM stick and not its socket because when I put one of the other sticks into the slot of …

Total answers: 2