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

Re: [Xen-devel] Re: Failure to setup Xen 3.4.1 Dom0 on top of Ubuntu 9.10 Server HVM DomU ( 2.6.30.2 xenified kernel)


  • To: Christian Tramnitz <chris.ace@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • Date: Sun, 30 Aug 2009 09:33:57 -0700 (PDT)
  • Cc:
  • Delivery-date: Sun, 30 Aug 2009 09:34:25 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=j7SeHCyKfl/yHaeYrh/EqdHY0F50zHM3LJ26hPZIOc6nFu4FrWXRyux3sF6F2F3tpM06CA2NIC8fzHp4rGxS9HpEDkxjPtd/ZKNjDSli/3pJOFlCVZ8it++LmF36ybtZ/22O7oh24uIVKKckVJVhnSehiIhcUHnSeAVy8L57AGs=;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Setting CONFIG_CMDLINE_BOOL=y in .config allows to assign desired value via make menuconfig:

Symbol: CMDLINE [=root=/dev/sda14 ro console=tty0]                                                      
Prompt: Built-in kernel command string                                                                     
 Defined at arch/x86/Kconfig:1644                                                                         
     Depends on: CMDLINE_BOOL                                                                                 
     Location:                                                                                                
       -> Processor type and features                                                                        
         -> Built-in kernel command line (CMDLINE_BOOL [=y])    

Then Grub2 entry :
  menuentry "Xen 3.4 / Ubuntu 9.10 kernel 2.6.30.2-xen" {
  insmod ext2
  set root=(hd0,13)
  multiboot  (hd0,13)/xen-3.4.gz
  module     (hd0,13)/vmlinuz-2.6.30.2
  module     (hd0,13)/initrd-2.6.30.2.img
}

loads  Xen 3.4.1 Dom0 with 2.6.30.2 xenified aka Suse on top of Ubuntu 9.10 (Karmic)  Server

Once again , thanks a lot for your support
Boris.

--- On Sun, 8/30/09, Boris Derzhavets <bderzhavets@xxxxxxxxx> wrote:

From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Subject: Re: [Xen-devel] Re: Failure to setup Xen 3.4.1 Dom0 on top of Ubuntu 9.10 Server HVM DomU ( 2.6.30.2 xenified kernel)
To: "Christian Tramnitz" <chris.ace@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>
Date: Sunday, August 30, 2009, 12:22 PM

I've tested both options.

Chris's one works with Grub2, Keir's doesn't.
Distro Ubuntu 9.10 Server (alpha 4.)

Thanks.
Boris.

--- On Sun, 8/30/09, Keir Fraser <keir.fraser@xxxxxxxxxxxxx> wrote:

From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: Failure to setup Xen 3.4.1 Dom0 on top of Ubuntu 9.10 Server HVM DomU ( 2.6.30.2 xenified kernel)
To: "Christian Tramnitz" <chris.ace@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Date: Sunday, August 30, 2009, 11:50 AM

On 30/08/2009 14:26, "Christian Tramnitz" <chris.ace@xxxxxxx> wrote:

> Afaik grub2 does not pass the boot parameters "root=/dev/sda2 ro
> console=tty0" to the kernel in multiboot/module combination. I have seen
> the same problem on gentoo/grub2 and also read about this before. (This
> is not really Xen specific, but multiboot related)..

Okay, that would clearly be a GRUB regression I think. But there is a simple
enough less ugly workaround than you suggest...

> My workaround was to compile the kernel options as static cmdline into
> the kernel itself...

Better solution would be to append dom0's options to Xen's own command line,
separated by --. E.g.,
multiboot (hd0,1)/xen-3.4.gz console=tty -- root=/dev/sda2 ro console=tty0

-- Keir



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


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

 


Rackspace

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