Find a file
Bill Paul 7c76d5ca4e Patch the transmit error handler to avoid following NULL pointers and
generating a trap 12 panic. The code blindly assumed that in the event
of a transmit error, the packet that caused the error would still be
at the head of the driver's transmit queue (sc->xl_cdata.xl_tx_head).
However in the case of error 82 (which indicates that a transmit error
occurred after part of the transmit FIFO memory has been reclaimed)
this is not true: the TX queue has already been flushed, and the
pointer to the head of the queue is NULL, so trying to dereference
the pointer to find the transmit descriptor address causes a crash.

The code now checks for a NULL pointer before trying to reload the
chip's download pointer register. There may still be error messages
printed warning of the transmit error, but no panic should occur.

Note that this eror code is only generated with "cyclone" chipsets
(3c900B, 3c905B, and presumeably the 3c980 server adapter). It should
only appear during periods of heavy traffic, probably only on
non-switched networks.

Problem reported by: Darcy Buskermolen <darcy@ok-connect.com>
1998-09-06 14:58:46 +00:00
bin Split lines into one subdir per line. 1998-08-30 20:22:15 +00:00
contrib Remove tcl from src/contrib. 1998-09-05 12:33:01 +00:00
crypto Remove redundant decl. of time(). Causes problems on alpha 1998-09-01 15:17:28 +00:00
etc Add a compuserve example. 1998-09-06 13:55:51 +00:00
games Don't do anything special to prevent access to created files - honour 1998-09-05 15:56:10 +00:00
gnu Fixed munging of the SUBDIR list in rev.1.16-1.18. 1998-09-02 14:56:59 +00:00
include Fix tons of cut-n-paste errors in the WANT_NFS3 code. 1998-09-06 09:21:35 +00:00
kerberos5 While I am no longer making a shared library, nuke the old one to prevent 1998-08-30 13:08:54 +00:00
kerberosIV Add -lcrypt. 1998-09-05 00:34:36 +00:00
lib Reviewed by: Andrey A. Chernov <ache@nagual.pp.ru>, Doug Rabson <dfr@nlsystems.com> 1998-09-06 09:11:06 +00:00
libexec Don't recognize a file as an a.out shared library unless it has at 1998-09-05 20:28:48 +00:00
lkm Add -aout to CFLAGS and LDFLAGS in bsd.kmod.mk, not in 1998-09-02 14:29:09 +00:00
release Set CHROOTDIR's initial object type also. 1998-09-05 07:43:13 +00:00
sbin For a.out mode, ignore shared libraries that don't have at least 2 1998-09-05 16:20:15 +00:00
secure BINFORMAT -> OBJFORMAT ready for E-day. Untested 'cause I'm outside 1998-08-31 00:35:10 +00:00
share Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
sys Patch the transmit error handler to avoid following NULL pointers and 1998-09-06 14:58:46 +00:00
tools Add mid scripts. Mid is a tool which create a Message-ID database 1998-05-20 09:20:02 +00:00
usr.bin Remove tcl from /usr/src, according to prior agreement. BTW, tcl-8.0 *is* 1998-09-05 12:25:55 +00:00
usr.sbin Change MACHINE to MACHINE_ARCH to support MACHINE=pc98. 1998-09-05 08:22:30 +00:00
COPYRIGHT This is the official 4.4 Lite copyright. 1994-09-11 07:53:28 +00:00
Makefile YAMT (yet another missing target). It's a shame that these have to 1998-09-04 21:19:37 +00:00
Makefile.inc0 YAMT (yet another missing target). It's a shame that these have to 1998-09-04 21:19:37 +00:00
Makefile.inc1 Remove tcl from /usr/src, according to prior agreement. BTW, tcl-8.0 *is* 1998-09-05 12:25:55 +00:00
Makefile.upgrade Change a hardcoded i386 reference to ${MACHINE} so that MACHINE=pc98 1998-09-05 08:10:44 +00:00
README Re-alphabetize and update the subdir descriptions. 1998-06-30 08:08:05 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on: $Id: README,v 1.11 1997/08/09 14:36:20 jkh Exp $

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel and the contents of /etc.  Please see the top of the Makefile
in this directory for more information on the standard build targets
and compile-time flags.

Building a kernel with config(8) is a somewhat more involved process,
documentation for which can be found at:
   http://www.freebsd.org/handbook/kernelconfig.html
And in the config(8) man page.

The sample kernel configuration files reside in the sys/i386/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file LINT contains entries for all possible devices, not
just those commonly used, and is meant more as a general reference
than an actual kernel configuration file (a kernel built from it
wouldn't even run).


Source Roadmap:
---------------
bin		System/User commands.

contrib		Packages contributed by 3rd parties.

crypto		Export controlled stuff (see crypto/README).

etc		Template files for /etc

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberosIV	Kerberos package - also export controlled.

lib		System libraries.

libexec		System daemons.

lkm		Loadable Kernel Modules.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		DES and DES-related utilities - NOT FOR EXPORT!

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/handbook/synching.html