Commit Graph

401 Commits

Author SHA1 Message Date
Brooks Davis
1fc4519b1d Add a new variable, ifi_epoch, to struct if_data. It is set to the last
time the interface counters were zeroed, currently the time if_attach()
was called.  It is indentended to be a valid value for RFC2233's
ifCounterDiscontinuityTime and to make it easier for applications to
verify that the interface they find at a given index is the one that was
there last time they looked.

An if_epoch "compatability" macro has not been created as ifi_epoch has
never been a member of struct ifnet.

Approved by:	andre, bms, wollman
2004-08-30 06:29:26 +00:00
Robert Watson
c1c94d5cdc Add an updating entry for the recent change in network stack locking
default for debug.mpsafenet, pointing at the recent announcement and
things to try if instability is experienced.
2004-08-28 17:08:30 +00:00
Andre Oppermann
c21fd23260 Always compile PFIL_HOOKS into the kernel and remove the associated kernel
compile option.  All FreeBSD packet filters now use the PFIL_HOOKS API and
thus it becomes a standard part of the network stack.

If no hooks are connected the entire packet filter hooks section and related
activities are jumped over.  This removes any performance impact if no hooks
are active.

Both OpenBSD and DragonFlyBSD have integrated PFIL_HOOKS permanently as well.
2004-08-27 15:16:24 +00:00
Warner Losh
6586253a61 Recommend using make kernel for current -> current upgrades. No reason
to have multiple commands for that.
Use relative paths into the src tree consistantly in the instructions.
Fix minor nits that have crept into things.

# is preseedrandom still necessary?
2004-08-25 19:39:13 +00:00
Warner Losh
cd5f061c20 Add a blanket note about 5.x being the same as 6.0 and vice versa for
the time being.  Also add a note that says we are going to remove the
band-aides for 4.early -> 6.0 after 5.3-RELEASE so people get used to
the idea, even though it has been planned since before 5.0 was
released.
2004-08-23 18:51:36 +00:00
Warner Losh
f692e7ec00 Two items:
o we're 6.x now, so say so in the first few lines of the file.
	o note that I'll be trimming this file around 5.3 release time.
2004-08-23 18:47:13 +00:00
David E. O'Brien
d0e54ab4ce Hit people over the head so they realize run-time errors of the form
/libexec/ld-elf.so.1: Undefined symbol "_ZNSs20_S_empty_rep_storageE"
does mean they are hitting the GCC 3.4 ABI change issue.
2004-08-21 19:44:43 +00:00
Julian Elischer
f036d4081d Align netgraph message fields ready for 64-bit (and 128 bit :-) machines.
requires a recompile of netgraph users.
Also change the size of a field in the bluetooth code
that was waiting for the next change that needed recompiles so
it could piggyback its way in.

Submitted by:	jdp, maksim
MFC after:	2 days
2004-08-20 01:24:23 +00:00
Andre Oppermann
0ce70eb477 Fix spelling error in my last blurb.
Pointed out by:	ru
2004-08-19 19:45:28 +00:00
Andre Oppermann
b067abfa8b Put in a note about the ipfw to pfil_hooks conversion and the requirement
of having said in the kernel to be able to use ipfw.
2004-08-19 18:54:54 +00:00
David Malone
f13a7951e1 Add a note about RANDOM_IP_ID. 2004-08-14 16:16:01 +00:00
Ruslan Ermilov
6698695241 Proofreading the 4.x -> 5.x upgrade procedure. 2004-08-13 13:14:05 +00:00
Ruslan Ermilov
ac41c81412 Spell check the 20040806 entry. 2004-08-12 06:25:05 +00:00
John-Mark Gurney
4f34d8d132 add comment about needing to upgrade loader.rc on i386 systems that have
problems loading modules...

Solution by:	ru
2004-08-12 00:00:15 +00:00
Max Laier
3a004637a9 Add another UPDATING entry about recompiling modules implementing network
interfaces due to a change in the size of struct ifnet.
2004-08-07 09:41:30 +00:00
Warner Losh
6e1afae3e8 Since we upgraded compilers, and the kernel build to match, we can't build
new kernels on older userlands.  Document this fact in the entry that talked
about the system upgrade.
2004-08-07 04:17:03 +00:00
Mark Murray
8f075db49a Update for the null.ko removal. 2004-08-03 19:29:48 +00:00
Mark Murray
d064d6db4b Announce the memory device module update. 2004-08-01 11:46:00 +00:00
Alexander Kabaev
b289983ea4 Get the current year number straight and remove one instance of trailing
whitespace.

