Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1692907 - Enable SysRq for the images
Summary: Enable SysRq for the images
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-arm-installer
Version: 29
Hardware: aarch64
OS: Linux
Target Milestone: ---
Assignee: Paul Whalen
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2019-03-26 16:42 UTC by Jan Kratochvil
Modified: 2019-03-26 16:42 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Jan Kratochvil 2019-03-26 16:42:03 UTC
Description of problem:
Due to various issues one can easily end up with unbootable image where even ctrl-alt-del does not work (such as Bug 1692903).
Then one has to hard poweroff the Raspberry or hard unplug the USB drive which has various disadvantages, such as possibly killing the USB drive which happened to me (according to some internet rumors why USB drives die).

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Boot an unbootable aarch64 created image on Raspberry.
Try to reboot it with standard SysRq-U, SysRq-S, SysRq-B

Actual results:
Nothing happens. (Or some message about disabled SysRq gets printed.)

Expected results:
Raspberry gets (mostly) safely rebooted.

Additional info:
The command is simple, I prefer it as default but maybe you want it with an extra option - as standard Fedora images also do not have it default (yes, there are some security reasons but I would say the ARM images are a special case):
  echo 'kernel.sysrq = 1' >/tmp/root/etc/sysctl.d/sysrq.conf

Note You need to log in before you can comment on or make changes to this bug.