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 early boot console in 6.3.x kernels #8232

Closed
3hhh opened this issue May 27, 2023 · 13 comments
Closed

No early boot console in 6.3.x kernels #8232

3hhh opened this issue May 27, 2023 · 13 comments
Labels
affects-4.1 This issue affects Qubes OS 4.1. C: kernel C: other hardware support P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.

Comments

@3hhh
Copy link

3hhh commented May 27, 2023

How to file a helpful issue

Qubes OS release

4.1
Xen 4.14.5

Brief summary

Booting kernel 6.3.2-1 on a T530 leads to a black screen.

Steps to reproduce

Boot.

Expected behavior

Some output is shown, e.g. boot console output or the luks passphrase prompt.

Actual behavior

A black screen is shown. The kernel seems to react to keyboard input though, e.g. Ctrl-Alt-Del.

@3hhh 3hhh added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. labels May 27, 2023
@marmarek
Copy link
Member

Can you provide any logs? Since the kernel reacts, maybe you can type the luks passphrase blindly and hope logs will be saved?

@3hhh
Copy link
Author

3hhh commented May 27, 2023

Can you provide any logs? Since the kernel reacts, maybe you can type the luks passphrase blindly and hope logs will be saved?

Here you go: https://hackingthe.net/downloads/kernel_broken.txt

Actually it even boots after typing in the luks passphrase blindly. Xorg also makes the graphics work, i.e. the system is usable.
Did maybe plymouth.enable=0 change with that kernel?

@marmarek
Copy link
Member

Did maybe plymouth.enable=0 change with that kernel?

Why you add it? It surely disables graphical LUKS prompt.

@marmarek
Copy link
Member

honestly, I have no idea why you have blank screen, I don't see any obvious errors and there is also:

[    7.376146] fbcon: i915drmfb (fb0) is primary device
[    7.376513] Console: switching to colour frame buffer device 240x67
[    7.383795] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device

so, it did initialized GPU. I don't see any other GPU there, so it seems to be the correct (the only) one. Maybe you can compare the log with the one from working version?

@3hhh
Copy link
Author

3hhh commented May 27, 2023 via email

@vzvva
Copy link

vzvva commented May 28, 2023

I am experiencing the same issue with this kernel on my T530, where the discrete graphics card is enabled:
NVIDIA Corporation GF108M [NVS 5400M] [10de:0def] (rev a1) (prog-if 00 [VGA controller]).
After running multiple AppVMs for a few minutes, the system freezes and then automatically reboots.

@andrewdavidwong andrewdavidwong added C: kernel hardware support more info needed Requires more information before a diagnosis can be made or action can be taken. needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. labels May 28, 2023
@andrewdavidwong andrewdavidwong added this to the Release 4.1 updates milestone May 28, 2023
@3hhh
Copy link
Author

3hhh commented May 28, 2023 via email

@vzvva
Copy link

vzvva commented May 29, 2023

There are no logs after the crash and automatic reboot. I checked the lines before the'--reboot--'line in the command 'journalctl --since yesterday' in dom0, but the logs after the crash are missing. What should I do?

@vzvva
Copy link

vzvva commented May 29, 2023

By the way, I can't use another kernel with the discrete graphics* card enabled: . The system locks before entering the disk password.

  • NVIDIA Corporation GF108M [NVS 5400M] [10de:0def] (rev a1) (prog-if 00 [VGA controller])

@vzvva
Copy link

vzvva commented Jun 1, 2023

@3hhh
Copy link
Author

3hhh commented Jul 9, 2023

Still an issue in 6.3.9.

@3hhh 3hhh changed the title Kernel 6.3.2-1 is broken on some systems No tty password prompt in 6.3.x kernels Jul 9, 2023
@3hhh 3hhh changed the title No tty password prompt in 6.3.x kernels No early boot console in 6.3.x kernels Jul 9, 2023
@3hhh
Copy link
Author

3hhh commented Jul 15, 2023

Was fixed by upgrading heads.

@3hhh 3hhh closed this as completed Jul 15, 2023
@andrewdavidwong andrewdavidwong added C: other and removed more info needed Requires more information before a diagnosis can be made or action can be taken. needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. labels Jul 15, 2023
@tlaurion
Copy link
Contributor

tlaurion commented Jul 17, 2023

@3hhh yes. Was fixed by linuxboot/heads#1398, more specifically linuxboot/heads#1381 hacking around kernel 4.20+ not exposing fb address (Cause is that i915drmfb on next kernel after kexec call can only own the console once it is loaded). With linuxboot/heads#1381, Heads kernel is now tainted to expose fb address on kexec load of next kernel and kexec was hacked to expose fb address when loading next kernel.

Please keep an eye on linuxboot/heads#1403 which will replace all this drm+fb nonsense under Heads with efifb in the short term, providing a common base for all coreboot+linuxboot and give 500kb back from liberated space from kernel size reduction and 2s shorter bootime.

@andrewdavidwong andrewdavidwong added the affects-4.1 This issue affects Qubes OS 4.1. label Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.1 This issue affects Qubes OS 4.1. C: kernel C: other hardware support P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Projects
None yet
Development

No branches or pull requests

6 participants
@marmarek @tlaurion @andrewdavidwong @3hhh @vzvva and others