Commit Graph

511 Commits

Author SHA1 Message Date
Kip Macy
7c0435b933 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
John Birrell
013d6d8cb4 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
John Birrell
8460a577a4 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
Ruslan Ermilov
014a1a844d 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
Bruce M Simpson
13b3ebf134 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
Ruslan Ermilov
60206ede14 Belatedly document the size change of "struct x?tcpcb". 2006-09-29 10:14:37 +00:00
Bruce M Simpson
481544f3ae Note the removal of tcpslice 2006-09-28 13:00:50 +00:00
Maxim Konovalov
5f738ae643 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 Leffler
50bdd72083 bump version for libpcap+tcpdump imports 2006-09-04 21:49:31 +00:00
Marius Strobl
647ef1a927 Add a belated entry regarding the removal of lnc(4). 2006-09-02 22:17:15 +00:00
Julian Elischer
3b4109aa4e Note IPFIREWALL_FOWARD_EXTENDED is now gone.
MFC after:	1 week
2006-08-17 00:41:05 +00:00
Jung-uk Kim
c8450a541c Add an entry for enigma(1)/crypt(1) change on 64-bit architectures. 2006-07-26 16:31:10 +00:00
Thomas Wintergerst
5d0c7501b6 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 Springer
44a8277bc6 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
Giorgos Keramidas
9f8d2f6c8d 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
Christian Brueffer
4919094ec7 Fix typo. 2006-05-14 20:54:45 +00:00
Max Laier
a0a9755e09 Update UPDATING and bump __FreeBSD_version for the ip6fw removal. 2006-05-13 06:08:25 +00:00
Marcel Moolenaar
ff6a2d00f9 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
Ruslan Ermilov
2d5cde043f Fix the "make distribution" example; it should be run from src/. 2006-04-07 11:36:25 +00:00
Ruslan Ermilov
c60fab8c03 Document new world older for world/kernel build options. 2006-03-21 10:10:05 +00:00
Warner Losh
19dc34626a 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
Yaroslav Tykhiy
05ab391fde Revise the names of modules in the recent note on tdfx_linux. 2006-03-09 17:50:01 +00:00
Yaroslav Tykhiy
8d96e45531 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
Yaroslav Tykhiy
375ce6798f 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
Yaroslav Tykhiy
fc18f73daf 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
Yaroslav Tykhiy
dc422d87fb 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
John Baldwin
90482daf5f Retroactively add a note about the device names in /dev for si(4) changing. 2006-01-31 20:29:04 +00:00
Pav Lucistnik
6aa6311f40 - Fix typo
Reported by:	neologism/#freenode
2006-01-18 20:36:58 +00:00
Julian Elischer
347daa0f17 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
Jason Evans
cc61a0b12d Note that libc's malloc implementation has been replaced.
Approved by:	markm (mentor)
2006-01-13 22:37:48 +00:00
Gleb Smirnoff
7f4faad8ce Yesterday netgraph ABI has been changed. 2006-01-13 17:32:22 +00:00
John Baldwin
6bed9d9e73 Note shrinkage of lock_object and the subsequent widespread kernel ABI
breakage.
2006-01-06 19:04:39 +00:00
Alexander Leidinger
52a16db3b8 Say some words about the removed PQ_* kernel options. 2005-12-31 14:44:49 +00:00
David E. O'Brien
d6b4b3b398 Note the device filename changes due to sys/dev/rp/rp.c rev 1.70. 2005-12-19 03:15:49 +00:00
Sam Leffler
6dba929a4e note shuffle of commonly used programs in tools/tools/ath 2005-12-11 23:18:58 +00:00
Doug Barton
081ff8ace3 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
Gleb Smirnoff
65f1be68a1 - 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
Doug Barton
a0cdeaec14 Add an entry explaining the changes which add local scripts
to the base rcorder.
2005-12-03 07:51:07 +00:00
Craig Rodrigues
a358ddbb54 Document removal of nodev mount option.
Requested by:	gleb
2005-11-29 19:13:28 +00:00
Gleb Smirnoff
b090e4ce1f 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
Yaroslav Tykhiy
a52364d522 Record renaming rc.d/ppp-user to rc.d/ppp. 2005-10-29 05:27:32 +00:00
Gleb Smirnoff
114d09d8b8 Note that kern.polling.enable is deprecated. 2005-10-01 20:53:51 +00:00
Max Laier
b6de9e91bd 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
David E. O'Brien
1cf0ef11e3 Be a little more obvious about the steps to build a kernel. 2005-09-09 15:59:17 +00:00
Alexander Leidinger
e2a3608153 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
Hajimu UMEMOTO
bb518265f1 mention getaddrinfo(3) ABI breakage on 64 bit arch. 2005-07-22 18:51:36 +00:00
Ken Smith
99b22782f7 Note RELENG_6 branch and minor related tweaks.
Approved by:	re (implicit)
2005-07-11 15:46:45 +00:00
Dag-Erling Smørgrav
d33db00c9b 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 Davis
7657f59596 - 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
Joseph Koshy
31f91694ad Mention hwpmc(4) ABI/API changes in the 20050609 entry.
Discussed with:	imp
2005-06-10 19:59:26 +00:00
Brooks Davis
ad0fdce506 Mention interface API changes. 2005-06-10 16:51:49 +00:00
Garance A Drosehn
038164a116 Mention the change to kinfo_proc, and the need for a complete buildworld. 2005-06-09 19:09:38 +00:00
Brooks Davis
a8d23252b6 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
Andrew Thompson
dfa58a496f Bump __FreeBSD_version for if_bridge.
Approved by:	mlaier (mentor)
2005-06-05 03:38:03 +00:00
Hajimu UMEMOTO
0fe9e21bd9 mention libpcap. 2005-06-03 10:19:26 +00:00
Hajimu UMEMOTO
1d6a063bff fix typo in my previous commit.
Submitted by:	Jiawei Ye <leafy7382 _at_ gmail.com>
2005-06-03 09:15:17 +00:00
Hajimu UMEMOTO
2554b2d12b mention getnet*(3) ABI breakage. 2005-06-03 03:34:21 +00:00
Garance A Drosehn
0a4c254389 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
Alexander Leidinger
2e937dd6ee 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
Warner Losh
a8e72fd37a 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
Warner Losh
0fcc778f3f Remove reference to seedrandom, since it is now gone, and was in there
just in case.
2005-05-09 16:44:22 +00:00
Max Laier
6441fe9598 Bump __FreeBSD_version for pf 3.7 and inform about user visible changes. 2005-05-03 17:43:14 +00:00
Scott Long
cfdb76e5b0 Note that NO_MIXED_MODE is gone. 2005-04-18 14:33:18 +00:00
Warner Losh
4f638121dc Remove important entry being X that's 9 months old 2005-03-03 08:44:33 +00:00
Warner Losh
8ce4cbbf88 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
Xin LI
aea80a64a5 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
Ruslan Ermilov
4bb8b8beda Add a note about new format of LC_CTYPE files. 2005-02-26 22:26:10 +00:00
Nate Lawson
915a554b41 Add notes on merging acpi_perf and acpi_throttle to acpi.ko 2005-02-25 20:10:38 +00:00
Brooks Davis
bc9d299133 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
Maxim Sobolev
90dc539be0 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
Ruslan Ermilov
3ecf3bdd6b 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
Nate Lawson
10d6bd7611 Note removal of "options CPU_ENABLE_TCC" 2005-02-23 16:52:55 +00:00
Ruslan Ermilov
dcb5d8f848 Fix disorder. 2005-02-07 09:15:52 +00:00
Nate Lawson
398dd94c31 Note the cpufreq import and acpi throttling changes. 2005-02-06 21:24:50 +00:00
Gleb Smirnoff
da71ab855f Notice that NG_VERSION has been increased. 2005-02-05 23:25:59 +00:00
Maxim Konovalov
cdef3cf441 Fix typos.
PR:		misc/77151
Submitted by:	Anton Karpov
2005-02-05 20:44:53 +00:00
Warner Losh
b272360897 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 Davis
5ddd062275 Note the deprecation of the abbreviation of a number of ipfw options. 2005-01-15 01:53:49 +00:00
Ruslan Ermilov
b521988e6d 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 Leffler
87c9e3704f Note requirement to manually load/configure ancillary wlan modules.
Requested by:	silby
2004-12-20 04:27:23 +00:00
Brian Somers
71c1c49abb Mention the necessity for ``enable echo'' in ppp(8). 2004-12-13 17:52:10 +00:00
David E. O'Brien
773322d5f8 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 Leffler
8804652415 note ath+wlan changes 2004-12-11 23:21:31 +00:00
Max Laier
b05bb3e748 Remove some (no longer vaild) notes about PFIL_HOOKS. 2004-12-08 04:08:33 +00:00
John Baldwin
81adddf30a Add a note about 80386 support being removed from HEAD. 2004-11-16 21:18:41 +00:00
Poul-Henning Kamp
42ba1c5766 Add note about changed root mount semantics for (preloaded) memory disks 2004-11-10 07:39:27 +00:00
Andre Oppermann
c94c54e4df 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 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