71
votes
Crash during startup on a recent corporate computer
The problem
It turns out that my problem is a known issue between the latest Intel microcode on (some?) Skylake CPUs and recent Linux kernels, which is mainly triggered by sssd. See Ubuntu bug #...
29
votes
How to get last crash log from ArchLInux
To get the log of the last boot, execute as root or with sudo:
journalctl -b -1
learned from this discussion.
24
votes
Accepted
Does a Linux console change color when it crashes?
To me, a server displaying a purple screen is a crashed ESX host. I’m not aware of any Linux-based system showing a purple screen when crashed.
ESX used to include a Linux kernel for its first (...
16
votes
Does a Linux console change color when it crashes?
I confidently chose "B. Black", since I thought the administrator switched to a virtual terminal with Ctrl+Alt+F3 to switch to CLI mode and check logs. Since terminals are black, I thought ...
14
votes
Why does the console need sometimes a reset after CTRL+C
A console sometimes needs a reset(1) (or some stty(1) command) because the state of a pseudo-terminal does not change when some process (e.g. a program started by your shell) terminates.
Read the ...
13
votes
Accepted
bash pipe loses data when command crashed
This is a buffering "problem". Telling python not to buffer results in the desired result.
$ python3 -u abort.py |& cat
end stdout
end stderr
As to what to do about it, you should flush ...
12
votes
Is it safe to remove files from /var/crash
You can delete files in under /var/crash if you're willing to lose useful information needed to debug those crashes.
Your bigger issue is what is causing all of those crashes.
It is most likely ...
10
votes
Accepted
What's does Bad RIP value mean?
"RIP" is the 64-bit Instruction Pointer register of the CPU. Its value determines the address from which the CPU will fetch the next instruction to be executed.
(In the x86 architecture, the ...
9
votes
Accepted
Which filesystems require fsync() for crash-safety when replacing an existing file with rename()?
There is a mistake in this question. The question implied that this scenario is made fully crash-safe by auto_da_alloc. This is not true for ext4. I presume it was not true in the old ext3 either. ...
7
votes
Accepted
Where does rasdaemon record its logs?
Everything below /sys is typically a virtual file system of the kernel, in particular, /sys/kernel/debug/tracing is tracefs. This has nothing to do with rasdaemon.
If rasdaemon is started with ...
6
votes
Accepted
Server crashes after ~20 minutes
On some systems systemd will suspend the computer even when it is not idle. I believe systemd looks at keyboard and mouse interaction - not whether the CPUs are firing on all cylinders. If you are not ...
6
votes
Accepted
Linux won't boot, arch kernel is broken, how to fix?
It's fixed. Here's how I fixed it.
1. Get live arch working on bootable USB stick
a. downloaded working live arch installation to working computer.
Fastest was the torrent download from here https://...
5
votes
Accepted
Migrate Firefox profile to a new one
You don't need to reinstall Firefox if the system files are not corrupted or damaged.
Firefox Safe Mode
You can also start Firefox in the safe mode, so the extensions are disabled.
Firefox Safe Mode ...
4
votes
General Protection Fault: What to do about it?
I ended up fixing this problem by removing one of my memory modules. Either the SODIMM module or the port itself was defective (not sure since I haven't yet replaced it).
4
votes
Accepted
restart systemd after it crash
You cannot.
Once systemd has reached this state, there is no way out. It is an infinite loop in the systemd program.
You will have to wait for the actual bugs (one in Oracle's barmy VirtualBox post-...
4
votes
Accepted
System stability issues - disk becoming read-only, system coming to a halt, Input/output errors in terminal
After a lot of digging, I appear to have found the solution (no crashes so far 🤞)
tl;dr:
In /etc/default/grub in the GRUB_CMDLINE_LINUX_DEFAULT variable I added:
nvme_core.default_ps_max_latency_us=...
4
votes
Accepted
`libvirtd` crashes the system
It turns out I misunderstood the guide. In there, it says to select /dev/sdb (which is what I have), not /dev/sdb2 (which is what I thought, I only wanted that partition). There's a similar problem ...
4
votes
Accepted
VLC Crashing when loading any video
I fixed this myself by checking which window server I was using, which would be X11. Then in VLC I went to Tools > Preferences > Video and then changed Output to X11 video output (XCB). This ...
3
votes
Accepted
i3wm [official ubuntu version] screen freezes randomly when window is fullscreen
This seems to be a compton issue and there's no solution as far as I know. I recommend you to read and participate in this Github thread (it seems to be the most active). This bug is hard to reproduce ...
3
votes
Accepted
Unable to use crash utility due to missing /usr/lib/debug/lib/modules/ folder
The previous page of the RHEL documentation also tells you following:
In addition to crash, it is also necessary to install the kernel-debuginfo package that corresponds to your running kernel, ...
3
votes
rcu_sched detected stall on CPU
From the stack we can see that this CPU is stuck in a spinlock while trying to allocate memory (_raw_spin_lock inside alloc_vmap_area). More interestingly, it seems this is happening while trying to ...
3
votes
Accepted
Use of __rb_rotate_left()
This function changes the structure of a binary tree without interfering with the order of the elements.
See:
the Wikipedia page on red-black trees;
the Wikipedia page on tree rotation;
the source ...
3
votes
Debian Stretch VM becomes quasi-unresponsive every few days
Assumptions
Instructions
A dumb hack (which assumes your tasks are hung on filesystem/disk access)
1. Assumptions
1.1) By default, the Linux kernel has code that reports various types of crash or ...
3
votes
Accepted
How to stop LibreOffice Draw from crashing in Debian Bullseye?
Even after completely reformatting my computer's hard drives, making new install media, and installing the latest version of Debian Bullseye, I continued to have this problem.
After considerable trial ...
3
votes
Accepted
Troubleshooting Intermittent System Crashes on a Linux PC with Flashing Graphics Card Lights
A "small white light" on a modern high-performance GPU is most likely related to power input, although you'd want to check the GPU vendor's documentation to be sure.
Which power supply are ...
3
votes
Accepted
Kernel 6.5.2 seems to have amdgpu crash on no-retry page fault
It seems like there are reports that setting the amdgpu module parameter amdgpu.mcbp=0 fixes the issue for those who were having it since kernel 6.5.
I also found out that the default value for amdgpu....
3
votes
Accepted
Editors crashing with certain characters, programs crashing, how to diagnoze?
The messages in the crash report indicate that the sdb disk had a read error and returned bad data. It says auto reallocate failed, so it might be that any spare capacity to replace detected bad ...
2
votes
Ubuntu: Chrome crashes when started
First: the crash causing extension was ad block plus.
And here's how I found it:
Open a terminal window
create a temporary folder:
mkdir ~/ChromeExtensions
cd to google extension folder (Default is ...
2
votes
Accepted
Debug kernel panic - Watchdog detected hard LOCKUP on cpu 9?
It looks like upgrading megaraid firmware (AND a ram dimm issue too!) fixed the crash during DSA.
2
votes
Ubuntu 16.04 LTS randomly freezes
i faced this problem before on my ASUS , it seems that the problem was on DE i was using Ubuntu MATE after that i installed xfce and the problem ends
i don't know why MATE freezes and what causes ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
crash × 346linux × 64
debian × 48
ubuntu × 46
freeze × 25
kernel × 24
linux-mint × 23
fedora × 21
logs × 17
centos × 15
kernel-panic × 15
linux-kernel × 14
boot × 14
arch-linux × 12
debugging × 11
reboot × 10
filesystems × 9
xorg × 9
hardware × 9
core-dump × 9
process × 8
drivers × 8
nvidia × 8
memory × 7
ssd × 7