Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Dec 2000 00:13:07 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        Matt Dillon <dillon@earth.backplane.com>
Cc:        freebsd-stable@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG
Subject:   Re: More on BTX halted / crashes trying to use -stable /boot/loader 
Message-ID:  <200012070813.eB78D7F00560@mass.osd.bsdi.com>
In-Reply-To: Your message of "Wed, 06 Dec 2000 20:39:39 PST." <200012070439.eB74ddE69221@earth.backplane.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>     Ah ha!  I think I found the culprit, but I'm not sure exactly where
>     in the tftp code the problem is occuring.
> 
>     I have been setting LOADER_TFTP_SUPPORT in /etc/make.conf so my pxeboot
>     file uses tftp to get the kernel rather then NFS (since NFS appears to
>     only be able to get [rootfs]:/kernel, which is the wrong kernel for a
>     diskless boot).

This isn't the case; pxeboot will load whichever kernel you've 
specified in your loader config.

>     The option works wonderfully for /boot/pxeboot.  But it turns out
>     that the normal /boot/loader, when compiled with the above
>     option, will crash horribly whenever it tries to open() a file and 
>     can't find it in the UFS filesystem on disk... it falls through the
>     filesystem list until it hits the tftp FS and BEWM.  Explosion.
> 
>     I sure would appreciate it if one of the bootstrap gurus could take 
>     a look at what happens when the tftp open routine is called from a 
>     normal disk-based /boot/loader!

Probably hits an uninitialised function vector; this would be a good 
catch for someone looking to learn a bit about the loader and libstand.

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012070813.eB78D7F00560>