Commit Graph

741 Commits

Author SHA1 Message Date
delphij
2afed1eda5 Don't mention lib/compat, it has gone long ago. Use ports/misc/compat*
instead.
2008-10-08 01:31:00 +00:00
ed
ac456c47d5 The si(4) and ufoma(4) drivers have been ported to the new TTY layer.
Remove the entries from the UPDATING entry, to cause less confusion
among our users.
2008-09-14 19:25:57 +00:00
roberto
80c32815b9 Mention ntpd upgrade to 4.2.4p5. 2008-09-03 08:30:17 +00:00
des
cb1bd25c2f Belatedly add a notice about the reversed order of preference for OpenSSH
authentication keys.
2008-09-01 23:50:56 +00:00
ed
cc3116a938 Integrate the new MPSAFE TTY layer to the FreeBSD operating system.
The last half year I've been working on a replacement TTY layer for the
FreeBSD kernel. The new TTY layer was designed to improve the following:

- Improved driver model:

  The old TTY layer has a driver model that is not abstract enough to
  make it friendly to use. A good example is the output path, where the
  device drivers directly access the output buffers. This means that an
  in-kernel PPP implementation must always convert network buffers into
  TTY buffers.

  If a PPP implementation would be built on top of the new TTY layer
  (still needs a hooks layer, though), it would allow the PPP
  implementation to directly hand the data to the TTY driver.

- Improved hotplugging:

  With the old TTY layer, it isn't entirely safe to destroy TTY's from
  the system. This implementation has a two-step destructing design,
  where the driver first abandons the TTY. After all threads have left
  the TTY, the TTY layer calls a routine in the driver, which can be
  used to free resources (unit numbers, etc).

  The pts(4) driver also implements this feature, which means
  posix_openpt() will now return PTY's that are created on the fly.

- Improved performance:

  One of the major improvements is the per-TTY mutex, which is expected
  to improve scalability when compared to the old Giant locking.
  Another change is the unbuffered copying to userspace, which is both
  used on TTY device nodes and PTY masters.

Upgrading should be quite straightforward. Unlike previous versions,
existing kernel configuration files do not need to be changed, except
when they reference device drivers that are listed in UPDATING.

Obtained from:		//depot/projects/mpsafetty/...
Approved by:		philip (ex-mentor)
Discussed:		on the lists, at BSDCan, at the DevSummit
Sponsored by:		Snow B.V., the Netherlands
dcons(4) fixed by:	kan
2008-08-20 08:31:58 +00:00
ed
40a0c86b31 Extend the message in UPDATING on the sio(4) -> uart(4) change.
It turns out I forgot to mention that people really need to make sure
their hints are up to date if they are updating a system through the
serial console.

Requested by:	gavin
Reviewed by:	gavin
2008-08-18 10:38:16 +00:00
maxim
f4c37a9412 o Trim whitespaces. 2008-07-25 09:30:53 +00:00
maxim
9f5c3d512f o Fix grammar: see -> See. 2008-07-25 09:13:18 +00:00
ed
a8f4e95b68 Make uart(4) the default serial port driver on i386 and amd64.
The uart(4) driver has the advantage of supporting a wider variety of
hardware on a greater amount of platforms. This driver has already been
the standard on platforms such as ia64, powerpc and sparc64.

I've decided not to change anything on pc98. I'd rather let people from
the pc98 team look at this.

Approved by:	philip (mentor), marcel
2008-07-13 07:20:14 +00:00
remko
2e26d321b2 Fix some spelling errors (improper review from my
side).

Submitted by:	ed, danger
2008-07-07 13:08:30 +00:00
remko
fbc40d4948 Add missing information for geom_mirror metadata.
PR:		124434
Submitted by:	Philip M. Golluci <pgolluci at p6m7g8 dot com>
MFC after:	3 days

Prodded through:	bugbusters@
2008-07-07 11:44:57 +00:00
marcel
52b96dad84 Note removal of gpt(8). 2008-06-09 21:33:57 +00:00
rdivacky
5f81dcb4f9 Fix the date in the last commit.
Approved by:	kib (mentor)
2008-06-03 18:09:10 +00:00
rdivacky
25a34fb524 Switch to emulating Linux 2.6 on default.
Approved by:	kib (mentor)
2008-06-03 17:50:13 +00:00
bz
6bba9b4244 Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE and
parts relied on the now removed NET_NEEDS_GIANT.
Most of I4B has been disconnected from the build
since July 2007 in HEAD/RELENG_7.

This is what was removed:
- configuration in /etc/isdn
- examples
- man pages
- kernel configuration
- sys/i4b (drivers, layers, include files)
- user space tools
- i4b support from ppp
- further documentation

Discussed with: rwatson, re
2008-05-26 10:40:09 +00:00
julian
155ad1e078 Add a note about multiple routing tables support 2008-05-09 23:14:01 +00:00
imp
e7d287052b More recommendations 2008-04-29 19:55:18 +00:00
imp
2b80a4fd0c Add a breif example for the wlan change. Include an explicit pointer
to rc.conf(5) to remind people where to look for all the details.
People without network connectivity forget basics like this...  This
is in keeping with historic UPDATING entries which try to provide
basic information in the entry, and a pointer to more extensive
information documenting the new thing.
2008-04-27 04:07:36 +00:00
sam
2db8cf265b 802.11 support moves to vaps 2008-04-20 21:25:37 +00:00
jkim
e9e1875fbf - Add write(2) support for psm(4) in native operation level. Now arbitrary
commands can be written to /dev/psm%d and status can be read back from it.
- Reflect the change in psm(4) and bump version for ports.

MFC after:	1 week
2008-04-08 17:55:26 +00:00
jeff
800e362744 - Add an UPDATING entry about the removal of KSE. 2008-03-12 09:48:42 +00:00
marcel
7834123faf Make the vm_pmap field of struct vmspace the last field in the
structure. This allows per-CPU variations of struct pmap on a
single architecture without affecting the machine-independent
fields. As such, the PMAP variations don't affect the ABI. They
become part of it.
2008-03-01 22:54:42 +00:00
jfv
00ed1e7907 Detail the em/igb split so no one gets confused. 2008-02-29 22:08:49 +00:00
thompsa
60c8bc08de Rename geom_lvm(4) to geom_linux_lvm(4).
Requested by:	des, phk
2008-02-20 07:50:13 +00:00
kris
989a96d5cb Switch the default NFS mount mode from UDP to TCP. UDP mounts are a
historical relic, and are no longer appropriate for either LAN or WAN
mounting.  At modern (gigabit and 10 gigabit) LAN speeds packet loss
from socket buffer fill events is common, and sequence numbers wrap
quickly enough that data corruption is possible.  TCP solves both of
these problems without imposing significant overhead.

MFC after:     1 month
2008-02-11 23:23:21 +00:00
sam
a50bf6017b Note m_collapse addition. 2008-02-08 21:24:58 +00:00
yar
ac1e4103b9 Our fts(3) API, as inherited from 4.4BSD, suffers from integer
fields in FTS and FTSENT structs being too narrow.  In addition,
the narrow types creep from there into fts.c.  As a result, fts(3)
consumers, e.g., find(1) or rm(1), can't handle file trees an ordinary
user can create, which can have security implications.

