Commit Graph

1751 Commits

Author SHA1 Message Date
jkh
785b30ee90 This is a kludge. Unless I make a link from sh to - (which would leave a file
called `-' lying around on the users system forever) login shells will fail.
Just special-case the handling of `-' for now until/unless I find a more
palatable solution.
1994-06-24 14:32:36 +00:00
jkh
e69348e3ab My last few changes to the release code plus a small termcap file
for the cpio floppy.
1994-06-24 14:27:25 +00:00
jkh
f36c2916e9 Whoops - missed a couple of intermediate files. Nuke 'em. 1994-06-22 08:37:28 +00:00
jkh
67d287b343 Ok, this should about wrap it up.
1. All the crunched files work now; don't install copies, used the crunched
   versions.
2. Make the clean rules DTRT now that we have stuff to clean.
1994-06-22 08:33:28 +00:00
jkh
bdb0f5007f Commit a whole cluster of last minute critical (and one cosmetic) fixes
from David Greenman, Bruce Evans and Julian Elischer.

They are:

[vnode pager - David/Bruce]:
  The following patch fixes a problem where some data could be lost in a
delayed-write buffer if the cached buffer was larger than a page. This fix was
provided by Bruce Evans and modified slightly by me.

[st.c - Julian]:
  My fix for "bad request, must be between 0 and 0"

RTFS if you're interested).

[gnu/fpemul - David/Bruce]:
  These changes fix single stepping of emulated FPU instructions.
Previously, the instruction after an emulated instruction was
executed without causing a SIGTRAP ...

The also fix the initial control word being different for the
GPL emulator (it is still wrong for the old emulator) and remove
an unnecessary panic when emulation is not configured (I hope at
least init, sh and reboot will run without floating point.  I
remember only df and mkfs being broken by the lack of FP in 0.0).

[Various fixes described below - Bruce/David]:
sys/i386/boot/boot2.S:
        Yet another attempt to propagate the correct fix for 16 vs
        32-bit mode bugs.  [verified]

sys/i386/i386/db_interface.c:
        Protect against reentering Debugger().

sys/kern/kern_time.c:
        Don't allow 'time.tv_usec == 0' except at clock interrupts.

sys/pcfs/pcfs_fat.c:
        Make it compile without -O.

sys/scsi/sd.c:
        Fix as posted to some freebsd mailing list.
        (changes the order of the assignment of "sectors" because it earlier
          value is needed first -DG)

sys/vm/vm_glue.c:
        Fix stale comments and verbose code.

sys/vm/vm_mmap.c
        Fix off by 1 errors and verbose code.

[From Nate - cosmetic but non-intrusive and useful enough to go in]
sys/i386/isa/isa.c:
Appended you'll find a patch to the NMI error log routine in isa/isa.c.
The below patch just adds some additional information when an NMI occurs
which can help debug the hardware problem.
1994-06-22 05:52:25 +00:00
jkh
b95edccba4 Update this to the latest version from Steve Gerakines. This is an easy
drop-in for me and looks substantailly neater than the previous version,
so I'll give the floppy tape users a break (but just this once :).
1994-06-22 04:49:04 +00:00
rgrimes
5b9b00defa Fix serious off by one error for FreeBSD keyword, this has been driving
me nuts as it was on by default and that is NOT what I wanted.
1994-06-22 00:51:42 +00:00
jkh
3486da8875 Whoops - I missed a commit; EXTRACT scripts were misnamed. Correct. 1994-06-21 12:42:56 +00:00
jkh
a291f5f731 1. Increase number of inodes for kcopy floppy; we've currently run out.
2. Get kcopy and filesystem images from current directory since we
   now build them here; a clean rule is now all that's needed to make
   the crunch stuff complete.
1994-06-21 11:02:38 +00:00
jkh
93e419a13c Commit a small change to allow FreeBSD to install on a different drive.
The kernel configs already support this, so with a boot floppy or a utility
like booteasy, the user should be able to install and boot off the second drive.
Hurrah.
1994-06-20 06:05:16 +00:00
jkh
40c36c08c9 Make BOOTWAIT a truly tunable parameter. It was hard-set before. 1994-06-20 04:32:40 +00:00
jkh
71fdf3fa6e Commit some additional changes for making this work with obj dirs. 1994-06-20 03:39:59 +00:00
jkh
165d5cba8b Remove bogus -lcrypt line. 1994-06-19 20:39:30 +00:00
jkh
eea4609f28 Fixes from Bruce Evans:
o insecure and inconsistent permissions for tape devices.
	o didn't make the DOSpartition wd devices.
1994-06-17 21:50:07 +00:00
jkh
9fdc836420 Add entry for the new PCMCIA ethernet adapter code (ze0). 1994-06-17 19:29:05 +00:00
jkh
185ea35a1c Remove reference to the ld.so man page - ain't no such animal.
Reported by John Lind.
1994-06-17 17:22:16 +00:00
rich
1882c9b316 This commit was generated by cvs2svn to compensate for changes in r1752,
which included commits to RCS files with non-trunk default branches.
1994-06-17 06:42:39 +00:00
rich
1b68951309 slstat - report serial line IP statistics: bytes in/out, packets
in/out, errors, compressed, and uncompressed packets in/out.
1994-06-17 06:42:39 +00:00
jkh
20ae907d16 John Capo's changes to make the fixit floppy image work; I didn't even
bother looking at this file before! :)
1994-06-16 20:13:11 +00:00
ache
7a6c4a45f5 Fix comment about 8-bit clean tcsh 1994-06-16 17:16:31 +00:00
ache
3e04aa228c Add commented out STARTUP_LOCALE with explanation 1994-06-16 17:13:53 +00:00
ache
3ce4fc3bc8 Only comment added to console entry:
# If you want to be asked for password, change "secure" to "insecure" here
1994-06-16 12:34:53 +00:00
jkh
8eeac6c3ab I'll leave the addition of the line, but there's just absolutely no
way I'm going to allow this to be set to secure.  People blow their
password files away all the time, and I am not at all keen to lose the
ability to get them recovered with the simple expedient of a single-user
boot.
1994-06-16 12:14:08 +00:00
ache
4b345985e6 Choose secure single-user mode by default
Without this entry init.bsdi don't ask root password when it goes
to sigle-user. This entry must present here in any case,
subject of arguing can be only default mode, I mean
"secure" or "insecure" here. Please consider this entry
like template and change "insecure" to "secure" if you
are _shure_, but not back out whole line.

