Commit Graph

70834 Commits

Author SHA1 Message Date
Doug Rabson
08cece4091 * Include <sys/ucontext.h> so that this compiles again.
* Move the section which manipulates ia64_pal_base to after cninit() so
  that we don't risk printing anything before we have a console.
* Don't call ia64_probe_sapics() for a SKI build. This should really
  be dependant on ACPICA being present or something.
2002-03-03 19:23:15 +00:00
Søren Schmidt
0f0e725b18 Forgot this litte patch, scale the individual disk size from the
arrays total size depending on width of the array.
2002-03-03 16:36:19 +00:00
Hiroki Sato
d2fdf997f8 Comment out proc-alpha.sgml's line temporarily. 2002-03-03 16:22:13 +00:00
Søren Schmidt
0df4b5542c Add the RAID rebuild command. 2002-03-03 15:41:57 +00:00
Søren Schmidt
6f87be981b Major update of the ATA RAID code, part 3:
Add code to properly detach/attach disks that are part of a RAID.

Mark a disk that is attached on an ATA channel belonging to a
RAID as a spare disk that can be used for rebuilding failed RAID1's.

Add support for rebuilding failed RAID1's.

Several fixes to the detach/attach code.

For replacing a disk in a failed RAID1 do the following:

Find the controller channel# of the failed disk.

Exec 'atacontrol detach <channel#>' to free the disk from the system.

Replace the failed disk with a new one of at least the same size.
If your have your disks in drawers/enclosures this can be done with
the system still running.

Exec 'atacontrol attach <channel#>' to add the disk to the system and
mark it as a valid spare for rebuild.

Exec 'atacontrol rebuild <array#>'

The system will rebuild the array on the fly, the array can still
be used during this, although with slower performance.

Please let me know of any problems with this!

Sponsored by: Advanis Inc.

MFC after: 2 weeks
2002-03-03 15:36:21 +00:00
Mark Murray
f84f50e683 Merge conflicts, fix Makefiles and remove (re)moved file(s). 2002-03-03 15:12:50 +00:00
Søren Schmidt
95f78da7d8 Add new command definition for rebuilding RAID arrays. 2002-03-03 15:00:39 +00:00
Hiroki Sato
6ccc7d470a Add Japanese version of hardware notes:
(new) -> 1.3  	doc/ja_JP.eucJP/hardware/Makefile
	(new) -> 1.2  	doc/ja_JP.eucJP/hardware/Makefile.inc
	(new) -> 1.6  	doc/ja_JP.eucJP/hardware/alpha/Makefile
	(new) -> 1.4  	doc/ja_JP.eucJP/hardware/alpha/article.sgml
	(new) -> 1.3  	doc/ja_JP.eucJP/hardware/common/artheader.sgml
	(new) -> 1.73 	doc/ja_JP.eucJP/hardware/common/dev.sgml
	(new) -> 1.3  	doc/ja_JP.eucJP/hardware/common/hw.ent
	(new) -> 1.3  	doc/ja_JP.eucJP/hardware/common/intro.sgml
	(new) -> 1.5  	doc/ja_JP.eucJP/hardware/i386/Makefile
	(new) -> 1.3  	doc/ja_JP.eucJP/hardware/i386/article.sgml
	(new) -> 1.2  	doc/ja_JP.eucJP/hardware/i386/proc-i386.sgml
	(new) -> 1.2  	doc/ja_JP.eucJP/hardware/ia64/Makefile
	(new) -> 1.1  	doc/ja_JP.eucJP/hardware/ia64/article.sgml
	(new) -> 1.1  	doc/ja_JP.eucJP/hardware/ia64/proc-ia64.sgml
	(new) -> 1.1  	doc/ja_JP.eucJP/hardware/sparc64/Makefile
	(new) -> 1.1  	doc/ja_JP.eucJP/hardware/sparc64/article.sgml

 NOTE: {alpha,sparc64}/{dev,proc}-{alpha,sparc64}.sgml are
       not translated yet.
