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] problem with booting domU via NFS root

To: "Steve Kemp" <steve@xxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] problem with booting domU via NFS root
From: "ardy mardy" <ardelicious@xxxxxxxxx>
Date: Mon, 23 Jul 2007 16:09:27 -0400
Delivery-date: Mon, 23 Jul 2007 13:07:17 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=e37J5hfC/lUOZOYDRoa5rinzVsTPJmM8s8vpWKUWT5IeXqlMpdYqlAew40IwP0j8rNRvPUdbYVvwzyGnu6WIkDvswU/q5prvdnsFuRGBbVokkYUvPSk0p9zCMvIftq4UL9C1fPa5p98UahF1sl/U+uPsuReMiAttDBuM4Ag2Gsc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Xylaf1hIpFbyEPlMY3Xs3Pq6xLmJSf/b/rZlDrW+mqdKIpB3MoSWMUeu1inqSjnCVxgURLd/eNls1gDMUvLh18N40PCCPbxmVile/HgmoFYCb/kOv1HyXB/f1KJwtN1NKpp8vrhN9nQK2sK779At+xvVYMFmUCbFaFr2GJ4wfnU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070723183644.GA1809@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1e5aa6e80707211737g723f303du3c318593df3ab2bb@xxxxxxxxxxxxxx> <20070722212415.GC27863@xxxxxxxxxxxx> <4b65b5090707231026g70f0dbc9ub0e18dac0e5fa7bb@xxxxxxxxxxxxxx> <20070723183644.GA1809@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thanks. I apologize if I was n't clear enough in my previous post. When I get into the menuconfig stage ( after "make linux-2.6-xen-config CONFIGMODE=menuconfig" as you also suggested), I don't see an option for enabling CONFIG_ROOT_NFS.  The Gentoo page also starts by saying this option did not exist for the user at the menuconfig stage, not until the the following options were set:
 Device Drivers --> Networking support ---> Networking options ---> IP: kernel level autoconfiguration
 Device Drivers --> Networking support ---> Networking options ---> IP: DHCP Support

However, even by having the above options set, I still do n't have a away to set CONFIG_ROOT_NFS!
This is my view of options in File Systems ->  Network File Systems:
x x              <M> NFS file system support                                                          x x
  x x              [*]   Provide NFSv3 client support                                                   x x
  x x              [*]     Provide client support for the NFSv3 ACL protocol extension                  x x
  x x              [*]   Provide NFSv4 client support (EXPERIMENTAL)                                    x x
  x x              [*]   Allow direct I/O on NFS files (EXPERIMENTAL)                                   x x
  x x              <M> NFS server support                                                               x x
  x x              [*]   Provide NFSv3 server support                                                   x x
  x x              [*]     Provide server support for the NFSv3 ACL protocol extension                  x x
  x x              [*]     Provide NFSv4 server support (EXPERIMENTAL)                                  x x
  x x              ---   Provide NFS server over TCP support                                            x x
  x x              --- Secure RPC: Kerberos V mechanism (EXPERIMENTAL)                                  x x
  x x              <M> Secure RPC: SPKM3 mechanism (EXPERIMENTAL)                                       x x
  x x              <M> SMB file system support (to mount Windows shares etc.)                           x x
  x x              [*]   Use a default NLS                                                              x x
  x x              (cp850) Default Remote NLS Option                                                    x x
  x x              <M> CIFS support (advanced network filesystem for Samba, Window and other CIFS complix x
  x x              [*]   CIFS statistics                                                                x x
  x x              [ ]     Extended statistics                                                          x x
  x x              [ ]   Support legacy servers which use weaker LANMAN security                        x x

<M> CIFS support (advanced network filesystem for Samba, Window and other CIFS complix x
  x x              [*]   CIFS statistics                                                                x x
  x x              [ ]     Extended statistics                                                          x x
  x x              [ ]   Support legacy servers which use weaker LANMAN security                        x x
  x x              [*]   CIFS extended attributes                                                       x x
  x x              [*]     CIFS POSIX Extensions                                                        x x
  x x              [ ]   Enable additional CIFS debugging routines                                      x x
  x x              [ ]   CIFS Experimental Features (EXPERIMENTAL)                                      x x
  x x              <M> NCP file system support (to mount NetWare volumes)                               x x
  x x              [*]   Packet signatures                                                              x x
  x x              [*]   Proprietary file locking                                                       x x
  x x              [*]   Clear remove/delete inhibit when needed                                        x x
  x x              [*]   Use NFS namespace if available                                                 x x
  x x              [*]   Use LONG (OS/2) namespace if available                                         x x
  x x              [*]   Lowercase DOS filenames                                                        x x
  x x              [*]   Use Native Language Support                                                    x x
  x x              [*]   Enable symbolic links and execute flags                                        x x
  x x              <M> Coda file system support (advanced network fs)                                   x x
  x x              [ ]   Use 96-bit Coda file identifiers                                               x x
  x x              <M> Andrew File System support (AFS) (Experimental)                                  x x
  x x              <M> Plan 9 Resource Sharing Support (9P2000) (Experimental)                          x x

And the reason I tried "make CONFIG_ROOT_NFS=y world" was the following post:
http://lists.xensource.com/archives/html/xen-users/2006-08/msg00711.html

I'm no linux/xen expert, but I know this much that there is no magic. That's why I looked around for a solution.
Thanks to you and others on the list for taking the time to help beginners like me despite our stupid questions/problems!

 

On 7/23/07, Steve Kemp <steve@xxxxxxxxxxxx> wrote:
On Mon Jul 23, 2007 at 13:26:08 -0400, ardy mardy wrote:

>    I also tried "make CONFIG_ROOT_NFS=y world" and no luck there either.

  I pointed you at an article describing where to enable the relevant
option.  The Gentoo page you reference also describes where to enable
the option.  Typing random commands and expecting it to work by magic
isn't going to get you anywhere.

  Follow the instructions in the Xen README for building a kernel:

    # make linux-2.6-xen-config CONFIGMODE=menuconfig
    # make linux-2.6-xen-build
    # make linux-2.6-xen-install

  When you're in the "menuconfig" stage enable:

  Device Drivers --> Networking support ---> Networking options ---> IP: kernel level autoconfiguration
  Device Drivers --> Networking support ---> Networking options ---> IP: DHCP Support
  File Systems ---> Network File Systems ---> Root file system on NFS >

  Once you do that you'll have a working system.  Simply by following
instructions.  No magic!

Steve
--

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