freebsd-dev/lib/libstand
Marcel Moolenaar 9c73bdcf24 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 We compile expressly on the alpha with -mno-fp-regs - so do not use them 2000-05-12 21:48:54 +00:00
i386 Change #include "DEFS.h" to <machine/asm.h>. 2001-10-25 01:30:54 +00:00
powerpc Make setjmp work our way, as opposed to NetBSD's. 2000-11-10 06:10:28 +00:00
sparc64 Ficl wants _setjmp and _longjmp. No need for weak symbols either. 2002-07-07 18:04:45 +00:00
__main.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
arp.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
assert.c Make the output from assert() look more like the example in the C99 2001-10-29 07:07:25 +00:00
bcd.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
bootp.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
bootp.h Add support to send the string 'PXEClient' as the Vendor class 2000-08-11 08:36:17 +00:00
bootparam.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
bootparam.h
bswap.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
bzipfs.c Add splitfs vfs layer into libstand, which allows loading big kernels and 2002-03-17 12:18:05 +00:00
bzlib_private.h.diff Complete bzip2-1.0.2 import. 2002-02-01 16:33:40 +00:00
bzlib.c.diff Complete bzip2-1.0.2 import. 2002-02-01 16:33:40 +00:00
bzlib.h.diff Complete bzip2-1.0.2 import. 2002-02-01 16:33:40 +00:00
cd9660.c - Change the f_isdir field of struct file to be a flags field and two 2001-11-06 22:31:10 +00:00
close.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
closeall.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
dev.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
dosfs.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
dosfs.h
environment.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
ether.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
ext2fs.c Use an explicitly-sized type instead of daddr_t for on-disk block 2002-05-19 10:50:38 +00:00
fstat.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
getopt.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
gets.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
globals.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
gzipfs.c Renamed the loader's zipfs to gzipfs. zipfs.c was repo-copied to gzipfs.c. 2002-12-19 19:34:59 +00:00
if_ether.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
in_cksum.c Update from NetBSD 1.3 -> 1.6. Most notable, rev 1.6: 2002-06-29 09:00:47 +00:00
inet_ntoa.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
ioctl.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
iodesc.h
libstand.3 Renamed the loader's zipfs to gzipfs. zipfs.c was repo-copied to gzipfs.c. 2002-12-19 19:34:59 +00:00
lseek.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
Makefile Renamed the loader's zipfs to gzipfs. zipfs.c was repo-copied to gzipfs.c. 2002-12-19 19:34:59 +00:00
net.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
net.h Don't always enable debugging for the network device code. 2000-11-10 06:06:55 +00:00
netif.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
netif.h Cleanup warnings by adding missint prototypes, removing unneeded duplicate 2000-08-03 09:08:29 +00:00
nfs.c Fix a machine check abort caused by the EFI loader trying to open a 2003-03-03 00:58:47 +00:00
nfsv2.h Fix comment. 2000-05-06 04:50:09 +00:00
nullfs.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
open.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
pager.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
printf.c Use the standardized CHAR_BIT constant instead of NBBY in userland. 2002-09-25 04:06:37 +00:00
qdivrem.c Add __divdi3() and __moddi3() to libstand. We will need them for UFS2. 2002-05-13 13:31:20 +00:00
quad.h Remove __P() usage. 2002-03-21 23:54:04 +00:00
random.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
rarp.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
read.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
readdir.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
rpc.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
rpc.h
rpcv2.h
saioctl.h
sbrk.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
splitfs.c Kill debugging printf() slipped into my last commit. 2002-03-21 07:31:48 +00:00
stand.h Renamed the loader's zipfs to gzipfs. zipfs.c was repo-copied to gzipfs.c. 2002-12-19 19:34:59 +00:00
stat.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
strcasecmp.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
strdup.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
strerror.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
strtol.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
tftp.c Fix a machine check abort caused by the EFI loader trying to open a 2003-03-03 00:58:47 +00:00
tftp.h
twiddle.c Add __FBSDID()s to libstand 2001-09-30 22:28:01 +00:00
udp.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
ufs.c Update the second copy of libstand to deal with the new ufs2 superblock 2002-12-03 16:25:29 +00:00
write.c Remove 'register' keyword. 2002-03-21 23:39:28 +00:00
zalloc_defs.h Reimplement malloc/free debugging that includes the offending file:line 2002-07-20 04:18:20 +00:00
zalloc_malloc.c Reimplement malloc/free debugging that includes the offending file:line 2002-07-20 04:18:20 +00:00
zalloc_mem.h
zalloc_protos.h
zalloc.c The zalloc pool's size calculation breaks if sbrk() does not return 2002-12-19 23:23:20 +00:00
zutil.h.diff Reimplement malloc/free debugging that includes the offending file:line 2002-07-20 04:18:20 +00:00