To fix the historic implementation of fts(3), OpenBSD and NetBSD
have already changed <fts.h> in somewhat incompatible ways, so we
are free to do so, too.  This change is a superset of changes from
the other BSDs with a few more improvements.  It doesn't touch
fts(3) functionality; it just extends integer types used by it to
match modern reality and the C standard.

Here are its points:

o For C object sizes, use size_t unless it's 100% certain that
  the object will be really small.  (Note that fts(3) can construct
  pathnames _much_ longer than PATH_MAX for its consumers.)

o Avoid the short types because on modern platforms using them
  results in larger and slower code.  Change shorts to ints as
  follows:

	- For variables than count simple, limited things like states,
	  use plain vanilla `int' as it's the type of choice in C.

	- For a limited number of bit flags use `unsigned' because signed
	  bit-wise operations are implementation-defined, i.e., unportable,
	  in C.

o For things that should be at least 64 bits wide, use long long
  and not int64_t, as the latter is an optional type.  See
  FTSENT.fts_number aka FTS.fts_bignum.  Extending fts_number `to
  satisfy future needs' is pointless because there is fts_pointer,
  which can be used to link to arbitrary data from an FTSENT.
  However, there already are fts(3) consumers that require fts_number,
  or fts_bignum, have at least 64 bits in it, so we must allow for them.

o For the tree depth, use `long'.  This is a trade-off between making
  this field too wide and allowing for 64-bit inode numbers and/or
  chain-mounted filesystems.  On the one hand, `long' is almost
  enough for 32-bit filesystems on a 32-bit platform (our ino_t is
  uint32_t now).  On the other hand, platforms with a 64-bit (or
  wider) `long' will be ready for 64-bit inode numbers, as well as
  for several 32-bit filesystems mounted one under another.  Note
  that fts_level has to be signed because -1 is a magic value for it,
  FTS_ROOTPARENTLEVEL.

o For the `nlinks' local var in fts_build(), use `long'.  The logic
  in fts_build() requires that `nlinks' be signed, but our nlink_t
  currently is uint16_t.  Therefore let's make the signed var wide
  enough to be able to represent 2^16-1 in pure C99, and even 2^32-1
  on a 64-bit platform.  Perhaps the logic should be changed just
  to use nlink_t, but it can be done later w/o breaking fts(3) ABI
  any more because `nlinks' is just a local var.

This commit also inludes supporting stuff for the fts change:

o Preserve the old versions of fts(3) functions through libc symbol
versioning because the old versions appeared in all our former releases.

o Bump __FreeBSD_version just in case.  There is a small chance that
some ill-written 3-rd party apps may fail to build or work correctly
if compiled after this change.

o Update the fts(3) manpage accordingly.  In particular, remove
references to fts_bignum, which was a FreeBSD-specific hack to work
around the too narrow types of FTSENT members.  Now fts_number is
at least 64 bits wide (long long) and fts_bignum is an undocumented
alias for fts_number kept around for compatibility reasons.  According
to Google Code Search, the only big consumers of fts_bignum are in
our own source tree, so they can be fixed easily to use fts_number.

o Mention the change in src/UPDATING.

PR:		bin/104458
Approved by:	re (quite a while ago)
Discussed with:	deischen (the symbol versioning part)
Reviewed by:	-arch (mostly silence); das (generally OK, but we didn't
		agree on some types used; assuming that no objections on
		-arch let me to stick to my opinion)
2008-01-26 17:09:40 +00:00
ru
77a6831b74 Support source upgrades from at least 6.0-RELEASE.
Reviewed by:	imp, obrien
2008-01-23 22:21:36 +00:00
trhodes
2a949074a8 Quick note on how to disable malloc debugging in the top entry in this file.
PR:		83621
Submitted by:	Scott Robbins <scottro@nyc.rr.com> (original version)
Reviewed by:	imp
2008-01-22 15:05:22 +00:00
imp
0d78b28c6e Note change in the supported upgrade path. Prior to this 5.3-release
and newer were supported upgrade paths to -current.  After today's
commits, 6.0-RELEASE and newer is supported for jumping to current.
Make that clear in the UPDATING entry.  For the pedants out there,
upgrading from FreeBSD_version 600029 and newer should still work.
This represents a point from May 29, 2005 forward.  The prior date was
October 16th 2004.
2008-01-21 22:04:37 +00:00
matteo
4bafa5f305 Mention ADAPTIVE_GIANT removal.
Reviewed by:	attilio@
2007-11-28 13:04:11 +00:00
marius
825e639df6 Let sunkbd(4) emulate an AT keyboard by default.
This has the following benefits:
- allows to use the AT keyboard maps in share/syscons/keymaps with
  sunkbd(4),
- allows to use kbdmux(4) with sunkbd(4),
- allows Sun RS232 keyboards to be configured and used the same
  way as Sun USB keyboards driven by ukbd(4) (which also does AT
  keyboard emulation) with X.Org, putting an end to the problem
  of native support for the former in X.Org being broken over and
  over again.

MFC after:	3 days
2007-11-18 18:11:16 +00:00
marius
9ce0055163 Add ABI backwards compatibility to the FreeBSD 4/5/6 versions of
the PCIOCGETCONF, PCIOCREAD and PCIOCWRITE IOCTLs, which was broken
with the introduction of PCI domain support.
As the size of struct pci_conf_io wasn't changed with that commit,
this unfortunately requires the ABI of PCIOCGETCONF to be broken
again in order to be able to provide backwards compatibility to
the old version of that IOCTL.

Requested by:	imp
Discussed with:	re (kensmith)
Reviewed by:	PCI maintainers (imp, jhb)
MFC after:	5 days
2007-10-24 20:51:44 +00:00
julian
d50ed276e8 This time to the right branch
note the renaming of the kthread_xxx calls
2007-10-21 04:27:07 +00:00
kevlo
2ef6caa7ae Note getfacl(1) changes
Submitted by: Henrik Brix Andersen <henrik at brixandersen.dk>
2007-10-12 04:48:58 +00:00
kensmith
c80a7cd238 To honor the birth of RELENG_7 bump HEAD to 8.0-CURRENT.
Approved by:	re (implicit)
2007-10-11 04:28:08 +00:00
obrien
ca55f5d319 Pulled the trigger 2hr 50min late (Pago Pago time).
Submitted by:	ru
Approved by:	re (implicit)
2007-10-09 17:51:11 +00:00
obrien
eb3f6a9e74 Repo copy libpthreads to libkse.
This introduces the WITHOUT_LIBKSE nob,
and changes WITHOUT_LIBPTHREADS to mean with neither threading libs.
Approved by:	re(kensmith)
2007-10-09 13:42:34 +00:00
marius
d60b8a3096 Make the PCI code aware of PCI domains (aka PCI segments) so we can
support machines having multiple independently numbered PCI domains
and don't support reenumeration without ambiguity amongst the
devices as seen by the OS and represented by PCI location strings.
This includes introducing a function pci_find_dbsf(9) which works
like pci_find_bsf(9) but additionally takes a domain number argument
and limiting pci_find_bsf(9) to only search devices in domain 0 (the
only domain in single-domain systems). Bge(4) and ofw_pcibus(4) are
changed to use pci_find_dbsf(9) instead of pci_find_bsf(9) in order
to no longer report false positives when searching for siblings and
dupe devices in the same domain respectively.
Along with this change the sole host-PCI bridge driver converted to
actually make use of PCI domain support is uninorth(4), the others
continue to use domain 0 only for now and need to be converted as
appropriate later on.
Note that this means that the format of the location strings as used
by pciconf(8) has been changed and that consumers of <sys/pciio.h>
potentially need to be recompiled.

