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

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


  • To: Pasi Kärkkäinen <pasik@xxxxxx>
  • From: "Ian Tobin" <itobin@xxxxxxxxxxxxx>
  • Date: Fri, 14 May 2010 21:05:02 +0100
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 14 May 2010 13:06:48 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcrznqTcCWPsZwSiQryoSy1J1T3oCwAAdUJw
  • Thread-topic: [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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.