Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Clock gating
Clock gating
Hello I am having problems installing Debian on a new machine, after installing after the reboot I get the error "booting from "SATA: Star Drives SATA SSD' failed: verify it contains a 64-bit UEFI OS. it comes with a configurable Coreboot firmware, one of the options is to activate the legacy 8254 timer, is that required by Debian?
I tested other distros, like ubuntu, manjaro and they work. I had some problems with MX linux too, but I really want to fix that and install Debian.
The machine is a starlabs lite mk3
In the starlabs support page there's this about this firmware function:
Clock Gating
Enables or disables the 8254 legacy timer. Reduces power consumption when enabled but must be disabled for distributions such as Qubes.
https://support.starlabs.systems/kb/gui ... nfigurator
I tested other distros, like ubuntu, manjaro and they work. I had some problems with MX linux too, but I really want to fix that and install Debian.
The machine is a starlabs lite mk3
In the starlabs support page there's this about this firmware function:
Clock Gating
Enables or disables the 8254 legacy timer. Reduces power consumption when enabled but must be disabled for distributions such as Qubes.
https://support.starlabs.systems/kb/gui ... nfigurator
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Clock gating
The firmware seems to want an EFI boot loader. What does it have to do with clock gating or legacy timer ?
Check EFI boot variables with efibootmgr -v and the presence and contents of an EFI system partition.
Check EFI boot variables with efibootmgr -v and the presence and contents of an EFI system partition.
Re: Clock gating
I don't know what it has to do with clock gating, that's why I asked.
I got this output of efibootmgr -v:
I got this output of efibootmgr -v:
Code: Select all
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0003,0000,0001,0002
Boot0000* UiApp MemoryMapped(11,0x803860,0xb2885f)/FvFile(462caa21-7614-4503-836e-8ab6f4662331)
Boot0001* SATA: Star Drive SATA SSD PciRoot(0x0)/Pci(0x12,0x0)/Sata(0,65535,0)N.....YM....R,Y.
Boot0002* UEFI Shell MemoryMapped(11,0x803860,0xb2885f)/FvFile(7c04a583-9e3e-4f1c-ad65-e05268d0b4d1)
Boot0003* ubuntu HD(1,GPT,85704b1d-494c-41e7-8d45-b56270211742,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Re: Clock gating
I found what is the problem and was able to boot, in the coreboot bios there is the option to boot from file, there I found the grubx64.efi. But after adding that as and option, the coreboot holds it only for that session after a reboot it's gone and I have to boot from file again.
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Clock gating
What is it ?
I have that option in HP UEFI boot menu. It is a non-persistent one-time boot option.
Will you show the contents of the EFI partition at last ?
There is no EFI boot variable for the regular location used by Debian. There seems to be a generic boot variable for the whole SSD, but it will work only if GRUB is installed in the so-called "removable media path".
Re: Clock gating
I am not sure of how to check that, if on the BIOS this is the path I am using to start the machine properly:
\EFI\Debian\shimx64.efi
inside EFI there's:
<.>
<..>
<Debian>
<boot>
inside the above folder Debian there`s:
shimx64.efi
grubx64.efi
mmx64.efi
fbx64.efi
Not sure if that's what you asked, let me know.
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Clock gating
The removable media path is empty, no wonder why it does not boot.
Try this
Try this
Code: Select all
grub-install --force-extra-removable
Re: Clock gating
it returns a command not found, then I tried installing grub, it outputs that 'grub-legacy' is selected instead of 'grub'. If I choose to go forward and install grub-legacy, it says those packages will be removed:p.H wrote: ↑2022-05-29 21:58 The removable media path is empty, no wonder why it does not boot.
Try thisCode: Select all
grub-install --force-extra-removable
efibootmgr grub-efi-amd64-bin grub-efi-amd64-signed mokutil
shim-helpers-amd64-signed shim-signed-common shim-unsigned
Should I do it? Will it not brake my install?
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Clock gating
Of course you should NOT do it. grub-legacy is obsolete and does not support EFI boot. The proper package is grub-efi-amd64 which is already installed.
Are you sure you ran the command in a proper root environment with $PATH containing /sbin and /usr/sbin ? Or did you use "su" without "-", "-l" or "--login", which creates an incomplete environment ?
Are you sure you ran the command in a proper root environment with $PATH containing /sbin and /usr/sbin ? Or did you use "su" without "-", "-l" or "--login", which creates an incomplete environment ?
Re: Clock gating
Here's what I did first:
$ grub-install --force-extra-removable
bash: grub-install: command not found
Then I fought it happened because grub may not installed , the I ran 'sudo apt install grub' and got that output above saying those packages would be removed.
$ grub-install --force-extra-removable
bash: grub-install: command not found
Then I fought it happened because grub may not installed , the I ran 'sudo apt install grub' and got that output above saying those packages would be removed.
Re: Clock gating
I am also asking the devs of the coreboot I am using about this problem:
https://github.com/StarLabsLtd/firmware/issues/40
https://github.com/StarLabsLtd/firmware/issues/40
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Clock gating
This command requires root privileges, like apt install. "$" in the shell prompt means that you are not root, it should be "#". Use sudo before the command or start a root shell with "su -".
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Clock gating
Boot0003 was created for Debian and set first in BootOrder but BootCurrent indicates that Boot0001 was used for booting. It means that the firmware may be flawed and boot from the removable media path (EFI/boot) instead of the regular location (EFI/debian).
--force-extra-removable installed a copy of GRUB in EFI/boot but future GRUB package updates won't automatically update it in that location unless you reconfigure grub-efi-amd64 with
and confirm to install GRUB in the removable media path.
Debian is conservative and, unlike other distributions or OS, won't install GRUB in the removable media path by default. It prefers to break Debian boot rather than risking to break an existing system boot by overwriting the removable media path. Unfortunately, the option is offered only in expert install (with a deterrent message).
--force-extra-removable installed a copy of GRUB in EFI/boot but future GRUB package updates won't automatically update it in that location unless you reconfigure grub-efi-amd64 with
Code: Select all
dpkg-reconfigure grub-efi-amd64
Debian is conservative and, unlike other distributions or OS, won't install GRUB in the removable media path by default. It prefers to break Debian boot rather than risking to break an existing system boot by overwriting the removable media path. Unfortunately, the option is offered only in expert install (with a deterrent message).
Last edited by p.H on 2022-05-30 09:26, edited 2 times in total.