peter
71b3e0fe14
Do not add ${KMOD} to the CLEANFILES list. We want ${PROG} which is either
...
${KMOD}.o or ${KMOD}.ko. Otherwise we can delete the source shell script
for linux, joy and ibcs2.
1998-11-05 04:01:55 +00:00
mjacob
33cd29fe0d
For large filesystems you can run past default resource limits causing
...
fsck to exit unhappily. Fix this by doing a getrlimit/setrlimit for
RLIMIT_DATA. I made the same fix in NetBSD.
Reviewed by: dg@root.com
1998-11-05 03:26:36 +00:00
nsouch
01ef1d0639
Add few declaration for the iicbus/smbus system.
1998-11-04 22:13:35 +00:00
nsouch
6916aa0581
Add 0s to declarations.
...
Proposed by: Dag-Erling Coid
1998-11-04 22:12:48 +00:00
nsouch
751db9697b
iicbus probe and attach deferred until root_bus_configure() call.
1998-11-04 22:09:17 +00:00
nsouch
4da751f9dd
Properly reset parent to get interface addr.
1998-11-04 22:07:24 +00:00
fenner
0b1ffe8fd6
Fix sbcheck() to check all packets on socket buffer.
...
Also fix data types and printf formats while I'm here.
PR: misc/8494
Panic instead of looping forever in sbflush(). If sb_mbcnt counts
more mbufs than sb_cc counts bytes, the original code can turn into an
infinite loop of removing 0 bytes from the socket buffer until it's empty.
1998-11-04 20:22:11 +00:00
ken
c2c9d2577f
Generalize the quirk entry that disables multi-lun probing for Sony CDROM
...
drives. It seems that quite a few (possibly all?) of their drives respond
to inquiries on multiple luns. Hopefully we can detect problems like this
in the probe phase at some point. For now, this is a pretty functional
solution.
1998-11-04 19:56:24 +00:00
phk
bb11f17d51
Add example for the internal "ident server".
1998-11-04 19:42:35 +00:00
phk
44cddad39c
Add an "internal" driver for the "ident" protocol (tcp/113).
...
It will return "ERROR:HIDDEN-USER" for all requests.
To use it add:
ident stream tcp nowait root internal
to inetd.conf
1998-11-04 19:39:46 +00:00
jdp
1c295dbf02
Fix make world breakage: "$MACHINE_ARCH" -> "${MACHINE_ARCH}".
1998-11-04 18:25:23 +00:00
msmith
0e8da37687
Don't try to build i386-centric modules on non-i386 systems.
1998-11-04 17:15:07 +00:00
peter
61a53e2b63
Make a.out kernels kld compatable by default...
1998-11-04 15:27:41 +00:00
peter
abe415781a
The handle for the kernel is common. With this fix, ELF kernels can load
...
a.out kld modules, and a.out kernels can load ELF kld modules.
1998-11-04 15:20:58 +00:00
peter
7f0987e02d
Remove stray(?) debugging printf's and cngetc()'s that freeze boot several
...
times waiting for keypresses.
1998-11-04 13:37:43 +00:00
peter
e99e311d6b
Remove stray .endif from previous commit (I hope this is right)
1998-11-04 12:49:31 +00:00
peter
3c6c588b75
Add usr.bin/gensetdefs to build-tools; it is used for src/sys/modules and
...
maybe for other things that use linker sets under ELF.
1998-11-04 12:43:46 +00:00
rnordier
6037124de3
Include mergesort() in description of errors.
1998-11-04 09:27:03 +00:00
rnordier
05e7da8d39
Drop unused labels.
1998-11-04 09:22:07 +00:00
luigi
2842a92b36
Remove an error message from sb interrupt driver -- it
...
does not apply to all situations.
1998-11-04 09:13:20 +00:00
rnordier
6ffb967233
Handle a zero elements argument.
...
PR: 8566
Submitted by: Archie Cobbs <archie@whistle.com>
1998-11-04 08:55:34 +00:00
msmith
d1006991e3
Typo curnwid -> currnwid
...
Submitted by: Randy Bush <rbush@bainbridge.verio.net>
1998-11-04 08:33:32 +00:00
msmith
e663a65541
Don't need this one anymore.
1998-11-04 07:40:05 +00:00
msmith
4674ed7cfb
Well I never. Seems like _setjmp()/_longjmp() are just what the doctor
...
ordered. This brings the Alpha back to parity, and should bring us
BootForth on both platforms.
Submitted by: John Birrell (jb@freebsd.org )
1998-11-04 07:39:53 +00:00
msmith
38c50ef266
Improve the assertion testing for successful softword compilation.
...
The excessive use of assert() vs. robust error checking is annoying.
1998-11-04 07:07:18 +00:00
msmith
dc1da60388
Improve the quality of isspace() to match expectations. This should make
...
the Ficl interpreter read its softwords array OK.
1998-11-04 07:04:00 +00:00
peter
51a1d0307e
Simple update to make these work as kld and preload modules.
1998-11-04 03:49:39 +00:00
msmith
41affade8b
Turn off -g accidentally left in from testing.
1998-11-04 03:42:36 +00:00
msmith
4797b6fa60
Fix includes; we were still pulling in <stdlib.h> in some places.
...
Support building a standalone interpreter with 'make testmain', remove
win32 and egregious gets() in testmain.c
1998-11-04 03:42:16 +00:00
msmith
b5e4ddf831
Use a smaller default dictionary to waste less space.
1998-11-04 03:41:09 +00:00
jmz
b3dd93fa15
Typo.
1998-11-04 03:21:21 +00:00
peter
0b2613691d
General tidy up: remove more unused code, update comments, simplify some
...
routines a little.
1998-11-04 03:18:10 +00:00
jkh
0f99bfc6c0
Respect ${.OBJDIR} properly when looking for libficl.a
1998-11-04 02:36:18 +00:00
msmith
7294da4e68
Don't try to build (nonexistent) Alpha setjmp until we have one.
1998-11-04 00:32:08 +00:00
msmith
8c52bcabbc
Add required parts for BootForth building (currently disabled and
...
untested). Only suitable for i386 at the moment, as we are missing
setjmp/longjmp on the Alpha.
1998-11-04 00:30:47 +00:00
msmith
e8cf5aa8c5
Make this work in the libstand environment; don't use stdio/stdlib headers.
1998-11-04 00:29:33 +00:00
msmith
155c4cb295
Add BootForth hooks; if BOOT_FORTH is defined, pass every line read
...
to the Forth interpreter. Instantiate all of our inbuilt commands
as Forth words, and handle them being called from there.
Add my copyright to the bcache module (oops).
1998-11-04 00:29:01 +00:00
msmith
e29cc743ca
Move setjmp/longjmp implementations here from libc; no signal handling
...
in libstand, only for i386 until I locate an alpha setjmp/longjmp.
Minimal 64-bit gcc integer support for i386. This is kinda nasty, and
should be revisited once we decide whether the bootblocks need
quad arithmetic.
1998-11-04 00:23:18 +00:00
jkh
6332255de8
Formatting tweak.
1998-11-04 00:06:41 +00:00
msmith
6043fe8061
Include "bootstrap.h" to get a definition for bcache_devdata.
...
Submitted by: jkh
1998-11-03 23:44:49 +00:00
des
d6ccde6698
Back out previous commit. The bpfilter -> bpf transition will have to be a
...
flag day unless we can hack config(8) to smooth things over.
1998-11-03 22:01:22 +00:00
des
b38e7f90e1
Rename the 'bpfilter' pseudo-device to 'bpf'. The old syntax is still legal
...
and will stick around for a while.
1998-11-03 21:12:20 +00:00
msmith
b6968d189c
USERCONFIG_BOOT -> INTRO_USERCONFIG
1998-11-03 21:09:11 +00:00
msmith
b120b000dd
Remove USERCONFIG_BOOT, add INTRO_USERCONFIG
1998-11-03 21:08:49 +00:00
msmith
90bdf0d597
Remove the USERCONFIG_BOOT option. Userconfig script data is searched
...
for in a loaded module of type "userconfig_script". The RB_CONFIG
flag will always result in the user being left inside userconfig at
the end of the script's execution, regardless of 'quit' commands in
the script. If the RB_CONFIG flag is not specified, the user will
never be left inside userconfig, even if the script does not have an
explicit exit command.
Add the INTRO_USERCONFIG option. This option forces the userconfig 'intro'
screen (after a script has optionally been executed). There is no longer
a need to queue an 'intro' command.
1998-11-03 21:07:51 +00:00
peter
c3fb5f8be1
A feeble attempt at kld compatability. The mount_* programs assume that
...
they cannot mount a filesystem that they cannot see in getvfsbyname().
Part 1 of this is a hack, make vfsisloadable() always return true - the
ultimate decider of whether it's loadable or not is kldload() or mount().
Part 2 of this is to have vfsload() call kldload(2) and return success if
it works. This means that we will use a viable kld module in preference
to an LKM!
Ultimately, the thing to do is remove the hacks to do a vfsload in all the
mount_* commands and let the kernel do it by itself in mount(2).
1998-11-03 15:02:29 +00:00
peter
43589c7042
make mount(2) automatically kldload modules if the requested filesystem
...
isn't present.
1998-11-03 14:29:09 +00:00
peter
2b6debf094
Have the in-kernel linker try a default extension of .ko. This means that
...
"kldload nfs" works. We use the same default extension in the /boot/loader
system.
1998-11-03 14:27:05 +00:00
peter
5e8da6440f
Initialize the a.out kld loader after elf, so that elf gets first shot at
...
a kldload attempt.
1998-11-03 14:25:21 +00:00
peter
cc3d9aafe5
Use the kvm space pathname that we copied in, not the one in user space.
1998-11-03 13:09:31 +00:00