Discussion:
Trouble netbooting elilo 3.12
Thomas Ekstrand
2010-05-31 08:30:41 UTC
Permalink
Hi!

I'm having trouble netbooting elilo. I have a x86_64 EFI system booting
elilo.efi off of a tftp boot server.
I think it goes as far as calling ExitBootServices but never returns from
there.

After "create_boot_params" it just stops dead.

Kernel is 2.6.27 and compiled with CONFIG_EFI=y

Any ideas or hints is appreciated.


Thanks!
Thomas



This is the ouput in verbose=5 mode:

trying chooser simple
trying chooser textmenu
selected chooser simple
kernel is 'vmlinuz.x86_64_2'
arguments are ' rw root=/dev/ram0 acpi=off nosplash text noapic isolcpus=1
console=ttyS0,115200n8r loglevel=7 crashkernel=***@16M
bb=***@15Mramdisk_size=60000 sm=2500 cm iommu=merge'
initrd is 'gsdi_uabmagj5.cpio'
ELILO v3.12 for EFI/x86_64
downloading gep4/vmlinuz.x86_64_2 from 192.168.1.1...
setting default buffer size of 16777216 for gep4/vmlinuz.x86_64_2, no
filesize recd from tftp server
Done
Probing loader: gzip_x86_64
Probing loader: plain_elf64
plain_probe: kname=vmlinuz.x86_64_2
Probing loader: bzImage_loader
kernel header suggests kernel start at address 0x100000
allocator: AllocatePages(2, 2, 2048, 0x100000) failed (Not Found)
kernel_start: 0x100000 kernel_size: 8388608 loading at: 0x3807000
Using bzImage_loader loader
kernel loaded in [0x100000-0x900000] entry=0x100000
kstart=0x100000 kentry=0x100000 kend=0x900000
initrd start_addr=0x900000 pgcnt=0
downloading gep4/gsdi_uabmagj5.cpio from 192.168.1.1...
setting default buffer size of 16777216 for gep4/gsdi_uabmagj5.cpio, no
filesize recd from tftp server
buffer too small, need netbuf_size=61597139
setting default buffer size of 61597139 for gep4/gsdi_uabmagj5.cpio, no
filesize recd from tftp server
Done
gsdi_uabmagj5.cpio image: total_size: 61597139 bytes base: 0xF113000 pages
15039
Loading file
gsdi_uabmagj5.cpio...|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|
"cut some out"
|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|
done
final cmdline(0): BOOT_IMAGE=net0:gep4/vmlinuz.x86_64_2 rw root=/dev/ram0
acpi=off nosplash text noapic isolcpus=1 console=ttyS0,115200n8r loglevel=7
crashkernel=***@16M bb=***@15M ramdisk_size=60000 sm=2500 cm iommu=merge
...............
system.c(line 212):LocateHandle GopProtocol failed.
S***@public.gmane.org
2010-06-01 16:18:35 UTC
Permalink
Perhaps your uEFI firmware doesn't support graphics output protocol (gop)...?


________________________________
From: Thomas Ekstrand [mailto:thomas.ekstrand-***@public.gmane.org]
Sent: Monday, May 31, 2010 3:31 AM
To: elilo-discuss-5NWGOfrQmneRv+***@public.gmane.org
Subject: [elilo-discuss] Trouble netbooting elilo 3.12

Hi!

I'm having trouble netbooting elilo. I have a x86_64 EFI system booting elilo.efi off of a tftp boot server.
I think it goes as far as calling ExitBootServices but never returns from there.

After "create_boot_params" it just stops dead.

Kernel is 2.6.27 and compiled with CONFIG_EFI=y

Any ideas or hints is appreciated.


Thanks!
Thomas



This is the ouput in verbose=5 mode:

trying chooser simple
trying chooser textmenu
selected chooser simple
kernel is 'vmlinuz.x86_64_2'
arguments are ' rw root=/dev/ram0 acpi=off nosplash text noapic isolcpus=1 console=ttyS0,115200n8r loglevel=7 crashkernel=***@16M bb=***@15M ramdisk_size=60000 sm=2500 cm iommu=merge'
initrd is 'gsdi_uabmagj5.cpio'
ELILO v3.12 for EFI/x86_64
downloading gep4/vmlinuz.x86_64_2 from 192.168.1.1...
setting default buffer size of 16777216 for gep4/vmlinuz.x86_64_2, no filesize recd from tftp server
Done
Probing loader: gzip_x86_64
Probing loader: plain_elf64
plain_probe: kname=vmlinuz.x86_64_2
Probing loader: bzImage_loader
kernel header suggests kernel start at address 0x100000
allocator: AllocatePages(2, 2, 2048, 0x100000) failed (Not Found)
kernel_start: 0x100000 kernel_size: 8388608 loading at: 0x3807000
Using bzImage_loader loader
kernel loaded in [0x100000-0x900000] entry=0x100000
kstart=0x100000 kentry=0x100000 kend=0x900000
initrd start_addr=0x900000 pgcnt=0
downloading gep4/gsdi_uabmagj5.cpio from 192.168.1.1...
setting default buffer size of 16777216 for gep4/gsdi_uabmagj5.cpio, no filesize recd from tftp server
buffer too small, need netbuf_size=61597139
setting default buffer size of 61597139 for gep4/gsdi_uabmagj5.cpio, no filesize recd from tftp server
Done
gsdi_uabmagj5.cpio image: total_size: 61597139 bytes base: 0xF113000 pages 15039
Loading file gsdi_uabmagj5.cpio...|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|
"cut some out"
|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|
done
final cmdline(0): BOOT_IMAGE=net0:gep4/vmlinuz.x86_64_2 rw root=/dev/ram0 acpi=off nosplash text noapic isolcpus=1 console=ttyS0,115200n8r loglevel=7 crashkernel=***@16M bb=***@15M ramdisk_size=60000 sm=2500 cm iommu=merge
...............
system.c(line 212):LocateHandle GopProtocol failed.
Thomas Ekstrand
2010-06-02 08:18:43 UTC
Permalink
Hi!

But does it have to? Doesn't elilo support headless systems? The GOP is
probably not installed but the elilo documentation clearly states in
elilo.txt at section "XIII/ Booting on EFI/x86_64 platforms" that
"The elilo for x86_64 attempts to query the firmware for GOP and if it fails
it defaults to text mode."

Which my sort of "printf debugging" with ERR_PRT confirms. That elilo
continues to execute until ExitBootServices and then it is gone.

Does anyone have any experience with PXE booting elilo ?
How can I be certain that elilo executes the start_kernel() call ?


/Thomas
Post by S***@public.gmane.org
Perhaps your uEFI firmware doesn't support graphics output
protocol (gop)...?
------------------------------
*Sent:* Monday, May 31, 2010 3:31 AM
*Subject:* [elilo-discuss] Trouble netbooting elilo 3.12
Hi!
I'm having trouble netbooting elilo. I have a x86_64 EFI system booting
elilo.efi off of a tftp boot server.
I think it goes as far as calling ExitBootServices but never returns from there.
After "create_boot_params" it just stops dead.
Kernel is 2.6.27 and compiled with CONFIG_EFI=y
Any ideas or hints is appreciated.
Thanks!
Thomas
trying chooser simple
trying chooser textmenu
selected chooser simple
kernel is 'vmlinuz.x86_64_2'
arguments are ' rw root=/dev/ram0 acpi=off nosplash text noapic isolcpus=1
initrd is 'gsdi_uabmagj5.cpio'
ELILO v3.12 for EFI/x86_64
downloading gep4/vmlinuz.x86_64_2 from 192.168.1.1...
setting default buffer size of 16777216 for gep4/vmlinuz.x86_64_2, no
filesize recd from tftp server
Done
Probing loader: gzip_x86_64
Probing loader: plain_elf64
plain_probe: kname=vmlinuz.x86_64_2
Probing loader: bzImage_loader
kernel header suggests kernel start at address 0x100000
allocator: AllocatePages(2, 2, 2048, 0x100000) failed (Not Found)
kernel_start: 0x100000 kernel_size: 8388608 loading at: 0x3807000
Using bzImage_loader loader
kernel loaded in [0x100000-0x900000] entry=0x100000
kstart=0x100000 kentry=0x100000 kend=0x900000
initrd start_addr=0x900000 pgcnt=0
downloading gep4/gsdi_uabmagj5.cpio from 192.168.1.1...
setting default buffer size of 16777216 for gep4/gsdi_uabmagj5.cpio, no
filesize recd from tftp server
buffer too small, need netbuf_size=61597139
setting default buffer size of 61597139 for gep4/gsdi_uabmagj5.cpio, no
filesize recd from tftp server
Done
gsdi_uabmagj5.cpio image: total_size: 61597139 bytes base: 0xF113000 pages 15039
Loading file
gsdi_uabmagj5.cpio...|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|
"cut some out"
|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|
done
final cmdline(0): BOOT_IMAGE=net0:gep4/vmlinuz.x86_64_2 rw root=/dev/ram0
acpi=off nosplash text noapic isolcpus=1 console=ttyS0,115200n8r loglevel=7
...............
system.c(line 212):LocateHandle GopProtocol failed.
Loading...