Suggested by:	jhb
Reviewed by:	grehan, jhb, marcel
Approved by:	re (kensmith), jhb (PCI maintainer hat)
2007-09-30 11:05:18 +00:00
bushman
a947d50315 Finishing renaming of cached into nscd. etc/rc.d and usr.sbin/Makefile
updated. Note added to UPDATING.

Approved by:	re (kensmith, bmah), brooks (mentor)
2007-09-28 10:38:08 +00:00
yongari
16cef586fb Fix typo.
Reported by:	Danny Braniss <danny at cs dot huji dot ac dot il>
Approved by:	re (bmah)
2007-07-09 01:13:00 +00:00
yongari
b235b2a9bc Belately note default driver change for NVIDIA network adapters.
Requested by:	Michael Plass < mfp49_freebsd at plass-family dot net>
Approved by:	re (hrs)
2007-07-06 06:35:50 +00:00
gnn
923ba4a558 Document the move from FAST_IPSEC to IPSEC. Point out the need for
device crypto in the kernel configuration file when using IPSEC.

Approved by: re
2007-07-04 21:47:23 +00:00
mlaier
3b7987b2e8 Add a note about the pf update, mark libexec/ftp-proxy as obsolete and bump
__FreeBSD_version for ports.

Approved by:	re (implicit)
2007-07-03 13:06:45 +00:00
gnn
0cd74db89b Commit IPv6 support for FAST_IPSEC to the tree.
This commit includes only the kernel files, the rest of the files
will follow in a second commit.

Reviewed by:    bz
Approved by:    re
Supported by:   Secure Computing
2007-07-01 11:41:27 +00:00
thompsa
384e40af76 Remove wicontrol(8) from the base system. Using wicontrol to configure an
interface has been deprecated since 5.1, wi(4) wireless interfaces are managed
via the net80211 stack and ifconfig.

Approved by:	re (rwatson)
2007-07-01 10:25:07 +00:00
gshapiro
294e2f4e5d Spaces to tab 2007-06-12 17:33:56 +00:00
gshapiro
8487a6b582 Add a new rc.conf variable, sendmail_rebuild_aliases, which tells
/etc/rc.d/sendmail whether or not to run newaliases if the database
is missing or the aliases text file is newer than aliases.db.

In my opinion, the aliases file should never be automatically rebuilt.
The current text form could represent a work in progress.  Therefore,
in FreeBSD 7.0, this new option will default to "NO".  When this rc.d
change is MFC'ed, it will need to remain "YES" to maintain backward
compatibility.

PR:		conf/86252
Approved by:	re (kensmith)
MFC after:	3 days
2007-06-12 17:33:23 +00:00
bms
ffd77d9ba5 Import rewrite of IPv4 socket multicast layer to support source-specific
and protocol-independent host mode multicast. The code is written to
accomodate IPv6, IGMPv3 and MLDv2 with only a little additional work.

This change only pertains to FreeBSD's use as a multicast end-station and
does not concern multicast routing; for an IGMPv3/MLDv2 router
implementation, consider the XORP project.

The work is based on Wilbert de Graaf's IGMPv3 code drop for FreeBSD 4.6,
which is available at: http://www.kloosterhof.com/wilbert/igmpv3.html

Summary
 * IPv4 multicast socket processing is now moved out of ip_output.c
   into a new module, in_mcast.c.
 * The in_mcast.c module implements the IPv4 legacy any-source API in
   terms of the protocol-independent source-specific API.
 * Source filters are lazy allocated as the common case does not use them.
   They are part of per inpcb state and are covered by the inpcb lock.
 * struct ip_mreqn is now supported to allow applications to specify
   multicast joins by interface index in the legacy IPv4 any-source API.
 * In UDP, an incoming multicast datagram only requires that the source
   port matches the 4-tuple if the socket was already bound by source port.
   An unbound socket SHOULD be able to receive multicasts sent from an
   ephemeral source port.
 * The UDP socket multicast filter mode defaults to exclusive, that is,
   sources present in the per-socket list will be blocked from delivery.
 * The RFC 3678 userland functions have been added to libc: setsourcefilter,
   getsourcefilter, setipv4sourcefilter, getipv4sourcefilter.
 * Definitions for IGMPv3 are merged but not yet used.
 * struct sockaddr_storage is now referenced from <netinet/in.h>. It
   is therefore defined there if not already declared in the same way
   as for the C99 types.
 * The RFC 1724 hack (specify 0.0.0.0/8 addresses to IP_MULTICAST_IF
   which are then interpreted as interface indexes) is now deprecated.
 * A patch for the Rhyolite.com routed in the FreeBSD base system
   is available in the -net archives. This only affects individuals
   running RIPv1 or RIPv2 via point-to-point and/or unnumbered interfaces.
 * Make IPv6 detach path similar to IPv4's in code flow; functionally same.
 * Bump __FreeBSD_version to 700048; see UPDATING.

This work was financially supported by another FreeBSD committer.

Obtained from:  p4://bms_netdev
Submitted by:   Wilbert de Graaf (original work)
Reviewed by:    rwatson (locking), silence from fenner,
		net@ (but with encouragement)
2007-06-12 16:24:56 +00:00
sam
65288aec33 note 802.11 changes 2007-06-11 04:06:50 +00:00
yar
dac62e7ff2 Now pam_nologin(8) will provide an account management function
instead of an authentication function.  There are a design reason
and a practical reason for that.  First, the module belongs in
account management because it checks availability of the account
and does no authentication.  Second, there are existing and potential
PAM consumers that skip PAM authentication for good or for bad.
E.g., sshd(8) just prefers internal routines for public key auth;
OTOH, cron(8) and atrun(8) do implicit authentication when running
a job on behalf of its owner, so their inability to use PAM auth
is fundamental, but they can benefit from PAM account management.

Document this change in the manpage.

Modify /etc/pam.d files accordingly, so that pam_nologin.so is listed
under the "account" function class.

Bump __FreeBSD_version (mostly for ports, as this change should be
invisible to C code outside pam_nologin.)

