Bug#783346: Bug #783346: patch for booting Jessie domU with wheezy dom0

2019-01-20 Thread Hans van Kranenburg
reassign 783346 src:xen 4.1.4-3+deb7u4
severity 783346 normal
thanks

Hi Daniel,

This is about the bug report that you filed before about pygrub in the
Debian bug tracker against the Xen packages.

Your bug report was targeted at a Xen package in a Debian distribution
older than the current stable (Stretch), and I'm trying to clean up our
open bug report list a bit.

In the bug history, I see that already was suggested to use the grub2
based way of booting the virtual machines instead of pygrub. This is
still recommended.

Addtionally, the grub-xen-* packages in Debian Buster will now also be
able to boot a Xen domU using the new PVH virtualization mode, if you
use the Debian Linux 4.19 kernel package inside.

Am I right to understand that we can close this bug report now?

 >8 

Please note that unless there's a response within a month from now, we
will close the bug report. If you discover this message later, and this
case is important to you, then you can try unarchiving the bug and
replying to it, or reach out to the maintainers email list at
pkg-xen-devel at lists.alioth.debian.org (no subscription required) and
post a message.

Thanks,
Hans van Kranenburg



Bug#783346: [Pkg-xen-devel] Bug#783346: Bug#783346: patch for booting Jessie domU with wheezy dom0

2015-07-13 Thread Dameon Wagner
On Sun, 26 Apr 2015 11:33:17 +0200 Bastian Blank 
wrote:
> On Sun, Apr 26, 2015 at 10:50:16AM +0200, Daniel Pocock wrote:
> > On 26/04/15 10:45, Bastian Blank wrote:
> > > Well, if you can pursuade the release team.  We have grub2 for
> > > Xen in Jessie now and it can be used on Wheezy as well.
> > Can you be more specific?  If somebody is running a wheezy dom0
> > and they install grub2 in their domU before rebooting it the first
> > time, they will not have this problem?
> 
> You install grub-xen-host on the dom0 and point the domains to grub
> as kernel.  For 64bit guests (kernel wise):
> | kernel = '/usr/lib/grub-xen/grub-x86_64-xen.bin'
> For 32bit guests:
> | kernel = '/usr/lib/grub-xen/grub-i386-xen.bin'
> 
> Bastian

Package: xen-utils-4.1
Version: 4.1.4-3+deb7u8
Tags: patch

Hi,

I've just hit a similar bug with using pygrub to boot jessie VMs on a
wheezy Dom0, and stumbled on this bug after fixing things with a (very
similar to Daniel's) patch backported from xen-utils-4.4, which should
be attached.  I've tested it and it works like a treat.

I appreciate that we could install "grub-xen-host" as suggested, but
I'd rather not install anything additional when it could be fixed
simply with a small backport, especially with "grub-xen-host" not
actually being available in the wheezy repositories.

The issue we're seeing is slightly different to what Daniel originally
reported -- though the fix is basically the same -- so please let me
know if you'd rather I report it as a new bug.  What we're seeing is
the following error:

#---8<-
# xm create -c /etc/xen/domains/normal/$VM
Using config file "/etc/xen/domains/normal/$VM".
Error: Boot loader didn't return any data!
#---8<-

Manually editing grub.cfg to remove the `if [ "${next_entry}" ]; then`
clause and replacing it with a simple `set default="0"` is a kludgy
workaround, but it falls down as soon as something invokes
`update-grub`.

This is with 4.1.4-3+deb7u8, but please let me know if you need any
additional info, and I'll see what I can dig up.

Cheers.

Dameon.

-- 
><> ><> ><> ><> ><> ><> ooOoo <>< <>< <>< <>< <>< <><
Dr. Dameon Wagner, Systems Development and Support
IT Services, University of Oxford
><> ><> ><> ><> ><> ><> ooOoo <>< <>< <>< <>< <>< <><

--- GrubConf.py.old	2015-07-13 12:52:07.0 +0100
+++ GrubConf.py.new	2015-07-13 12:53:39.0 +0100
@@ -427,6 +427,8 @@
 if self.commands[com] is not None:
 if arg.strip() == "${saved_entry}":
 arg = "0"
+elif arg.strip() == "${next_entry}":
+arg = "0"
 setattr(self, self.commands[com], arg.strip())
 else:
 logging.info("Ignored directive %s" %(com,))


Bug#783346: [Pkg-xen-devel] Bug#783346: Bug#783346: patch for booting Jessie domU with wheezy dom0

2015-04-26 Thread Bastian Blank
On Sun, Apr 26, 2015 at 10:50:16AM +0200, Daniel Pocock wrote:
> On 26/04/15 10:45, Bastian Blank wrote:
> > Well, if you can pursuade the release team.  We have grub2 for Xen
> > in Jessie now and it can be used on Wheezy as well.
> Can you be more specific?  If somebody is running a wheezy dom0 and
> they install grub2 in their domU before rebooting it the first time,
> they will not have this problem?

You install grub-xen-host on the dom0 and point the domains to grub as
kernel.  For 64bit guests (kernel wise):
| kernel = '/usr/lib/grub-xen/grub-x86_64-xen.bin'
For 32bit guests:
| kernel = '/usr/lib/grub-xen/grub-i386-xen.bin'

Bastian

-- 
We have phasers, I vote we blast 'em!
-- Bailey, "The Corbomite Maneuver", stardate 1514.2


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org