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/
Home Products Support Community News


Re: [Xen-users] DHCP for NFS root?

To: "Jonathan D. Proulx" <jon@xxxxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] DHCP for NFS root?
From: "Matthijs ter Woord" <matthijsterwoord@xxxxxxxxx>
Date: Thu, 7 Sep 2006 17:01:52 +0200
Delivery-date: Thu, 07 Sep 2006 08:02:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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> <20060907144250.GD13049@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
You could try reconfiguring the DHCP server...

----- Original Message ----- From: "Jonathan D. Proulx" <jon@xxxxxxxxxxxxx>
To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Sent: Thursday, September 07, 2006 4:42 PM
Subject: Re: [Xen-users] DHCP for NFS root?

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
( from aa:00:80:1e:02:89 via eth0: ignored (not

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-openafs,sda3,w', ]
#root = "/dev/sda1 ro"


I must be missing something...


Xen-users mailing list

Xen-users mailing list

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