Commit Graph

62851 Commits

Author SHA1 Message Date
brooks
f18b525a33 Make ancontrol WARNS=2 clean. 2001-07-27 18:26:42 +00:00
bmah
d9883d4907 Move route(8) entries out of Contributed Software section; they were
hanging out with a routed(8) entry.

Submitted by:	dd
2001-07-27 17:20:33 +00:00
peter
10344c5cb8 Take -Wconversion out of BDECFLAGS. It is not particularly useful for
us anyway because it doesn't work right on the x86 and alpha.  On
K&R code, small ints would be promoted to int.  ANSI-C doesn't require
this and the small ints can be passed taking 8 or 16 bits of stack
space.  However, the x86 abi that we use *does* promote to 32 bit,
and the alpha ABI passes them in 64 bit registers so we dont have
that aspect of the problem here.  Losing float precision by having it
cast down to int because the funtion prototype specifies int is the
least of our problems.  -Wmissing-prototypes helps here anyway.
2001-07-27 16:23:53 +00:00
imp
e194c27909 Introduce two new tunables from the boot loader.
hw.pcic.irq		Globally set the IRQ for all pcic devices' management
			interrupt (aka card status change or CSC interrupt)
			This is what used to be known as
			machdep.pccard.pcic_irq (which has been retained for
			now for compatibility).
hw.pcic.ignore_fuction_1 Ignores function 1 for all PCIC bridges by not
			attaching to them.  Lucent released a huge batch
			of cards that were imporperly manufactuered (lacking
			the 0 ohm resister to disable slot 1).  This is
			a big hammer to keep those cards from causing problems
			(I've had 4 people contact me saying my patches
			worked great once they added a kludge to always ignore
			function 1, or until they soldered these resistors
			in place!).

No clue where to document these.  They act as both boot loader environment
variables, as well as read-only sysctls after boot.

At the same time, sort sys/systm.h in its proper order after sys/sysctl.h.
2001-07-27 16:07:02 +00:00
brooks
3d0e7142c0 Cleanup duplication in Aironet headers
PR:		kern/29210
Submitted by:	Doug Ambrisko <ambrisko@ambrisko.com>
MFC after:	3 days
2001-07-27 16:05:21 +00:00
peter
28d010ac10 Revert previous accidental commit. FWIW, it was part of enabling
VM caching of disks through mmap() and stopping syncing of open files
that had their last reference in the fs removed (ie: their unsync'ed
pages get discarded on close already, so I made it stop syncing too).
2001-07-27 15:57:17 +00:00
peter
e9ec5caf45 Fix cut/paste blunder. Serves me right for doing a last minute tweak
to what I had for some time.

Submitted by:	bde
2001-07-27 15:52:49 +00:00
dd
df03005ff8 Be consistent about how we quote commands that could be entered by the
user.
2001-07-27 12:25:55 +00:00
msmith
90047bd687 The ACPI timer register corruption problem is resolved in the PIIX4
starting with the PIIX4M.  Restrict enabling the workaround to those
chips known to be buggy.
2001-07-27 09:01:13 +00:00
imp
90a9cc4376 Minor nits merged from my stable tree:
o kill blank line that I introduced in cardinfo.h
o Delete unused variable wasinactive.
o return 0 from pccard_resume.
o Set the state and lastsate initially to be empty.
o move comment above code for interrupt dispatching.
o Powerstate interface is now available as of 430002, not 500000 (note that
  this change will be not 100% correct since the power state stuff didn't
  enter current until well after 500000, but it is good enough for the two
  branche we have going now).
2001-07-27 07:47:35 +00:00
imp
e67f4680d4 Additional clarification. 2001-07-27 07:32:59 +00:00
imp
c0235304c1 Attempt to fix and document interactions between suspend/resume and pccardc
power x 0.

pccardc power x 0 used to disable the slot.  But a suspend/resume
would reactivate the pccard.  It no longer does that.  Now the
disabling of the slot is sticy until it is reset with power x 1 or the
card is ejected.  This seems closer to correct behavior to me.

o Process all card state changes the same using pccard_do_stat_change().
o Cleanup disabling the card so that we can preserve the state after
  the change.  Basically, don't set it to empty as often as we do.
o On suspend, the new state is "empty" and the laststate is "suspend"
o Document state machine with a diagram of states and edges.  The
  edges are labeld to tell the reader what event causes the external
  state changes.
