View previous topic :: View next topic |
Author |
Message |
dopow n00b
Joined: 11 Oct 2008 Posts: 20
|
Posted: Sat Mar 09, 2013 9:18 pm Post subject: GRUB2 EFI Console video hangs, but system boots [SOLVED] |
|
|
Hello,
This is my first time working with grub2 and an EFI system, and I'm stumped.
The system boots fine up until the point that OpenRC would start (http://sinewam.com/public/gentoo-efi-openrc-boot.png), and then I lose video on the console. However, the serial console continues to work, and the system does boot, and I can ssh it.
I've tried booting grub in "console" mode (no framebuffer), but that doesn't seem to change anything. I'm pretty sure that I have all of the kernel modules needed, but can't be sure. I'm running hardened sources 3.8.2 (also tried 3.8.0). I know these are both masked, but 3.7.5-r1 was causing all sorts of problems.
Has anyone seen this before?
Thanks!
Last edited by dopow on Sun Mar 10, 2013 1:23 am; edited 1 time in total |
|
Back to top |
|
|
srs5694 Guru
Joined: 08 Mar 2004 Posts: 434 Location: Woonsocket, RI
|
Posted: Sat Mar 09, 2013 10:53 pm Post subject: |
|
|
This sounds to me like a framebuffer issue. When you boot in EFI mode, VGA text modes don't work; you need a framebuffer console, and some systems can be finicky about how you set that up. You might need the framebuffer driver for your specific hardware or the generic EFI framebuffer driver. Note that some relevant drivers are not listed under the framebuffer category in the kernel configuration tool. Unfortunately, these can sometimes interact with your X drivers in undesirable ways, or their absence can cause problems, too. The best configuration can also vary depending on whether you're using the open source or proprietary X drivers for your video hardware (when both are available). I don't claim to be an expert on how to get all this to work; I've just fiddled with my kernel's video and framebuffer configurations until it's started working.
FWIW, my own main system includes:
Code: |
CONFIG_DRM_RADEON=m
CONFIG_DRM_RADEON_KMS=y
CONFIG_FB=y
CONFIG_FB_EFI=y
# CONFIG_FB_RADEON is not set
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
|
This is for an AMD-based board with a built-in ATI Radeon HD3000. You'd obviously want different entries for other hardware. I get the following in my ring buffer ("dmesg" output):
Code: |
[ 2.550580] efifb: probing for efifb
[ 2.550930] efifb: framebuffer at 0xd0000000, mapped to 0xffffc90010100000, u
sing 5120k, total 5120k
[ 2.550935] efifb: mode is 1280x1024x32, linelength=5120, pages=1
[ 2.550938] efifb: scrolling: redraw
[ 2.550941] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[ 2.563527] Console: switching to colour frame buffer device 160x64
[ 2.575305] fb0: EFI VGA frame buffer device
...
[ 45.530181] fbcon: radeondrmfb (fb0) is primary device
[ 45.535988] Console: switching to colour frame buffer device 240x67
[ 45.541877] fb0: radeondrmfb frame buffer device
|
I interpret this as meaning that the EFI framebuffer driver is used early in the boot process, but that the system later switches to the radeondrmfb driver, which is included in CONFIG_DRM_RADEON, which in turn is not in the framebuffer section of the kernel configuration.
The organization of these options in the kernel leaves a lot to be desired, IMHO. |
|
Back to top |
|
|
dopow n00b
Joined: 11 Oct 2008 Posts: 20
|
Posted: Sun Mar 10, 2013 1:03 am Post subject: |
|
|
srs5694, I owe you one! I was missing my hardware's framebuffer module, which was under some other menuconfig section.
I've been working on this for several days now, and I had read everywhere that the EFI framebuffer module would be used instead of the hardware module. Oops...
Thanks for your help! |
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Sun Aug 04, 2013 10:35 pm Post subject: |
|
|
looks to me like a 6 sided cube, satanists must sponsor linux development.
try removing i915 from your kernel. |
|
Back to top |
|
|
GrayGuide n00b
Joined: 26 Jan 2024 Posts: 2
|
Posted: Fri Jan 26, 2024 9:35 am Post subject: |
|
|
dopow wrote: | srs5694, I owe you one! I was missing my hardware's framebuffer module, which was under some other menuconfig section.
I've been working on this for several days now, and I had read everywhere that the EFI framebuffer module would be used instead of the hardware module. Oops...
Thanks for your help! |
I have also suffered from this issue for a long time. Could I know whether it is fixed by modify the menuconfig file? If yes, Could you share a picture of this? I'm a new guy on the linux, not so familar with it. Another care, have any way sovled this issue in EFI code, which means don't modify the menuconfig file ? Pls give a help... |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4008 Location: Bavaria
|
Posted: Fri Jan 26, 2024 12:32 pm Post subject: |
|
|
GrayGuide,
First of all: Welcome to Gentoo Forums !
A lot has changed in the Linux kernel in the last years. What problem do you currently have? Or did you just want information about https://wiki.gentoo.org/wiki/Framebuffer ?
If you have a current problem, it would be good to start a new thread instead of reviving this very old one. Please describe your problem precisely and also give us information about your system (e.g. "emerge --info"). _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
GrayGuide n00b
Joined: 26 Jan 2024 Posts: 2
|
Posted: Fri Jan 26, 2024 12:44 pm Post subject: |
|
|
dear pietinger,
Ok, I'll open anther one. My question's phenomenon is exactly the same as this one. My sysem is burned from clonezilla-live-3.1.2-6-arm64.iso(http://free.nchc.org.tw/clonezilla-live/experimental/arm/3.1.2-6/)
Linux version 6.5.0-5-arm64 (debian-kernel@lists.debian.org) (gcc-13 (Debian 13.2.0-7) 13.2.0, GNU ld (GNU Binutils for Debian) 2.41) #1 SMP Debian 6.5.13-1 (2023-11-29) |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4008 Location: Bavaria
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|