Subject: netboot hangs at nfs_boot
To: None <port-amd64@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: port-amd64
Date: 02/07/2006 15:24:21
--EeQfGwPcQSOJBaQU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi all,

I have this rather annoying problem where am64 machines can't netboot,
hanging after pxeboot(8)ing when trying to mount the NFS root.

I have a bunch of diskless i386 clients that netboot off a central
server via pxeboot(8), then find their NFS root and work just fine.  I
recently added a few amd64 machines to this, but they do not want to
boot.

Here's an exceprt from my /etc/dhcpd.conf on the server:

deny unknown-clients;                   #disallow unknown connections
ddns-update-style none;                 #disallow dynamic DNS updates

allow bootp;                            #allow bootp requests, thus the dhcp
                                        #server will act as a bootp
server

subnet 172.16.4.0 netmask 255.255.252.0 {
}
=20
group {
 use-host-decl-names on;
 option broadcast-address 172.16.7.255;
 option subnet-mask 255.255.252.0;
 filename "pxeboot_ia32.bin";
 next-server 172.16.4.1;

 option root-path "/usr/local/node.new/root";=20

host c002 {hardware ethernet 00:07:e9:09:c7:58; fixed-address 172.16.4.2; }
[...]

This works just fine for 28 i386 clients.

I've tried to let the amd64 machine netboot the i386 kernel as well as
letting it use a 64bit pxeboot and booting an amd64 kernel.  Both give
me the same result:

After successfully getting the network configuration and starting to
boot the kernel, it hangs when trying to mount the NFS root:

nfs_boot: trying DHCP/BOOTP
nfs_boot: timeout...
nfs_boot: timeout...
nfs_boot: timeout...

I eventually gave it the fixed address of one of the working nodes
(after shutting that one down) and tried to netboot it, and again it
simply wouldn't go any further than to where it tries to mount the root,
which fails.

Does anybody have any idea why it would be able to get the network
configuration in the beginning, but not at the next step?

Any ideas what I should try?

Thanks in advance,
-Jan

--=20
Defending Freedom in the Digital World:
   --- Electronic Frontier Foundation -- http://www.eff.org ---

--EeQfGwPcQSOJBaQU
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)

iD8DBQFD6QH1fFtkr68iakwRAqmIAJ9Na87FiX/f/CIEMG5WL6MBQWOUiwCdGJkG
Jw15T4z7z8FdnyQ7mPM/l44=
=Soxx
-----END PGP SIGNATURE-----

--EeQfGwPcQSOJBaQU--