Commit Graph

32562 Commits

Author SHA1 Message Date
Peter Wemm
da942c6108 3.0-RELEASE and now the post-release 3.0-CURRENT were being declared
'too old' to run ELF.  Check the kernel version properly.
1998-10-17 05:40:46 +00:00
Jordan K. Hubbard
7b955a8e5d Don't rewrite the disk label. The type field is already set correctly
and we don't use the frags info, so why bother?  More to the point, it
seems to result in an EXDEV error when the label is written out and we
lose because of it (don't know why though).  This is a work-around and
is marked as such.
1998-10-17 04:19:29 +00:00
Peter Wemm
a6575097c6 Load the first page of the file and use the headers in it. This should
avoid the need to seek back to offset zero which is causing trouble on
the Alpha with a gzipped kernel.
1998-10-17 03:06:38 +00:00
Peter Wemm
0bf607e3dd Some directories would like to install things into /modules 1998-10-17 01:21:35 +00:00
Alexander Langer
04fb8e53fc Complete the description of sio flag 0x40.
Reviewed by:	bde
1998-10-16 22:26:19 +00:00
Kenneth D. Merry
a831a06cfb Add the dpt(4) man page.
Reviewed by:	ken
Submitted by:	gibbs
1998-10-16 22:00:55 +00:00
Kenneth D. Merry
98deb70241 Update the bt(4) man page for CAM.
Reviewed by:	ken
Submitted by:	gibbs
1998-10-16 21:33:34 +00:00
Kenneth D. Merry
976f6cbd90 Add in the adv(4) and adw(4) man pages for the AdvanSys narrow and wide
SCSI controllers, respectively.

Once these drivers are tested on the alpha, these man pages can probably be
moved up a directory to reflect the fact that they're architecture
independent.

An mdoc guru should probably look at the AUTHORS sections in both of these
pages -- the .An macro seems to cause strange spacing problems.

Reviewed by:	ken
Submitted by:	gibbs
1998-10-16 21:12:07 +00:00
Mike Smith
d800cebf61 Turn of disk debugging by default (suppress annoying "partition marked as
unused" diagnostic on floppies).
1998-10-16 19:26:11 +00:00
Mike Smith
95f5cf3349 Reduce the sbrk() increment from 64K to 4K. There's not much room on the
Alpha, and wasting potentially 64K-4 bytes of RAM just isn't an option.
1998-10-16 19:23:37 +00:00
Bruce Evans
19e595a57a Split up rule for ${COMMONHDRS} so that `make -j N' doesn't create the
6 headers up to 6 times concurrently.  Debugged by Don Lewis
(Don.Lewis@tsc.tdk.com).

Fixed some disorder.
1998-10-16 16:53:15 +00:00
KATO Takenori
e165741792 Commented out bs driver. 1998-10-16 16:22:35 +00:00
Bruce Evans
511a1b6f79 Generate code to interpret ioctl numbers for all ioctls defined in
headers under /usr/include, not just for the ones in <sys/ioctl.h>.
The generated file includes all headers that seem to define ioctls,
so build errors will probably occur if headers become less self-
sufficient than they are already.  This is a feature.  Build errors
shall not be fixed by adding more includes here.

Optionally generate a case statement instead of a list of if
statements.  This source must be edited to change this.  The case
statement should be non-optional.  It currently can't be, because
many ioctl numbers are not unique.
1998-10-16 15:33:17 +00:00
Bruce Evans
97ed3f88a4 Removed unused/unusable "ha" keyword. Device classes should never have
been visible here.

Fixed disordering of keyword table by "cam".
1998-10-16 15:08:30 +00:00
Justin T. Gibbs
0effaa9f7e Update to include all supported chips.
Add a table comparing the features of all aic7xxx chips.

Clean up the discussion of SCB paging.

Reviewed by:	Kenneth Merry <ken@FreeBSD.org>
1998-10-16 15:06:26 +00:00
Bruce Evans
28ed4514a2 Don't generate unused file ioconf.h.
Didn't bump CONFIGVERS, since ioconf.h was already unused when
CONFIGVERS was last bumped (although essentially the same (CAM)
commit batch that bumped CONFIGVERS also added bogus includes of
ioconf.h).
1998-10-16 15:00:18 +00:00
Bruce Evans
59bec03685 Fixed missing directories in the libraries target:
- in the elf case, csu must be built and installed before any shared
  libraries.  It wasn't, but we usually used a stale version that
  happened to work.  E.g., in the !NOTOOLS case we used the version
  built and installed by the bootstrap-libraries target.  Only cross
  building was completely broken.
- the shared libmd must be built and installed before any shared
  libraries that link to it.  It wasn't, but we sometimes used a stale
  version that happened to work, as above.  For elf, this caused
  bogus linkage of the target shared libatm and libopie with the host
  static libmd.  It isn't clear what this actually breaks, except for
  cross compiling.  For aout, the shared libmd is not built at all, so
  all shared libraries linked to libmd may be broken.  The linker
  reports them by spewing RRS warnings.

Note that building src/lib early and building subdirs of src/lib in
the correct order in src/lib/Makefile doesn't help, since the subdirs
are all built before any are installed.

Fixed bitrot in the comments about the ordering requirements.
1998-10-16 14:22:54 +00:00
Jordan K. Hubbard
6014c286d1 Use the same boot.conf file for alpha, now that it works. 1998-10-16 10:17:29 +00:00
Jordan K. Hubbard
908dcbd2a4 fixup for alpha. 1998-10-16 10:14:21 +00:00
Jordan K. Hubbard
2f40a12b31 fixup for the alpha. tag slid forward, since it's benign for the x86. 1998-10-16 10:13:09 +00:00
Jordan K. Hubbard
042b91764a Back to -current again. 1998-10-16 06:55:36 +00:00
Jordan K. Hubbard
9af06d794b post-tag version bump. We're now back at 3.0-current! 1998-10-16 06:55:07 +00:00
Jordan K. Hubbard
3635fb7761 add note about CD-220E drives. 1998-10-16 04:47:12 +00:00
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