gibbs [Mon, 20 Dec 1999 21:32:32 +0000 (21:32 +0000)]
Correct an "argument reversal" bug that could cause commands requed from
the input fifo to be returned as successful and frozen. Most, if not
all, peripheral drivers do not check the qfrozen bit for successfully
completed commands, so the result would not only be lost commands, but
devices locked out from receiving commands. This was a bad bug that
crept in two or three months ago during some target mode work.
dillon [Mon, 20 Dec 1999 20:28:40 +0000 (20:28 +0000)]
Reimplement buf_daemon / getnewbuf() interaction for dealing with
stressful situations. buf_daemon now makes a distinction between
being woken up and its sleep timing out, and as a consequence is now
much better able to dynamically tune itself to its environment.
Reviewed by: Alfred Perlstein <bright@wintelcom.net>
mjacob [Mon, 20 Dec 1999 16:16:53 +0000 (16:16 +0000)]
Make sure we don't look at an edt entry that could go away when we try
and figure out whether to probe higher than logical unit 7.
Obtained from:gibbs@freebsd.org
sheldonh [Mon, 20 Dec 1999 16:13:47 +0000 (16:13 +0000)]
Add link(1) and unlink(1) as special cases of ln(1) and rm(1)
respectively, in accordance with SUSv2.
This differs from the approach taken in NetBSD, but provides
less obscure error messages in at least the EISDIR case and
does not take up additional disk space for new binaries.
PR: 13071
PR: 13074
Requested by: James Howard <howardjp@wam.umd.edu>
marcel [Mon, 20 Dec 1999 10:32:11 +0000 (10:32 +0000)]
o make SHARED=symlinks a caller defined instead of a callee defined
property. This fixes the includes target when DESTDIR is empty.
o Do not make build-tools for f771 when NO_FORTRAN is defined.
o Add new build stage. See below.
o Change banners so that staging information is displayed.
The addition of the build-tools target broke the upgrade path because
we couldn't make use of previously built tools that were made for
compatibility reasons. Doing so would also result in the cross-compiler
being used and that is exactly what had to be avoided.
This is solved by designating the bootstrap-tools stage for building
anything that is needed for compatibility only and to create a new
stage (started after the build-tools stage) that handles cross-tools
building. We now have the following stages:
1. bootstrap-tools (for compatibility issues only)
2. build-tools
3. cross-tools (what it says)
4. world
5. install
Stages 1-4 (inclusive) are handled by buildworld.
Stage 5 is handled by installworld.
Any more stages and I'll join Nik in his quest for the
holy grail^W^Wworld :-)
imp [Mon, 20 Dec 1999 06:47:38 +0000 (06:47 +0000)]
Make attach work, almost. Calling kthread_create from a
config_intrhook_establish doesn't work. Children aren't yet attached
properly, but that's ok because pccard would likely panic in its
current shape.
o Save dev of pcic early in attach process
o save dev in pcic_handle for use in pcic_create_event_thread.
o Remove direct attachments of pccard children for now
o move establishment of pcic kthread to config_intrhook.
grog [Mon, 20 Dec 1999 02:16:55 +0000 (02:16 +0000)]
Install the crunched binaries into /sbin, not /stand. This was
originally done to track down yet another case of lost init, and is
not strictly necessary, but it seems more logical to have binaries in
/sbin than in /stand. Previously /sbin and /bin were symlinks to
/stand. Now /bin and /stand are symlinks to /sbin.
grog [Mon, 20 Dec 1999 02:15:04 +0000 (02:15 +0000)]
Add content. This was one of the files that somehow got checked in
empty. An empty loader.rc will enable the kernel to boot, but it
won't find init (because the MFS file system hasn't been loaded).
grog [Mon, 20 Dec 1999 02:12:27 +0000 (02:12 +0000)]
Define RELEASE_CRUNCH as a make variable. Previously it was defined
as a preprocessor variable only. This broke the build of ppp. This
problem still exists in the old-style directories.
grog [Mon, 20 Dec 1999 02:10:16 +0000 (02:10 +0000)]
Install the crunched binaries into /sbin, not /stand. This was
originally done to track down yet another case of lost init, and is
not strictly necessary, but it seems more logical to have binaries in
/sbin than in /stand. Previously /sbin and /bin were symlinks to
/stand. Now /bin and /stand are symlinks to /sbin.
grog [Mon, 20 Dec 1999 02:07:42 +0000 (02:07 +0000)]
Handle building individual targets better. It's still broken; the
only way to be sure the build works correctly is to do a 'make all'.
But with these changes, it's easier to test individual targets. In
particular, ensure that the vnode file systems are mounted before
writing to them.
Ensure that we don't get CVS directories on our floppies.
Use kgzip instead of kzip to compress the loader. This saves a few
kB.
obrien [Sun, 19 Dec 1999 22:05:32 +0000 (22:05 +0000)]
Install sendmail.cf into /etc/mail.
The current offical Sendmail Inc. version uses /var/mail/ and when we upgrade
our repository to that version, we will get the change. It is best to make
the path change in 4.0-R (which may not have the latest Sendmail Inc. version,
than to change in mid-4.x stream when we may upgrade.
billf [Sun, 19 Dec 1999 20:33:05 +0000 (20:33 +0000)]
Borrow phk's axe and chop off the old soundcard-CDROM devices. We get
about 40k of savings from this, and these abominations are still in LINT
if anyone needs to use them.
obrien [Sun, 19 Dec 1999 19:55:19 +0000 (19:55 +0000)]
Install sendmail.cf into /etc/mail.
The current offical Sendmail Inc. version uses /var/mail/ and when we upgrade
our repository to that version, we will get the change. It is best to make
the path change in 4.0-R (which may not have the latest Sendmail Inc. version,
than to change in mid-4.x stream when we may upgrade.
roberto [Sun, 19 Dec 1999 15:43:19 +0000 (15:43 +0000)]
Second part of bin/3648: add -flags to search for specific flags.
I added $FreeBSD$ whicle I was here. The patch wasn't usable anymore
due to its age so I adapted it.
PR: bin/3648
Submitted by: Martin Birgmeier <mbirg@austria.ds.philips.com>
cg [Sun, 19 Dec 1999 15:27:24 +0000 (15:27 +0000)]
move make_dev operations for audio channels to pcm_addchan(). in theory,
with modifications to MAKEDEV this will allow use of multiple output streams
on cards supporting it, eg trident 4dwave.
green [Sun, 19 Dec 1999 09:42:15 +0000 (09:42 +0000)]
Remove all vestiges of /usr programs (awk, sed, grep...) from MAKEDEV.
MAKEDEV can now run (with /sbin/chown and /bin/chgrp, still) without
any /usr. The default PATH for MAKEDEV is now "/sbin:/bin" to prevent
against further spammage of /usr programs in MAKEDEV. In the event
of an emergency, the variable "MAKEDEVPATH" can be used to replace
PATH, but I don't know what that emergency could be.
Let me know if you have any problems. I've tested it as well as
I could, which basically means everything except for RocketPorts.
imp [Sun, 19 Dec 1999 07:39:10 +0000 (07:39 +0000)]
o Hide pcic_chip functions inside file
o Attach children in a better way than before.
o Remove some dead code
o collapse the socket attach routines into pcic_attach