Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

can't boot i386 HVM domU - known?



I have a xen box:
   - 12-core CPU: "12th Gen Intel(R) Core(TM) i7-12700K"
   - dom0 is NetBSD 10 stable
   - multiple domUs, NetBSD 9/1010 i386, NetBSD 9/10/11 amd64

I've been experimenting with the various modes and running a benchmark,
which I posted about earlier.   For i386, I have been unable to make hvm
work.

Most of my config file is straightforward and common and I'm leaving
that out.

My 9 i386 config file notes that PV doesn't work any more, that pvshim works,
that pvh doesn't work with 9 and that hvm fails.

  # DOES NOT WORK - guest type xen-3.0-x86_32p
  #type = "pv"
  #kernel =
  #"/usr/obj/gdt-9/releasedir/i386/binary/kernel/netbsd-XEN3PAE_DOMU.gz"

  ## CHOSEN APPROACH
  # works 95s
  type = "pvh"
  pvshim = 1
  kernel =
  # "/usr/obj/gdt-9/releasedir/i386/binary/kernel/netbsd-XEN3PAE_DOMU.gz"

  # DOES NOT WORK - 9 is not set up for PVH
  #type = "pvh"
  #kernel =
  #"/usr/obj/gdt-9/releasedir/i386/binary/kernel/netbsd-GENERIC.gz"

  # DOES NOT WORK - to debug
  #type= "hvm"
  #serial = "pty"

For hvm, I do have bootblocks installed (mbr), and I get no output on
the serial console.

My 10 i386 config file is similar, except pvh works and is faster than pvshim.

  # DOES NOT WORK - guest type xen-3.0-x86_32p
  #type = "pv"
  #kernel = "/usr/obj/gdt-10/releasedir/i386/binary/kernel/netbsd-XEN3PAE_DOMU.gz"

  # works 93s
  #type = "pvh"
  #pvshim = 1
  #kernel = "/usr/obj/gdt-10/releasedir/i386/binary/kernel/netbsd-XEN3PAE_DOMU.gz"

  ## CHOSEN APPROACH
  # works 40.6s
  type = "pvh"
  kernel = "/usr/obj/gdt-10/releasedir/i386/binary/kernel/netbsd-GENERIC.gz"

  # DOES NOT WORK - to debug
  #type= "hvm"
  #serial = "pty"

My 9 amd64 config file is set up for hvm.

  # works 69s
  #type = "pv"
  #kernel = "/usr/obj/gdt-9/releasedir/amd64/binary/kernel/netbsd-XEN3_DOMU.gz"

  # DOES NOT WORK - 9 is not set up for PVH
  #type = "pvh"
  #kernel = "/usr/obj/gdt-9/releasedir/amd64/binary/kernel/netbsd-GENERIC.gz"

  ## CHOSEN APPROACH (fstab has wd)
  # works 42s
  type = "hvm"
  serial = "pty"

My 10 amd64 config file chooses hvm because it's faster than pvh.

  # fstab always has xbd because HVM is PVHVM

  # works 69s
  #type = "pv"
  #kernel = "/usr/obj/gdt-10/releasedir/amd64/binary/kernel/netbsd-XEN3_DOMU.gz"

  # works 46s
  #type = "pvh"
  #kernel = "/usr/obj/gdt-10/releasedir/amd64/binary/kernel/netbsd-GENERIC.gz"

  ## CHOSEN APPROACH
  # works 34s
  type = "hvm"
  serial = "pty"

My 11 amd64 config file is the same, with slightly slower benchmark
times.  (I should retest.)


I wonder if anyone else has an hvm i386 domU.


Home | Main Index | Thread Index | Old Index