Commit Graph

43766 Commits

Author SHA1 Message Date
obrien
18701ab58a Document `chown's move. 1999-12-14 04:54:55 +00:00
obrien
7ecbe9c845 Install chown' into /sbin rather than /usr/sbin as chown' is needed by
`MAKEDEV'.  And one might need to `MAKEDEV' inorder to get a device node
in order to mount /usr from.
1999-12-14 04:48:17 +00:00
jkh
d3944eb60a Completely rip-out and redesign sysinstall's refresh model as well
as redoing all the menus to have proper, or at least non-hallucinogenic,
keyboard accelerators.

This requires my recent update to libdialog to work properly and will
probably also exhibit some other "interesting" behavior while the last
few missing screen clears are found (which is why I'm not going to MFC
immediately).  At least now, however, sysinstall does not gratuitously
redraw random screens at the drop of a hat and drive serial console
installers out of their minds.
1999-12-14 04:25:29 +00:00
jkh
796518d068 Prevent spaces from being interpreted as accelerators. 1999-12-14 04:18:22 +00:00
green
92bdda92f4 Bug fix:
The variables "m_mclalloc_wid" and "m_mballoc_wid" were not in the
proper place.  They should have been in uipc_mbuf.c and have been global,
not in mbuf.h and local per each file that uses mbuf.h.

Sorta bug fix:
   In mbuf.h, the definitions of various things for KERNEL and not
KERNEL cases were very screwy.   This fixes all of that which I could
find.
1999-12-14 02:23:14 +00:00
jkh
003a13cc32 Make kerberos4 conditional. 1999-12-14 00:47:23 +00:00
jkh
64485eb0e0 Conditionalize kerberos4 to keep sources in sync. 1999-12-14 00:44:05 +00:00
billf
8271c7a404 Fix grammar error. (missing verb) 1999-12-13 23:37:56 +00:00
wpaul
20bb20f965 Fix some problems reported by Mike Pritchard:
- Add a flag DC_TX_INTR_ALWAYS which causes the transmit code to
  request a TX done interrupt for every packet. The PNIC seems to need
  this to insure that the sent TX buffers get reaped in a timely fashion.

- Try to unreset the SIA as soon as possible after resetting the whole
  chip.

- Change dcphy to support either 10/100 or 10Mbps only NICs. The
  built-in 21143 ethernet in Compaq Presario machines is 10Mbps only
  and it doesn't work right if we try to advertise 100Mbps modes during
  autoneg. When restricted to only 10mbps modes, it works fine.

  Note that for now, I detect this condition by checking the PCI
  subsystem ID on this NIC (which has a Compaq vendor/device ID).
  Yes, I know that's what the SROM is supposed to be for. I'm deliberately
  ignoring the SROM wherever possible. Sue me.

The latter two fixes allow if_dc to work correctly with the built-in
ethernet on certain Compaq Presario boxes. There are liable to be quite
a few people using these as their home systems who might want to try
FreeBSD; may as well be nice to them.