PR:		bin/112574
Approved by:	des, re
2007-06-10 18:57:20 +00:00
yar
80a596eece Sync ether_ioctl() with ioctl(2) and ifnet.if_ioctl
as to the type of the command argument: int -> u_long.
These types have different widths in the 64-bit world.

Add a note to UPDATING because the change breaks KBI
on 64-bit platforms.

Discussed on:	-net, -current
Reviewed by:	bms, ru
2007-05-29 12:40:45 +00:00
wkoszek
147aff09a7 Revert config(8) version bump. It brings major pain for people working on
different versions of FreeBSD source tree.

Old config(8) can now be used unless you want to use INCLUDE_CONFIG_FILE
option.

Approved by:	imp
Reviewed by:	imp
2007-05-16 17:23:54 +00:00
deischen
c4002b69ba Add some notes about symbol versioning and the switch to libthr. 2007-05-13 14:41:48 +00:00
gshapiro
e47e836ee4 Add a new note to revoke the 20070408 note. Is is no longer necessary
to recompile milters.

MFC after:	4 days
2007-04-23 22:15:07 +00:00
dds
a88ccacb7f Back-out manual procedure for maintaining compatibility with old accounting
files.  This functionality will be built-into the corresponding tools.
2007-04-19 17:08:54 +00:00
dds
c803e9486d Notes on the acct(5) format switch. 2007-04-18 17:34:59 +00:00
thompsa
7f29f5b512 Note the renaming of trunk(4) to lagg(4). 2007-04-17 00:41:59 +00:00
gshapiro
6c1b825ce0 Include a note about recompiling ports which use the base libmilter.
Submitted by:	Matthew Seaman
2007-04-14 16:26:01 +00:00
brueffer
8fc6b66de9 Make the tunable names for Intel license agreement more obvious. 2007-04-03 10:04:54 +00:00
mlaier
a34e895c02 Note that the old firmware modules need to be removed.
Reported by:	Jeremie Le Hen
Suggested by:	Stefan Ehmann
2007-04-01 17:49:27 +00:00
flz
7de308e008 - Add missing subdirectories in BSD.usr.dist mtree file.
- Update hier(7) to reflect latest changes in mtree file.
- Add UPDATING entry following Intel firmwares inclusion.

Submitted by:	mlaier
MFC after:	1 month
2007-03-02 14:56:15 +00:00
ru
c45fdd5d9f Bump the bootstrapping requirements for gensnmptree(1) and remove
a note in UPDATING that tried to work around the build breakage.

Tested by:	jhb
OK'ed by:	njl
2007-03-01 15:42:23 +00:00
bms
30eec96c89 Document removal of addr2ascii/ascii2addr and addition of AF_LINK
support for getnameinfo.
2007-02-28 21:33:40 +00:00
simon
7706232aaa - Use a permanent URL to reference piso's mail.
- Put URL on seperate line to not get very long lines.
2007-02-24 21:59:18 +00:00
bms
7466d6dfe5 Reword addition about MROUTING.
Submitted by:	ru
2007-02-24 21:21:53 +00:00
piso
cb538c93c9 Update my previous note about newbus API breakage mentioning the
__FreeBSD_version bump.
2007-02-24 20:15:04 +00:00
piso
aac40ad798 Note newbus API & ABI breakage. 2007-02-24 19:45:09 +00:00
bms
f7d6019d71 Note that IPv6 multicast forwarding is now dynamically loadable. 2007-02-24 11:41:05 +00:00
njl
ac3a9d22a9 Note problems I had with bsnmpd while updating from an older -current.
There may be better ways to fix/work around these issues but this worked
for me.
2007-02-19 22:49:43 +00:00
bms
8e211e654f Retire most of the classful network behaviour of netstat -r output, for IPv4.
Without -n, we now only print a "network name" without the prefix length
 under the following conditions:
  1) the network address and mask matches a classful network prefix;
  2) getnetbyaddr(3) returns a network name for this network address.

 With -n, we unconditionally print the full unabbreviated CIDR network
 prefix in the form "a.b.c.d/p". 0.0.0.0/0 is still printed as "default".

This change is in preparation for changes such as equal-cost multipath, and
to more generally assist operational deployment of FreeBSD as a modern IPv4
router. There are currently no plans to backport this change.

Discussed on:	freebsd-net
2007-02-14 14:17:01 +00:00
bms
42ce6b97cf Build PIM by default as part of the IPv4 multicast forwarding path.
Make PIM dynamically loadable by using encap_attach_func().
PIM may now be loaded into a GENERIC kernel.

Tested with:	ports/net/pimdd && tcpreplay && wireshark
Reviewed by:	Pavlin Radoslavov
2007-02-10 13:59:13 +00:00
bms
61cc2fad7d Remove support for IPIP tunnels in IPv4 multicast forwarding. XORP has
never used them; with mrouted, their functionality may be replaced by
explicitly configuring gif(4) instances and specifying them with the
'phyint' keyword.

Bump __FreeBSD_version to 700030, and update UPDATING.
A doc update is forthcoming.

Discussed on:	net
Reviewed by:	fenner
MFC after:	3 months
2007-02-07 16:04:13 +00:00
jdp
b84d1808f4 Note the second coming of MSI support in the bge driver. 2006-12-22 03:03:31 +00:00
jdp
a9ea55f6c0 Note that MSI support has been disabled already in the bge driver. 2006-12-15 00:30:37 +00:00
jdp
266ea347bf Add an entry noting that MSI support has been put into the bge
driver.
2006-12-14 23:10:59 +00:00
julian
69b0c3bf57 Note the mashing of the proc structure.. recommend recompiling
kernel modules.
2006-12-06 06:39:47 +00:00
ariff
7b36f6d96b Welcome to Once-a-year Sound Mega-Commit. Enjoy numerous updates and fixes
in every sense.

General
-------

- Multichannel safe, endian safe, format safe
   * Large part of critical pcm filters such as vchan.c, feeder_rate.c,
     feeder_volume.c, feeder_fmt.c and feeder.c has been rewritten so that
     using them does not cause the pcm data to be converted to 16bit little
     endian.
   * Macrosses for accessing pcm data safely are defined within sound.h in
     the form of PCM_READ_* / PCM_WRITE_*
   * Currently, most of them are probably limited for mono/stereo handling,
     but the future addition of true multichannel will be much easier.

- Low latency operation
  * Well, this require lot more works to do not just within sound driver,
    but we're heading towards right direction. Buffer/block sizing within
    channel.c is rewritten to calculate precise allocation for various
    combination of sample/data/rate size. As a result, applying correct
    SNDCTL_DSP_POLICY value will achive expected latency behaviour simmilar
    to what commercial 4front driver do.
  * Signal handling fix. ctrl+c of "cat /dev/zero > /dev/dsp" does not
    result long delay.
  * Eliminate sound truncation if the sound data is too small.
    DIY:
      1) Download / extract
         http://people.freebsd.org/~ariff/lowlatency/shortfiles.tar.gz
      2) Do a comparison between "cat state*.au > /dev/dsp" and
         "for x in state*.au ; do cat $x > /dev/dsp ; done"
         - there should be no "perceivable" differences.
    Double close for PR kern/31445.

  CAVEAT: Low latency come with (unbearable) price especially for poorly
          written applications. Applications that trying to act smarter
	  by requesting (wrong) blocksize/blockcount will suffer the most.
	  Fixup samples/patches can be found at:
	  http://people.freebsd.org/~ariff/ports/