# This entry needed for asking password when init goes to single-user mode
console	none				unknown	off insecure
1994-06-16 11:13:44 +00:00
jkh
14bd65d6d8 This is the IBM/National PCMCIA ethernet driver from Keith Moore,
based originally on work by David Greenman and adapted to FreeBSD
(and cleaned up a bit) by myself.  It supports the IBM Credit Card
Adapter for the IBM Thinkpad, and I've had no trouble making it work
on my Toshiba T1910 with a National `InfoMover' NE4100 PCMCIA ethernet
card (I'm commiting this message through it right now :-).

This is actually sneaking it in after feature-freeze, but it's just
too useful to pass up!  As always, necessity is a mother.
1994-06-16 05:32:10 +00:00
adam
b653f7f112 Changed delay mechanism to rely more on I/O spinning. If spinning on the
like this is bad news, it will have to be revised.
Shortened some verbose messages for when the kernel is loaded below 640k.
Updated version number.
1994-06-16 03:53:29 +00:00
jkh
043392aad7 Flags 0x80 now means enable the diags, not disable. 1994-06-15 23:28:07 +00:00
jkh
0de329b748 Since we're using syscons now, make ^H the backspace character by
default (ack ack, evil evil, but easier than changing syscons at this
late hour).
1994-06-15 22:58:49 +00:00
rich
c68cd0f655 Changes from Paul Kranenburg which bring us into sync with his sources:
handling of errors through the standard err() and warn()
 more fixes for Geoff Rehmet's NULL pointer bug.
 fixes NULL pointer bugs when linking mono and nested X servers.
 supports a `-nostdlib' option.
 accept object files without a symbol table
 don't attempt dynamic linking when `-A' is given

a few variable names have chaged (desc -> fd), and the formatting has
changed which should make it much easier to track his sources.

