Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Dec 2004 23:43:46 -0600
From:      Mark Johnston <mjohnston@skyweb.ca>
To:        current@freebsd.org, freebsd-cvs-summary@lists.enderunix.org
Subject:   cvs-src summary double feature for December 14-27
Message-ID:  <200412292343.46524.mjohnston@skyweb.ca>

next in thread | raw e-mail | index | archive | help
[Scroll down for 21-27]

[Also, I forgot to mention in my last mail that I haven't yet created a
stylesheet for the new HTML summaries, so they look pretty bare.  If you
have the inclination, by all means please submit one, or I'll make one
in the next couple of days.]

FreeBSD cvs-src summary for 2004-12-14 to 2004-12-20
++++++++++++++++++++++++++++++++++++++++++++++++++++
This is a regular weekly summary of FreeBSD's cutting-edge development.
It is intended to help the FreeBSD community keep up with the fast-paced
work going on in FreeBSD-CURRENT by distilling the deluge of data from the
CVS mailing list into a (hopefully) easy-to-read newsletter.

You can get old summaries, and an HTML version of this one, at
http://www.xl0.org/FreeBSD/.  Please send any comments to Mark Johnston
(mark at xl0.org).

============
New Features
============
Improvements to jail startup/shutdown
-------------------------------------
Ralf S. Engelschall (rse) updated the jail[1] subsystem to improve the
startup and shutdown of jails.  He added an rc.conf[2] variable named
jail_<name>_exec_stop that contains a command to be run when the jail is
stopped; this matches jail_<name>_exec_start, which is run when the jail
starts.

[1] http://www.freebsd.org/cgi/man.cgi?query=jail&apropos=0&sektion=8&manpath=FreeBSD+6.0-current&format=html
[2] http://www.freebsd.org/cgi/man.cgi?query=rc.conf&apropos=0&sektion=5&manpath=FreeBSD+6.0-current&format=html

http://www.freebsd.org/cgi/mid.cgi?200412141436.iBEEaZ66050476

Pinnacle PCTV Rave cards supported
----------------------------------
Julian Elischer (julian) committed Branko Lankester's patches to the
bktr[1] driver, for TV input cards, to support the Pinnacle PCTV Rave
card.

[1] http://www.freebsd.org/cgi/man.cgi?query=bktr&apropos=0&sektion=4&manpath=FreeBSD+6.0-current&format=html

