Commit Graph

374 Commits

Author SHA1 Message Date
Andre Oppermann
cd109b0d82 Shave 40 unused bytes from struct tcpcb. 2004-10-22 19:55:04 +00:00
Poul-Henning Kamp
7b60658347 Add an entry about some tty devices being renamed. 2004-10-18 21:24:21 +00:00
David E. O'Brien
57e8fce71c Remove the suggestion to use libmap.conf to deal with the version bump.
People have a tendency to add things to libmap.conf and forget about them
(as we've seen in the mailing lists before).
The compat4x port should be used instead.
2004-10-17 14:59:18 +00:00
Mike Makonnen
00bd8f10be Add additional information on how to cope with the change. 2004-10-10 16:12:09 +00:00
Mike Makonnen
028a5b9259 2004-10-07 14:06:23 +00:00
Mike Makonnen
cf0684ae6f Note libthr ABI breakage. 2004-10-07 05:45:39 +00:00
Doug Barton
cfeb1f524d Make it more clear that if named is enabled, it will be chrooted by default.
Change to syslogd restart as suggested by des.
2004-10-04 20:11:34 +00:00
Dag-Erling Smørgrav
893279a956 Document how to set up libmap.conf to deal with the library version bump. 2004-10-03 10:08:12 +00:00
Ken Smith
85a8b887df Bump the library version numbers for the following libraries:
/lib/{libm,libreadline}
	/usr/lib/{libhistory,libopie,libpcap}

in preparation for doing the same thing to RELENG_5.  HUGE amounts of
help for determining what to bump provided by kris.

Discussed on:	freebsd-current
Approved by:	re (not required for commit but something like this should be)
2004-10-01 15:38:07 +00:00
Max Laier
d6a8d58875 Add an additional struct inpcb * argument to pfil(9) in order to enable
passing along socket information. This is required to work around a LOR with
the socket code which results in an easy reproducible hard lockup with
debug.mpsafenet=1. This commit does *not* fix the LOR, but enables us to do
so later. The missing piece is to turn the filter locking into a leaf lock
and will follow in a seperate (later) commit.

This will hopefully be MT5'ed in order to fix the problem for RELENG_5 in
forseeable future.

Suggested by:		rwatson
A lot of work by:	csjp (he'd be even more helpful w/o mentor-reviews ;)
Reviewed by:		rwatson, csjp
Tested by:		-pf, -ipfw, LINT, csjp and myself
MFC after:		3 days

LOR IDs:		14 - 17 (not fixed yet)
2004-09-29 04:54:33 +00:00
Doug Barton
d6ec7d8c05 Amend the named chroot update instructions by adding a stop and start
of syslogd. The rc.d/syslogd script has the logic already to create
a socket in the chroot dir, it just needs to be restarted.

Reminded by:	matusita
2004-09-28 13:44:41 +00:00
Doug Barton
8f1bb3891d Create a named chroot directory structure in /var/named, and use it
by default when named is enabled. Also, improve our default directory
layout by creating /var/named/etc/namedb/{master|slave} directories,
and use the former for the generated localhost* files.

Rather than using pax to copy device entries, mount devfs in the
chroot directory.

There may be some corner cases where things need to be adjusted,
but overall this structure has been well tested on a production
network, and should serve the needs of the vast majority of users.

UPDATING has instructions on how to do the conversion for those
with existing configurations.
2004-09-28 09:46:00 +00:00
Doug Barton
f50b1bdb22 Update the BIND 9 entry with information about files that
have moved, or should be removed.
2004-09-26 07:50:23 +00:00
Doug Barton
5d36721a4b Add an entry to tell the world about BIND 9. 2004-09-25 03:41:38 +00:00
Andre Oppermann
b9268aabb7 Backout the last entry. It went to the wrong branch. 2004-09-22 20:42:30 +00:00
Andre Oppermann
f44831e61c MFC: Make PFIL_HOOKS a permanent part of the kernel and remove the associated
kernel compile option.

Approved by:	re (scottl)
2004-09-22 19:23:39 +00:00
Sean Chittenden
6e03664cc4 Bring back etc/rc.d/ntpdate as requested by scads of people. This isn't a
complete backout as the ntpd_sync_on_start etc/rc.conf tunable is still
present, though the default is now NO (was YES).  Since we're no longer
syncing time at startup by default when ntpd is enabled (as was the case
24hrs ago), remove UPDATING entry pointing out that ntpd(1) -g is slower
than ntpdate(1).

Hopefully ntpd_sync_on_start="YES" can be made the default for -CURRENT
after 5.3 is cut.  At the very least, this should be set to YES when a
user requests to have ntpd enabled via sysinstall(1).

Requested by:	many
2004-09-15 01:08:33 +00:00
Sean Chittenden
0050f9ec3c Stop using ntpdate(1) in our startup proceedure. Replace ntpdate(1) with
calls to ntpd -g.  ntpd is noticably slower than ntpdate, but is also more
accurate.  This removes the nasty hackery in rc.d/ntpdate that would parse
out ntp servers from /etc/ntp.conf (ntpd knows how to read its own config
file).  By default, ntpd *will* sync with its listed time servers.  To
turn this off so that ntpd does not sync, ntpd_sync_on_start="NO" can be
added to /etc/rc.conf.  If ntpd is not enabled (the default), then time is
not synced on startup.  ntpdate's use has been depreciated by the ntpd
authors for quite some time so this change shouldn't be unexpected.

Suggested by:	des
Approved by:	roberto (resident ntp guru)
2004-09-14 03:01:38 +00:00
Max Laier
f5ee5a8be1 Put in a note about the changed pflogd format (for 64 bit archs). 2004-09-14 02:39:55 +00:00
John-Mark Gurney
d698cdb301 document the recent change to debug.witness.*
fix spelling of debug.witness.kdb

MFC after:	5 days
2004-09-06 23:37:17 +00:00
Warner Losh
e5dc5f61fb Expand the 4.x -> current updating section. Update to show how to use
make kernel.  Update the compatibility slice section.  Note about
updating devices in the kernel config file.  MAKEOBJDIRPREFIX changes
and mention the port alternative to COMPAT4X=yes.  Fix copyright.

This should be MFC'd.
2004-09-04 21:03:10 +00:00
Brooks Davis
4ff62bd97b Back out ifi_epoch. The ABI breakage is too disruptive this close to
5-STABLE. ifi_epoch will shortly be reintroduced with less precistion
using the space currently allocated to ifi_unused.
2004-09-02 05:07:29 +00:00
Brooks Davis
3789fb755d Add warnings about ifconfig incompatabilities caused by the addition of
ifi_epoch.
2004-09-01 15:14:13 +00:00
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