Commit Graph

70850 Commits

Author SHA1 Message Date
phantom
9124a610d0 Use NLSLINKS to setup symbolic links in NLS area 2002-03-04 12:29:21 +00:00
phantom
5adedc849a . Add support for making NLS links
. Target definitions tweaks
2002-03-04 12:27:00 +00:00
phantom
63f07ef33b This file is not used anymore 2002-03-04 11:10:17 +00:00
phantom
64962bd7fd Slightly relax requirements to set per-file variables 2002-03-04 10:59:37 +00:00
phantom
d12220dfdb Use bsd.nls.mk for building/installing NLS files
XXX: links handling simplify
2002-03-04 10:34:51 +00:00
dd
0b2f9cb783 Redirect stdout of `ipf -y' to /dev/null. This removes a stray
"filter sync'd" in the middle of the boot output if IPFilter is
enabled, but does not hide any potential errors, which go to stderr.
2002-03-04 10:30:24 +00:00
brian
e1efcab9b5 Don't blow away ``set escape'' settings when we've completed the
login phase.  Just initialise the correct parts.

Originially submitted by:	Vladimir B. Machulsky <bofhmail@yahoo.com>
2002-03-04 10:08:57 +00:00
phantom
59a679ac31 Use bsd.nls.mk for building/installing NLS files 2002-03-04 09:52:06 +00:00
phantom
7cccef054f Add basic infrastructure for building and installing Message Catalogs (NLS Catalogs)
Idea obtained from: NetBSD
Reviewed by: silence at -hackers
2002-03-04 09:50:28 +00:00
kuriyama
dc2d000aa4 Activate sparc64 relnotes. 2002-03-04 08:33:27 +00:00
jake
4adfe1f199 Add support for starting secondary cpus in kernel, as opposed to relying
on the loader to do it.  Improve smp startup code to be less racy and to
defer certain things until the right time.  This almost boots single user
on my dual ultra 60, it is still very fragile:

SMP: AP CPU #1 Launched!
Enter full pathname of shell or RETURN for /bin/sh:
# ls
Debugger("trapsig")
Stopped at      Debugger+0x1c:  ta              %xcc, 1
db> heh
No such command
db>
2002-03-04 07:12:36 +00:00
jake
c87ee2427d Dig the information about which tlb slots were used to map the kernel out
of the metadata passed by the loader.
2002-03-04 07:07:10 +00:00
bmah
d35de47e83 Begin building sparc64 release notes for -CURRENT. 2002-03-04 06:46:00 +00:00
alfred
fd4aa99c82 clarify code:
add comments.
don't get the length of each arg passed, only the last one.
check against == or != NULL rather than using a pointer value as
truth test.
2002-03-04 05:30:04 +00:00
jake
8322761809 Allocate tlb contexts on the fly in cpu_switch, instead of statically 1 to 1
with pmaps.  When the context numbers wrap around we flush all user mappings
from the tlb.  This makes use of the array indexed by cpuid to allow a pmap
to have a different context number on a different cpu.  If the context numbers
are then divided evenly among cpus such that none are shared, we can avoid
sending tlb shootdown ipis in an smp system for non-shared pmaps.  This also
removes a limit of 8192 processes (pmaps) that could be active at any given
time due to running out of tlb contexts.

Inspired by:		the brown book
Crucial bugfix from:	tmm
2002-03-04 05:20:29 +00:00
jake
dd2207f5cd Fix obscure problems with vfork where part of the parent's stack could be
clobbered by the child.  This is more complicated than usual because the
window that could get clobbered is pushed in kernel mode, so a lot of
registers would have to be saved in other registers in userland and we
don't have enough.  What we do have is space in the pcb to temporarily
store user windows that were spilled in kernel mode, but could not be
immediately stored to the user stack.  So we copy in the parent's topmost
window and save it in the pcb, and arrange for it to be copied back out
when the child is done frobbing the stack.

Reviewed by:	tmm
2002-03-04 05:07:22 +00:00
alfred
199a58a697 Support for USB fm radio.
Submitted by: David Yeske <dyeske@yahoo.com>
2002-03-04 03:51:21 +00:00
imp
83d361972f Add a bunch of cards from NetBSD and maybe other places.
Ericsson Wireless Lan
Simple Tech Spectrum 24 Alt
Socket LP WLAN CF
Symbol LA4100
2002-03-04 02:59:20 +00:00
orion
0c45c5a171 Suspend and resume related patches from Toshikazu Ichinoseki <t.ichinoseki@nifty.com>.
PR's: kern/35484, kern/35230.
2002-03-04 00:36:04 +00:00
keramida
072ba66d31 Makefile.inc0 is no longer used.
Update comments to reflect that.

Approved by:	dd, silence in -audit.
2002-03-03 22:37:35 +00:00
alc
e56a9ee7ae Call vm_pageq_remove_nowakeup() rather than duplicating it. 2002-03-03 22:36:14 +00:00
bmilekic
4d41cd259b Fix bug in mb_alloc that made systems configured with
PAGE_SIZE / MCLBYTES == 1 crash. Fix them by changing the
appropriate "allocate new page and bucket" code in mb_alloc to use
the macro for properly grabbing an allocated object from a bucket,
the one that checks whether the bucket is empty.
This should allow ken to continue testing zero-copy stuff on -CURRENT.

Noticed and provided debug info: ken
2002-03-03 22:10:04 +00:00
phk
7b0ce36f94 A bit of premptive GEOM POLA magic: If we don't get a virgin disklabel
from /dev/food0, then try from /dev/f00d0c, in strange cases this work.
2002-03-03 21:21:45 +00:00
gioria
72b0228f10 Adding Network Interface Support section 2002-03-03 21:17:15 +00:00
markm
92e030d00a Provide infrastructure for harvesting SWI entropy. 2002-03-03 20:09:42 +00:00
markm
1b3c288707 Massive lint-inspired cleanup.
Remove unneeded includes.
Deal with unused function arguments.
Resolve a boatload of signed/unsigned imcompatabilities.
Etc.
2002-03-03 19:44:22 +00:00
markm
ecb7a599ea (x)lint(1) works; re-enable it. 2002-03-03 19:32:44 +00:00
dfr
c938cb6404 * 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
sos
d3537063e7 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
hrs
4499674958 Comment out proc-alpha.sgml's line temporarily. 2002-03-03 16:22:13 +00:00
sos
a40226defb Add the RAID rebuild command. 2002-03-03 15:41:57 +00:00
sos
8703cd1dab 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
markm
8207872db7 Merge conflicts, fix Makefiles and remove (re)moved file(s). 2002-03-03 15:12:50 +00:00
sos
7d6830b305 Add new command definition for rebuilding RAID arrays. 2002-03-03 15:00:39 +00:00
hrs
e053135efa 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
takawata
e583125ee4 Add two IrDA controller ID: IBM TP240(Probably NSC compatible), and SMC IrCC
controller.
2002-03-03 13:26:59 +00:00
markm
00e098c5ce 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
markm
a9c0aaa0e8 Import of NetBSD's (x)lint, snapshotted at 2002-3-3. 2002-03-03 13:17:00 +00:00
markm
8a5493bf2a 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
nyan
6e2be7da8d Don't move the an and wi drivers to a mfsroot floppy. 2002-03-03 11:09:40 +00:00
nyan
4efc0823d9 - 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
dd
a9f1d1dab4 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
obrien
35f67b85ba 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
obrien
140f4d987a Allow one to specify a STANDARD_EXEC_PREFIX for GCC (but not BINUTILS) bits. 2002-03-03 04:18:00 +00:00
dd
0b0f95c996 Document cru2x(). 2002-03-03 03:27:28 +00:00
dd
431516592f 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
dd
fee779d388 Correct a typo.
PR:		35273
Submitted by:	Nicola Vitale <nivit@libero.it>
2002-03-03 01:13:47 +00:00
keramida
da7415a981 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
imp
c0f6c85d19 Get the generic name right 2002-03-03 01:04:39 +00:00
alc
8bb481c9d8 Remove some long dead code. 2002-03-02 22:21:42 +00:00