Univention Bugzilla – Bug 45407
Capture Linux kernel crash information - Scripts run faulty in 4.2-x
Last modified: 2017-09-19 09:04:09 CEST
The following 3 topics need to be updated in the artikel: The generated Script '/var/lib/crash/collector.sh' - which is later called by init.d - contains the variable '$OUTPUT' which is NULL. Due to that the output should be written to '/root', which lacks permission, instead of '/var/lib/crash') ----- 8. kexec does not work with UCS 4.2 - an error is shown saying the reserved memory is not reserved. ===== If we need a CoreDump because a task just hangs and is blocking the rest of the System,... procs_sys_hang_task_panic=1 (default: 0) → PANIC=CRASHDUMP
See attachment 9219 [details] (In reply to Nico Stöckigt from comment #0) > The generated Script '/var/lib/crash/collector.sh' - which is later called > by init.d - contains the variable '$OUTPUT' which is NULL. Due to that the > output should be written to '/root', which lacks permission, instead of > '/var/lib/crash') Fixed. > 8. kexec does not work with UCS 4.2 - an error is shown saying the reserved > memory is not reserved. No, it works. It does not work with Xen, as Xen implements its own crash handler, which is incompatibel with kexec . > If we need a CoreDump because a task just hangs and is blocking the rest of > the System,... > > procs_sys_hang_task_panic=1 (default: 0) → PANIC=CRASHDUMP Normally it's a bad idea to crash the kernel, just because a task hangs.