From owner-freebsd-hackers Wed Mar 15 21:17:53 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id VAA00685 for hackers-outgoing; Wed, 15 Mar 1995 21:17:53 -0800 Received: from goof.com (root@goof.com [198.82.204.15]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id VAA00679 for ; Wed, 15 Mar 1995 21:17:51 -0800 Received: (from mmead@localhost) by goof.com (8.6.9/8.6.9) id AAA27104; Thu, 16 Mar 1995 00:19:06 -0500 From: "matthew c. mead" Message-Id: <199503160519.AAA27104@goof.com> Subject: Re: Diskless booting - netboot.com problems? To: starkhome!gene@sbstark.cs.sunysb.edu (Gene Stark) Date: Thu, 16 Mar 1995 00:19:05 -0500 (EST) Cc: hackers@FreeBSD.org In-Reply-To: <199503160401.XAA15811@starkhome.cs.sunysb.edu> from "Gene Stark" at Mar 15, 95 11:01:05 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 3122 Sender: hackers-owner@FreeBSD.org Precedence: bulk Gene Stark wrote: > >> Use netboot.com.nohdr as the DOS .com file. > > > > That didn't work either - just hung the machine... Thanks for the idea > >though - anymore? :-) > I have used netboot.com.nohdr successfully as a DOS .com file. > Are you sure you are compiling it up correctly? Here's what I'm doing (this is long): bash# cd /sys/i386/boot/netboot/ bash# make clean rm -f a.out [Ee]rrs mklog netboot.com start2.o main.o misc.o ether.o bootmenu.o rpc.o netboot.com.nohdr netboot.com.strip netboot.rom.nohdr netboot.rom.strip netboot.rom makerom start2.ro mbash# make cc -O2 -DNFS -DROMSIZE=16384 -DRELOC=0x90000 -DINCLUDE_WD -DWD_DEFAULT_MEM=0xD0000 -DINCLUDE_NE -DNE_BASE=0x320 -DINCLUDE_3COM -D_3COM_BASE=0x300 -c start2.S cc -O2 -DNFS -DROMSIZE=16384 -DRELOC=0x90000 -DINCLUDE_WD -DWD_DEFAULT_MEM=0xD0000 -DINCLUDE_NE -DNE_BASE=0x320 -DINCLUDE_3COM -D_3COM_BASE=0x300 -c main.c cc -O2 -DNFS -DROMSIZE=16384 -DRELOC=0x90000 -DINCLUDE_WD -DWD_DEFAULT_MEM=0xD0000 -DINCLUDE_NE -DNE_BASE=0x320 -DINCLUDE_3COM -D_3COM_BASE=0x300 -c misc.c cc -O2 -DNFS -DROMSIZE=16384 -DRELOC=0x90000 -DINCLUDE_WD -DWD_DEFAULT_MEM=0xD0000 -DINCLUDE_NE -DNE_BASE=0x320 -DINCLUDE_3COM -D_3COM_BASE=0x300 -c ether.c cc -O2 -DNFS -DROMSIZE=16384 -DRELOC=0x90000 -DINCLUDE_WD -DWD_DEFAULT_MEM=0xD0000 -DINCLUDE_NE -DNE_BASE=0x320 -DINCLUDE_3COM -D_3COM_BASE=0x300 -c bootmenu.c cc -O2 -DNFS -DROMSIZE=16384 -DRELOC=0x90000 -DINCLUDE_WD -DWD_DEFAULT_MEM=0xD0000 -DINCLUDE_NE -DNE_BASE=0x320 -DINCLUDE_3COM -D_3COM_BASE=0x300 -c rpc.c cc -O2 -DNFS -DROMSIZE=16384 -DRELOC=0x90000 -DINCLUDE_WD -DWD_DEFAULT_MEM=0xD0000 -DINCLUDE_NE -DNE_BASE=0x320 -DINCLUDE_3COM -D_3COM_BASE=0x300 -N -T 0x90000 -e _start -nostdlib -static -o netboot.com start2.o main.o misc.o ether.o bootmenu.o rpc.o cp -p netboot.com netboot.com.strip strip netboot.com.strip size netboot.com.strip text data bss15312 368 3264 18944 4a00 dd ibs=32 skip=1 if=netboot.com.strip of=netboot.com.nohdr 490+0 records in 30+1 records out 15680 bytes transferred in 1 secs (15680 bytes/sec) cc -o makerom -DROMSIZE=16384 /sys/i386/boot/netboot/makerom.c cc -O2 -DNFS -DROMSIZE=16384 -DRELOC=0x90000 -DINCLUDE_WD -DWD_DEFAULT_MEM=0xD0000 -DINCLUDE_NE -DNE_BASE=0x320 -DINCLUDE_3COM -D_3COM_BASE=0x300 -DBOOTROM -o start2.ro -c start2.S ld -N -T 0x90000 -e _start -nostdlib -static -o netboot.rom start2.ro main.o misc.o ether.o bootmenu.o rpc.o cp -p netboot.rom netboot.rom.strip strip netboot.rom.strip size netboot.rom.strip text data bss dec15376 368 3264 19008 4a40 dd ibs=32 skip=1 if=netboot.rom.strip of=netboot.rom.nohdr 492+0 records in 30+1 records out 15744 bytes transferred in 1 secs (15744 bytes/sec) /sys/i386/boot/netboot/makerom netboot.rom.nohdr Anything look wrong? Thanks again! -matt -- Matthew C. Mead -> Virginia Tech Center for Transportation Research - -> Multiple Platform System and Network Administration Work Related -> mmead@ctr.vt.edu | mmead@goof.com <- All Other ---- ------- WWW -> http://www.goof.com/~mmead --- -----