Subject: Re: Indigo kernel downloads, boots w/ FreeBSD, not NetBSD
To: Rafal Boni <rafal.boni@eDial.com>
From: David Brownlee <abs@netbsd.org>
List: port-sgimips
Date: 02/13/2001 11:26:54
On Fri, 2 Feb 2001, Rafal Boni wrote:

> I think I found the answer, but as my wife is getting annoyed with my
> hacking binge, didn't get a change to verify.  SGI notes in a 5.X kernel
> rollup patch that the boot PROM does not grok ports with the high bit set,
> hence their tftpd was fixed to not send packets from ports > 32K.
>
> Unsurprisingly, the NetBSD tftpd sends replies back from ports ~ 64K, and
> the PROM spits out a 'tftprecv: pkt from server port 65528, not -8' message
> (thanks to Jeff Smith for the 'setenv DEBUG 1' trick... I didn't know you
> could make the boot PROM spit out more info that way!).
>
> I imagine once this is fixed, I'll be able to tftp my kernels straight from
> the boot PROM which will make life much happier!
>
> BTW, I'm considering starting a FAQ/HOWTO for getting the sgimips port
> booting for people interested in playing (with things like the SASH bug
> Soren forwarded me, this TFTP bug, ...) with the sgimips port.  Please
> send me any info you think might be useful and I'll try and compile it
> and post it to the list (and maybe get one of the web mavens to HTML'ize
> it and post in on www.netbsd.org).  Any other comments on the topic also
> appreciated (even if you think it's a worthless exerise).

	Could you try (on the NetBSD tftpd server machine)

		sysctl -w net.inet.ip.anonportmin=20000
		sysctl -w net.inet.ip.anonportmax=32767

		David/absolute		-- www.netbsd.org: No hype required --