On 11/09/15 14:50, P.A.M. van Dam (Pascal) wrote:
> 
> Good day all,
> 
> I decided to do some testing with iSCSI boot from within a KVM. 
> 
> My setup is a Centos 7.1 KVM host with several Fedora 22 and Centos 7.1 
> guests in it. The iSCSI storage has been configured
> from a LenovoEMC EPX6300 NAS.
> 
> 1. I've configured the iSCSI bootlun to be available for the OS install.
> 2. Within the KVM guest OS install I assign the LUN to the Centos 7.1 OS.
> 3. The OS installs without errors ont he iSCSI LUN.
> 
> After reboot of the freshly installed OS on the KVM
> I configure the iSCSI device in the OVMF user interface.
> 
> 4. The iSCSI BOOT LUN is visible from the UEFI shell.
> 5. When booting from the LUN, GRUB correcly displays the bootmenu.

Am I to understand that GRUB (and its config) are correctly loaded via
iSCSI?

> 6. When selecting and starting a kernel/initrd pair the started kernel 
> quickly crashes reporting a fault.
> 
> My questions;
> 
> 1. Is iSCSI boot support in the OVMF/EDKII currrently usable?

I never tested it, but I guess it should work (for some value of
"work"). Since I never tested it, I can't say what code in OvmfPkg would
require specific support (perhaps the boot order library... dunno).

> 2. Can I help in further analyzing the issue? It could be an issue in EDKII 
> (drivers?), in grub or in the Linux kernel.

Your email is missing almost all of the important details, so let's
start again. :)

- Are you using libvirt? If so, what version? What is your domain XML?

- What version of QEMU are you using? What is your command line?

- How did you build OVMF? Do you have a verbose debug log from the OVMF
  run?

- I could probably derive the answer to the next question from the
  above, but I'll ask anyway: are you using iPXE (bundled with QEMU)
  for driving your virtual NIC (utilized by edk2 and grub), or OVMF's
  builtin virtio-net driver? If you don't know (or use a NIC model
  different from virtio-net), then the answer is iPXE.

- What is the complete (= "ignore_loglevel") guest kernel log, up to and
  including the crash?

CC'ing Gary (I seem to recall that Gary has experience with iSCSI
booting under OVMF -- see
<https://github.com/tianocore/edk2/commit/36c6413f>.)

Thanks
Laszlo

> 
> Thanks for your time.
> 
> Kind regards,
> 
>       Pascal
>  
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
> 

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to