- Switch minimum/maximum sampling rate limit to "1" and "2016000" (48k * 42)
  due to closer compatibility with 4front driver.
  Discussed with: marcus@ (long time ago?)

- All driver specific sysctls in the form of "hw.snd.pcm%d.*" have been
  moved to their own dev sysctl nodes, notably:
  hw.snd.pcm%d.vchans -> dev.pcm.%d.vchans
  Bump __FreeBSD_version.

Driver specific
---------------

- Ditto for sysctls.

- snd_atiixp, snd_es137x, snd_via8233, snd_hda
  * Numerous cleanups and fixes.
  * _EXPERIMENTAL_ polling mode support using simple callout_* mechanisme.
   This was intended for pure debugging and latency measurement, but proven
   good enough in few unexpected and rare cases (such as problematic shared
   IRQ with GIANT devices - USB). Polling can be enabled/disabled through
   dev.pcm.0.polling. Disabled by default.

- snd_ich
  * Fix possible overflow during speed calibration. Delay final
    initialization (pcm_setstatus) after calibration finished.
    PR: kern/100169
    Tested by: Kevin Overman <oberman@es.net>
  * Inverted EAPD for few Nec VersaPro.
    PR: kern/104715
    Submitted by: KAWATA Masahiko <kawata@mta.biglobe.ne.jp>

Thanks to various people, notably Joel Dahl, Yuriy Tsibizov, Kevin Oberman,
those at #freebsd-azalia @ freenode and others for testing.

Joel Dahl will do the manpage update.
2006-11-26 12:24:06 +00:00
rodrigc
0ccad3551b Mention that the following binaries have been detached
from the build: mount_devfs, mount_ext2fs,
mount_fdescfs, mount_procfs, mount_linprocfs, and mount_std.
2006-11-22 23:01:40 +00:00
jhb
c69b9a59a8 Add a note about the MSI support with details on how to turn MSI off if
things break.
2006-11-15 20:02:20 +00:00
kmacy
9eefcf3161 MUTEX_PROFILING has been generalized to LOCK_PROFILING. We now profile
wait (time waited to acquire) and hold times for *all* kernel locks. If
the architecture has a system synchronized TSC, the profiling code will
use that - thereby minimizing profiling overhead. Large chunks of profiling
code have been moved out of line, the overhead measured on the T1 for when
it is compiled in but not enabled is < 1%.

Approved by: scottl (standing in for mentor rwatson)
Reviewed by: des and jhb
2006-11-11 03:18:07 +00:00
jb
3a250c3e16 Add 'options KSE' to the kernel config DEFAULTS on all arches/machines
except sun4v.

This change makes the transition from a default to an option more
transparent and is an attempt to head off all the compliants that are
likely from people who don't read UPDATING, based on experience with
the io/mem change.

Submitted by:	scottl@
2006-10-26 22:05:25 +00:00
jb
f82c799735 Make KSE a kernel option, turned on by default in all GENERIC
kernel configs except sun4v (which doesn't process signals properly
with KSE).

Reviewed by:	davidxu@
2006-10-26 21:42:22 +00:00
ru
8e1d289818 The ioctl(2) API has changed, and some ioctl command codes too.
Hint users to add "options COMPAT_FREEBSD6" to their kernel config
files, so that X.Org and friends still work without recompiling.
2006-09-30 20:01:15 +00:00
bms
24cf9e1f8f Remove mrouted and its utilities from the base system.
They may now be obtained from ports.

Discussed with:	fenner, net@
2006-09-29 10:39:23 +00:00
ru
487dccec72 Belatedly document the size change of "struct x?tcpcb". 2006-09-29 10:14:37 +00:00
bms
631a4a40d0 Note the removal of tcpslice 2006-09-28 13:00:50 +00:00
maxim
bbf95ff2cc o s/IP_FIREWALL_FORWARD/IPFIREWALL_FORWARD/.
PR:		docs/103251
Submitted by:	vd
MFC after:	3 days
2006-09-18 11:24:25 +00:00
sam
68abcd5aeb bump version for libpcap+tcpdump imports 2006-09-04 21:49:31 +00:00
marius
30c9ad00f1 Add a belated entry regarding the removal of lnc(4). 2006-09-02 22:17:15 +00:00
julian
57593a6fa1 Note IPFIREWALL_FOWARD_EXTENDED is now gone.
MFC after:	1 week
2006-08-17 00:41:05 +00:00
jkim
925a5a19d4 Add an entry for enigma(1)/crypt(1) change on 64-bit architectures. 2006-07-26 16:31:10 +00:00
twinterg
3e2c62d319 Extend i4b to support CAPI manager based ISDN controllers (CAPI manager is part of
c4b, CAPI for BSD). This is a preparation to add CAPI for BSD to the source tree.

Approved by:	hm (mentor)
MFC after:	2 weeks
2006-07-09 21:16:06 +00:00
rink
6131479c85 Updated the XBOX kernel to use the new nfe(4) driver obtained from
OpenBSD. This driver seems to give a small performance increase, and
should lead to better maintainability in the future.

The nForce Ethernet-specific hack in sys/i386/xbox/xbox.c is still
required, judging from dev/nfe/if_nfe.c. The condition it hacks will
almost certainly only occur on XBOX-es anyway, so it is best left there.

Approved by:	imp (mentor)
2006-06-27 20:22:32 +00:00
keramida
81ababa611 Note that an old adjkerntz is not really usable after the recent
sysctlbyname() changes, so the new adjkerntz binary should be
used while in single-user mode.

Reviewed by:	ceri, maxim
2006-05-15 15:47:45 +00:00
brueffer
cb713045cb Fix typo. 2006-05-14 20:54:45 +00:00
mlaier
7754a7fbfa Update UPDATING and bump __FreeBSD_version for the ip6fw removal. 2006-05-13 06:08:25 +00:00
marcel
22a2f7851b Belatedly add 2 entries relating to the introduction of scc(4) and
the overhaul of puc(4). On sparc64 people may end up without serial
console if they upgrade without adding scc(4) to their kernel
configuration file.
2006-05-04 03:48:06 +00:00
ru
8fde273627 Fix the "make distribution" example; it should be run from src/. 2006-04-07 11:36:25 +00:00
ru
4427f4be3f Document new world older for world/kernel build options. 2006-03-21 10:10:05 +00:00
imp
410473acf0 Add note about 'audit' group.
Add note about the '_dhcp' user.

While one is expected to run mergemaster -p before installworld, make
a note of the points where this will actively fail due to the addition of
users/groups.
2006-03-10 18:40:31 +00:00
yar
6dff0c5ef2 Revise the names of modules in the recent note on tdfx_linux. 2006-03-09 17:50:01 +00:00
yar
66715ad5a3 Retire NETSMBCRYPTO as a kernel option and make its functionality
enabled by default in NETSMB and smbfs.ko.