Submitted by: Branko Lankester
PR: 73669 (http://www.freebsd.org/cgi/query-pr.cgi?pr=73669)

http://www.freebsd.org/cgi/mid.cgi?200412162337.iBGNbgmQ075418

Initial NFS Direct I/O support
------------------------------
Paul Saab (ps) committed initial support for NFS Network File System
Direct I/O.  Direct I/O disables all caching in the NFS client, which is
useful for programs that do their own caching, like clustered database
servers, or applications that have no use for caching, like streaming
video.

Submitted by: Mohan Srinivasan

http://www.freebsd.org/cgi/mid.cgi?200412152220.iBFMKMKa081446

=================
Discussion Topics
=================
Sorting of make.conf variables
------------------------------
Tom Rhodes (trhodes) added a couple of options to make.conf[1], also
re-sorting the file.  Ruslan Ermilov (ru) replied that Tom's change had
actually unsorted the list, and that it should be in dictionary order.
After some discussion, Tom committed a patch that Ruslan had developed to
restore the sorting to its previous state.

[1] http://www.freebsd.org/cgi/man.cgi?query=make.conf&apropos=0&sektion=5&manpath=FreeBSD+6.0-current&format=html

http://www.freebsd.org/cgi/mid.cgi?200412150210.iBF2AodY094280

Working towards packaging the base system
-----------------------------------------
Paul Richards (paul) committed code that lays out a base for packaging
the base system.  Colin Percival (cperciva) replied, noting that Colin
had been working on similar patches as well.  They were joined by Ruslan
Ermilov (ru) and John Baldwin (jhb), and they briefly discussed the
benefits of each method.

http://www.freebsd.org/cgi/mid.cgi?200412201546.iBKFkuTK047592

=================
Committer Changes
=================
Sam Hopkins (sah) has joined the project as a src committer.  He will be
working on integrating his ATA-over-Ethernet code, among other things.
Scott Long (scottl) will be his mentor.

http://www.freebsd.org/cgi/mid.cgi?200412150804.iBF84Fdj021038

Daniel Hartmeier (dhartmei) is no longer under mentorship.

http://www.freebsd.org/cgi/mid.cgi?200412160224.iBG2OxP6096193

===================
Important Bug Fixes
===================
Potential system lockup in pf fixed
-----------------------------------
Daniel Hartmeier (dhartmei) fixed a bug in PF[1], the OpenBSD packet
filter, that could result in an infinite loop and system hang when using
NAT Network Address Translation with the static-port directive.  This
may be exploitable by LAN clients in a NAT configuration to lock up the
system.

[1] http://www.freebsd.org/cgi/man.cgi?query=pf&apropos=0&sektion=4&manpath=FreeBSD+6.0-current&format=html

Reported by: Hugo Silva, Srebrenco Sehic
PR: 74930 (http://www.freebsd.org/cgi/query-pr.cgi?pr=74930)

http://www.freebsd.org/cgi/mid.cgi?200412191943.iBJJh4Mr070637

===============
Other Bug Fixes
===============
Darren Reed (darrenr) committed a fix to IPFilter[1] to a bug that was
causing IPv6 path MTU (Maximum Transmission Unit, The maximum size of a
packet that can be sent across a given link or path) discovery to fail, by
blocking the outgoing notifications of too-large packets.

The bug was also fixed in RELENG_4 and RELENG_5.

[1] http://www.freebsd.org/cgi/man.cgi?query=ipf&apropos=0&sektion=8&manpath=FreeBSD+6.0-current&format=html

Submitted by: Mark Andrews
PR: 70399 (http://www.freebsd.org/cgi/query-pr.cgi?pr=70399)

http://www.freebsd.org/cgi/mid.cgi?200412162102.iBGL2GCT069715

Maxim Konovalov (maxim) committed a fix to repquota[1], a disk quota
reporting tool, so that its output can properly be sorted with sort[2].
Previously, usernames of the maximum length would run into the quota and
break sorting.

[1] http://www.freebsd.org/cgi/man.cgi?query=repquota&apropos=0&sektion=8&manpath=FreeBSD+6.0-current&format=html
[2] http://www.freebsd.org/cgi/man.cgi?query=sort&apropos=0&sektion=1&manpath=FreeBSD+6.0-current&format=html

Submitted by: Matthew D. Fuller
PR: 75259 (http://www.freebsd.org/cgi/query-pr.cgi?pr=75259)

http://www.freebsd.org/cgi/mid.cgi?200412191802.iBJI2jUp066876

FreeBSD cvs-src summary for 2004-12-21 to 2004-12-27
++++++++++++++++++++++++++++++++++++++++++++++++++++
This is a regular weekly summary of FreeBSD's cutting-edge development.
It is intended to help the FreeBSD community keep up with the fast-paced
work going on in FreeBSD-CURRENT by distilling the deluge of data from the
CVS mailing list into a (hopefully) easy-to-read newsletter.

You can get old summaries, and an HTML version of this one, at
http://www.xl0.org/FreeBSD/.  Please send any comments to Mark Johnston
(mark at xl0.org).

============
New Features
============
IPFilter gains fine-grained locking
-----------------------------------
Darren Reed (darrenr) added fine-grained locking to IPFilter[1], one of
the system firewalls, to enable it to run without the Giant system lock.
This should improve firewall performance, especially on multiprocessor
machines.

[1] http://www.freebsd.org/cgi/man.cgi?query=ipf&apropos=0&sektion=5&manpath=FreeBSD+6.0-current&format=html

http://www.freebsd.org/cgi/mid.cgi?200412240914.iBO9EQwi030378

Enhancements to USB audio
-------------------------
Julian Elischer (julian) committed several patches from Kazuhito Honda,
originally obtained from NetBSD, to drastically improve USB audio support.
USB audio should now support multiple volume controls and, on some
devices, recording, and should no longer break when audio data is fed in
with an incorrect sampling rate.

Submitted by: Kazuhito Honda
PR: 75274 (http://www.freebsd.org/cgi/query-pr.cgi?pr=75274)

http://www.freebsd.org/cgi/mid.cgi?200412250620.iBP6Ko2q007287

New scheduler analysis tool
---------------------------
Jeff Roberson (jeff) committed a new tool called schedgraph.py.  It takes
trace output generated by the system scheduler and displays details on
what different threads are doing at different times.  Jeff reported
shortly afterwards that schedgraph.py had already paid off in the form of
a significant process-switching performance improvement.

http://www.freebsd.org/cgi/mid.cgi?200412260013.iBQ0D7AF074474

===============
Notable Changes
===============
NOxxx variables become NO_xxx
-----------------------------
Ruslan Ermilov (ru) made sweeping commits to change all NO<xxx> variables,
usually used when compiling to include or exclude parts of the system, to
be named NO_<xxx>.  Previously, many variables used each form, and there
was no way to tell which should be used.  The variables currently affected
are:

NOATM NOCLEAN NOCLEANDIR NOCRYPT NODOCCOMPRESS NOEXTRADEPEND NOFORTH
NOFSCHG NOGAMES NOHTML NOINET6 NOINFO NOINFOCOMPRESS NOINSTALLLIB NOIPSEC
NOLIBC_R NOLIBPTHREAD NOLIBTHR NOLINT NOMAN NOMANCOMPRESS NOMLINKS NOOBJ
NOPAM NOPIC NOPROFILE NOSHARE NOSHARED NOTAGS

All of these have simply had an underscore added after the initial NO.
For an up-to-date list, see /usr/share/mk/bsd.compat.mk[1].

The build options for ppp[2] have also been changed to prepend PPP so they
can be used in make.conf.[3]

[1] http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/share/mk/bsd.compat.mk
[2] http://www.freebsd.org/cgi/man.cgi?query=ppp&apropos=0&sektion=8&manpath=FreeBSD+6.0-current&format=html
[3] http://www.freebsd.org/cgi/man.cgi?query=make.conf&apropos=0&sektion=5&manpath=FreeBSD+6.0-current&format=html

http://www.freebsd.org/cgi/mid.cgi?200412210847.iBL8lZdJ029897

=================
Discussion Topics
=================
Running out of KTRs
-------------------
Jeff Roberson (jeff) added a KTR Kernel tracing identifier for his
above-mentioned schedule analysis tool.  This prompted some discussion
about KTR IDs, since there are only two free IDs left.  Dag-Erling
Smorgrav (des) offered some, but found that his cats had eaten them.  Jeff
wondered about having reserved IDs for local use, allowing global IDs to
be reclaimed.  Nate Lawson (njl) suggested using dynamically allocated
IDs, but the implementation was a problem.

http://www.freebsd.org/cgi/mid.cgi?200412260013.iBQ0DcJ1074546

Spurious lock order reversal reports?
-------------------------------------
Darren Reed (darrenr) tweaked the IPFilter[1] firewall, prompting Scott
Long (scottl) to ask whether the lock order reversal in IPFilter had been
fixed.  Lock order reversals result when two locks are released in the
opposite order that they were acquired, leading to possible deadlock.
Darren wondered whether the problem could be in the reporting code;
several people disagreed with this.  Alan and John Baldwin (jhb) later
explained that the sx[2] locks in FreeBSD are unlike Solaris's rwlocks,
which Darren was used to.

[1] http://www.freebsd.org/cgi/man.cgi?query=ipf&apropos=0&sektion=5&manpath=FreeBSD+6.0-current&format=html
[2] http://www.freebsd.org/cgi/man.cgi?query=sx&apropos=0&sektion=9&manpath=FreeBSD+6.0-current&format=html

http://www.freebsd.org/cgi/mid.cgi?200412260909.iBQ99TV1011796

===================
Important Bug Fixes
===================
libarchive MFC'ed to 5.x
------------------------
Tim Kientzle (kientzle) has MFC'ed libarchive, a library for dealing
with various kinds of archives, to 5-STABLE.  This fixes numerous bugs,
including improving error handling, correcting possible device number
corruption, and improving handling of empty files.

http://www.freebsd.org/cgi/mid.cgi?200412220001.iBM01trs089465

===============
Other Bug Fixes
===============
Pyun YongHyeon (yongari) fixed a memory leak in the libdisk[1] disk
interface library.

[1] http://www.freebsd.org/cgi/man.cgi?query=libdisk&apropos=0&sektion=3&manpath=FreeBSD+6.0-current&format=html

http://www.freebsd.org/cgi/mid.cgi?200412220817.iBM8HIVe021963

Ruslan Ermilov (ru) fixed a problem in catman[1], which preformats manual
pages for faster access.  The bug was preventing it from working on
machine-specific pages.

[1] http://www.freebsd.org/cgi/man.cgi?query=catman&apropos=0&sektion=1&manpath=FreeBSD+6.0-current&format=html

Submitted by: Scot W. Hetzel
PR: 72243 (http://www.freebsd.org/cgi/query-pr.cgi?pr=72243)

http://www.freebsd.org/cgi/mid.cgi?200412221604.iBMG4wEE052662

Pawel Jakub Dawidek (pjd) patched a memory buffer leak in the bpf[1]
packet sniffing/injection device.

[1] http://www.freebsd.org/cgi/man.cgi?query=bpf&apropos=0&sektion=4&manpath=FreeBSD+6.0-current&format=html

Submitted by: Johnny Eriksson

http://www.freebsd.org/cgi/mid.cgi?200412271553.iBRFrj4i035263



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412292343.46524.mjohnston>