2002-03-03 14:31:34 +00:00
Takanori Watanabe
54f737c3a6 Add two IrDA controller ID: IBM TP240(Probably NSC compatible), and SMC IrCC
controller.
2002-03-03 13:26:59 +00:00
Mark Murray
675d3eb019 This commit was generated by cvs2svn to compensate for changes in r91586,
which included commits to RCS files with non-trunk default branches.
2002-03-03 13:17:00 +00:00
Mark Murray
fdd1668006 Import of NetBSD's (x)lint, snapshotted at 2002-3-3. 2002-03-03 13:17:00 +00:00
Mark Murray
c25e37e9b4 Temporarily remove lint(1) from the build until the import and merge
of the MFN (Merge from NetBSD) is complete.
2002-03-03 13:03:08 +00:00
Yoshihiro Takahashi
3932055940 Don't move the an and wi drivers to a mfsroot floppy. 2002-03-03 11:09:40 +00:00
Yoshihiro Takahashi
ec8ab20b51 - Sort some entries.
- Don't remove MATH_EMULATE and MSDOS from a 'SMALL' floppy.
- Use the pattern '<tab><device name><tab>' instead of '<device name>' to
  avoid an unexpected matching.
2002-03-03 10:38:40 +00:00
Dima Dorfman
e74d483140 Check the version of ex_anon (a `struct xucred') before using it to
fill out netc_anon (a `struct ucred'), and add an XXX around the
entire operation since it isn't clear whether it's doing the right
thing with things like cr_uidinfo and cr_prison.
2002-03-03 06:07:57 +00:00
David E. O'Brien
650df5c934 Actually the rev 1.23 change also affects BINUTIL bits.
(my reading of the code was correct... now someone _please_ tell me why
they bother setting the "component" in the paths prefixes...)
2002-03-03 04:37:09 +00:00
David E. O'Brien
a84e77fb7b Allow one to specify a STANDARD_EXEC_PREFIX for GCC (but not BINUTILS) bits. 2002-03-03 04:18:00 +00:00
Dima Dorfman
0db0f1925a Document cru2x(). 2002-03-03 03:27:28 +00:00
Dima Dorfman
00805a5267 Add information about {kerberos,kadmind}5_enable and change
{kerberos,kadmind}_enable to {kerberos,kadmind}4_enable to match
reality.  Fix some mismatched parentheses while I'm here.

PR:		34982
Submitted by:	Michel Oosterhof <m.oosterhof@xs4all.nl>
2002-03-03 02:02:33 +00:00
Dima Dorfman
246b0f8487 Correct a typo.
PR:		35273
Submitted by:	Nicola Vitale <nivit@libero.it>
2002-03-03 01:13:47 +00:00
Giorgos Keramidas
943c2638bf Consistently refer to the trace file of ktrace as 'trfile'.
PR:		docs/35361
Submitted by:	Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
2002-03-03 01:12:25 +00:00
Warner Losh
d26fb41443 Get the generic name right 2002-03-03 01:04:39 +00:00
Alan Cox
5714577006 Remove some long dead code. 2002-03-02 22:21:42 +00:00
Takanori Watanabe
420ba21437 Fix bug on method local named object related panic and Bankfield
operation.
2002-03-02 15:05:26 +00:00
Yoshihiro Takahashi
900ae1c4ab MFi386: revision 1.394. 2002-03-02 13:21:12 +00:00
Yoshihiro Takahashi
47f470f8b5 MFi386: revision 1.498. 2002-03-02 13:19:22 +00:00
Seigo Tanimura
92c914f936 Fix lock leakage and late unlock.
Submitted by:	bde
2002-03-02 12:42:24 +00:00
Bruce Evans
ffb382b4dc Deverbosified previous 2 commits (removed the rotted list of reasons why
<sys/systm.h> is included instead of adding to it).

Approved by:	previous committer
2002-03-02 11:14:13 +00:00
Bruce Evans
b980740327 Fixed a printf format error. 2002-03-02 10:54:33 +00:00
Alfred Perlstein
40e8dd712c properly handle zero length first string when doing -c
PR: 34663
MFC After: 3 days
2002-03-02 10:36:37 +00:00
David E. O'Brien
7486111210 Better granularity of the FREEBSD_NATIVE #ifdef's. 2002-03-02 09:58:48 +00:00
David E. O'Brien
3d3dea1bbc Move the creation of the insn-*.c files from cc_tools to cc_int.
This gets rid of a cross build problem we have because we build
everything in cc_tools during the `make build-tools' (or `make depend')
stage.
2002-03-02 08:53:36 +00:00
Jun Kuriyama
64b88e383f Bump original revision (1.290 --> 1.291).
Refill over 80 character line (no content changes).
2002-03-02 05:57:18 +00:00
Doug White
0551940858 Update STANDARDS section on rm(1) to reflect current conformance.
PR:		35471
2002-03-02 05:10:11 +00:00
Bruce A. Mah
184ae201c7 Whitespace-only commit, to make this file conform to FDP standards on
indentation and word-wrap.  Convert strings of leading spaces to tabs
where appropriate, and delete trailing spaces.

No content was harmed in the creation of this delta.

Reviewed by:	diff(1) on i386 and alpha HTML output
2002-03-02 01:40:11 +00:00
Brooks Davis
16555f3a03 Make 128-bit WEP (aka 104-bit WEP) work with Prism based cards.
Submitted by:	Thomas Skibo <skibo@pacbell.net>
MFC after:	3 days
2002-03-02 00:06:23 +00:00
Bruce A. Mah
2abc78f94e Convert some literal "FreeBSD" to &os;. While I'm here, fix two
grammatical problems (s/set of floppy/set of floppies/).

PR:		35115
Submitted by:	gioria
2002-03-01 23:44:14 +00:00
Matt Jacob
b96eda156f Make it compile again. 2002-03-01 23:15:45 +00:00
Matt Jacob
8f22da0d0b Fix mcpcia.c so it compiles again. 2002-03-01 23:10:19 +00:00
Ian Dowse
139db33f22 Add a new "-y" flag which causes the year to be included in the
session start time. This is useful when looking at old or long-running
wtmp files.

PR:		bin/12982
Obtained from:	KOJIMA Hajime <kjm@rins.ryukoku.ac.jp>, keramida
Reviewed by:	keramida
MFC after:	1 week
2002-03-01 21:12:19 +00:00
Ian Dowse
9ac0768d74 Add a new "-S" flag to dump to allow it just print out dump estimate
size and then exit.

PR:		bin/35450
Submitted by:	Mark Hannon <markhannon@optushome.com.au>
Obtained from:	NetBSD
MFC after:	1 week
2002-03-01 20:54:23 +00:00
Orion Hodson
b3aeda3f1f Add support for VT8233. 2002-03-01 20:30:13 +00:00
Ian Dowse
2e7a4024ff Oops, unbreak the -d and -<n> options. The `snapfound' variable
needs to be retained across entries, and we need to exit(), not
return from doentry() when `maxrec' reaches 0. Move the code for
processing `maxrec' into printentry() for simplicity.
2002-03-01 19:46:20 +00:00
Mark Murray
7d6ad52aa0 Fix required includes in accordance with recent source fixes.
Submitted by:	bde
2002-03-01 18:43:15 +00:00
Ian Dowse
6e3a7c4b1b Split up the big wtmp() function to avoid long lines and code
duplication.
2002-03-01 17:37:06 +00:00
David E. O'Brien
4d307e631d *sigh* while the last commit made GCC 3.1 happy, it upset GCC 2.95.
back out last commit to un-break world.
2002-03-01 17:30:01 +00:00
Bruce A. Mah
fe7f645981 Fix typo: s/of/or/
PR:		35291
Submitted by:	John Nielsen <zoobie@bsdconspiracy.net>
		Tom Rhodes <darklogik@pittgoth.com>
2002-03-01 17:29:51 +00:00
Jake Burkholder
e45a21d07a We don't need KTR_COMPILE in assym.s, its already in opt_global.h. Add
assyms for more ktr trace classes.
2002-03-01 16:22:06 +00:00
Jake Burkholder
b8c926a9ab Use a better trace class for ktr traces in the tlb fault handlers, which are
rather loud.
2002-03-01 16:17:50 +00:00
Robert Watson
2d141f428e Fix typo. '|' looks a lot like 'l' in my xterm font. 2002-03-01 15:42:27 +00:00