Commit Graph

50547 Commits

Author SHA1 Message Date
Jonathan Lemon
1277c3bac4 The DEC version of the Smart controller has its configuration information
stored at a different location in the PCI space, so adjust accordingly.

Also, when using more than two smart controllers in one machine, the
disks were assigned the wrong drive number; fix this as well.
2000-07-27 22:24:44 +00:00
Archie Cobbs
0d3e728618 Add '-n' flag: don't attempt to read any data from standard input. 2000-07-27 21:55:48 +00:00
Andrey A. Chernov
5edcf9c853 Merge from stable: dtterm color fix 2000-07-27 21:04:48 +00:00
David E. O'Brien
fbc679ea4b Alternate script for dhclient to use in setting the received configuration
on the host.

PR:		15342
Submitted by:	Patrick Bihan-Faou <patrick@mindstep.com>
2000-07-27 20:49:27 +00:00
Warner Losh
c6dd14300f typos from asmodai, one important for device.hints 2000-07-27 20:49:24 +00:00
Jeroen Ruigrok van der Werven
870fb37275 Fix a weird typo, is -> are.
The OpenSSH maintainer probably want to contribute this back to the
real OpenSSH guys.

Submitted by:	Jon Perkin <sketchy@netcraft.com>
2000-07-27 19:21:15 +00:00
Mark Murray
d6c6381834 Fix minor typo. 2000-07-27 19:13:32 +00:00
Poul-Henning Kamp
f4bac0e6c6 Remove stale, unused and bogus root device hunting code. 2000-07-27 18:18:47 +00:00
Mark Ovens
85ea01646c Fixed a minor typo in the header.
Pointed out by:	asmodai
2000-07-27 17:21:07 +00:00
Jeroen Ruigrok van der Werven
6c992c4b00 Remove all mention of LANG and MM_CHARSET.
Add hints towards login.conf(5), which should be the preferred way
to set this systemwide without having to worry about the shell used.

