Skip to content

Commit

Permalink
crashkernel: Add ttyS0 console
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
donald committed Aug 2, 2019
1 parent 9172956 commit 7ba29f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc_systemd_units/crashkernel.service
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 7ba29f1

Please sign in to comment.