Time travel spoiled by:	ru
2004-07-29 17:51:32 +00:00
Warner Losh
2c724730d4 Document /usr/ports/UPDATING and have a brief pointer re x11 2004-07-29 15:06:19 +00:00
Alexander Kabaev
54bd52716a Add a note about recent GCC import. 2004-07-29 14:49:57 +00:00
Oliver Eikemeier
e193a85e5b back out the localkg changes until things have settled.
Discussed with:	mtm
2004-07-28 00:09:19 +00:00
Robert Watson
36ed21e6db Add an UPDATING entry about recompiling modules implementing network
interfaces due to a change in the size of struct ifnet.
2004-07-27 23:32:06 +00:00
Mike Makonnen
ed67f8418f Typo.
Submitted By: demon
2004-07-25 14:13:45 +00:00
Mike Makonnen
15eb1e8b45 Ports related rc.d cleanups:
o Separate out local (ports) scripts that use rc.d, and the old style
  startup/shutdown scripts and execute them separately. On startup the
  rc.d style scripts are executed first and then the old-style scripts.
  On shutdown, exactly the reverse happens.
o The rc.d ports scripts should now behave more like base system scripts.
  Scripts ending in .sh will be sourced into the current shell, while the
  rest will be executed in a subshell. Previously, all ports scripts,
  regardless of the .sh suffix, were executed in a subshell.
o The parent script, /etc/rc.d/localpkg, passes its command line arguments
  straight to the rc.d ports scripts. This means they should now honor
  faststop and faststart commands as well. Old style scripts, should not see
  any differences. They will still get either a start or stop command.
o The initial phrase shown during shutdown has been changed to use
  "local packages" instead of "daemon processes" to be more inline with the
  phrase used during local package startup. The phrases are also used only for
  old-style ports script startup/shutdown, whereas previously they were being
  used for both rc.d and old-style scripts. This should make startup/shutdown
  output a bit less ugly.

Discussed with:	portmgr
Has Reservations: eik
2004-07-24 14:56:21 +00:00
Jens Schweikhardt
5bd7ce0a1e English fixes, no content change. 2004-07-24 11:54:30 +00:00
Seigo Tanimura
6305ac241b Add the change of the sound drivers. 2004-07-16 04:04:29 +00:00
Simon L. B. Nielsen
0b79e80e69 Fix typo in 20040702 entry.
Noticed by:	Andre Guibert de Bruet <andy@siliconlandmark.com>
2004-07-11 13:26:44 +00:00
Marcel Moolenaar
e623dcb701 Add 3 new entries:
o  __FreeBSD_version bumped to 502122
o  Alpha console initialization requires the same sio(4) hints as on
   other platforms. Options NO_SIO and DEV_SC removed.
o  KDB framework: Added KDB and GDB; Renamed WITNESS_DDB, DDB_TRACE
   DDB_UNATTENDED. Removed GDB_REMOTE_CHAT and DDB_NOKLDSYM.
2004-07-11 04:38:39 +00:00
Maksim Yevmenkin
6421d1dbcb Bump __FreeBSD_version
Reviewed by:	kris, ru
2004-07-09 16:57:24 +00:00
Warner Losh
58af32166f Add note about ULE breakage at the moment.
Submitted by: Xin LI
2004-07-05 18:11:59 +00:00
Bruce M Simpson
a6c26e1ca8 Wordsmith and spell-correct last commit 2004-06-30 23:13:16 +00:00
Julian Elischer
8ed370fd90 Remove the home-grown metadata facility in favour of the now generic
mbuf tags facility. Netgraph modules will all need a recompile.

Submitted by:	Gleb Smirnoff <glebius@cell.sick.ru>
2004-06-30 22:51:29 +00:00
Nate Lawson
c2dba66886 Note the ACPI blacklist changes.
Prodded by:	imp
2004-06-30 19:52:40 +00:00
Brian Feldman
802fc49d8a Make some bugfixes and improve some text in the description of how to
update from 4.x to 5.x.

