From 7ba29f13d1ad07ec3c2d06c2394e377fc1d5ab6c Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Fri, 2 Aug 2019 15:07:39 +0200 Subject: [PATCH] crashkernel: Add ttyS0 console Add "console=ttyS0,115200n8" to crashkernel commandline as we did for the regular kernel in mxgrub. Also specifiy full command line here instead of appending to the command line of the crashing kernel to get a better defined state. --- misc_systemd_units/crashkernel.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc_systemd_units/crashkernel.service b/misc_systemd_units/crashkernel.service index 402ea5a..fde443c 100644 --- a/misc_systemd_units/crashkernel.service +++ b/misc_systemd_units/crashkernel.service @@ -6,7 +6,7 @@ ConditionPathExists=/boot/bzImage.crash StandardOutput=kmsg StandardError=kmsg Type=oneshot -ExecStart=/usr/sbin/kexec -p /boot/bzImage.crash --initrd=/boot/grub/initramfs.igz "--append=root=LABEL=root ro console=ttyS1,115200n8 console=tty0 irqpoll maxcpus=1 reset_devices CRASH" +ExecStart=/usr/sbin/kexec -p /boot/bzImage.crash --initrd=/boot/grub/initramfs.igz --command-line="root=LABEL=root ro console=ttyS0,115200n8 console=ttyS1,115200n8 console=tty0 irqpoll maxcpus=1 reset_devices CRASH" RemainAfterExit=yes [Install]