With the most of modern SMB providers requiring encryption by
default, there is little sense left in keeping the crypto part
of NETSMB optional at the build time.

This will also return smbfs.ko to its former properties users
are rather accustomed to.

Discussed with:		freebsd-stable, re (scottl)
Not objected by:	bp, tjr (silence)
MFC after:		5 days
2006-03-05 22:52:17 +00:00
yar
0ac62e02bd Take the functionality contained in the former "options TDFX_LINUX"
into a separate module.  Accordingly, convert the option into a device
named similarly.

Note for MFC: Perhaps the option should stay in RELENG_6 for POLA reasons.

Suggested by:	scottl
Reviewed by:	cokane
MFC after:	5 days
2006-03-03 21:37:38 +00:00
yar
8c0ea00a43 Add a quite late 20051014 entry for the changes in module Makefiles,
mainly to stick to the conventional MFC procedure.

Requested by:	Thomas E. Zander <riggs at rrr dot de>
MFC after:	3 days
2006-02-19 01:05:57 +00:00
yar
2001ac98be Record the change in vnone_create_vobject() argument size,
which broke kernel ABI to filesystem modules on i386, where
sizeof(size_t) != sizeof(off_t).
2006-02-01 13:04:52 +00:00
jhb
242ab805a8 Retroactively add a note about the device names in /dev for si(4) changing. 2006-01-31 20:29:04 +00:00
pav
28e993ac26 - Fix typo
Reported by:	neologism/#freenode
2006-01-18 20:36:58 +00:00
julian
471e2b71d1 Note that the size of /boot has blown oout to 140 MBytes unless the
right options are used. Tell how to avoid this.
2006-01-18 19:54:51 +00:00
jasone
d7cf895690 Note that libc's malloc implementation has been replaced.
Approved by:	markm (mentor)
2006-01-13 22:37:48 +00:00
glebius
ccfa5712cd Yesterday netgraph ABI has been changed. 2006-01-13 17:32:22 +00:00
jhb
036bca4284 Note shrinkage of lock_object and the subsequent widespread kernel ABI
breakage.
2006-01-06 19:04:39 +00:00
netchild
e916e52469 Say some words about the removed PQ_* kernel options. 2005-12-31 14:44:49 +00:00
obrien
253e00ad58 Note the device filename changes due to sys/dev/rp/rp.c rev 1.70. 2005-12-19 03:15:49 +00:00
sam
16b60b2224 note shuffle of commonly used programs in tools/tools/ath 2005-12-11 23:18:58 +00:00
dougb
d12a77cb38 Add a paragraph to the COMMON ITEMS section that describes why
upgrading to the latest code in one branch before trying a major
version upgrade is a good idea.

Fleshing out of my thoughts provided by: kris
2005-12-07 20:49:42 +00:00
glebius
e3ae9382dd - Mention also the COMPAT_FREEBSD5 option along with COMPAT_FREEBSD4.
- Notice that 20050227 entry is also applicable to packages, not only
  to world.

In collaboration with:	osa, phk
2005-12-06 10:39:14 +00:00
dougb
5cc567238d Add an entry explaining the changes which add local scripts
to the base rcorder.
2005-12-03 07:51:07 +00:00
rodrigc
c4a985aa82 Document removal of nodev mount option.
Requested by:	gleb
2005-11-29 19:13:28 +00:00
glebius
7abe9e6ffe Garbage-collect now unused struct _ipfw_insn_pipe and flush_pipe_ptrs(),
thus removing a few XXXes.
  Document the ABI breakage in UPDATING.
2005-11-29 08:59:41 +00:00
yar
d4bb34dbd1 Record renaming rc.d/ppp-user to rc.d/ppp. 2005-10-29 05:27:32 +00:00
glebius
7b6a14399f Note that kern.polling.enable is deprecated. 2005-10-01 20:53:51 +00:00
mlaier
a42af632d8 Remove bridge(4) from the tree. if_bridge(4) is a full functional
replacement and has additional features which make it superior.

Discussed on:	-arch
Reviewed by:	thompsa
X-MFC-after:	never (RELENG_6 as transition period)
2005-09-27 18:10:43 +00:00
obrien
e846826704 Be a little more obvious about the steps to build a kernel. 2005-09-09 15:59:17 +00:00
netchild
f78772bbe4 Add delete-old and delete-old-libs targets:
- removes obsolete files/dirs or libraries.
  - works in interactive (default) and batch mode
  - respects DISTDIR
  - documented in UPDATING and build(7)

The head of the file ObsoleteFiles.inc contains instructions how to add
obsolete files/dirs/libs to the list. Obviously one should add obsolete
files to this list, when he removes a file/dir/lib from the basesystem.

Additionally add check-old target:
  - allows re@ to check if a file on the obsolete list resurfaces

Design goals:
  - allows full control by the user (default interactive mode)
  - possibility of scripted removal of obsolete files (batch mode)
  - opt-in removal of files (explicit list of files)
  - seperate removal of libs (2 delete targets)

Important design decissions:
  - structured list of files to remove instead of a plain text file:
    * allows to remove additional files if a NO_foo knob is specified
      without the need to change the targets (no NO_foo knob is respected
      yet)
  - not using mtree like NetBSD does:
    * mtree doesn't has an interactive mode

Discussed on:		arch (long ago), current (this year)
Additional input from:	re (hrs)
Approved by:		mentor (joerg)
2005-07-23 14:23:30 +00:00
ume
b78d4bbc65 mention getaddrinfo(3) ABI breakage on 64 bit arch. 2005-07-22 18:51:36 +00:00
kensmith
7ed3ea01db Note RELENG_6 branch and minor related tweaks.
Approved by:	re (implicit)
2005-07-11 15:46:45 +00:00
des
7022c58ccb Add an entry about absolute PAM module paths, backdated to when the
change happened.

Submitted by:	rwatson
Approved by:	re (scottl)
2005-07-01 15:12:09 +00:00
brooks
c724d1075b - Remove the pccard_ifconfig variable in favor of a new
ifconfig_DEFAULT variable.  Unlike pccard_ifconfig, ifconfig_DEFAULT
   applies to all interfaces that do not specify an ifconfig_<ifn>
   variable rather than just those listed in removable_interfaces.
 - Correct the list of interfaces when network_interfaces and
   removable_interfaces are both set by including removable_interfaces
   in the list of canidates.
 - When listing dhcp interfaces, include those with other ifconfig
   options so nat works.

Approved by:	re (network interface startup blanket)
2005-06-30 05:02:34 +00:00
jkoshy
a787e3cb68 Mention hwpmc(4) ABI/API changes in the 20050609 entry.
Discussed with:	imp
2005-06-10 19:59:26 +00:00
brooks
9c051980b9 Mention interface API changes. 2005-06-10 16:51:49 +00:00
gad
899529b7cd Mention the change to kinfo_proc, and the need for a complete buildworld. 2005-06-09 19:09:38 +00:00
brooks
50df79a731 Mention the import of the OpenBSD dhclient, particularly the requirement
of running devd and the loss of DNS update functionality.

