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] DHCP for NFS root?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] DHCP for NFS root?
From: "Jonathan D. Proulx" <jon@xxxxxxxxxxxxx>
Date: Thu, 7 Sep 2006 10:42:50 -0400
Delivery-date: Thu, 07 Sep 2006 07:43:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060906164250.GD22197@xxxxxxxxxxxxx>
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: <20060906164250.GD22197@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
On Wed, Sep 06, 2006 at 12:42:50PM -0400, Jonathan D. Proulx wrote:
:
:I'm trying to get an NFS rooted DomU.  Oddly it hangs forever (atleast
:a week :) waiting for DHCP, it sees answers it thinks are not for it,
:and may not be...
:
:if I remove the dhcp="dhcp" and set root="/dev/sda1" in the config the
:same kernel boots and gets its ip from dhcp just fine, using the same
:vif line (and thus the same MAC).
:
:I'm a bit puzzled by thins, can anyone hazard a guess?

Still puzzled but with more info.

it seems when trying to use an NFS root the system never sends a
DHCPDISCOVER, which it does do when using the user space dhcp aafter
booting from "disk":

Sep 7 10:37:29 foghorn-leghorn dhcpd: DHCPDISCOVER from
aa:00:80:1e:02:89 via eth0

It starts right out with:

Sep  7 10:33:40 foghorn-leghorn dhcpd: DHCPREQUEST for 255.255.255.255
(1.2.3.4) from aa:00:80:1e:02:89 via eth0: ignored (not
authoritative).


Well of course my server isn't giving out anything on that network....


Must be a config issue so here's the whole thing:

---

kernel = "/boot/vmlinuz-2.6.16-xen0"
memory = 3560
name = "il4"
vif = [ 'mac=aa:00:80:1e:2:89, bridge=xenbr0']
disk = [ 'file:/xen/disks/il4-root,sda1,w',
         'file:/xen/disks/il4-swap,sda2,w',
         'file:/xen/disks/il4-openafs,sda3,w', ]
#root = "/dev/sda1 ro"
dhcp="dhcp"
root="/dev/nfs"

---

I must be missing something...

-Jon

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

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