[Bug 26891] Radeon KMS fails with inaccessible AtomBIOS on systems with (U)EFI boot

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 17 22:55:27 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=26891

--- Comment #41 from Austin Lund <austin.lund at gmail.com> 2012-09-18 05:55:27 UTC ---
(In reply to comment #40)
> (In reply to comment #39)
> > From what I've been told, you need to boot using the EFI stub method and not a
> > boot-loader.  Also, you may need to pass some kernel options (eg initrd) so the
> > easiest way to do this is from within an EFI shell.
> Do you have any more details on that? I'd like to try it!

Make sure you have CONFIG_EFI and CONFIG_EFI_STUB set for your kernel.

Put the kernel image in a filesystem that can be read by the EFI firmware or
has a driver for it.

Boot into the EFI shell.  I do this via rEFIt.

cd to the location of the kernel then execute it by typing it's name.  Kernel
parameters can be listed after the kernel name.

> > How are you booting the kernel?
> linux /boot/vmlinuz root=/dev/sda3
> I have never needed an initrd, all required modules are built in...

OK.  So you haven't actually said, but you must be booting via Grub either in
EFI mode or BIOS compatiability mode.  Neither of those will work in extracting
the AtomBIOS from the configurations.  It needs to be done before calling
ExitBootServices() in EFI mode and Grub isn't set up to do anything this
tricky.  Hence you have to use the inbuilt kernel loader in the EFI stub code.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list