Submitted by:	Frerich Raabe <raabe@kde.org>
2004-06-26 21:58:56 +00:00
Max Laier
8ee2ac9ef3 Add "privsep" user/group _pflogd:_pflogd (64:64) to make pflogd(8) work
again. This user/group is not required for install* targets, hence do not
add them to CHECK_UIDS/CHECK_GIDS in Makefile.inc1 (no need to annoy
people).

Discussed-on:	-current
2004-06-23 01:32:28 +00:00
Brooks Davis
bf670bc362 Fix whitespace errors in previous commit.
Reported by:	simon
2004-06-22 21:07:54 +00:00
Brooks Davis
3db5687d2e Add entry for network interface cloning changes. 2004-06-22 20:28:03 +00:00
Dag-Erling Smørgrav
472d95ddf7 Whitespace cleanup. 2004-06-22 10:33:58 +00:00
Dag-Erling Smørgrav
e0ae81f32a Correct an error carried over from the nsswitch.conf(5) manual page; add
a note to UPDATING since users may have to manually remove an incorrect
nsswitch.conf.

Noticed by:	simon
2004-06-21 19:38:58 +00:00
John Polstra
4717d22a7c Change the return value of sema_timedwait() so it returns 0 on
success and a proper errno value on failure.  This makes it
consistent with cv_timedwait(), and paves the way for the
introduction of functions such as sema_timedwait_sig() which can
fail in multiple ways.

Bump __FreeBSD_version and add a note to UPDATING.

Approved by:	scottl (ips driver), arch
2004-06-14 18:19:05 +00:00
Max Laier
df843493ad Suggest a full build-/installworld instead of just installincludes.
Requested-by:	ru
2004-06-13 18:39:20 +00:00
Max Laier
6cb7a3820f Bump __FreeBSD_version for ALTQ. Also put some notes in UPDATING regarding
the ABI break.
2004-06-13 17:31:16 +00:00
Julian Elischer
2454685e4d Note the need to rerun config. 2004-06-07 21:37:40 +00:00
Seigo Tanimura
64fef830bd Note the removal of the midi drivers.
Pointed out by:	scottl
Shame on:	myself
2004-06-04 15:24:12 +00:00
Andre Oppermann
bb4f06e701 Recompile of ipfw(8) is required because of new ipfw option (versrcreach). 2004-04-23 14:33:30 +00:00
Colin Percival
05641e82d7 1. Remove callout_stop binary compatibility.
2. Document that this means that kernel modules must be rebuilt.
3. While I'm here, fix my sorting error in callout.h

Requested by:	many [1], scottl [2], bde [3]
2004-04-20 15:49:31 +00:00
Brooks Davis
76c3e0f765 I added preseedrandom yesterday, not last month.
Reported by:	Dmitry Morozovsky <marck at rinet.ru>
2004-04-16 18:36:52 +00:00
Brooks Davis
8633bbeaac Document changes in /dev/random initalization. Suggest running
/etc/rc.d/preseedrandom to seed the PRNG in the upgrade instructions.
2004-04-16 17:13:10 +00:00
Warner Losh
d0dc918334 Add notes about the pci stuff that's currently working its way through
current.
2004-04-14 17:54:18 +00:00
Ken Smith
0fbd2da9c2 Fix kernel build instructions to be correct for 5.X.
PR:		docs/65397
Submitted by:	Russell Francis <rf358197 (at) ohio.edu>
2004-04-11 03:30:09 +00:00
Robert Watson
d40d033ac0 Commit a message to UPDATING indicating that during network stack locking
merges, debug.mpsafenet will no longer be safe to use, and that it should
be turned off (which is the default).  I will commit a follow-up message
to UPDATING (and post to freebsd-current) when it's safe to turn it on,
with a description of under what circumstances it is safe to use.
2004-03-22 16:37:32 +00:00
David E. O'Brien
4c86458b9a Mention the user account for 'pf' is "proxy". 2004-03-18 00:50:40 +00:00
Garance A Drosehn
ec9b318eaf Change time_t from a 32-bit value to a 64-bit value, on FreeBSD/sparc64
only.  This is a  MAJOR  incompatible change for the sparc64 platform,
but will not effect FreeBSD on other architectures.

