I tried that too a while ago, without success. If I remember it well,
support for diskless booting was dropped for i386 at some point, though
the config still contains references to it here and there. But someone
kick me if I'm wrong..

Bill

On Sun, 2006-12-10 at 22:09 -0600, Jacob Yocom-Piatt wrote:
> the diskless(8) manpage is quite informative but it omits any discussion of 
> the
> necessary kernel config for running diskless. the closest thing i could find 
> was
> 
> http://marc.theaimsgroup.com/?l=openbsd-misc&m=107368329021519&w=2
> 
> the goal is to get a soekris 4801 running diskless and i tried taking the
> flashdist 4801 config for 4.0 and making a single modification. the only 
> change
> made was
> 
> #config         bsd     root on wd0a
> config          bsd     root on nfs swap on nfs
> 
> and i got an error during the make
> 
> # make
> mkdir -p /usr/src/sys/arch/i386/compile/NET4801/lib/kern
> making sure the kern library is up to date...
> `libkern.o' is up to date.
> making sure the compat library is up to date...
> `libcompat.a' is up to date.
> sh /usr/src/sys/arch/i386/compile/NET4801/../../../../conf/newvers.sh
> cc  -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes  -Wno-uninitialized
> -Wno-format -Wno-main  -Wstack-larger-than-2047 -march=i486 
> -fno-builtin-printf
> -fno-builtin-log -O2 -pipe -nostdinc -I.
> -I/usr/src/sys/arch/i386/compile/NET4801/../../../../arch
> -I/usr/src/sys/arch/i386/compile/NET4801/../../../.. -DDDB -DDIAGNOSTIC 
> -DKTRACE
> -DCRYPTO -DFFS -DMFS -DTCP_SACK -DTCP_SIGNATURE -DFDESC -DFIFO -DKERNFS 
> -DPROCFS
> -DINET -DALTQ -DIPSEC -DBOOT_CONFIG -DI586_CPU -DUSER_PCICONF -DPTRACE
> -DPCCOMCONSOLE -DCONSPEED="0x4b00" -DPCIVERBOSE -D_KERNEL -Di386  -c vers.c
> rm -f bsd
> ld -Ttext 0xD0200120 -e start -N -S -x -o bsd ${SYSTEM_OBJ} vers.o
> swapbsd.o(.data+0x20): undefined reference to `nfs_mountroot'
> *** Error code 1
> 
> Stop in /usr/src/sys/arch/i386/compile/NET4801 (line 344 of Makefile).
> 
> suggestions as to the correct config setting would be appreciated. was there
> ever a DISKLESS config in the source tree?
> 
> cheers,
> jake
> 
> 
-- 
Good that there are standards, and enough of them

Reply via email to