Commit graph

32539 commits

Author SHA1 Message Date
Peter Wemm 64e85001f6 Update SMP-GENERIC to something a bit more recent based on GENERIC.
Approved by: jkh
1998-10-16 04:44:05 +00:00
Kenneth D. Merry c88131e709 Update the aha(4) and ahb(4) man pages for CAM.
Reviewed by:	ken
Submitted by:	gibbs
1998-10-16 04:41:38 +00:00
Peter Wemm 00e280ca86 Missed this file. 1998-10-16 04:31:35 +00:00
Peter Wemm a654d07295 Sample initial set of kld-ified modules. Not all have been completely
converted yet.  These are more of a starting point.  This is NOT connected
to the parent Makefile.

OK'ed by jkh (who is ever so patiently waiting)
1998-10-16 04:30:52 +00:00
Kenneth D. Merry 89045423f1 Update the scsi(4) man page for CAM, and add in links so that it appears
as cam(4) as well.

This includes a description of all the generic CAM kernel options, as
well as a description of some of the CAM debugging printf options.
1998-10-16 04:28:39 +00:00
Jordan K. Hubbard 00347c3f1e Bump freebsd version #. 1998-10-16 04:28:04 +00:00
Jordan K. Hubbard 8a01db95e6 Add acknowledgements. 1998-10-16 04:26:00 +00:00
Kenneth D. Merry 190831dd81 Update the sa(4) man page for CAM. This was repository-copied from the
st(4) man page.

Take out most of the sd(4) and st(4) man pages and point to the new
da(4) and sa(4) man pages.

Add sa.4 to the makefile.

Reviewed by:	ken
Submitted by:	gibbs
1998-10-16 04:06:21 +00:00
Peter Wemm aa855a598d *gulp*. Jordan specifically OK'ed this..
This is the bulk of the support for doing kld modules.  Two linker_sets
were replaced by SYSINIT()'s.  VFS's and exec handlers are self registered.
kld is now a superset of lkm.  I have converted most of them, they will
follow as a seperate commit as samples.
This all still works as a static a.out kernel using LKM's.
1998-10-16 03:55:01 +00:00
Peter Wemm df481e793f Fix some bugs in link_aout.c caused by using uninitialized malloc space.
Pre-Approved by:  jkh
1998-10-16 03:45:35 +00:00
Peter Wemm 08a04a8985 Update the kld glue
Pre-Approved by: jkh
1998-10-16 03:32:03 +00:00
Kenneth D. Merry d754856115 Add the da(4) man page. 1998-10-16 03:29:49 +00:00
Kenneth D. Merry c70e20d81a Update the da(4) man page for CAM. The da.4 man page was repository-copied
from the sd.4 man page.

This includes a discussion of write caching and its effects.

Reviewed by:	ken
Submitted by:	gibbs
1998-10-16 03:28:12 +00:00
Peter Wemm 537aa6857b Commented out example of changing the default kernel format with warning. 1998-10-16 03:26:54 +00:00
Peter Wemm 3323768d99 "fix" the gzipped kernel load problem by having the loader check that it
can seek back to the first PT_LOAD and doing a close/reopen if it cannot.
This is because the first PT_LOAD section includes the ELF headers.
This fixes gzipped kernels on the i386, it should solve mike's problem
for the Alpha.
1998-10-16 03:04:15 +00:00
Jordan K. Hubbard 7f4e79306f Adjust for -RELEASE 1998-10-16 02:27:07 +00:00
Jordan K. Hubbard fd4dfac938 Change to 3.0-RELEASE in anticipation of the tag. 1998-10-16 02:08:20 +00:00
Kazutaka YOKOTA fbb018d2f4 Keep the entries sorted by name. Rev.1.21 broke the order inadvertently.
No functaionlal change.
1998-10-16 01:49:13 +00:00
David E. O'Brien d1436a882b Add commented out bpf entry. (DHCP is popular here, and this is required).
Ok'ed by:	jkh
1998-10-16 01:30:11 +00:00
Jordan K. Hubbard f867f1cd23 Add notes about SCSI tape support.
Submitted by:	"Kenneth D. Merry" <ken@plutotech.com>
1998-10-16 00:29:37 +00:00
Kenneth D. Merry de336449f3 Change the worm(4) man page to note that there is no longer a worm(4)
driver, and point users in the right direction for similar functionality.
The functionality that used to be provided there is now provided by the
cd(4) driver and cdrecord.

