Date: Thu, 16 Mar 1995 00:19:05 -0500 (EST) From: "matthew c. mead" <mmead@goof.com> To: starkhome!gene@sbstark.cs.sunysb.edu (Gene Stark) Cc: hackers@FreeBSD.org Subject: Re: Diskless booting - netboot.com problems? Message-ID: <199503160519.AAA27104@goof.com> In-Reply-To: <199503160401.XAA15811@starkhome.cs.sunysb.edu> from "Gene Stark" at Mar 15, 95 11:01:05 pm
next in thread | previous in thread | raw e-mail | index | archive | help
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 --- -----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503160519.AAA27104>