Reminded by:	sobomax
2005-06-07 18:07:47 +00:00
thompsa
00df057617 Bump __FreeBSD_version for if_bridge.
Approved by:	mlaier (mentor)
2005-06-05 03:38:03 +00:00
ume
899df482c7 mention libpcap. 2005-06-03 10:19:26 +00:00
ume
0add648e4e fix typo in my previous commit.
Submitted by:	Jiawei Ye <leafy7382 _at_ gmail.com>
2005-06-03 09:15:17 +00:00
ume
a101babe92 mention getnet*(3) ABI breakage. 2005-06-03 03:34:21 +00:00
gad
e9e82d146d Provide info on the incompatible change in v1.33 of sys/kern/imgact_shell.c
Discussed with:	imp
2005-05-28 22:45:31 +00:00
netchild
63ea5ccdb9 Add a note how to use nextboot(8) to test a kernel only once.
Approved by:	mentor (joerg)
Discussed with:	imp
2005-05-25 21:03:13 +00:00
imp
d2fcbc31f7 cleanup a danging reference to cleaning up /etc/fstab. Since we don't
support 4->6 upgrades, this is moot.  Most 4.x installations even,
have things compatible with 5 at thsi point, but some don't, so I'll
leave it in the branch...

submitted by: kevlo
2005-05-16 05:37:32 +00:00
imp
b005c7d42f Remove reference to seedrandom, since it is now gone, and was in there
just in case.
2005-05-09 16:44:22 +00:00
mlaier
b927ad2b6c Bump __FreeBSD_version for pf 3.7 and inform about user visible changes. 2005-05-03 17:43:14 +00:00
scottl
9dda468ece Note that NO_MIXED_MODE is gone. 2005-04-18 14:33:18 +00:00
imp
2a5628b82d Remove important entry being X that's 9 months old 2005-03-03 08:44:33 +00:00
imp
a7cb00acaa Remove references to 4.x upgrades, since those no longer are possible
(one must upgrade to 5.3 before first jumping to current).
2005-03-03 08:43:33 +00:00
delphij
e981e828f8 Make an advise that a rebuild of fsck(8) is recommended for -CURRENT
after 20050220 due to the superblock summary recomputation change.
Also make a note about how to go back to the old behavior.

MFC After:	1 day
2005-03-01 02:33:34 +00:00
ru
d8a075eada Add a note about new format of LC_CTYPE files. 2005-02-26 22:26:10 +00:00
njl
d88ca31194 Add notes on merging acpi_perf and acpi_throttle to acpi.ko 2005-02-25 20:10:38 +00:00
brooks
e5a9c072c1 Change the definition of struct if_data's member ifi_epoch from wall
clock time to uptime because wall clock time may go backwards.

This is a change in the API which will impact SNMP agents who are using
ifi_epoch to set RFC2233's ifCounterDiscontinuityTime.  None are know to
exist today.  This will not impact applications that are using the
<index, epoch> tuple to verify interface uniqueness except that it
eliminates a race which could lead to a false assumption of uniqueness.

Because this is a behavior change, bump __FreeBSD_version.

Discussed with:	re (jhb, scottl)
MFC after:	3 days
Pointed out by:	pkh (way back at EuroBSDCon)
Pointy hat:	brooks
2005-02-25 19:46:41 +00:00
sobomax
3155a16bbf Welcome to the 21st century: increase MAXSHELLCMDLEN from 128 bytes to
PAGE_SIZE.

Unlike originator of the PR suggests retain MAXSHELLCMDLEN definition
(he has been proposing to replace it with PAGE_SIZE everywhere), not only
this reduced the diff significantly, but prevents code obfuscation and also
allows to increase/decrease this parameter easily if needed.

PR:		kern/64196
Submitted by:	Magnus Bäckström <b@etek.chalmers.se>
2005-02-25 11:49:42 +00:00
ru
ddd2f8152b Simplify steps necessary to cross-install -CURRENT onto a
separate partition.  (Take advantage of "make distribute"
installing /boot/device.hints.)
2005-02-23 20:37:11 +00:00
njl
9dac197aca Note removal of "options CPU_ENABLE_TCC" 2005-02-23 16:52:55 +00:00
ru
4294e1e61b Fix disorder. 2005-02-07 09:15:52 +00:00
njl
dfde93d0fb Note the cpufreq import and acpi throttling changes. 2005-02-06 21:24:50 +00:00
glebius
d433625cac Notice that NG_VERSION has been increased. 2005-02-05 23:25:59 +00:00
maxim
6cd7a41f4f Fix typos.
PR:		misc/77151
Submitted by:	Anton Karpov
2005-02-05 20:44:53 +00:00
imp
50c3fd3802 As threatened, trim the UDPATING file to the branchpoint for RELENG_5.
People wishing to see prior changes are encouraged to look at the
UPDATING file on the RELENG_5 branch.  Document when RELENG_5 was
branched, as well as the 5.3 release date, as shown in the CVS logs
for newvers.sh.

This change should not be MFC'd.

Noticed by: Matteo Riondato (and ru)
2005-02-04 21:22:06 +00:00
brooks
1f3769b470 Note the deprecation of the abbreviation of a number of ipfw options. 2005-01-15 01:53:49 +00:00
ru
8666720902 Warn about the NOFOO -> NO_FOO conversion, and remind users to
read the COMMON ITEMS section of this file for proper upgrade
instructions.
2004-12-23 16:03:08 +00:00
sam
1d13972272 Note requirement to manually load/configure ancillary wlan modules.
Requested by:	silby
2004-12-20 04:27:23 +00:00
brian
e16d632c18 Mention the necessity for ``enable echo'' in ppp(8). 2004-12-13 17:52:10 +00:00
obrien
733d63140d Slightly embelish the 20040710 entry about the requirement for
'hint.sio.0.flags="0x10"' on Alpha.

Also move the sio name changes to chronological change order.
2004-12-12 07:22:16 +00:00
sam
b1b615a9fb note ath+wlan changes 2004-12-11 23:21:31 +00:00
mlaier
d7a4686564 Remove some (no longer vaild) notes about PFIL_HOOKS. 2004-12-08 04:08:33 +00:00
jhb
1facc14f4c Add a note about 80386 support being removed from HEAD. 2004-11-16 21:18:41 +00:00
phk
47d248f4ca Add note about changed root mount semantics for (preloaded) memory disks 2004-11-10 07:39:27 +00:00
andre
d06f3bef4e Remove RFC1644 T/TCP support from the TCP side of the network stack.
A complete rationale and discussion is given in this message
and the resulting discussion:

 http://docs.freebsd.org/cgi/mid.cgi?4177C8AD.6060706