Reviewed by:	imp for UPDATING, freebsd-sparc for the change itself.
2004-03-10 17:39:05 +00:00
Max Laier
fc28f1ff5f Bump __FreeBSD_version for the pf install and write comments to UPDATING.
Approved by:	bms(mentor)
2004-03-08 22:26:46 +00:00
Dag-Erling Smørgrav
3aff5d0603 Add a note explaining how to use libmap.conf to work around problems
with the libc_r -> libpthread transition.
2004-03-03 09:17:06 +00:00
Brian Feldman
e07a40f32d Mention getaddrinfo(3)/resolver(3) ABI change.
Reminded by:	bmah
2004-02-26 16:44:31 +00:00
Dag-Erling Smørgrav
9d7f8c80e2 It's protocol version 1 I've disabled, not version 2. 2004-02-26 15:54:44 +00:00
Dag-Erling Smørgrav
fd63c5b3a2 Mention the recent sshd configuration changes. 2004-02-26 12:00:41 +00:00
Bruce M Simpson
714ae42a86 Add a note about the routed update breaking compatibility (for MD5
authentication only) with older versions of FreeBSD's routed.
2004-02-25 23:56:30 +00:00
Andre Oppermann
fbd2e692fa Note change of sizeof(struct tcpcb) and libkvm recompile. 2004-02-24 16:12:09 +00:00
Warner Losh
158b90da67 Add a note about cdevsw changes. 2004-02-22 19:02:38 +00:00
Warner Losh
7411109704 Update instructions on /rescue vs -j to indicate a fixed date. 2004-02-20 22:38:21 +00:00
Warner Losh
ff46e0decf Add a belated entry for the CPU_ENABLE_LONGRUN issue. 2004-02-20 15:25:55 +00:00
Mike Makonnen
b7b1e150b0 Add an entry about the removal of etc/rc.d/ttys. 2004-02-07 07:25:47 +00:00
Daniel Eischen
aca89ee602 Add a note about the libkse -> libpthread switch.
Reviewed by:	imp
2004-01-30 12:24:21 +00:00
Alex Dupre
68b7b3a961 Add a note to say that ULE is now the default scheduler in GENERIC.
PR:		docs/61870
Submitted by:	Xin LI <delphij@frontfree.net>
Approved by:	imp
2004-01-26 09:57:04 +00:00
John Baldwin
c124fa0567 Add a note to say that the ACPI module has been turned back on now.
Requested by:	Joel Ray Holveck <joelh@piquan.org>
2003-12-15 19:19:16 +00:00
Robert Watson
ce41f4bf59 Comment on initgroups.c:1.8: it can prevent users from logging in if
a user has over 16 groups defined.

Reported by:	"Klaus-J. Wolf" <yanestra@web.de>
2003-12-14 00:42:00 +00:00
John Baldwin
c53a5d8fb8 Add a note about MPTABLE_FORCE_HTT.
Prompted by:	John Stockdale <jstockdale@stanford.edu>
2003-12-10 15:59:20 +00:00
Robert Watson
97209ca3bf Clarify UPDATING language: do buildworld before buildkernel, and
do installkernel before installworld, rather than don't make world
before installkernel.

Pointed out by:	gad
2003-11-17 23:25:16 +00:00
Marcel Moolenaar
3f631d528c Add the most vital piece of information WRT upgrading past the
statfs changes: you must have COMPAT_FREEBSD4 in your kernel
config file. Everything else is documented procedure and will
not save your ass if you don't have the option.
2003-11-14 22:11:44 +00:00
Kirk McKusick
cc512faeb8 Note to update cfsd (ports/security/cfs) after installing the
statfs changes.

Submitted by:   Marco Wertejuk <wertejuk@mwcis.com>
2003-11-14 08:07:13 +00:00
Warner Losh
30093b05a0 Warn that you won't be able to build a kernel if you do an installworld 2003-11-13 00:10:43 +00:00
Kirk McKusick
64a18d6f20 Add an entry about the changes in the statfs structure that require
kernel and user land applications doing statfs to be in sync.

Requested by:	Johan Karlsson <johan@FreeBSD.org>
2003-11-12 19:13:02 +00:00
Hartmut Brandt
8ad1f5e470 Add an entry about the changes in netgraph that require kernel and
user land netgraph stuff to be in sync.

