Discussion:
Elilo(3.8) can boot linux kernel(2.6.28) on Intel 945GNT?
王波
2009-01-13 04:10:04 UTC
Permalink
I'm currently trying on using the ELILO(v3.8) to load and execute an EFI linux(v2.6.28) image on Intel chipset 945GNT.
My native BIOS is EFI BIOS without CSM(Compatibility Support Module).
My elilo.conf is: legacy-free prompt timeout=50 image=vmlinuz-2.6.28 label=linux read-only append="ramdisk_size=12288 maxcpus=1" initrd=initrd-2.6.28.img
I trace the elilo source to elilo.c(255): status = uefi_call_wrapper(BS->ExitBootServices, 2, image, cookie).and the debug info is: util.c(line 318):final get_memmap map_size=1365799604736
//the system hanged here

That is to say elilo.efi has hang before start_kernel().
------------------------------------------------------------------------

Here comes my questions:
Q1: Why does elilo fail when BS->ExitBootServices is called?
Q2: Can EFI Linux Kernel support for IA32 chipsets? or only support for IA64,Itanium, ...
Q3: Has anyone known the differences between IA32 and Itanium in supporting for EFI Linux Kernel?
Any help will be greatly appreciated.
_________________________________________________________________
ÉÏWindows Live ÖйúÊ×Ò³£¬ÏÂÔØ×îаæMSN£¡
http://im.live.cn/
Jason Fleischli
2009-01-13 19:06:51 UTC
Permalink
Post by 王波
I'm currently trying on using the ELILO(v3.8) to load and execute an
EFI linux(v2.6.28) image on Intel chipset 945GNT.
My native BIOS is EFI BIOS without CSM(Compatibility Support Module).
legacy-free
prompt
timeout=50
image=vmlinuz-2.6.28
label=linux
read-only
append="ramdisk_size=12288 maxcpus=1"
initrd=initrd-2.6.28.img
status = uefi_call_wrapper(BS->ExitBootServices, 2, image, cookie).
util.c(line 318):final get_memmap map_size=1365799604736
//the system hanged here
That is to say elilo.efi has hang before start_kernel().
------------------------------------------------------------------------
hello unknown,

have a look at this discussion thread, may be applicable to your
situation. A patch for x86_64 is being considered but Ive not yet had
time to test it. and if I intake it i'll port it to ia32 as well.

http://sourceforge.net/mailarchive/forum.php?thread_name=88e91b480812011526ifa9cb8dp213b5e469e87386c%40mail.gmail.com&forum_name=elilo-discuss
Post by 王波
Q1: Why does elilo fail when BS->ExitBootServices is called?
most likely the elilo memory usage issue especially with a large initrd.
Post by 王波
Q2: Can EFI Linux Kernel support for IA32 chipsets? or only support for IA64,Itanium, ...
yes all current efi platforms although ia32 and x86_64 are pretty new
in terms of having actual efi platforms to run on and bugs are showing
up. ia64 has been baked for some time of course being the first efi
platform and the original need for elilo's existence.
Post by 王波
Q3: Has anyone known the differences between IA32 and Itanium in
supporting for EFI Linux Kernel?
yes, the elilo ia64 has a kernel relocatable option that was built in
around the 2.5 kernel days when the kernel no longer required to be
loaded at the specific 1mb physical address. this option doesnt exist
in the ia32 and x86_64 branches and elilo got away with the hardcoded
kernel start address until now.

-jason
Post by 王波
Any help will be greatly appreciated.
you may find some help from the Apple boards who
have been using elilo-3.6 with some community patches
to run linux on intel ia32 Mac's with rEFIt.
http://sourceforge.net/projects/refit/
Post by 王波
______________________________________________________________________
这里有每天最新鲜最全面的资讯,还有很多美图呢! 立即查看!
------------------------------------------------------------------------------
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
--
___________________________________
JASON FLEISCHLI
HP - Alliances, Linux, & Performance Solutions
Ft. Collins CO (970)898-0874
Loading...