Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No video output on metal after grub boot #8127

Closed
imle opened this issue Jan 2, 2024 · 12 comments · Fixed by #9222
Closed

No video output on metal after grub boot #8127

imle opened this issue Jan 2, 2024 · 12 comments · Fixed by #9222
Assignees

Comments

@imle
Copy link

imle commented Jan 2, 2024

Bug Report

Stuck in boot after kern/efi/sb.c:111: UEFI Secure Boot state: Disabled is printed.

Description

Trying to boot into 1.6.1 or 1.4.4 version of Talos on a HP Elitedesk 705 G4 DM. Without set debug=all, the machine hangs with a black screen and an underscore. After enabling the debug option, the boot process hangs immediately after printing the above log line.

I have attempted the boot process with all drives removed and a single stick of ram to eliminate as many variables as possible and this happens with all 3 of the machines I have.

Logs

PXL_20240102_153129451.jpg

@imle
Copy link
Author

imle commented Jan 2, 2024

Only mention I can find of a similar issue anywhere:
https://forums.gentoo.org/viewtopic-p-8755201.html?sid=7b3162f6c0ec892d909661710c21fb5f

@imle
Copy link
Author

imle commented Jan 2, 2024

Also want to note that trying to set set debug=all,-mmap does not seem to be working.

https://www.gnu.org/software/grub/manual/grub/html_node/debug.html

@imle
Copy link
Author

imle commented Jan 2, 2024

Ok, upon further work, it does seem that it is booting, but just nothing is coming out of either display port.

@imle imle changed the title Stuck in boot No video output on metal Jan 9, 2024
@imle imle changed the title No video output on metal No video output on metal after grub boot Jan 9, 2024
@smira
Copy link
Member

smira commented Jan 17, 2024

Usually it's related to the console= settings, you can try tweaking it, removing console=ttyS0, changing to console=tty1.

Unfortunately it's hardware dependent.

@imle imle closed this as completed Jan 30, 2024
@imle
Copy link
Author

imle commented Jan 30, 2024

I closed this a bit early, I am thinking this might be something else as it seems to just reboot after about 5 minutes.

@imle imle reopened this Jan 30, 2024
@runningman84
Copy link

I have the exact same issue with my n100 board from asrock. I can boot any other Linux distribution like Ubuntu just fine.

@runningman84
Copy link

image

with talos 1.7.0 beta 0 that is the output.

@smira
Copy link
Member

smira commented Apr 11, 2024

Try removing console=ttyS0 boot argument.

@runningman84
Copy link

Removing all console= parameters it boots just fine with version 1.6.7 and 1.7.0.beta.0. Are these settings persistent after the install? Why do all linux distros work out of the box but talos has issues like this?

@runningman84
Copy link

These settings get lost after the initial install so I have to modify the grub parameters for each boot. How can I persist that in talos?

@smira
Copy link
Member

smira commented Apr 12, 2024

Console argument issue is a hard one, see https://www.talos.dev/v1.6/introduction/what-is-new/#kernel-arguments on how to remove default args.

@runningman84
Copy link

Thanks that worked for me!

frezbo added a commit to frezbo/talos that referenced this issue Aug 25, 2024
Drop `console=ttyS0` argument for metal images/installer.

`console=ttyS0` causes lot of issues with bare metal hardware when
trying to use a physical serial port.

Ref:

* https://bugzilla.redhat.com/show_bug.cgi?id=1839923
* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763601;msg=17
* https://www.kernel.org/doc/html/latest/admin-guide/serial-console.html
* coreos/fedora-coreos-tracker#567

Fixes: siderolabs#8695
Fixes: siderolabs#8657
Fixes: siderolabs#8127

Signed-off-by: Noel Georgi <[email protected]>
frezbo added a commit to frezbo/talos that referenced this issue Aug 25, 2024
Drop `console=ttyS0` argument for metal images/installer.

`console=ttyS0` causes lot of issues with bare metal hardware when
trying to use a physical serial port.

Ref:

* https://bugzilla.redhat.com/show_bug.cgi?id=1839923
* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763601;msg=17
* https://www.kernel.org/doc/html/latest/admin-guide/serial-console.html
* coreos/fedora-coreos-tracker#567

Fixes: siderolabs#8695
Fixes: siderolabs#8657
Fixes: siderolabs#8127

Signed-off-by: Noel Georgi <[email protected]>
frezbo added a commit to frezbo/talos that referenced this issue Aug 25, 2024
Drop `console=ttyS0` argument for metal images/installer.

`console=ttyS0` causes lot of issues with bare metal hardware when
trying to use a physical serial port.

Ref:

* https://bugzilla.redhat.com/show_bug.cgi?id=1839923
* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763601;msg=17
* https://www.kernel.org/doc/html/latest/admin-guide/serial-console.html
* coreos/fedora-coreos-tracker#567

Fixes: siderolabs#8695
Fixes: siderolabs#8657
Fixes: siderolabs#8127

Signed-off-by: Noel Georgi <[email protected]>
frezbo added a commit to frezbo/talos that referenced this issue Aug 26, 2024
Drop `console=ttyS0` argument for metal images/installer.

`console=ttyS0` causes lot of issues with bare metal hardware when
trying to use a physical serial port.

Ref:

* https://bugzilla.redhat.com/show_bug.cgi?id=1839923
* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763601;msg=17
* https://www.kernel.org/doc/html/latest/admin-guide/serial-console.html
* coreos/fedora-coreos-tracker#567

Fixes: siderolabs#8695
Fixes: siderolabs#8657
Fixes: siderolabs#8127

Signed-off-by: Noel Georgi <[email protected]>
frezbo added a commit that referenced this issue Aug 27, 2024
Drop `console=ttyS0` argument for metal images/installer.

`console=ttyS0` causes lot of issues with bare metal hardware when
trying to use a physical serial port.

Ref:

* https://bugzilla.redhat.com/show_bug.cgi?id=1839923
* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763601;msg=17
* https://www.kernel.org/doc/html/latest/admin-guide/serial-console.html
* coreos/fedora-coreos-tracker#567

Fixes: #8695
Fixes: #8657
Fixes: #8127

Signed-off-by: Noel Georgi <[email protected]>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants