Commit Graph

65030 Commits

Author SHA1 Message Date
hrs
3276d67611 Fix typo. 2001-09-24 12:56:52 +00:00
hrs
4b2d79f595 Merge the following from the English version:
1.139 -> 1.145	relnotes/common/new.sgml
2001-09-24 12:38:06 +00:00
murray
5db7811e70 Add a couple of functions to create persistent variables that will
survive a sysinstall Ctrl-C -> 'Restart'.  This fixes another annoying
bug where restarting sysinstall will try to reload kernel modules and
do other external things that have already been done.  For now, use
these persistent variables to keep track of module, usbd, and pccardd
initialization.

Bug found by: rwatson
MFC after:    1 week
2001-09-24 10:16:23 +00:00
ru
e97a4764bb Fixed the buildworld breakage in cross-tools caused by
misuse of /usr/src/include headers.  This REALLY fixes
the 20010919 src/UPDATING entry.

With this patch the 4.2-RELEASE box was able to survive
the 5.0-CURRENT "make world".

Beat over the head with this patch:	obrien
2001-09-24 09:25:05 +00:00
murray
bb01b0fc88 Note that it might not be a good idea to mount /var 'noatime'.
PR:		docs/30675
Submitted by:	Eugene M. Kim <gene@nttmcl.com>, and
                Giorgos Keramidas <charon@labs.gr>
2001-09-24 07:35:37 +00:00
nyan
6f24794a06 - Added #include <sys/systm.h>
- Cosmetic change
2001-09-24 06:41:06 +00:00
murray
444b1f5574 Correctly document the return value of mb_fixhdr.
PR:		docs/30697
Submitted by:	Jonathan Hanna <jhanna@home.com>
Reviewed by:	bp
2001-09-24 06:30:52 +00:00
luigi
fc8e0b7bdd Fix a null pointer dereference introduced in the last commit, plus
remove a useless assignment and move a comment.

Submitted by: Thomas Moestl
2001-09-24 05:24:19 +00:00
obrien
94003d0787 + Fix misplacement of `txp'
+ Document our -CURRENT debugging bits
2001-09-24 03:23:48 +00:00
obrien
3f2b036979 + explicitly use the shell to run ${local_startup} so one does not have to
ensure the executable bit is set on the scripts.
+ Fix VCS ID's
2001-09-24 03:03:51 +00:00
mp
a740a15ed8 Catch up to recent removal of curpcb from globals.h. 2001-09-24 02:58:49 +00:00
murray
876f3cf6ac - Correct capitalization of a function name.
- Add a missing word to form a complete sentence.

PR:		docs/30626
Submitted by:	Dan Lukes <dan@obluda.cz>, and
		swear@blarg.net (Gary W. Swearingen)
2001-09-24 02:51:43 +00:00
ken
51f12c2733 Turn on WARNS?= 2 for libdevstat.
Submitted by:	"Sergey A. Osokin" <osa@freebsd.org.ru>
2001-09-23 23:03:23 +00:00
bmah
35e45efa1a The README file in the floppies/ directory of a distribution should
come from the installation document (of the release documentation)
not the readme.  The installation document is the one that has the
content of the old FLOPPIES.TXT.

Pointy hat to:	bmah
2001-09-23 22:32:09 +00:00
des
3274d63b58 Don't print running stats unless we're the foreground process.
PR:		30764
2001-09-23 22:03:39 +00:00
brian
74ff6b8f7e Send a .4 second BREAK rather than a .25 second break so that
we're at least consistent with what tcsendbreak(3) is documented
to do.

MFC after: 2 weeks

Note, the MFC will be to sys/dev/dgb/dgm.c on the RELENG_4 branch
2001-09-23 20:03:40 +00:00
dfr
29ad18d594 Add commands to dump the configuration tables and the SAL System Table. 2001-09-23 10:28:01 +00:00
dfr
a6f6159dea Add definitions of SAL System Table. 2001-09-23 10:26:20 +00:00
yokota
28287d86fc Reinitialize the keyboard after the ACPI resume event.
I am not sure if this is absolutely necessary on all systems.  Yet,
there certainly are motherboards and notebook systems which require
this, although there are other systems which just don't.  I hope we
shall know when to do this on which systems, as the development of our
ACPI subsystem progresses...  (I know we didn't need this for the APM
resume.)
2001-09-23 08:42:06 +00:00
yokota
fb7e435d4d - Update pnp(4) to match the reality in -CURRENT.
- Add pnpbios(4).
2001-09-23 08:41:12 +00:00
yokota
a78e6d3db4 Fix a comment line which wrongly states this man page is for
the `asc' scanner device :-)

