WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] xen 3.4.0 & pvgrub

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] xen 3.4.0 & pvgrub
From: Mickael Marchand <mikmak@xxxxxxxxxxx>
Date: Tue, 19 May 2009 18:01:14 +0200
Delivery-date: Tue, 19 May 2009 09:01:39 -0700
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=freenux.org; s=mail; t=1242748875; bh=EnKCpNS2rT7+ZP3A1aNmRRtgMCi+0Ds7jWAxTJaFTcQ=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=WPy8 PYzpc30sM/ucky2WnTwbRaHfj1CBWZLphnmLAnyz8JSHjbyFiV/qA19gd1N43TMP31I FiKW3GYKpa4GKB+qCrETNCB+X5PGJQ6cQWBd/QWsrthB0/ylQs7is12c9jV0CoyJBJN ji3OOip9Icqyl4zSjMk7vN4I/tLUaQNqk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
Hi,

I have built ubuntu packages for Xen 3.4.0
(https://launchpad.net/~mikmak/+archive/experimental), 
they apparently work fine except when using pvgrub.

booting a domU with kernel/ramdisk in the config file works fine,
booting the same domU with pvgrub (and same kernel inside the domU) it's
not able to find sda1 or xvda1, /dev looks empty in regards to disk
devices
it correctly loads grub, grub boots the kernel and initrd, but it's not
able to mount any root (root=/dev/xvda1 or sda1, ls /dev inside the
initrd shows no sd or xvd disks)

any idea what could be missing ?

Cheers,
Mik

Config example :
#works fine with these 3 lines
#kernel="/boot/vmlinuz-2.6.24-24-xen"
#ramdisk="/boot/initrd.img-2.6.24-24-xen"
#root = '/dev/xvda1 ro'
#does not work with these 2
kernel = "/usr/lib/xen/boot/pv-grub-x86_64.gz"
extra = "(hd0)/boot/grub/menu.lst"

#usual stuff
memory      = '1024'
vcpus    = '2'
disk        = [
                  'phy:/dev/bay2/jaunty-disk,xvda1,w',
                  'phy:/dev/bay2/jaunty-swap,xvda2,w',
              ]
name        = 'jaunty'
vif         = [ 'mac=00:16:3E:FF:FC:2D' ]
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>