Commit Graph

31576 Commits

Author SHA1 Message Date
gibbs
e8eb724f93 Update system to new device statistics code.
Submitted by:	"Kenneth D. Merry" <ken@plutotech.com>
1998-09-15 08:16:45 +00:00
gibbs
d79b777d6f New Kernel device statistics code.
Submitted by:	"Kenneth D. Merry" <ken@plutotech.com>
1998-09-15 08:16:17 +00:00
gibbs
1b53fcd958 Update system to new device statistics code.
Submitted by:	"Kenneth D. Merry" <ken@plutotech.com>
		mike@smith.net.au (Mike Smith)
1998-09-15 08:15:30 +00:00
gibbs
0c7e0bbd0b Updated the ch(4) driver and chio(1) command to include volume
tag support.  These changes have been tested with a Breeze Hill
Q47 DLT and a DEC DLT2500 media changer.  The latter has no
volume tag support.

The chio(1) command was updated to include various flags to the
status subcommand.  These flags can be used to select additional
information to be displayed (like volume tags).

A new chio(1) subcommand named 'voltag' has been added which allows
for changes to volume tags inside the media changer controller.
This could not be tested as the Q47 does not provide the functio-
nality.

Submitted by:	Hans Huebner
1998-09-15 07:48:51 +00:00
gibbs
ec1645b650 Hook up beforeinstall targets for libcam and libdevstat 1998-09-15 07:46:17 +00:00
gibbs
c52f410ee6 Adaptec 154X SCSI-Host Adapter driver for CAM.
Submitted by:	Warner Losh <imp@village.org>
1998-09-15 07:39:55 +00:00
abial
ddec2a4279 Change name of 'dm' to 'msg'. As Bruce noticed, it conflicts with
dungeon master, if anyone would like to play it on picobsd floppy... :-)

Noticed by:	bde
1998-09-15 07:35:58 +00:00
gibbs
11b58d8f82 Mylex/Buslogic MultiMaster SCSI-Host Adapter Driver for CAM. 1998-09-15 07:32:57 +00:00
gibbs
951cb45862 Move to new name, convert to CAM, add support for new chips, and
correct lots of eeprom/auto-termination bugs.
1998-09-15 07:25:33 +00:00
gibbs
9d6fc05f58 Move to new name and convert to CAM. 1998-09-15 07:24:58 +00:00
gibbs
9fdb950495 Massive overhaul of the aic7xxx driver:
- Convert to CAM
 - Use a new DMA based queuing and paging scheme
 - Add preliminary target mode support
 - Add support for the aic789X chips
 - Take advantage of external SRAM on more controllers.
 - Numerous bug fixes and performance improvements.
1998-09-15 07:24:17 +00:00
gibbs
7dea190eeb Adaptec 174x EISA SCSI Host Adapter driver for CAM. 1998-09-15 07:10:00 +00:00
gibbs
1bc4c62340 EISA bus attachment for the AdvanSys driver. 1998-09-15 07:05:39 +00:00
gibbs
802ee6a77c Advance Systems SCSI Host Adapter driver for CAM. Currently only support
the 8bit SCSI AdvanSys products.
1998-09-15 07:03:43 +00:00
gibbs
ec356481de Man page describing the in kernel device statistics routines.
Submitted by:	"Kenneth D. Merry" <ken@plutotech.com>
1998-09-15 06:49:18 +00:00
gibbs
1dbdc3a12e SCSI Target userland process example. Provides/Dumps the data related to
RECEIVE/SEND processor target requests to the "targ" sample target mode
driver.
1998-09-15 06:46:32 +00:00
gibbs
6ac08f3c1b Camcontrol - A utility for configuring/manipulating the CAM subsystem
Submitted by:	"Kenneth D. Merry" <ken@plutotech.com>
1998-09-15 06:43:02 +00:00
gibbs
31a8f6dcda SCSI Peripheral drivers for CAM:
da	- Direct Access Devices (disks, optical devices, SS disks)
	cd	- CDROM (or devices that can act like them, WORM, CD-RW, etc)
	ch	- Medium Changer devices.
	sa	- Sequential Access Devices (tape drives)
	pass	- Application pass-thru driver
	targ	- Target Mode "Processor Target" Emulator
	pt	- Processor Target Devices (scanners, cpus, etc.)

Submitted by:	The CAM Team
1998-09-15 06:36:34 +00:00
gibbs
6a9209ef17 CAM Transport Layer (XPT).
Submitted by:	The CAM Team
1998-09-15 06:33:23 +00:00
gibbs
b8da02ddff Device statistics library. Used by iostat, vmstat, and systat to
format and analyze the output of the new device statistics sysctls.