o "machdep.pccard.pcic_resume_reset" may be obsolete now.  We always
  call the bridge driver's resume method on resume now.  Otherwise cards
  won't automatically show up.  If it needs to stay, I'll add it back.
2001-07-27 07:21:42 +00:00
imp
48197066c8 Give hopefully better diagnostics about the card types we reject. 2001-07-27 07:14:12 +00:00
imp
5267dfb65d Improve wording for pccard memory assignement.
Document intended correct behavior for pccardc power and how it interacts
with suspend/resume.
2001-07-27 06:32:20 +00:00
brooks
b176e0be9a Remove -traditional from CFLAGS and add unistd.h to header.h so this
actually compiles.  Hopefully, this code didn't rely on some weird
side effect of -traditional.
2001-07-27 04:40:04 +00:00
chris
8786f11220 Add a short man page describing the vfs_unmountall() function.
MFC after:	1 week
2001-07-27 03:54:59 +00:00
chris
b273307a7d Add cross-references for the new kldsym(2) man page. 2001-07-27 03:03:36 +00:00
chris
fc15322434 Add a new kldsym(2) man page. 2001-07-27 02:56:16 +00:00
peter
062b32ffac Make PMAP_SHPGPERPROC tunable. One shouldn't need to recompile a kernel
for this, since it is easy to run into with large systems with lots of
shared mmap space.

Obtained from:	yahoo
2001-07-27 01:08:59 +00:00
peter
c416bfb07f The kernel *does* now define setjmp/longjmp. Dont duplicate it here.
In file included from ../../../dev/vinum/vinumhdr.h:77,
                 from ../../../dev/vinum/vinum.c:44:
../../../dev/vinum/vinumext.h:165: warning: redundant redeclaration of `setjmp' in same scope
../../../sys/systm.h:96: warning: previous declaration of `setjmp'
../../../dev/vinum/vinummemory.c:44: warning: redundant redeclaration of `longjmp' in same scope
../../../sys/systm.h:97: warning: previous declaration of `longjmp'
2001-07-27 00:44:36 +00:00
peter
5e8ddf50ad Fix a warning. 2001-07-27 00:04:39 +00:00
peter
acff3d1761 Patch up some style(9) stuff in tcp_new_isn() 2001-07-27 00:03:49 +00:00
peter
b6e9c3e4ee s/OpemBSD/OpenBSD/ 2001-07-27 00:01:48 +00:00
peter
d570df389e MASK_FPU_SW didn't do what it was expected to do. 2001-07-26 23:47:04 +00:00
mike
bf2f1c82b6 Prevent chpass(1) from writing -1 in the UID or GID fields
in the password file by properly casting integers.

PR:		27757
Reviewed by:	des
Approved by:	des
MFC after:	4 days
2001-07-26 23:27:10 +00:00
imp
bd4b35746a Check the state of the slot when we resume. Set it to empty if we no
longer have a pccard in the slot.  This fixes the problem where pccard
would say that a card had been inserted on resume.  This also appears
to make the insert/remove events more reliable after a resume as well,
but that may be a different bug I need to hunt down.
2001-07-26 23:23:36 +00:00
peter
8c1cdaf28e Use the tunable maxusers rather than the compile-time one. Evaluate and
initialize in the right order to make derivative settings work right.
eg: at compile time, nmbufs was double nmbclusters.  For POLA this should
work the same at runtime.
2001-07-26 23:08:31 +00:00
peter
4c2286cd00 Call the early tunable setup functions as soon as kern_envp is available.
Some things depend on hz being set not long after this.
2001-07-26 23:06:44 +00:00
peter
e8d9a930da Move MAXUSERS out of opt_param.h to make sure that other code doesn't
use it rather than the tunable version.
2001-07-26 23:05:35 +00:00
peter
2785e9a5b2 param.c no longer gets special treatment. Use the source tree version. 2001-07-26 23:04:46 +00:00
peter
c65bd41e16 Move param.c out of the conf directory and make it fully dynamic.
Tunables are now derived at boot time from maxusers.  ie: change maxusers
via a tunable and all the derivative settings change.  You can change
the other tunables individually as well.  Even hz etc is tunable.
2001-07-26 23:04:03 +00:00
mjacob
91cfff278b Strongly recommend that ispfw(4)'s f/w be used with this driver if available.
MFC after:	1 week
2001-07-26 22:43:40 +00:00
fenner
bce66720b4 Use alignment-safe code on non-i386 architectures. 2001-07-26 21:54:47 +00:00
bmah
4effa6218c Finally document the net.link.ether.bridge_cfg and
net.link.ether.bridge_refresh variables.  While I'm here, try to
make some of the markup on this page more consistent with the
new (markup-reviewed) content.

