Skip to content

Log to ttys0 #95

Merged
merged 7 commits into from
Aug 7, 2019
Merged

Log to ttys0 #95

merged 7 commits into from
Aug 7, 2019

Commits on Aug 2, 2019

  1. mxgrub: Log to ttyS0 as well

    Add "console=ttyS0,115200n8" to the kernel command line to get kernel
    ring buffer logging to both serials.
    donald committed Aug 2, 2019
    Configuration menu
    Copy the full SHA
    17202cf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cc211e0 View commit details
    Browse the repository at this point in the history
  3. mxgrub: Do not use old command line on reboot

    When we use `mxgrub --reboot` we don't want to reuse the previous kernel
    command line.
    
    Generate a new command line for kexec.
    
    This way, changes we make to $KERNEL_PARAMETER in this script can be activated
    by `mxgrub --reboot` as well.
    donald committed Aug 2, 2019
    Configuration menu
    Copy the full SHA
    31c784c View commit details
    Browse the repository at this point in the history
  4. Import crashkernel.service

    Import existing crashkernel.service into repository.
    donald committed Aug 2, 2019
    Configuration menu
    Copy the full SHA
    9172956 View commit details
    Browse the repository at this point in the history
  5. 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.
    donald committed Aug 2, 2019
    Configuration menu
    Copy the full SHA
    7ba29f1 View commit details
    Browse the repository at this point in the history
  6. crashkernel: Add ExecStop

    Add ExecStop to unload the panic kernel.
    
    "systemctl stop crashkernel" can be used to disable the panic reboot and
    free the memory.
    
    "systemctl restart crashkernel" can be used to reload the panic kernel.
    donald committed Aug 2, 2019
    Configuration menu
    Copy the full SHA
    d25a4f4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    13bf77c View commit details
    Browse the repository at this point in the history