Hi all! I am having troubles with booting Xen with grub2 in UEFI mode. Does Xen support this configuration? Are there any specific settings? _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Hello, More information would be helpful: * Which version of Xen? * What problems are you running into? I have been running Xen 4.2 with UEFI, it boots fine but I had to modify the source before compiling to get it to recognize all of my RAM. ~Casey On Sat, Aug 11, 2012 at 5:07 AM, Svyatoslav Scherbina < sch.svyatoslav@gmail.com> wrote:> Hi all! > > I am having troubles with booting Xen with grub2 in UEFI mode. > Does Xen support this configuration? Are there any specific settings? > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
I am using Xen 4.1.3 in Debian with stock kernel 3.2.0. I have two problems: 1) Just after GRUB2 starts to boot the OS, the following appears: Loading Xen 4.1-amd64 ... WARNING: no console will be available to OS 2) After a couple of seconds, the machine reboots. The last thing I''ve managed to recognize is "Scrubbing free RAM" 2012/8/11 Casey DeLorme <cdelorme@gmail.com>> > Hello, > > More information would be helpful: > > * Which version of Xen? > * What problems are you running into? > > I have been running Xen 4.2 with UEFI, it boots fine but I had to modify > the source before compiling to get it to recognize all of my RAM. > > ~Casey > > On Sat, Aug 11, 2012 at 5:07 AM, Svyatoslav Scherbina < > sch.svyatoslav@gmail.com> wrote: > >> Hi all! >> >> I am having troubles with booting Xen with grub2 in UEFI mode. >> Does Xen support this configuration? Are there any specific settings? >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users >> > >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Debian Wheezy I presume. Are you using the packaged install of Xen 4.1.3, or did you compile it from source? I read about a video problem months ago but never ran into it. I am guessing your grub configuration file is missing efi video modules, but I could be wrong. Try selecting the default kernel from the boot menu so you can open up /boot/grub/grub.cfg with vi or a text edit or vi, and look for: function load_video { insmod efi_gop insmod efi_uga insmode video_bochs insmode video_cirrus } Notice the two efi related lines, if you are missing them you might have to add them manually. If that doesn''t work you may have to generate grub without linux_xen, and compare to see if some other modules are being used by your system. If it works, then after Xen boots Dom0 you want to check your available memory. Either with "free" or "xl dmesg | grep -i ''system ram''". If you have all your RAM available in xl then you are good, if not you may need to modify xen source: http://serverfault.com/questions/342109/xen-only-sees-512mb-of-system-ram-should-be-8gb-uefi-boot On Sat, Aug 11, 2012 at 11:25 AM, Svyatoslav Scherbina < sch.svyatoslav@gmail.com> wrote:> I am using Xen 4.1.3 in Debian with stock kernel 3.2.0. > > I have two problems: > 1) Just after GRUB2 starts to boot the OS, the following appears: > > Loading Xen 4.1-amd64 ... > WARNING: no console will be available to OS > > 2) After a couple of seconds, the machine reboots. > The last thing I''ve managed to recognize is "Scrubbing free RAM" > > > > 2012/8/11 Casey DeLorme <cdelorme@gmail.com> > >> >> Hello, >> >> More information would be helpful: >> >> * Which version of Xen? >> * What problems are you running into? >> >> I have been running Xen 4.2 with UEFI, it boots fine but I had to modify >> the source before compiling to get it to recognize all of my RAM. >> >> ~Casey >> >> On Sat, Aug 11, 2012 at 5:07 AM, Svyatoslav Scherbina < >> sch.svyatoslav@gmail.com> wrote: >> >>> Hi all! >>> >>> I am having troubles with booting Xen with grub2 in UEFI mode. >>> Does Xen support this configuration? Are there any specific settings? >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xen.org >>> http://lists.xen.org/xen-users >>> >> >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
On Sat, Aug 11, 2012 at 04:07:04PM +0700, Svyatoslav Scherbina wrote:> Hi all! > > I am having troubles with booting Xen with grub2 in UEFI mode. > Does Xen support this configuration? Are there any specific settings? >Xen 4.2 (current xen-unstable) supports EFI directly, so you can build xen.efi hypervisor binary which can be booted by UEFI firmware directly. You also need to have UEFI patches in the dom0 kernel. Currently only Suse''s xenlinux kernels have xen dom0 UEFI patches included. The work is ongoing to get these patches ported to upstream pvops dom0 kernels, and merged to upstream Linux. Also there''s the possibility of using grub2-efi to boot non-uefi-Xen, but you still need the dom0 kernel UEFI patches. -- Pasi
I was using the packaged install. Actually, looks like that was not a video problem. I''ve managed to run openSUSE as dom0 with EFI, GRUB shows the same warning. But I ran into another problem: only one CPU core is detected. It''s similar to this one: http://lists.xen.org/archives/html/xen-devel/2012-06/msg00086.html Have you seen such issues before? 2012/8/13 Casey DeLorme <cdelorme@gmail.com>> Debian Wheezy I presume. Are you using the packaged install of Xen 4.1.3, > or did you compile it from source? > > I read about a video problem months ago but never ran into it. I am > guessing your grub configuration file is missing efi video modules, but I > could be wrong. > > Try selecting the default kernel from the boot menu so you can open up > /boot/grub/grub.cfg with vi or a text edit or vi, and look for: > > function load_video { > insmod efi_gop > insmod efi_uga > insmode video_bochs > insmode video_cirrus > } > > Notice the two efi related lines, if you are missing them you might have > to add them manually. > > If that doesn''t work you may have to generate grub without linux_xen, and > compare to see if some other modules are being used by your system. > > If it works, then after Xen boots Dom0 you want to check your available > memory. Either with "free" or "xl dmesg | grep -i ''system ram''". If you > have all your RAM available in xl then you are good, if not you may need to > modify xen source: > > > http://serverfault.com/questions/342109/xen-only-sees-512mb-of-system-ram-should-be-8gb-uefi-boot > > > On Sat, Aug 11, 2012 at 11:25 AM, Svyatoslav Scherbina < > sch.svyatoslav@gmail.com> wrote: > >> I am using Xen 4.1.3 in Debian with stock kernel 3.2.0. >> >> I have two problems: >> 1) Just after GRUB2 starts to boot the OS, the following appears: >> >> Loading Xen 4.1-amd64 ... >> WARNING: no console will be available to OS >> >> 2) After a couple of seconds, the machine reboots. >> The last thing I''ve managed to recognize is "Scrubbing free RAM" >> >> >> >> 2012/8/11 Casey DeLorme <cdelorme@gmail.com> >> >>> >>> Hello, >>> >>> More information would be helpful: >>> >>> * Which version of Xen? >>> * What problems are you running into? >>> >>> I have been running Xen 4.2 with UEFI, it boots fine but I had to modify >>> the source before compiling to get it to recognize all of my RAM. >>> >>> ~Casey >>> >>> On Sat, Aug 11, 2012 at 5:07 AM, Svyatoslav Scherbina < >>> sch.svyatoslav@gmail.com> wrote: >>> >>>> Hi all! >>>> >>>> I am having troubles with booting Xen with grub2 in UEFI mode. >>>> Does Xen support this configuration? Are there any specific settings? >>>> >>>> _______________________________________________ >>>> Xen-users mailing list >>>> Xen-users@lists.xen.org >>>> http://lists.xen.org/xen-users >>>> >>> >>> >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Reasonably Related Threads
- Xen VGA Passthrough Questions
- [SUCCESS REPORT] Xen VGA Passthrough to Windows 8 Consumer Preview HVM domU and Windows XP Home Edition HVM domU with Xen 4.2-unstable Changeset 25070 in Ubuntu 11.10 amd64 Dom0
- [SUCCESS REPORT] Xen VGA Passthrough to Windows 8 Consumer Preview HVM domU and Windows XP Home Edition HVM domU with Xen 4.2-unstable Changeset 25070 in Ubuntu 11.10 amd64 Dom0
- GTX 670 Tips?
- PCI Passthrough, Radeon 7950 and Windows 7 64-bit