Sometimes a kernel can crash.
It interesting to know when & why ? Maybe there is a line to find ?
It interesting to know when & why ? Maybe there is a line to find ?
What line do you expect to find? Something likeMaybe there is a line to find ?
if (user == "alain" && isFullMoon())
crash(E_CRASH_TYPE::HARD);
I ever only experienced crashing once in my life. FreeBSD is a rock solid beast.Sometimes a kernel can crash.
It interesting to know when & why ? Maybe there is a line to find ?
Thank you. I have many crashes especially when building ports. No one have ever before said that building in parallel causes this. I will try with just one build at a timeI'm able to crash the kernel under following conditions:
-Run Wayland
-Build ports simultaneously with poudriere
-Play a youtube video with falkon browser
Sometimes the kernel crashes ...
if (user == "alain" && isFullMoon()) crash(E_CRASH_TYPE::HARD);
In 20 years I have never had a kernel crash on new hardware.For all those of you who has never seen a crash: Try some new hardware.
Within the context of the FreeBSD community known to me, I tend to be the guy with the "latest hardware" more often than not. In fact, I usually get a lot of comments in the line of "just wait a year".For all those of you who has never seen a crash: Try some new hardware. My i7-12700K with 64GB ram on 4 sticks and an ASUS board. Lot of problems = a lot to learn and understand.
Deadlocks are worse than panics. At least with a panic the box reboots without having to go downstairs to punch the reset button. Panics also provide register dumps which are much easier to debug, because we're walking the stack through a backtrace. The source of the deadlock could have occurred seconds, minutes or even hours previously. While with a deadlock (or as we in the IBM mainframe world called them deadly embrace) leave you with little or no information.My (*-RELEASE) kernel doesn't crash ?
The closest I've seen to a crash was a deadlock in the vfs which forced me to reboot the machine...
Of course they are, I didn't qualify anything here. Just saying my (RELEASE) kernel never crashed, in many yearsDeadlocks are worse than panics.
Not for me, as I use GELI on my private server and need to type the passphrase on the serial console ? – but:At least with a panic the box reboots without having to go downstairs to punch the reset button.
This is certainly true. I didn't even bother trying to find out what happened. Somehow, the vfs subsystem seemed to be in a deadlocked state, so disk I/O was dead, network socket I/O still worked (which is useless when you need the disk for any command typed on SSH).Panics also provide register dumps which are much easier to debug, because we're walking the stack through a backtrace. The source of the deadlock could have occurred seconds, minutes or even hours previously. While with a deadlock (or as we in the IBM mainframe world called them deadly embrace) leave you with little or no information.