Re: nfe/PXE problem

From: Danny Braniss <danny_at_cs.huji.ac.il>
Date: Tue, 13 Mar 2007 09:10:38 +0200
> well, I can PXE boot this box if I use an fxp NIC, with the nfe I tracked the 
> problem
> to sys/nfsclient/nfs_diskless, where in nfs_setup_diskless(void)
> it does not find the nfe interface, ie, something does not match, but the 
> interface
> was detected!.
> i'll try and do some more debugging.
> 
ok, I found the problem, in nfs_diskless.c nfs_setup_diskless(),
there is a loop to search for the interface that was used to boot from,
and no match is found because the hadrware ethernet address
in the nfe is in the wrong byte order! and so the bcmp(...) fails.
Interestingly, if booting NOT via PXE the Ethernet address is OK!

nfe0: <NVIDIA nForce 430 MCP13 Networking Adapter> port 0xdc00-0xdc07 mem 
0xfe02c000-0xfe02cfff irq 22 at device 20.0 on pci0
	nfe0: Ethernet address: 00:18:f3:a9:6c:57
and via PXE:
	nfe0: Ethernet address: 57:6c:a9:f3:18:00

can someone with the right knowledge fix this?

thanks,
	danny
Received on Tue Mar 13 2007 - 06:10:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:06 UTC