freebsd-skq/lib/libstand
marcel 4007bcfd7b Fix a machine check abort caused by the EFI loader trying to open a
file in the NFS file system when the underlying device is not a
network device. A Sparc64 specific hack for this exact problem was
already present (nfs.c:1.9, tftp.c:1.10), but the problem is not
specific to Sparc64. The hack has been promoted to a non-i386 test
because on non-i386 architectures it's either impossible to have
non-network devices coexist in the same loader with the NFS FS, or
network and non-network device coexist and NFS filesystems can only
be used on top of network devices. I believe i386 pxeboot is where
this does not hold.

The root cause of this problem is in open.c where each file system
is tried until no more file systems exist or a file system returns
success. There's no notion of a list of valid file systems given
the underlying device and the non-existence of a file can cause
the invalid combination to be tried.
2003-03-03 00:58:47 +00:00
..
alpha
i386
powerpc
sparc64
__main.c
arp.c
assert.c
bcd.c
bootp.c
bootp.h
bootparam.c
bootparam.h
bswap.c
bzipfs.c
bzlib_private.h.diff
bzlib.c.diff
bzlib.h.diff
cd9660.c
close.c
closeall.c
dev.c
dosfs.c
dosfs.h
environment.c
ether.c
ext2fs.c
fstat.c
getopt.c
gets.c
globals.c
gzipfs.c
if_ether.h
in_cksum.c
inet_ntoa.c
ioctl.c
iodesc.h
libstand.3
lseek.c
Makefile
net.c
net.h
netif.c
netif.h
nfs.c
nfsv2.h
nullfs.c
open.c
pager.c
printf.c
qdivrem.c
quad.h
random.c
rarp.c
read.c
readdir.c
rpc.c
rpc.h
rpcv2.h
saioctl.h
sbrk.c
splitfs.c
stand.h
stat.c
strcasecmp.c
strdup.c
strerror.c
strtol.c
tftp.c
tftp.h
twiddle.c
udp.c
ufs.c
write.c
zalloc_defs.h
zalloc_malloc.c
zalloc_mem.h
zalloc_protos.h
zalloc.c
zutil.h.diff