Mike Smith [Tue, 2 Nov 1999 03:25:24 +0000 (03:25 +0000)]
Correctly compute the block count. In reality, it seems that the
controller will never return the command if it's not exactly a multiple
of a block in size.
Mike Smith [Mon, 1 Nov 1999 23:51:00 +0000 (23:51 +0000)]
This is a complete rewrite of vfs_conf.c, which changes the way the root
filesystem is discovered. Preference is given to using the kernel
environment variable vfs.root.mountfrom, which is set by the loader
according to the contents of /etc/fstab. Changes in the MD code
provide fallback mechanisms for systems not using the loader.
A more robust fallback path is also provided, with the last recourse
being to prompt on the console for a root device.
These changes drastically simplify the machine-dependant parts of
the root configuration process. In addition, support for CDROM root
devices has been removed; it was a nasty hack and didn't work.
Greg Lehey [Mon, 1 Nov 1999 20:13:05 +0000 (20:13 +0000)]
Add $FreeBSD$
Correct the date on which DST begins in Victoria and New South Wales
in the year 2000: as the result of some local function in Sydney, DST
will begin on Sunday, 27 August instead of Sunday, 29 Cotober.
This change had already been made, but the date was incorrectly
specified as (Saturday) 26 August.
Submitted by: Howard Lowndes <lannet@lannet.com.au>
Bill Paul [Mon, 1 Nov 1999 17:10:26 +0000 (17:10 +0000)]
Do some more work on the mxphy pseudo-driver to make it better at media
detection and remove the long delays that I had used previously. Everything
should be handled by timeouts now.
Julian Elischer [Mon, 1 Nov 1999 04:57:43 +0000 (04:57 +0000)]
Most modern OSs have the ability to flag certain mounts as ones to
be ignored by default by the df(1) program. This is used mostly to
avoid stat()-ing entries that do not represent "real" disk mount
points (such as those made by an automounter such as amd.) It is
also useful not to have to stat() these entries because it takes
longer to report them that for other file systems, being that these
mount points are served by a user-level file server and resulting in
several context switches. Worse, if the automounter is down
unexpectedly, a causal df(1) will hang in an interruptible way.
Peter Wemm [Mon, 1 Nov 1999 04:12:42 +0000 (04:12 +0000)]
Merge the alpha and x86 majors files together. There appear to be
only two conflicts, cdev #98 and cdev #99. These should be fixed.
MAKEDEV should probably be merged as well.
Static majors are (hopefully) going away one day soon.
This file is informational and not machine parsed by anything any more.
Peter Wemm [Mon, 1 Nov 1999 04:02:58 +0000 (04:02 +0000)]
Update examples using 'disk' and 'tape' - they used to have magic meaning
to config(8) for static device tables that have not existed for quite
some time. They have been aliases for 'device' for a while, and "tape"
went away entirely as it wasn't used anywhere (except in an example
in LINT.. "fixed").
Julian Elischer [Mon, 1 Nov 1999 00:31:14 +0000 (00:31 +0000)]
Start making the contents of the generic framework opaque to the nodes.
This step: IDs are no-longer the address of the node.
Reviewd by: Archie@freebsd.org
Alan Cox [Sun, 31 Oct 1999 19:39:51 +0000 (19:39 +0000)]
The useracc() calls in osigreturn() and sigreturn() should specify
VM_PROT_READ rather than VM_PROT_WRITE. (This mistake predates
the B_READ/B_WRITE -> VM_PROT_READ/VM_PROT_WRITE change.)
John Polstra [Sun, 31 Oct 1999 04:47:59 +0000 (04:47 +0000)]
Add support for RADIUS accounting. Note, this changes the format
of the /etc/radius.conf file. But the code contains hacks for
backward compatibility, so old files will continue to work.
I updated the man pages and made a couple of minor changes, but
everything else was submitted by Oleg.
Brian Feldman [Sun, 31 Oct 1999 04:07:56 +0000 (04:07 +0000)]
This is the new inet_addr/inet_aton with proper error checking. This
should close all outstanding PRs on incorrect inet_aton behavior, and
since it has a decent parsing routine, doesn't allow some hysterically
working behavior.
PR: 13628
Submitted by: Adrian Chadd <adrian@FreeBSD.org>
Brian Feldman [Sat, 30 Oct 1999 17:40:10 +0000 (17:40 +0000)]
Fix a few things:
1. Get rid of the evilly bogus strdup(fstab) and free if (fstab == "")
as in umount.
2. Don't use /etc/fstab info if the mount instance does not exactly match
the fstab entry.
3. Reversed the mountpoint checking order in getmntpt().
4. Clarify the "not mounted" error message in mount -u. The previous
"unknown special file or file system" wasn't quite right.
5. Get rid of a 1-byte memory leak; this was reported by jhb.
Andrew Gallatin [Sat, 30 Oct 1999 15:20:31 +0000 (15:20 +0000)]
Don't lower the ipl when returning from handling an interrupt.
If the ipl is lowered here, a machine can rapidly run out of stack
space when it is under heavy interrupt load. Without this fix,
my test machine would fall over within a few seconds when forwarding
14,000 packets/sec. With the patch, it has been up for over 24 hours
and has built the world at the same time.
Mitsuru IWASAKI [Sat, 30 Oct 1999 14:56:01 +0000 (14:56 +0000)]
i8254_restore is called from apm_default_resume() to reload
the countdown register.
this should not be necessary but there are broken laptops that
do not restore the countdown register on resume.
when it happnes, it messes up the hardclock interval and system clock,
which leads to the infamous "calcru: negative time" problem.
Submitted by: kjc, iwasaki
Reviewed by: Steve O'Hara-Smith <steveo@eircom.net> and committers.
Obtained from: PAO3