Reviewed by:	imp
2003-11-12 09:11:18 +00:00
Ceri Davies
2a2cfa95ff Correct a typo; two permutations of ACPI are plenty already. 2003-11-04 19:42:55 +00:00
John Baldwin
8bf455a577 Add an entry dealing with the change from 'options APIC_IO' to
'device acpi' as well as the temporary disablement of the ACPI kernel
module.
2003-11-03 23:02:17 +00:00
Brooks Davis
b5004ff560 Use tabs not spaces.
Pointed out by:	Xin LI <delphij at frontfree dot net>
2003-10-31 21:58:15 +00:00
Brooks Davis
9bf40ede4a Replace the if_name and if_unit members of struct ifnet with new members
if_xname, if_dname, and if_dunit. if_xname is the name of the interface
and if_dname/unit are the driver name and instance.

This change paves the way for interface renaming and enhanced pseudo
device creation and configuration symantics.

Approved By:	re (in principle)
Reviewed By:	njl, imp
Tested On:	i386, amd64, sparc64
Obtained From:	NetBSD (if_xname)
2003-10-31 18:32:15 +00:00
Poul-Henning Kamp
f59d5f7a9b s/5.0-CURRENT/FreeBSD 5.x/ 2003-10-19 10:24:59 +00:00
Ruslan Ermilov
282e0f015b Fixed the "To build a kernel" section to mention -DALWAYS_CHECK_MAKE
as the new sys/conf/kmod.mk depends on a make(1) bugfix now.

Reported by:	current
2003-10-03 18:29:06 +00:00
Poul-Henning Kamp
47a42c7aed Note change to cdevsw open/close default change. 2003-09-28 16:25:35 +00:00
Max Khon
0710534208 Add a note about kiconv(3). 2003-09-27 14:12:39 +00:00
Sam Leffler
17dcd0265b note PFIL_HOOKS must be explicitly configured when using IPFILTER 2003-09-25 16:12:12 +00:00
Bruce M Simpson
fedf1d01a2 Fix a bug in arplookup(), whereby a hostile party on a locally
attached network could exhaust kernel memory, and cause a system
panic, by sending a flood of spoofed ARP requests.

Approved by:	jake (mentor)
Reported by:	Apple Product Security <product-security@apple.com>
2003-09-23 16:39:31 +00:00
Jacques Vidrine
db38f9cb0e Note the addition of `-C 60' to inetd_flags in etc/defaults/rc.conf. 2003-09-15 17:20:05 +00:00
Mike Makonnen
c09d2c2bc2 Remove deprecated files no longer neccesary as part of rc.d. Include
a note in UPDATING about removing them from current installations.
2003-08-29 13:25:08 +00:00
Søren Schmidt
f240812bbd Fix the former commit as cvs screwed it up somehow 2003-08-24 16:46:03 +00:00
Søren Schmidt
17c159dce6 Add comment about ATAng. 2003-08-24 16:14:52 +00:00
David E. O'Brien
a19f8dda70 Fix accidental line deletion. 2003-08-20 15:42:05 +00:00
David E. O'Brien
c1f61aa934 Document the OFW_NEWPCI commit to sparc64 generic. 2003-08-20 01:52:30 +00:00
Nate Lawson
38c962e7c4 Note da(4) quirks being deprecated and the procedure for re-enabling them. 2003-07-29 04:40:33 +00:00
Warner Losh
178cf4e9e8 note rescue issues and fpu emulation removal 2003-07-22 11:08:41 +00:00
Ceri Davies
8b71efcac9 Correct a spelling error. 2003-07-12 01:16:54 +00:00
Warner Losh
05538fa918 Delete the panic part of 20030711, it has been fixed 2003-07-11 23:40:16 +00:00
Warner Losh
157c629a07 gcc3.3: add dire warnings. 2003-07-11 22:44:59 +00:00
Marcel Moolenaar
6cc6353f93 Add a retrospective entry about how having installed a broken sed(1)
can cause build failures.

Triggered by: too many questions on the -current
2003-06-13 20:05:46 +00:00
Poul-Henning Kamp
7ddc2528b7 Fix date, appearantly everybody else got done with May before I did. 2003-06-11 06:37:55 +00:00
Andrey A. Chernov
766c34e467 Add entry for removing deprecated locale names
Approved by:    imp
2003-06-10 08:26:38 +00:00