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-users

RE: [Xen-users] pv_ops Dom0 kernel for DomU?

Oh right, thats new to me. Ive never had to do that before, is that new to the 
pv_ops?

Many thanks for the info, you learn something new everyday :)

Ian


-----Original Message-----
From: Pasi Kärkkäinen [mailto:pasik@xxxxxx] 
Sent: 14 May 2010 20:50
To: Ian Tobin
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] pv_ops Dom0 kernel for DomU?

On Fri, May 14, 2010 at 08:45:03PM +0100, Ian Tobin wrote:
> Ah ok, what would be the procedure to do that? 
> 
> Thanks
> 

Usually it's best to generate the initrd image in the guest,
and use the distro provided domU kernel.

If you install the guest using the guest distro installer it'll do it for you 
automatically.

You can also do it from dom0.. example for centos/rhel/fedora:

mkinitrd -v -f --with-module=xenblk --with-module=xennet 
/boot/initrd-domU-version.img <kernelversion>

-- Pasi

> Ian
> 
> 
> 
> -----Original Message-----
> From: Pasi Kärkkäinen [mailto:pasik@xxxxxx] 
> Sent: 14 May 2010 20:32
> To: Ian Tobin
> Cc: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-users] pv_ops Dom0 kernel for DomU?
> 
> On Fri, May 14, 2010 at 08:27:50PM +0100, Ian Tobin wrote:
> > Ok strange. I have set the DomU config to use the kernel i use for Dom0 and 
> > when booting it gets so far to mount the root filesystem and then complains 
> > that it cant load the raid1 module which then says it can't load md0, md1, 
> > md2 and md3 which are my Dom0 software raid disks.
> > 
> > When i use the 2.6.8.18 kernel the domU boots fine.
> > 
> > I have in the config to use the initrd.img-2.6.32.12 ram disk but it 
> > doesn't work, am i missing something obvious?
> > 
> 
> Are you using the dom0 initrd for domU? 
> If you are, you shouldn't.
> 
> domU needs to have its own initrd that loads drivers for the virtual hardware 
> the Xen guest has..
> 
> -- Pasi
> 
> > Thanks
> > 
> > Ian
> > 
> > 
> > -----Original Message-----
> > From: Pasi Kärkkäinen [mailto:pasik@xxxxxx] 
> > Sent: 14 May 2010 19:48
> > To: Ian Tobin
> > Cc: xen-users@xxxxxxxxxxxxxxxxxxx
> > Subject: Re: [Xen-users] pv_ops Dom0 kernel for DomU?
> > 
> > On Fri, May 14, 2010 at 03:08:57PM +0100, Ian Tobin wrote:
> > >    Hi,
> > > 
> > > 
> > > 
> > >    Just wondered if we can use the pv_ops kernel in Jermeys tree for 
> > > linux PV
> > >    domU or do we need to get that one from kernel.org ?
> > > 
> > 
> > Both will work.
> > 
> > upstream kernel.org kernels do have basic Xen PV domU support 
> > out-of-the-box.
> > Jeremy's tree has some additional features, like pcifront/pciback etc,
> > that are not yet upstream.
> > 
> > -- Pasi
> > 
> > > 
> > > 
> > >    Thanks
> > > 
> > > 
> > > 
> > >    Ian
> > > 
> > > 
> > > 
> > > 
> > 
> > > _______________________________________________
> > > Xen-users mailing list
> > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > http://lists.xensource.com/xen-users
> > 
> > 
> 
> 



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