I tested 'make world' for /usr/src and X twice with these changes.
1994-06-15 22:41:19 +00:00
adam
4ca2a57e14 Changed MDEC_OPT=BOOTWAIT= to BOOTWAIT= 1994-06-15 21:32:38 +00:00
jkh
1933cd3e44 1. Fill out the crunch target - this should do the trick (we'll see).
2. Remove the NOOBJ line - we want an object dir now.
1994-06-15 21:21:50 +00:00
jkh
965d56edfd Whoops, missed the .cache files - those can be tossed too. 1994-06-15 21:19:59 +00:00
jkh
3003ee55bd Nuke all the intermediate files. 1994-06-15 21:19:23 +00:00
jkh
bcf77813aa Add a beep to the load_fd stuff for each floppy insert request so
that you can read a book and load the floppy distribution at the same
time.. :-)
1994-06-15 21:04:04 +00:00
jkh
de4328ab39 Remove the --exclude libc.so.1.1 line; with a static gzip and tar we
no longer need it, and it's just one more thing we would have to remember
to change with every shared lib version bump.
1994-06-15 21:02:36 +00:00
jkh
3a0a09ee0d Install manpath.config and mail.rc properly, and directly from the src
tree now (rather than having a local copy.
1994-06-15 20:43:20 +00:00
adam
9732777bf6 added comments for how to use CCFPU and MDEC_OPT 1994-06-15 20:24:16 +00:00
jkh
d1fdec9cd4 Commit Rod's magic EXTRACT scripts to the tree so that we can work on
them.  These were al hand-copied over before.
1994-06-15 20:15:12 +00:00
jkh
f52da82e2a Lots of changes:
1. Properly use ${.CURDIR} now instead of hardcoded relative dirs.
2. Use ${BINOWN} and ${BINGRP} everywhere instead of root/wheel
3. Add target for copying over EXTRACT scripts (and add them here).
4. Start thinking about crunched floppy target (not in yet, next commit).
1994-06-15 20:14:29 +00:00
jkh
6646dcbf0f 1. Bump minimum root size to 8MB (we need that much now).
2. Bump version number to 1.1.5 for impending release.
1994-06-15 19:23:33 +00:00
jkh
08c2bf8554 Make gzip static by default. This is needed because it's such a
frequent companion to tar.
1994-06-15 19:16:58 +00:00
jkh
ad7c810aba Make tar static by default. Don't scream, you'll thank me for this
someday.
1994-06-15 19:16:04 +00:00
jkh
f81a7a6b54 From Hellmuth Michaelis, reviewed by Bruce Evans: This enables
the keyboard clock rather than incorrectly disabling it.
1994-06-15 19:09:14 +00:00
adam
b55eafc892 make BOOTWAIT loopcount parameter available for tuning.
This changes nothing unless f.e. -DBOOTWAIT=0 or -DBOOTWAIT=640000 is used
1994-06-15 18:15:17 +00:00
jkh
5e02d77d3e 1. Clean the intermediate files when building the default fixit floppy
(demonstration) target.
2. Add the kcopy and filesystem floppy configuration files from Rod.
1994-06-15 10:49:34 +00:00
jkh
fa7cff3456 This commit was generated by cvs2svn to compensate for changes in r1722,
which included commits to RCS files with non-trunk default branches.
1994-06-15 10:33:49 +00:00
jkh
39d03206f4 This is the new crunch utility for making distribution floppies from
James da Silva.  We need to integrate this before 1.1.5 so that we can
actually make the boot floppies.
1994-06-15 10:33:49 +00:00
adam
d8f1f77e47 correct location of corefile data segment 1994-06-15 08:24:25 +00:00
csgr
8973f0ecc1 Bug reported by Jon-Dean Mountjoy <csjm@cs.ru.ac.za>
Paul Kranenburg's description:
ld is in error here, assuming that symbols with N_EXT set always have an
entry in the (global) symbol table: this is not the case for C++ generated
constructor/destructor symbols. I can reproduce your failure by fudging
a "multiply defined" constructor symbol by hand. Checking for `g == NULL'
seems to be a ok as a fence for now.

So:
for now, in do_file_warnings() we check if g == NULL, before trying to generate
any warning messages.  This prevents a NULL pointer dereference.
1994-06-14 12:45:41 +00:00
ache
57c1f9d625 Remove CXXFLAGS from here, handled in another place 1994-06-14 11:46:52 +00:00