MFC after: 3 days
2001-09-23 06:56:09 +00:00
imp
dcb6da5c6d While I am THE Warner Losh (I know of no others that share my name and
I've looked), there's no need to refer to myself here as the Warner Losh.

Noticed by: mike
2001-09-23 06:44:07 +00:00
imp
771abf177e Fix grammar of the newest UPDATING entry. Also, minor rewording of
grant to use this document to be less restrictive than before.  The
document now can be used without restriction.
2001-09-23 06:36:41 +00:00
peter
aac6765913 Overzealous search/replace: PROC_LOCK_ASSERT(p, not PROC_LOCK_ASSERT(td,
Pointy-hat to:  peter
2001-09-23 06:16:01 +00:00
alc
abcc2b1f15 Implement TCP/IP checksum off-loading on receive. Announce
rxcsum capabilities.

Reviewed by:	wpaul
2001-09-23 05:13:12 +00:00
mikeh
ff0ca8acbc Don't add space after comma unless there was already one (prevents a
rare overflow). Optimize loop slightly. Don't exit if realloc can't
shrink a buffer (just continue and use the larger buffer).

Obtained from:	OpenBSD
MFC after:	2 weeks
2001-09-23 04:07:26 +00:00
mike
393333febc Note that strdup(3) will set errno if memory allocation fails. This
is also required by the forthcoming POSIX.1-200x standard.

Obtained from:	malloc.3
2001-09-23 00:37:42 +00:00
obrien
b543286930 blah, remove debugging code that crept in with last commit. 2001-09-23 00:11:48 +00:00
murray
a3fa7d9b17 Silence more warnings. 2001-09-22 23:17:37 +00:00
murray
8cda2ec97f Silence warnings on alpha :
Use '%p' when printing out the address of a function.
  sizeof(int) != sizeof(long)
2001-09-22 22:34:14 +00:00
murray
25145b8fcd Silence warnings. 2001-09-22 22:25:35 +00:00
murray
93c176a9ba Silence warnings :
Use static as necessary.
   Use __unused as necessary.
   sizeof(int) != sizeof(void *)
2001-09-22 22:21:01 +00:00
jhb
9426cdbe39 Since we no longer inline any debugging code in the mutex operations, move
all the debugging code into the function versions of the mutex operations
in kern_mutex.c.  This reduced the __mtx_* macros to simply wrappers of
the _{get,rel}_lock_* macros, so the __mtx_* macros were also abolished in
favor of just calling the _{get,rel}_lock_* macros.  The tangled hairy mass
of macros calling macros is at least a bit more sane now.
2001-09-22 21:19:55 +00:00
dfr
cba438d63f Add CONSPEED option. 2001-09-22 19:53:36 +00:00
dfr
46dc7c8aa3 Don't activate the ssc console unless we are running in SKI. 2001-09-22 19:52:02 +00:00
dfr
510b2f8636 Add implementations of readx() and writex(). 2001-09-22 19:51:18 +00:00
dfr
081194dc6f Add declaration of ia64_running_in_simulator(). 2001-09-22 19:50:54 +00:00
dfr
4c2efef4f7 * Turn off memory descriptor debugging - its served its purpose.
* Don't get confused when memory regions don't lie on page boundaries -
  remember our page size is typically larger than the firmware's page size.
* Add a function ia64_running_in_simulator() which is intended to detect
  whether the kernel is running in SKI or on real hardware.
2001-09-22 19:50:12 +00:00
dfr
934b85d282 Remove a redundant stop. 2001-09-22 19:46:41 +00:00
dfr
05701629ee Tweak so I can use a serial console on ia64. 2001-09-22 19:44:37 +00:00
dfr
c87ffaaf40 Add EFI network support. 2001-09-22 19:12:30 +00:00
dfr
bf77b20f03 * Flesh out elf_exec and bootinfo.
* Add EFI network support.
2001-09-22 19:10:56 +00:00
jedgar
2c9c6cb26f Update NFS_ROOT comments to reflect the NFSCLIENT option
instead of the depricated NFS option.

Reviewed by:	peter
2001-09-22 19:02:18 +00:00
obrien
a2ccfc7be5 Add the 'h' flag to operate on symlinks rather than what they point to. 2001-09-22 18:45:03 +00:00
dfr
c167877c16 Add getsecs() for the libstand network code. 2001-09-22 18:33:09 +00:00
dfr
fb20752c1a Add a twiddle meter when reading from files. Gives me something to look
at when a kernel is loading from a floppy.
2001-09-22 18:31:02 +00:00
dfr
69d68ac34b Fix a whole bunch of dependancy bugs and make it actually work when the
size is not a multiple of eight.
2001-09-22 18:27:01 +00:00
dfr
8a0f924b15 Fix byte swapping - it was totally broken. 2001-09-22 18:22:53 +00:00
murray
0e9a3ecd09 Add a function to free all of sysinstall's internal variables from the
environment.  This fixes an annoying bug where hitting Ctrl-C and
telling sysinstall to 'restart' will do no such thing since many of
the options are still set and so you won't be prompted for them
again.

MFC after:	1 week
2001-09-22 18:10:56 +00:00
murray
c71a3e927a Use the isDebug() function rather than making up a new environment
variable to check for debug functionality.  Previously, you had to set
both 'debug' and 'SYSINSTALL_DEBUG' to get a log of sysinstall's
activities.  Now, only 'debug' is necessary.
2001-09-22 18:07:47 +00:00