<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 10, 2024 at 4:08 PM Alexander Dahl <<a href="mailto:ada@thorsis.com">ada@thorsis.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Note: platform here is 32 bit arm, namely v5te on Microchip SAM9X60<br>
SoC. Kernel is 6.6, maybe I did not get the kernelconfig right and<br>
some options are not set correctly? Or maybe those crashes are real?<br>
Then I could need some help how to _really_ enable coredumps for<br>
journald, udevd, and timesyncd. Got a hint off-list to pass<br>
'systemd.dump_core=true' to kernel cmdline, but that had no effect on<br>
coredump creation.<br></blockquote><div><br></div><div>I would just set kernel.core_pattern to a *file* path, e.g. "/var/log/core.%P". Then use the shell's ulimit command to raise the coredump size limit as it defaults to zero (ulimit -c unlimited), and manually start /usr/lib/systemd/systemd-timesyncd from the shell (timesyncd is the simplest one and doesn't do anything system-critical).</div><div><br></div><div>Alternatively, run the service under the debugger: `gdb /usr/.../timesyncd`.</div></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr">Mantas Mikulėnas</div></div></div>