Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2014 05:04:27 -0700 (PDT)
From:      Beeblebrox <zaphod@berentweb.com>
To:        freebsd-current@freebsd.org
Subject:   Re: Several minor annoyances on Current
Message-ID:  <1406289867854-5931678.post@n5.nabble.com>
In-Reply-To: <1406287169575-5931665.post@n5.nabble.com>
References:  <1406282699515-5931653.post@n5.nabble.com> <1406287169575-5931665.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Kurt Jaeger wrote:

> Can you check whether one of your ethernet-ports has a double life
> as IPMI port and that one sends out the DHCP ?

No such setup. This is my workstation, with wake-on-lan and pxe-boot
disabled in bios.
Checking boot messages provides a little more insight - Its not one but
*both* NIC's that look for DHCP. Also, this is before root gets mounted, so
what's in rc.conf is irrelevant:

Sending DHCP Discover packet from interface re0 (mac#)
Sending DHCP Discover packet from interface re1 (mac#)
Received DHCP Offer packet on re0 from 192.168.1.1 (accepted)
Received DHCP Offer packet on re0 from 192.168.1.1 (ignored)
Received DHCP Offer packet on re0 from 192.168.1.1 (ignored)
Sending DHCP Request packet from interface re0 (mac#)
Received DHCP Ack packet on re0 from 192.168.1.1 (accepted)
DHCP timeout for interface re1
re0 at 192.168.1.11 server 192.168.1.1
subnet mask 255.255.255.0 router 192.168.1.1
Adjusted interface re0
Shutdown interface re1
Trying to mount root from zfs:bsd []...

I compile and use the same kernel for both host and pxe-booted diskless
clients. So my kernel config file has
options         NFSCL                   # Network Filesystem Client
options         NFS_ROOT                # NFS usable as /, requires NFSCL
options         BOOTP                   # Needed for non-btx PXE
options         BOOTP_NFSROOT           # Needed for non-btx PXE
It's probably what's causing this behavior. Kernel must receive IP before it
can try and mount an NFS volume as root. However, I would have assumed that
the "vfs.root.mountfrom=" setting in loader.conf would be read before such
attempt...



-----
FreeBSD-11-current_amd64_root-on-zfs_RadeonKMS
--
View this message in context: http://freebsd.1045724.n5.nabble.com/Several-minor-annoyances-on-Current-tp5931653p5931678.html
Sent from the freebsd-current mailing list archive at Nabble.com.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1406289867854-5931678.post>