PR:		22060
Reviewed by:	ru (for markup, on an earlier version of this delta)
MFC after:	2 days
2001-07-26 21:19:25 +00:00
kris
54ddfdb3da Only match the first osreldate date range for constructing the FTP URL,
not all of them.

Noticed by:	obrien
2001-07-26 20:25:50 +00:00
tmm
5b4ea01354 Make sure the total number of sectors is not 0 for a vnode-type md to
avoid a division by zero which would occur on open() in this case.

Reviewed by:	phk
2001-07-26 20:05:20 +00:00
brian
47588081e0 When -n is specified, don't attempt to turn hostnames found in utmp
into addresses as we have no idea what address family they belong to.

When -n is not specified, resolve IPv6 as well as IPv4 addresses found
in the host field of utmp.  Use realhostname_sa() to resolve addresses
(the old code was wrong).

Rename ``x'' to ``x_suffix'' to avoid confusion.

Hard code the host column width to 16 (against the imminent increase
of UT_HOSTSIZE in utmp.h).
2001-07-26 19:20:13 +00:00
ume
dff6acc70d move ipsec security policy allocation into in_pcballoc, before
making pcbs available to the outside world.  otherwise, we will see
inpcb without ipsec security policy attached (-> panic() in ipsec.c).

Obtained from:	KAME
MFC after:	3 days
2001-07-26 19:19:49 +00:00
itojun
34b2c393fd incorrect bounds-check on snprintf.
Submitted by:	fenner
2001-07-26 19:14:52 +00:00
wilko
0224080132 <ctl>-<alt>-<del> are seen as sgml tags. <keycap>ctl</keycap> etc works
a lot better. Yikes!

Caught by: bmah
2001-07-26 19:02:22 +00:00
bmilekic
df57bad41c - Do not handle the per-CPU containers in mbuf code as though the cpuids
were indices in a dense array. The cpuids are a sparse set and treat
  them as such, setting up containers only for CPUs activated during
  mb_init().

- Fix netstat(1) and systat(1) to treat the per-CPU stats area as a sparse
  map, in accordance with the above.

This allows us to properly boot with certain CPUs disactivated. However, if
we later decide to re-activate said CPUs, we will barf until we decide to
implement CPU spinon/spinoff callback hooks to allow for said CPUs' per-CPU
containers to get configured on their activation.

Reported by: mjacob
Partially (sys/ diffs) Submitted by: mjacob
2001-07-26 18:47:46 +00:00
bmah
18a2e353e5 Split "Contacting the FreeBSD Project" into two sub-sections ("Email
and Mailing Lists" and "Submitting Problem Reports").  No content
changes.
2001-07-26 18:20:29 +00:00
wilko
38e718955f Document you sometimes seem to need ctl-alt-del on Noname, Multia
and ZLXp is TGA-based and not currently suitable for console use.
2001-07-26 18:18:50 +00:00
bmah
41ab6c9dc0 Cleanup of "Reporting Problems" section, which has been renamed
"Contacting the FreeBSD Project":   Mostly fixed style nits, and
performed some overlooked s/FreeBSD/&os;/ substitutions.
2001-07-26 18:16:55 +00:00
ume
ade98c4e29 ifconfig if0 netmask xxx.xxx.xxx.0 didn't change the netmask.
PR:		bin/28833
MFC after:	3 days
2001-07-26 16:44:19 +00:00
bmah
d6e1d2f342 UPGRADE.TXT doesn't exist anymore...point readers at INSTALL.TXT,
which now contains binary upgrade info.
2001-07-26 16:40:23 +00:00
bmah
d8b5086bc4 Add some navigation in the form of internal hyperlinks to get around
the different sections of the release notes.  There's probably a better
way to do this.
2001-07-26 16:31:22 +00:00
bmah
58962da3a3 Fix some style nits, and also try to include some text appropriate to
whether this release notes build is for a snapshot or a release.
2001-07-26 16:21:29 +00:00
bmah
052ba8ac65 List a forgotten SGML source file (intro.sgml) in the release notes
Makefiles.
2001-07-26 16:16:51 +00:00
sobomax
8b8eda4971 Move definition of structure used in CONS_SCRSHOT ioctl in front of definition
of ioctl itself, like we have for all other ioctl's in this file.

MFC after:	2 weeks
2001-07-26 14:24:53 +00:00