Subject: Re: Soekris 4801 craziness: pxeboot
To: None <tech-embed@netbsd.org>
From: David Young <dyoung@pobox.com>
List: tech-embed
Date: 10/15/2005 03:33:15
--IR1Y5IvQhrKgS4e6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Fri, Oct 14, 2005 at 10:20:27PM -0400, Steven M. Bellovin wrote:
> I'm going slightly insane trying to get NetBSD working on a Soekris
> 4801. I'll post the different problems separately.
>
> First, I can't get PXEboot working. It downloads the first-stage
> bootstrap (pxeboot_ia32.bin), but it can't seem to load
> netbsd-INSTALL. tcpdump shows that it's being requested:
PXE-booting NetBSD on Soekris boards has been broken since sometime after
NetBSD 1.6. I just got it to work the other day with the attached patch.
Dave
--
David Young OJC Technologies
dyoung@ojctech.com Urbana, IL * (217) 278-3933
--IR1Y5IvQhrKgS4e6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=pxeboot-bugfix-patch
Index: pxeboot/pxe.c
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/stand/pxeboot/pxe.c,v
retrieving revision 1.7
diff -u -u -r1.7 pxe.c
--- pxeboot/pxe.c 14 Jun 2005 18:25:16 -0000 1.7
+++ pxeboot/pxe.c 14 Oct 2005 00:37:28 -0000
@@ -446,8 +446,6 @@
printf("pxe_fini: PXENV_UNDI_SHUTDOWN failed: 0x%x\n",
shutdown->Status);
- pxe_call(PXENV_UNLOAD_STACK);
-
if (unload->Status != PXENV_STATUS_SUCCESS)
printf("pxe_fini: PXENV_UNLOAD_STACK failed: 0x%x\n",
unload->Status);
--IR1Y5IvQhrKgS4e6--