Note that this commit removes only the functional part of T/TCP
from the tcp_* related functions in the kernel.  Other features
introduced with RFC1644 are left intact (socket layer changes,
sendmsg(2) on connection oriented protocols)  and are meant to
be reused by a simpler and less intrusive reimplemention of the
previous T/TCP functionality.

Discussed on:	-arch
2004-11-02 22:22:22 +00:00
andre
a8987888fb Shave 40 unused bytes from struct tcpcb. 2004-10-22 19:55:04 +00:00
phk
0e4076f54e Add an entry about some tty devices being renamed. 2004-10-18 21:24:21 +00:00
obrien
e41071dc59 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
mtm
9763558fd4 Add additional information on how to cope with the change. 2004-10-10 16:12:09 +00:00
mtm
15ba1cfe47 2004-10-07 14:06:23 +00:00
mtm
c95a2c6f6b Note libthr ABI breakage. 2004-10-07 05:45:39 +00:00
dougb
c5171b8fc8 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
des
be3092c71a Document how to set up libmap.conf to deal with the library version bump. 2004-10-03 10:08:12 +00:00
kensmith
911789fdaa 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
mlaier
b65eae4c19 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
dougb
84038e9ef8 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
dougb
a0c7847c5b 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
dougb
dc4195df1c Update the BIND 9 entry with information about files that
have moved, or should be removed.
2004-09-26 07:50:23 +00:00
dougb
954ae57b98 Add an entry to tell the world about BIND 9. 2004-09-25 03:41:38 +00:00
andre
197eb4f541 Backout the last entry. It went to the wrong branch. 2004-09-22 20:42:30 +00:00
andre
116dc0a8cc 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
seanc
7580811af2 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
seanc
dcf0d84fcd 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
mlaier
c3040d05d9 Put in a note about the changed pflogd format (for 64 bit archs). 2004-09-14 02:39:55 +00:00
jmg
3db8b85883 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
imp
141fd6eb39 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
9baee72236 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
aac3e70226 Add warnings about ifconfig incompatabilities caused by the addition of
ifi_epoch.
2004-09-01 15:14:13 +00:00
brooks
922e581a21 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
rwatson
25e168c12a 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
d243747d92 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
imp
3b8f16bada 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
imp
41e5880d79 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
imp
2ce9ba8acb 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
obrien
7e4379230d 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
fe9f220a60 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
5681dff740 Fix spelling error in my last blurb.
Pointed out by:	ru
2004-08-19 19:45:28 +00:00
andre
a286477242 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
dwmalone
2a8512cc38 Add a note about RANDOM_IP_ID. 2004-08-14 16:16:01 +00:00
ru
88ee315d1d Proofreading the 4.x -> 5.x upgrade procedure. 2004-08-13 13:14:05 +00:00
ru
155b11f9d0 Spell check the 20040806 entry. 2004-08-12 06:25:05 +00:00
jmg
d06adac9a4 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
mlaier
fd24e0374c 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
imp
74250a12b7 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
markm
4f0e0f97f5 Update for the null.ko removal. 2004-08-03 19:29:48 +00:00
markm
ef9866e04f Announce the memory device module update. 2004-08-01 11:46:00 +00:00
kan
af4709187f 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
imp
20b7bec3b8 Document /usr/ports/UPDATING and have a brief pointer re x11 2004-07-29 15:06:19 +00:00
kan
313b14efba Add a note about recent GCC import. 2004-07-29 14:49:57 +00:00
eik
ac2fecdcf2 back out the localkg changes until things have settled.
Discussed with:	mtm
2004-07-28 00:09:19 +00:00
rwatson
3675ec98e8 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
mtm
028e4bfd69 Typo.
Submitted By: demon
2004-07-25 14:13:45 +00:00
mtm
99fe82d8e6 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
schweikh
932b802dc5 English fixes, no content change. 2004-07-24 11:54:30 +00:00
tanimura
0b096fba8e Add the change of the sound drivers. 2004-07-16 04:04:29 +00:00
simon
7e6a71731c Fix typo in 20040702 entry.
Noticed by:	Andre Guibert de Bruet <andy@siliconlandmark.com>
2004-07-11 13:26:44 +00:00
marcel
5fd437f0d8 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
emax
68fab2852b Bump __FreeBSD_version
Reviewed by:	kris, ru
2004-07-09 16:57:24 +00:00
imp
558faa2fee Add note about ULE breakage at the moment.
Submitted by: Xin LI
2004-07-05 18:11:59 +00:00
bms
74b909ef3e Wordsmith and spell-correct last commit 2004-06-30 23:13:16 +00:00
julian
a90f5b9dba 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
njl
e5cb920c19 Note the ACPI blacklist changes.
Prodded by:	imp
2004-06-30 19:52:40 +00:00
green
cb255821c8 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
mlaier
f42f4268ea 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
f90e62b30d Fix whitespace errors in previous commit.
Reported by:	simon
2004-06-22 21:07:54 +00:00
brooks
e680ed224d Add entry for network interface cloning changes. 2004-06-22 20:28:03 +00:00
des
ad88cfbeec Whitespace cleanup. 2004-06-22 10:33:58 +00:00
des
74ea372665 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
jdp
32b926e0fb 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
mlaier
5072dd1a43 Suggest a full build-/installworld instead of just installincludes.
Requested-by:	ru
2004-06-13 18:39:20 +00:00
mlaier
96280d67b7 Bump __FreeBSD_version for ALTQ. Also put some notes in UPDATING regarding
the ABI break.
2004-06-13 17:31:16 +00:00
julian
c18972f0f6 Note the need to rerun config. 2004-06-07 21:37:40 +00:00
tanimura
cd67996294 Note the removal of the midi drivers.
Pointed out by:	scottl
Shame on:	myself
2004-06-04 15:24:12 +00:00
andre
ac1b5d3276 Recompile of ipfw(8) is required because of new ipfw option (versrcreach). 2004-04-23 14:33:30 +00:00
cperciva
9e96265f37 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
011a227176 I added preseedrandom yesterday, not last month.
Reported by:	Dmitry Morozovsky <marck at rinet.ru>
2004-04-16 18:36:52 +00:00
brooks
a4241b1c93 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
imp
4bc8614fca Add notes about the pci stuff that's currently working its way through
current.
2004-04-14 17:54:18 +00:00
kensmith
4bf1bbd329 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
rwatson
b3e71bbbf2 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
obrien
183497738c Mention the user account for 'pf' is "proxy". 2004-03-18 00:50:40 +00:00
gad
00c5ffa497 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
mlaier
916d9c5688 Bump __FreeBSD_version for the pf install and write comments to UPDATING.
Approved by:	bms(mentor)
2004-03-08 22:26:46 +00:00
des
4792e23287 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
green
9facd5e1d4 Mention getaddrinfo(3)/resolver(3) ABI change.
Reminded by:	bmah
2004-02-26 16:44:31 +00:00
des
bf48bf1ef6 It's protocol version 1 I've disabled, not version 2. 2004-02-26 15:54:44 +00:00
des
4287fb4340 Mention the recent sshd configuration changes. 2004-02-26 12:00:41 +00:00
bms
c305cc0659 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