Nitrokey / heads

A minimal Linux that runs as a coreboot or LinuxBoot ROM payload to provide a secure, flexible boot environment for laptops and servers.
http://osresearch.net/
GNU General Public License v2.0
15 stars 1 forks source link

Reboot from Heads not working anymore after 2.1->2.4 upgrade #34

Closed UndeadDevel closed 8 months ago

UndeadDevel commented 8 months ago

Please identify some basic details to help process the report

After upgrading to NK Heads 2.4 from 2.1 reboot from Heads doesn't work anymore (it does work from QubesOS 4.2); i.e. it neither works when I trigger it manually from recovery shell nor when the reboot is supposed to be automatically triggered during OEM factory reset. It's a relatively minor issue. Possibly related to #24.

A. Provide Hardware Details

1. What board are you using (see list of boards here)? Nitropad NV41

2. Does your computer have a dGPU or is it iGPU-only?

3. Who installed Heads on this computer?

4. What PGP key is being used?

5. Are you using the PGP key to provide HOTP verification?

B. Identify how the board was flashed

1. Is this problem related to updating heads or flashing it for the first time?

2. If the problem is related to an update, how did you attempt to apply the update?

3. How was Heads initially flashed

4. Was the board flashed with a maximized or non-maximized/legacy rom?

5. If Heads was externally flashed, was IFD unlocked?

C. Identify the rom related to this bug report

NK Heads 2.4 1. Did you download or build the rom at issue in this bug report?

2. If you downloaded your rom, where did you get it from?

Please provide the release number or otherwise identify the rom downloaded

3. If you built your rom, which repository:branch did you use?

4. What version of coreboot did you use in building?

5. In building the rom where did you get the blobs?

Please describe the problem

Describe the bug reboot from Heads recovery shell or automated scripts doesn't work; machine shuts down without rebooting instead.

To Reproduce Steps to reproduce the behavior:

  1. Upgrade NV41 to NK Heads 2.4
  2. Enter recovery shell and execute reboot

Expected behavior reboots as before under 2.1

daringer commented 8 months ago

yes, this is kind of a "feature"....

in reboot and poweroff the EC is used for a proper shutdown - this reduces the risk that the nitropads might need to be started more than once (this may happen after a firmware update)

So I have to admit this will be a won't fix as of now...

UndeadDevel commented 8 months ago

Well it's not a big deal anyway; reboot from the OS works as expected. Closing as won't fix.

UndeadDevel commented 8 months ago

I'll just add that while sometimes rebooting from the OS does work, other times it leaves the system hanging and requires a hard shutdown...is this also expected or should I open a new issue? Edit: now opened under #38

daringer commented 8 months ago

not expected, also not necessarily a firmware only thing, still feel free to create an issue - pls include OS & kernel-version