Fix cross-references in a few other man pages.  (i.e. delete references to
things I haven't written yet)
1998-10-16 00:26:28 +00:00
Dag-Erling Smørgrav bdd042f095 Warn about "mount -u" bug. 1998-10-16 00:06:56 +00:00
Justin T. Gibbs 1964f204c9 -Wunused cleanup.
Correct a problem where an external bus reset on the 'background' channel of
a Twin Channel EISA controller could put the driver into an infinite loop.

Noticed by: Twin Channel bug, Joerg Wunsch <joerg@FreeBSD.org>
Submitted by: -Wunused, Poul-Henning Kamp <phk@freebsd.org>
1998-10-15 23:49:27 +00:00
Justin T. Gibbs b9450b7b2f -Wunused cleanup.
Fixed bug in advansys.c where we did not properly clean up ccb_info data
structures in softc teardown.

Submitted by:	Poul-Henning Kamp <phk@freebsd.org>
1998-10-15 23:47:14 +00:00
Justin T. Gibbs 4663e36736 -Wunused cleanup.
Submitted by:	Poul-Henning Kamp <phk@freebsd.org>
1998-10-15 23:46:33 +00:00
Justin T. Gibbs 0a42741c4a Honor CAM_TAG_ACTION_NONE. 1998-10-15 23:17:58 +00:00
Justin T. Gibbs bb1f2fe47f Add a mechanism to send a non-tagged transaction even if a device is
currently operating in a tagged mode.  The SIM driver should determine
if a device is in tag mode by looking at the CAM_TAG_ACTION_VALID flag
in the ccb header.  If the flag is set, the tag_action field is either
a SCSI II tag message (simple, ordered, head) or CAM_TAG_ACTION_NONE
to specify that no tagging should be performed.
1998-10-15 23:17:35 +00:00
Robert Nordier 67ac585edf Fix path to sio.s 1998-10-15 22:08:13 +00:00
Doug Rabson 43c6fba4f6 Fix a typo preventing the correct value of kernend from being picked up
from the bootstrap.  Also change some debug printfs from #if 0 to
#ifdef DEBUG_CLUSTER to make it easier to debug startup memory problems.
1998-10-15 22:00:54 +00:00
Doug Rabson 94bb328025 Change some printfs so that ELF_VERBOSE prints meaningful values on the alpha. 1998-10-15 21:56:47 +00:00
Doug Rabson 6214a95af0 Fix the bootinfo so that the right values actual make it into the kernel. 1998-10-15 21:55:58 +00:00
Andrzej Bialecki 4204bf87ea Various fixups and corrections to match the 3.0-RELEASE tree.
The PicoBSD version is now 0.42.
1998-10-15 21:40:07 +00:00
Jordan K. Hubbard d1d481b434 Note latest SCSI subsystem changes.
Submitted by:	"Kenneth D. Merry" <ken@plutotech.com>
1998-10-15 21:28:59 +00:00
Jordan K. Hubbard 66049ce431 Add references to ATM cards (Mike Spengler <mks@networkcs.com>) and
remove all tabs.
1998-10-15 21:20:33 +00:00
Warner Losh 068a441ad2 Add wst.4 1998-10-15 20:45:57 +00:00
Warner Losh 278f786595 Man page for the wst driver. I had planned on committing this earlier,
but forgot.
1998-10-15 20:43:25 +00:00
Wolfram Schneider 0e67e2031b Added reference to ifconfig(8). 1998-10-15 20:36:55 +00:00
Wolfram Schneider 6bede6b481 Added manpage link plip.4 -> lp.4 1998-10-15 20:35:28 +00:00
Wolfram Schneider 7007efd40c Add reference to lp(4). 1998-10-15 20:27:26 +00:00
Robert Nordier da55c91100 Add serial, dual, and probe-keyboard support. 1998-10-15 20:04:21 +00:00
Warner Losh ca1a3d8c33 Reduce the number of ccbs to 16, per the aha documentation. Move
bogus comment to proper place.

This should fix the hangs people are seeing under very heavy load, at
least it does for me.  Please let me know if you continue to have
problems.
1998-10-15 19:53:30 +00:00
Mike Smith 25a6a054af Add some points from experiences installing on a range of IBM Netfinity
systems.
1998-10-15 19:12:04 +00:00
Kenneth D. Merry 50642f180c Fix several potential buffer overrun conditions. These changes have been
tested both in the kernel and in userland.  Also, fix a couple of printf
warnings that show up when CAMDEBUG is defined.

Reviewed by:		imp
Partially submitted by:	imp
1998-10-15 19:08:58 +00:00
Mark Murray dcd7d6b121 Properly install the *.h files in CORE and Config.pm where it wants to be.
This should fix a substantial number of broken p5-* ports.

Tested-on:	x11-toolkits/p5-Tk (Amongst others)
1998-10-15 18:50:04 +00:00
Justin T. Gibbs bc1b1dad36 Bring back support for honoring the primary channel setting for twin channel
EISA adapters.  This could have caused the system to find the wrong root
disk.

Reviewed by:	 J Wunsch <j@ida.interface-business.de>
1998-10-15 18:21:50 +00:00
Kenneth D. Merry 11021a1ab5 Clean up some unused variables.
Reviewed by:	ken
Submitted by:	phk
1998-10-15 17:46:26 +00:00
Peter Wemm 434bf653d2 - bzero() after malloc() bug fix
- look up relocation symbol names in correct table bugfix.
- remove unused (initialized to 0) variable and conditional free() of it.
1998-10-15 17:16:24 +00:00
Dag-Erling Smørgrav af806462dc Fix style issues in execl(), and make execle() vfork()-safe.
Reviewed by:	bde
Approved by:	jkh
1998-10-15 17:14:15 +00:00
Peter Wemm bd4e381b03 - bzero() after malloc(). This is especially obvious when kern_malloc is
compiled with DIAGNOSTIC.
- Don't break from the preload module processing loop prematurely.
1998-10-15 17:12:12 +00:00
Peter Wemm ddd62546e1 Fix sysinit_add().
- Don't include multiple copies of the previous sysinit in the new one.
- Leave space for and explicitly null terminate the new list.
1998-10-15 17:09:19 +00:00