PR:		9245
Submitted by:	martin Kammerhofer <dada@sbox.tu-graz.ac.at>
2000-07-27 11:39:33 +00:00
Jeroen Ruigrok van der Werven
3759e79c20 Document the 0x12258086 PCI id.
This is in fact an Intel Orion chipset (82454KX/GX) which has been used
in HP NetServer's LS4 range.
HP Probably relabeled the DID.  That's the only explanation I can find
plausible to this `mystery'.
2000-07-27 09:54:50 +00:00
Dag-Erling Smørgrav
0f27c7838c Don't fail if _ftp_stat() reports a protocol error, since that most likely
means that the server doesn't understand SIZE or MDTM, which should not be a
hard failure.

Submitted by:	ume
2000-07-27 08:48:48 +00:00
Jeroen Ruigrok van der Werven
6e5d42b9b0 Let wall report the local timezone as well on output.
PR:		17867
Submitted by:	Joel Ray Holveck <joelh@gnu.org>
Nagged by:	nrahlstr
2000-07-27 07:58:47 +00:00
Brian Feldman
f623957fef -mkdir the ${DESTDIR}/modules directory upon modules-install in case it
doesn't exist.  This could bite you by allowing you merrily install your
modules one on top of the other as the regular file ${DESTDIR}/modules
and think it completed properly...
2000-07-27 03:50:25 +00:00
Brian Feldman
3c89e357f0 Distinguish between whether ktraceing was enabled before an IO
operation or after it.  If the ktrace operation was enabled while the
process was blocked doing IO, the race would allow it to pass down
invalid (uninitialized) data and panic later down the call stack.
2000-07-27 03:45:18 +00:00
Marcel Moolenaar
4c02bded00 Remove the only use of SCARG and perform dead code elimination. 2000-07-27 01:22:24 +00:00
John Baldwin
491a165843 Fix an annoying bogon in the form of a missing tab when generating CD-ROM
mount points in /etc/fstab.

Requested by:	obrien
2000-07-27 00:46:29 +00:00
Bill Paul
51a4eb4bed Use a custom Tigon 2 firmware image, hopefully temporarily. This is
the 12.4.11 firmware with a few changes to the link handling code merged
in from the 12.4.13 release. I'm doing this because the 12.4.13 firmware
doesn't seem to handle 10/100 link settings properly on 1000baseT cards.
Note that the revision codes still identify the firmware as 12.4.13
because both ti_fw2.h and ti_fw.h have to have the same revision values,
and I wanted to keep the 12.4.13 firmware for Tigon 1 cards.

It's nice to have firmware source.
2000-07-26 23:55:34 +00:00
Andrey A. Chernov
1c9ccb6f8e Fix temp. singnals blocking. Only one signal was blocked due to typo pasted
many times.
2000-07-26 23:46:28 +00:00
Archie Cobbs
642e43b39b Add address translation support for RTSP/RTP used by RealPlayer and
Quicktime streaming media applications.

Add a BUGS section to the man page.

Submitted by:	Erik Salander <erik@whistle.com>
2000-07-26 23:15:46 +00:00
Kirk McKusick
a6c8be39c9 Disable LK_CANRECURSE on buffer locks. The recusion is needed only for
certain uses of snapshots and currently appears to be causing some
other problems. So for now, I am reverting to the old semantics until
I have had time to investigate what is causing the other problems.
2000-07-26 23:10:02 +00:00
Kirk McKusick
3592b7155c Clean up the snapshot code so that it no longer depends on the use of
the SF_IMMUTABLE flag to prevent writing. Instead put in explicit
checking for the SF_SNAPSHOT flag in the appropriate places. With
this change, it is now possible to rename and link to snapshot files.
It is also possible to set or clear any of the owner, group, or
other read bits on the file, though none of the write or execute
bits can be set. There is also an explicit test to prevent the
setting or clearing of the SF_SNAPSHOT flag via chflags() or
fchflags(). Note also that the modify time cannot be changed as
it needs to accurately reflect the time that the snapshot was taken.

Submitted by:	Robert Watson <rwatson@FreeBSD.org>
2000-07-26 23:07:01 +00:00
Robert Watson
3ce7b7aa84 o Lock vnode before calling extattr_* VOP's, and modify vnode spec to
allow for that.
o Remember to call NDFREE() if exiting as a result of a failed
  vn_start_write() when snapshotting.

Reviewed by:	mckusick
Obtained from:	TrustedBSD Project
2000-07-26 20:29:20 +00:00
Jeroen Ruigrok van der Werven
7333848d98 Fix the reporting of a raw device node.
Change a warnx to an errx since we should only attempt to use
this utility on a character device.

Approved by:	green
2000-07-26 20:12:46 +00:00
John Baldwin
13f5bcc90d Remove the SHM_PHYS_BACKED option.
Approved by:	peter (in principle)
2000-07-26 19:40:42 +00:00
John Baldwin
446af86da3 Document the SYSV IPC kernel options. Also, remove the SHM_PHYS_BACKED
option as it is no longer used.

PR:		docs/20080
Submitted by:	Michael Robinson <robinson@netrinsics.com>
2000-07-26 19:39:46 +00:00
Poul-Henning Kamp
a0580699e1 Fix the "mfs_badop[vop_getwritemount] = 45" messages. 2000-07-26 17:53:04 +00:00
Wilko Bulte
1e05dc6eb0 Remove the 'going nowhere' warning as this belongs in the RELNOTES only
(if it does not get resolved in the first place)
2000-07-26 14:45:37 +00:00
MIHIRA Sanpei Yoshiro
32201ca318 Update the description of available channel for Japan.
The regulations has been changed to adopt 802.11b since Oct. 99.
For 11Mbps NICs sold in Japan, all DS channels (1..14) are available.

Thank you, itojun.

Obtained from:	NetBSD:basesrc/usr.sbin/wiconfig/wiconfig.8 Rev.1.5 ->1.6
2000-07-26 12:50:35 +00:00
Jordan K. Hubbard
ce144400b0 Fix a paste-o error which broke the build
Pointy-hat to:	jhb
2000-07-26 12:19:14 +00:00
Sheldon Hearn
733144d91d Describe the syncer(4)-related sysctls kern.filedelay, kern.dirdelay
and kern.metadelay, thanks to mckusick's feedback.
2000-07-26 08:51:58 +00:00
Dag-Erling Smørgrav
9516ffa7c0 Restore the old semantics of deleting the output file when interrupted.
Some people liked this and some didn't, so POLA won.
2000-07-26 07:28:33 +00:00
John Polstra
fa0c86aadc If a directory is world-writable or is not owned by root, skip it
and emit a warning.  This is a security measure since ldconfig
influences the shared libraries used by all programs.

I think the check should be made even more stringent by also
ignoring group-writable directories.  I will make that change soon
unless we encounter a good reason not to do it.

Submitted by:	Maxime Henrion <mhenrion@cybercable.fr>
2000-07-26 04:47:17 +00:00
John Baldwin
dc2475c540 Take a lesson from picoBSD: symlink /bin and /sbin to /stand in the mfsroot
and install dhclient-script in stand/.
2000-07-26 04:28:21 +00:00
John Polstra
44a028c369 Revamp the code that calls shared libraries' init and fini functions.
Formerly the init functions were called in the opposite of the
order in which libraries were loaded, and libraries were loaded
according to a breadth-first traversal of the dependency graph.
That ordering came from SVR4.0, and it was easy to implement but
not always sensible.

Now we do a depth-first walk over the dependency graph and call
the init functions in an order such that each shared object's needed
objects are initialized before the shared object itself.  At the
same time we build a list of finalization (fini) functions in the
opposite order, to guarantee correct C++ destructor ordering whenever
possible.  (It may not be possible if dlopen and dlclose are used
in strange ways, but we come as close as one can come.)

The need for this renovation has become apparent as more programs
have started using multithreading.  The multithreaded C library
libc_r requires initialization, whereas the standard libc does not.
Since virtually every other object depends on the C library, it is
important that it get initialized first.
2000-07-26 04:24:40 +00:00
John Baldwin
e8aeec4639 Bump an upper limit test so the xterm termcap selection actually works. 2000-07-26 02:51:47 +00:00
John Baldwin
56b0238f1d Since the XFree86 port builds and installs some extras not found in the
3.3.6 base distribution, some of the packing lists needed hacking so that
they would pack up everything in the right place.  As a result, go ahead and
just add a directory for the packing lists.  These are the i386 packing lists.
2000-07-26 01:39:22 +00:00
John Baldwin
e44bce4159 This script uses the other scripts in this directory to build XFree86
3.3.6 in a work directory and package it up into a set of tarballs that
can be used in a release.
2000-07-26 01:37:23 +00:00
John Baldwin
ca4c7dfbf6 This script takes the packing lists we generated earlier and generates the
corresponding tarball from it.  It uses the packing list name to determine
the tarball name.  If the tarball name ends in 'gz', it will be gzipped, if
it ends in 'bz', it will be bzip2'd.
2000-07-26 01:36:22 +00:00
John Baldwin
62f26f9acd This script uses the XFree86 and XFree86-contrib ports to build and install
XFree86 3.3.6 into a scratch directory.  The patch file patches the XFree86
port to not ask any questions and to actually be able to install some things
like the i810 server link kit bits.  If you want XF86Setup to build, you
should have tk80 (not tk82) installed.  If you want to XF86Setup_jp to build
you need to have ja-tk80 installed.
2000-07-26 01:31:47 +00:00
John Baldwin
1de9415aed This script uses an existing set of XFree86 distribution tarballs to
generate a packing list for each tarball.  We can later use these
packing lists to roll our own tarballs.
2000-07-26 01:27:24 +00:00
Nick Hibma
9d6eda11bc Remove the preliminary support for ATAPI. It does not work and breaks
(physically) IBM Microdrives.
2000-07-26 01:01:01 +00:00
David E. O'Brien
4c2629aec8 Don't give the DEC Alpha user the chance to install the X servers that are
non-existant on non-i386 platforms.
2000-07-25 23:54:35 +00:00
Nick Sayer
b14e438ed8 Change to support vmware... SIOCSIFADDR on the character device
sets the (notional) "remote" ethernet address.

Submitted by:	vsilyaev@mindspring.com
2000-07-25 23:50:30 +00:00
John Baldwin
ab21e668ee Use a much saner method of locating the release directory on an FTP server.
Now, if a release is specified, instead of just looking for a directory
with the same name as the release, try several possible directories (each
suffixed with the release name) relative to the base directory including
".", "releases/MACHINE", "snapshots/MACHINE", and each of those prefixed
with "pub/FreeBSD/".  This will allow us to remove the evil symlinks under
pub/FreeBSD/releases/MACHINE/ to the snapshots on the ftp site.
2000-07-25 23:22:16 +00:00
John Baldwin
edf6db6217 style(9)'ify all the function prototypes by protecting all the parameter
names with a leading underscore.  Notably, the 'stat' parameter in the
kld_stat() prototype conflicted with stat() and generated a BDE warning.

Approved by:	peter
2000-07-25 22:58:52 +00:00
John Baldwin
1596ed11ca Grrr, build a non-crypto version of tcpdump to stick in the bin distribution.
Submitted by:	kris
2000-07-25 22:30:09 +00:00
Mark Murray
d80939f44d Forgot from last commit:
o if the device is being written to, and the user is not root, or
  the securelevel is greater than 0, then fail with EPERM.
2000-07-25 21:22:17 +00:00
Mark Murray
7aa4389a6c o Fix a horrible bug where small reads (< 8 bytes) would return the
wrong bytes.

o Improve the public interface; use void* instead of char* or u_int64_t
  to pass arbitrary data around.
Submitted by:	kris ("horrible bug")
2000-07-25 21:18:47 +00:00
Justin T. Gibbs
f94bf02fdb Properly handle the case where the residual is 0, but, as the target
didn't bother to send a saved data pointers after the last transfer,
is not recorded in sgptr.  This was only a problem if the target
reported non-zero status as we always check the residual in that case.
2000-07-25 20:40:34 +00:00