Now if anybody out there has an Alpha miata with 10Mbps ethernet and
can show me the output from pciconf -l on their system, I'd be grateful.
1999-12-13 21:45:13 +00:00
marcel
81282dc103 Add a `build-tools' target for make_hash and make_keys. 1999-12-13 21:25:08 +00:00
guido
39eef9ac50 Add new option, -L that will listen the various listen queue lengths.
Reviewed by:	Garrett Wollman <wollman@khavrinen.lcs.mit.edu>,
		Clive Lin <clive@GnatS.CirX.ORG>
1999-12-13 20:08:44 +00:00
roberto
cdc2842a0c Add the NMEA and the ONCORE driver.
Submitted by:	wollman, phk
1999-12-13 19:44:07 +00:00
mjacob
ad4df1eda4 minor comment update 1999-12-13 19:40:00 +00:00
ache
d49556544e Fix bug with internal functions when locale is active
PR:		15370
Reviewed by:	no responce from maintainer
Obtained from:	perl development sources
1999-12-13 19:11:53 +00:00
brian
0a9c037304 Handle PPPoPTY correctly. 1999-12-13 18:45:21 +00:00
imp
5fac182947 Add notes from recent HEADS UP messages:
o soren updated the ata driver.  Please use 1213 or newer if
	  you have problems with the old stuff.
	o Enshrine the night of bared axes against wd.  Strongly push
	  users to move to ata driver.
	o Alpha users need to recompile klds after 11/29.
	o Mention the sound driver bridge code commit of 11/22.
	o change examples in 1205 entry from wd to ad.
	o Talk about new dc driver replacing all of the drivers that
	  Bill Paul has ever written.[*]

Corrections to these entries welcome.

[*] Well, at least those based on tulip clones...
1999-12-13 17:55:23 +00:00
dillon
bab004e729 Add a readahead heuristic to the NFS server side code. While the server
cannot unilaterally pass data to a client it can reduce the physical
    disk transaction overhead by reading larger blocks.  This results in
    better pipelining of requests/responses over the network and an almost
    100% increase in cpu efficiency on the server.  On a 100BaseTX network
    NFS read performance increases from 8.5 MBytes/sec to 10 MB/sec (maxed
    out), and cpu efficiency increases from 72% idle to 80% idle on the server.

Reviewed by:	Alfred Perlstein <bright@wintelcom.net>
1999-12-13 17:34:45 +00:00
dillon
0a7cf7b859 Forgot a log message in the last commit. Fix an mbuf leak in
nfs_srvcache.c related duplicate requests on a heavily loaded
    server.  If a duplicate request is received while the previous
    request is still being processed from the cache, the previous
    mbuf chain in the cache will be replaced without first being freed.

PR:		kern/15222
1999-12-13 17:09:34 +00:00
dillon
b01e2d1796 PR: kern/15222
Submitted by:	Ian Dowse <iedowse@maths.tcd.ie>
1999-12-13 17:07:03 +00:00
phantom
b61f7b256b Add simple manual page for amd driver
Requested by: folks on fido7.ru.unix.bsd
1999-12-13 17:00:59 +00:00
bp
908abcafb0 Add module for if_ef driver and make it compile. 1999-12-13 16:42:17 +00:00
sheldonh
bdd5e708ab Add a warning about the perils of using an older version of sysinstall
to upgrade to a newer version of FreeBSD.

PR:		12777
Reported by:	wayne@staff.msen.com (Michael R. Wayne)
1999-12-13 16:30:55 +00:00
bp
390ab38ea8 Bring up an if_ef driver which allows support for four ethernet
frame types. Currently it supports only IPX protocol and doesn't
affect existing functionality when not loaded.

Reviewed by:	Ollivier Robert <roberto@keltia.freenix.fr>
1999-12-13 16:24:22 +00:00
bp
5e7ec8edf1 Allow ifunit() routine to understand names like ed0f2. Also
fix a bug caused by using bcmp() instead of strcmp().

Reviewed by:	Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
1999-12-13 15:57:11 +00:00
peter
d71c51b5fa Oops. HAVE_INET6_STRUCTS was supposed to be HAS_INET6_STRUCTS. Luckily
it was implicitly on because we had AF_INET6 defined.
1999-12-13 15:43:32 +00:00
kato
40c6d62f53 Merge from sys/i386/conf/files.i386 rev 1.289.
Submitted by:	yokota
1999-12-13 14:57:51 +00:00
roberto
2c4532a5b2 Please welcome the brand new ntp4 daemon & utilities in the FreeBSD tree.
This is the second part of the commit (the third -- link in usr.sbin/Makefile)
will be done after a more complete review by phk & obrien.

NOTE: the number of drivers included in the default configuration is very
minimal, mainly local clocks and the one I use RAWDCF. Anyone wanting to
have a more complete version will find recompilation very easy.

It builds and runs on both alpha & i386. It also does survive "make world".

Reviewed by:	phk, obrien (partly)
1999-12-13 14:09:56 +00:00
kato
51419295b1 Merge from sys/dev/kbd/kbd.c rev 1.13.
Submitted by:	yokota
1999-12-13 13:19:38 +00:00
kato
1c5a064ff1 Merge from sys/dev/syscons/syscons.c rev 1.330. 1999-12-13 13:17:24 +00:00
kato
b938f347b6 Merge from sys/i386/conf/Makefile.i386 rev 1.166. 1999-12-13 13:15:32 +00:00
yokota
cf0d380405 - Pull in kbd.c when sc or vt is included in the kernel, even if
no keyboard driver is defined in the kernel config file.
1999-12-13 13:01:00 +00:00
abial
008c554e69 Document VGLGetXY and VGLSetXY functions.
Reviewed by:	sos
1999-12-13 10:48:22 +00:00
yokota
5fa5065912 - Add a module event function to the ukbd driver and make the ukbd KLD
module work.
- Delete unnecessary #include.
1999-12-13 10:36:36 +00:00
sos
dd933059e1 Add DMA support for the SiS 5591 and old PIIX chipsets.
Add a missing DELAY(1) in ata_wait.

Change the info from ad_version, so the ATA version from the disk can
be used to quantify the DAM modes valid for this drive, ie be more
selective with turning DMA on on older disks that should not support it..

Fix the probe for BIOS enabled DMA in the generic case, master/slave
was reversed in the test.

Check the return for ata_command in all cases, and print warnings if
it fails.

Call ata_dmainit with all dmamodes off when falling back to PIO mode,
that should take care of both the Promise & HPT366 controllers not
being able to handle the fallback...

Cleanup the printf's in the drivers, use the prober device name (if
possible) instead of ataN-master/slave.
1999-12-13 10:19:39 +00:00
yokota
20a1c0bf0c - Remember the keyboard repeat delay and rate.
- Add a new ioctl, KDGETREPEAT, to retrieve the keyboard repeat rate.
- Delete unnecessary #include.
1999-12-13 09:31:43 +00:00
cracauer
2f637bd745 Add a run of Linux ldconfig. 1999-12-13 08:38:22 +00:00
cpiazza
59edc2ecbd Extra capital letter in COnsole 1999-12-13 06:08:24 +00:00
dillon
275dfe6756 Fix a timeout deadlock that can occur when the process holding the
receive lock hasn't yet managed to send its own request.

PR:		kern/15055
Submitted by:	Ian Dowse iedowse@maths.tcd.ie
1999-12-13 04:24:55 +00:00
cg
65600d1d6d more dma underrun fixes, using a per-channel 2nd buffer
Submitted by:	tanimura
1999-12-13 03:29:09 +00:00
tegge
77880079dd Fix two problems with pipe_write():
1. Data written beyond end of pipe buffer, causing kernel memory corruption.

    - Check that space is still valid after obtaining the pipe lock.

    - Defer the calculation of transfer size until the pipe
      lock has been obtained.

    - Update the pipe buffer pointers while holding the pipe lock.

 2. Writes of size <= PIPE_BUF not always atomic.

    - Allow an internal write to span two contiguous segments,
      so writes of size <= PIPE_BUF can be kept atomic
      when wrapping around from the end to the start of the
      pipe buffer.

PR:		15235
Reviewed by:	Matt Dillon <dillon@FreeBSD.org>
1999-12-13 02:55:47 +00:00
alfred
8a21e37554 explain that ioflags can be used to give read-ahead hints to the underlying
filesystem.
1999-12-13 02:28:53 +00:00
jkh
ce079123e3 The current code incorrectly assumes that all vlans
are configured, and/or associated with a parent device.  If you
receive a frame for a VLAN that's not in the list, you walk off
the end of the list.  Boom.

Submitted by:	C. Stephen Gunn <csg@waterspout.com>
PR:		15291
1999-12-13 01:57:00 +00:00
jkh
72de1aee50 sys/net/if_vlan.c fails to maintain the IFF_RUNNING flag on the
vlan interfaces it manages.  This prevents the interface from
actually sending or receiving data.

Submitted by:	C. Stephen Gunn <csg@waterspout.com>
PR:		15290
1999-12-13 01:38:14 +00:00
dcs
ab8c17ad26 Keep fortunes short, so motd won't scroll outside the screen. 1999-12-13 01:05:15 +00:00
dcs
9cfccb5ba8 Exercise sufficient editorial license and further shorten motd.
Stolen from: jkh
1999-12-13 00:58:53 +00:00
shin
fb96762b20 Always set INP_IPV4 flag for IPv4 pcb entries, because netstat needs it
to print out protocol specific pcb info.

A patch submitted by guido@gvr.org, and asmodai@wxs.nl also reported
the problem.
Thanks and sorry for your troubles.

Submitted by: guido@gvr.org
Reviewed by: shin
1999-12-13 00:39:20 +00:00
marcel
734620334b Add colldef to the list of tools. It's needed on older systems. 1999-12-12 22:24:08 +00:00
peter
11dc0d394d Argh, fix a stupid typo. :-( 1999-12-12 21:36:19 +00:00
marcel
9bf3b44494 o Add gensetdefs to the list of tools.
o  Don't set CFLAGS in the bootstrap env. It is very likely to be
   overridden my any CFLAGS setting in /etc/make.conf. Setting it
   here is almost useless. So far, it doesn't seem necessary.
1999-12-12 21:24:07 +00:00
peter
cc5e8eb5f0 Move mlx, ncp and nwfs to the common area, they build on the Alpha and
are marked cross-platform in conf/files..
1999-12-12 21:17:08 +00:00