Submitted by:	"Kenneth D. Merry" <ken@FreeBSD.org>
1998-09-15 06:23:21 +00:00
gibbs
a77f6c77dc I hate late night commits. These should be nuked from the atticy by
the CVS meister.
1998-09-15 06:20:29 +00:00
gibbs
046eaec845 CAM userland utility library, a replacement for libscsi.
Submitted by: "Kenneth D. Merry" <ken@FreeBSD.org>
1998-09-15 06:16:46 +00:00
obrien
b7f6a21266 Revert to rev 1.41.
Some didn't like it.
1998-09-15 05:24:01 +00:00
obrien
a9a7e4346b Document root.wheel. 1998-09-15 05:11:47 +00:00
jkh
2cff249384 Restore default implict behavior of running the all target we had before. 1998-09-15 05:10:17 +00:00
kato
a65b5e5b0f Sync with sys/i386/i386/machdep.c revision up to 1.309. 1998-09-15 03:50:08 +00:00
kato
d8daece41d Sync with sys/i386/confMakefile.i386 revision 1.122. 1998-09-15 03:49:43 +00:00
msmith
893e15e39c Remove (wrong) OBJFORMAT setting. 1998-09-15 02:30:22 +00:00
wollman
43c9e2553b Replace accidentally-deleted `x' which caused warnx() to misbehave. 1998-09-15 01:49:32 +00:00
jkoshy
0d72eb7b28 Correct a typo that I noticed. 1998-09-15 00:24:19 +00:00
jdp
ad47f06e66 Remove includes that are no longer needed, now that the core dumping
code has been moved into the respective imgact_xxx.c sources.
1998-09-14 23:25:18 +00:00
jdp
426b033aca Fix GDB so that it can handle ELF core dumps. 1998-09-14 22:49:02 +00:00
jdp
1fe27d6671 Viola! The kernel now generates standard ELF core dumps for ELF
executables.

Currently only data and stack are included in the core dumps.  I am
looking into adding the other (mmapped) writable segments as well.
1998-09-14 22:46:08 +00:00
jdp
06994b6d73 Add new functions fill_fpregs() and set_fpregs(), like fill_regs()
and set_regs() but for the floating point register state.  The code
is stolen from procfs_machdep.c, and moved out of there into
machdep.c.

These functions are needed for generating ELF core dumps.
1998-09-14 22:43:40 +00:00
brian
4884feacae Remove Id keywords from files that are still on the vendor branch
This will make life easier when upgrading.
Suggested by:	bde
1998-09-14 22:11:37 +00:00
imp
723708fb3d o use strncpy safely
o Only allow options and domain name to be set when we aren't running
  setuid.

Obtained from: OpenBSD
1998-09-14 21:13:06 +00:00
jdp
57f346317f Bring core-regset.c back to life. It is needed for handling ELF
core dumps.
1998-09-14 20:53:47 +00:00
abial
d67ccc0068 Make use of the new 'dm' utility instead of standard 'dmesg'. 1998-09-14 20:39:34 +00:00
imp
96fb246758 Add reallocf to the library. This function is simliar to realloc, but
when it returns NULL to indicate failure, it will also free the memory
that was passed to it, if that was non-null.

This does not change the semantics of realloc.

A second commit will be done to commit the conversion of those places in
the code that can safely use this to avoid memory leaks when confronted
with low memory situations.

Beaten-to-death-but-finally-approved-in: -current
1998-09-14 20:34:34 +00:00
abial
aed17b8379 Since we have a sysctl 'machdep.msgbuf' now, let's make use of it. 1998-09-14 20:33:43 +00:00
jdp
25cd854413 Add generic defines ELF_ARCH, ELF_CLASS, and ELF_DATA. These give
the relevant characteristics of the native machine, for building
and checking Elf_Ehdr structures.

Add structures to represent ELF "note" headers.  Add defines for the
note types used in ELF core files.
1998-09-14 20:30:13 +00:00
obrien
1dcd4c8224 Too late in the 3.0-game to deal with a setgid /usr/bin/man. 1998-09-14 20:05:46 +00:00
sos
cac3b1d56d Remove the SLICE code.
This clearly needs alot more thought, and we dont need this to hunt
us down in 3.0-RELEASE.
1998-09-14 19:56:42 +00:00
jkh
7b82703aa8 Use a more reasonable default umask in case the root umask is too
fascist.
PR:		4014
1998-09-14 19:22:59 +00:00
jkh
15e801f8f4 Fix printf warnings and add a few casts.
PR:		7560
Submitted by:	Stefan Eggers <seggers@semyam.dinoco.de>
1998-09-14 19:14:11 +00:00
jkh
8ce737f454 Until lkm and mdec gets populated again by some other means, do it
here.
Forgotten by:	jkh
Submitted by:	jhay
1998-09-14 18:42:59 +00:00
markm
a7aa4e264b Add a link perl --> perl5.00502
Asked-for-by: Asami-San (for ports)
1998-09-14 18:34:19 +00:00
msmith
4a9cfdd0c8 Add extra bootinfo fields for the three-stage bootloader; the end of the
loaded kernel aggregate, a pointer to the kernel environment data and
a pointer to the preloaded module metadata.
1998-09-14 18:32:46 +00:00
msmith
6ea0476e21 Add constants associated with preloaded kernel modules. 1998-09-14 18:31:19 +00:00
msmith
ad514315b7 Resynch with working sources before BTX integration.
- Use format-independant module allocator.
 - Conditionalise ISA PnP support.
 - Simplify PnP enumerator interface.
 - Improve module/object searching.
 - Add missing depend/install targets in BTX makefiles.
 - Pass the kernel environment and module data in extended bootinfo fields.
 - Add a pointer to the end of the kernel + modules in bootinfo.
 - Fix parsing of old-style kernel arguments.
1998-09-14 18:27:06 +00:00