svn commit: r185688 - head/usr.bin/tar

2008-12-05 Thread Tim Kientzle
Author: kientzle Date: Sat Dec 6 07:38:14 2008 New Revision: 185688 URL: http://svn.freebsd.org/changeset/base/185688 Log: bsdtar is synced up with 2.5.903a Modified: head/usr.bin/tar/Makefile Modified: head/usr.bin/tar/Makefile ==

svn commit: r185687 - head/usr.bin/tar

2008-12-05 Thread Tim Kientzle
Author: kientzle Date: Sat Dec 6 07:37:55 2008 New Revision: 185687 URL: http://svn.freebsd.org/changeset/base/185687 Log: bsdtar always supports long options now, so we can remove a documentation disclaimer. Modified: head/usr.bin/tar/bsdtar.1 Modified: head/usr.bin/tar/bsdtar.1

svn commit: r185686 - head/usr.bin/tar

2008-12-05 Thread Tim Kientzle
Author: kientzle Date: Sat Dec 6 07:37:14 2008 New Revision: 185686 URL: http://svn.freebsd.org/changeset/base/185686 Log: Only use GCC-specific __dead2 marker when building with GCC. Modified: head/usr.bin/tar/bsdtar.h head/usr.bin/tar/bsdtar_platform.h Modified: head/usr.bin/tar/bsdtar.

svn commit: r185685 - head/usr.bin/cpio

2008-12-05 Thread Tim Kientzle
Author: kientzle Date: Sat Dec 6 07:30:40 2008 New Revision: 185685 URL: http://svn.freebsd.org/changeset/base/185685 Log: Custom command line parser for cpio; this is a little more code but should be a lot fewer cross-platform compatibility headaches. Modified: head/usr.bin/cpio/Makefil

svn commit: r185684 - head/usr.bin/cpio

2008-12-05 Thread Tim Kientzle
Author: kientzle Date: Sat Dec 6 07:15:42 2008 New Revision: 185684 URL: http://svn.freebsd.org/changeset/base/185684 Log: Make the GCC-specific __dead2 markers conditional on whether we're compiling under GCC. Modified: head/usr.bin/cpio/cpio.h head/usr.bin/cpio/cpio_platform.h Modifie

svn commit: r185683 - head/lib/libarchive/test

2008-12-05 Thread Tim Kientzle
Author: kientzle Date: Sat Dec 6 07:08:08 2008 New Revision: 185683 URL: http://svn.freebsd.org/changeset/base/185683 Log: New tests: * support for bzip2 file with multiple concatenated bzip2 streams * support for bzip2 file with junk after bzip2 stream * support for gzip file with jun

svn commit: r185682 - head/lib/libarchive

2008-12-05 Thread Tim Kientzle
Author: kientzle Date: Sat Dec 6 06:57:45 2008 New Revision: 185682 URL: http://svn.freebsd.org/changeset/base/185682 Log: Strip ";1" and trailing "." from ISO9660 entries. This seems a better match for people's expectations. Modified: head/lib/libarchive/archive_read_support_format_iso966

svn commit: r185681 - head/lib/libarchive

2008-12-05 Thread Tim Kientzle
Author: kientzle Date: Sat Dec 6 06:55:07 2008 New Revision: 185681 URL: http://svn.freebsd.org/changeset/base/185681 Log: General improvements to Rockridge parsing and ISO9660 format detection. Modified: head/lib/libarchive/archive_read_support_format_iso9660.c Modified: head/lib/libarchiv

svn commit: r185680 - head/lib/libarchive

2008-12-05 Thread Tim Kientzle
Author: kientzle Date: Sat Dec 6 06:50:09 2008 New Revision: 185680 URL: http://svn.freebsd.org/changeset/base/185680 Log: Conditionalize a bunch of debugging messages; this also eliminates what should be the only remaining stdio dependency. Modified: head/lib/libarchive/archive_read_suppo

svn commit: r185679 - head/lib/libarchive

2008-12-05 Thread Tim Kientzle
Author: kientzle Date: Sat Dec 6 06:45:15 2008 New Revision: 185679 URL: http://svn.freebsd.org/changeset/base/185679 Log: MfP4: Big read filter refactoring. This is an attempt to eliminate a lot of redundant code from the read ("decompression") filters by changing them to juggle arbit

svn commit: r185678 - head/lib/libarchive

2008-12-05 Thread Tim Kientzle
Author: kientzle Date: Sat Dec 6 06:23:37 2008 New Revision: 185678 URL: http://svn.freebsd.org/changeset/base/185678 Log: Style: tabs after #define Modified: head/lib/libarchive/archive_private.h Modified: head/lib/libarchive/archive_private.h ==

svn commit: r185677 - head/lib/libarchive

2008-12-05 Thread Tim Kientzle
Author: kientzle Date: Sat Dec 6 06:20:21 2008 New Revision: 185677 URL: http://svn.freebsd.org/changeset/base/185677 Log: Use GCC-specific dead function markers only when using GCC. Modified: head/lib/libarchive/archive_private.h Modified: head/lib/libarchive/archive_private.h

svn commit: r185676 - head/lib/libarchive

2008-12-05 Thread Tim Kientzle
Author: kientzle Date: Sat Dec 6 06:18:46 2008 New Revision: 185676 URL: http://svn.freebsd.org/changeset/base/185676 Log: Structure declarations can't be dllexported. Modified: head/lib/libarchive/archive_entry.h Modified: head/lib/libarchive/archive_entry.h ===

svn commit: r185675 - head/lib/libarchive

2008-12-05 Thread Tim Kientzle
Author: kientzle Date: Sat Dec 6 06:17:18 2008 New Revision: 185675 URL: http://svn.freebsd.org/changeset/base/185675 Log: Style fixes: * Wrap long declarations to fit 80 chars * #undef macros that shouldn't be exported * Organize the version-dependent conditionals a bit more cons

svn commit: r185674 - head/lib/libarchive

2008-12-05 Thread Tim Kientzle
Author: kientzle Date: Sat Dec 6 06:12:24 2008 New Revision: 185674 URL: http://svn.freebsd.org/changeset/base/185674 Log: A couple of portability fixes from Joerg Sonnenberger Modified: head/lib/libarchive/archive_endian.h Modified: head/lib/libarchive/archive_endian.h

svn commit: r185672 - head/lib/libarchive/test

2008-12-05 Thread Tim Kientzle
Author: kientzle Date: Sat Dec 6 06:02:26 2008 New Revision: 185672 URL: http://svn.freebsd.org/changeset/base/185672 Log: Recover after test failure. Modified: head/lib/libarchive/test/test_write_format_cpio.c Modified: head/lib/libarchive/test/test_write_format_cpio.c

svn commit: r185671 - head/lib/libarchive/test

2008-12-05 Thread Tim Kientzle
Author: kientzle Date: Sat Dec 6 06:01:50 2008 New Revision: 185671 URL: http://svn.freebsd.org/changeset/base/185671 Log: Style: skipping() function correctly counts this as a skipped test. Modified: head/lib/libarchive/test/test_write_disk_perms.c Modified: head/lib/libarchive/test/test_

svn commit: r185670 - head/lib/libarchive/test

2008-12-05 Thread Tim Kientzle
Author: kientzle Date: Sat Dec 6 06:00:52 2008 New Revision: 185670 URL: http://svn.freebsd.org/changeset/base/185670 Log: Style improvements. Modified: head/lib/libarchive/test/test_read_format_cpio_bin_bz2.c Modified: head/lib/libarchive/test/test_read_format_cpio_bin_bz2.c ==

svn commit: r185669 - head/lib/libarchive/test

2008-12-05 Thread Tim Kientzle
Author: kientzle Date: Sat Dec 6 05:59:46 2008 New Revision: 185669 URL: http://svn.freebsd.org/changeset/base/185669 Log: Better reporting of test failures. Modified: head/lib/libarchive/test/test_read_pax_truncated.c Modified: head/lib/libarchive/test/test_read_pax_truncated.c ===

svn commit: r185668 - head/lib/libarchive/test

2008-12-05 Thread Tim Kientzle
Author: kientzle Date: Sat Dec 6 05:58:24 2008 New Revision: 185668 URL: http://svn.freebsd.org/changeset/base/185668 Log: Recover from a test failure here. Modified: head/lib/libarchive/test/test_read_format_gtar_sparse.c Modified: head/lib/libarchive/test/test_read_format_gtar_sparse.c ==

svn commit: r185667 - head/lib/libarchive

2008-12-05 Thread Tim Kientzle
Author: kientzle Date: Sat Dec 6 05:56:43 2008 New Revision: 185667 URL: http://svn.freebsd.org/changeset/base/185667 Log: New internal archive_string_concat utility function. Modified: head/lib/libarchive/archive_string.c head/lib/libarchive/archive_string.h Modified: head/lib/libarchive

svn commit: r185666 - head/lib/libarchive

2008-12-05 Thread Tim Kientzle
Author: kientzle Date: Sat Dec 6 05:55:46 2008 New Revision: 185666 URL: http://svn.freebsd.org/changeset/base/185666 Log: Minor portability: Declare 'r' only within the conditional block where it's used; S_ISLNK is more portable than S_ISLINK. Modified: head/lib/libarchive/archive_write_

svn commit: r185665 - head/lib/libarchive

2008-12-05 Thread Tim Kientzle
Author: kientzle Date: Sat Dec 6 05:53:05 2008 New Revision: 185665 URL: http://svn.freebsd.org/changeset/base/185665 Log: Windows build now uses PLATFORM_CONFIG_H macro, so we can eliminate the special case for it. Modified: head/lib/libarchive/archive_platform.h Modified: head/lib/libar

svn commit: r185664 - head/lib/libarchive

2008-12-05 Thread Tim Kientzle
Author: kientzle Date: Sat Dec 6 05:52:01 2008 New Revision: 185664 URL: http://svn.freebsd.org/changeset/base/185664 Log: 2 is more portable than STDERR_FILENO Modified: head/lib/libarchive/archive_check_magic.c Modified: head/lib/libarchive/archive_check_magic.c ==

svn commit: r185662 - in head/sys/dev/cxgb: . common

2008-12-05 Thread George V. Neville-Neil
Author: gnn Date: Sat Dec 6 02:10:53 2008 New Revision: 185662 URL: http://svn.freebsd.org/changeset/base/185662 Log: Bug fix to support N310 version of Chelsio cards (board ID 1088). Obtained from:Chelsio Inc. MFC after:3 days Modified: head/sys/dev/cxgb/common/cxgb_t3_hw

Re: svn commit: r185647 - in head/sys: kern sys

2008-12-05 Thread Ganbold
Konstantin Belousov wrote: > Author: kib > Date: Fri Dec 5 20:50:24 2008 > New Revision: 185647 > URL: http://svn.freebsd.org/changeset/base/185647 > > Log: > Several threads in a process may do vfork() simultaneously. Then, all > parent threads sleep on the parent' struct proc until correspon

svn commit: r185661 - head/sys/dev/sdhci

2008-12-05 Thread Alexander Motin
Author: mav Date: Sat Dec 6 01:31:07 2008 New Revision: 185661 URL: http://svn.freebsd.org/changeset/base/185661 Log: Forget current bus power settings on full reset. Chip must be reconfigured. Do not issue command if there is no card, clock or power. Controller will not detect command t

svn commit: r185660 - in releng/7.1/sys: . dev/ale

2008-12-05 Thread Pyun YongHyeon
Author: yongari Date: Sat Dec 6 01:11:45 2008 New Revision: 185660 URL: http://svn.freebsd.org/changeset/base/185660 Log: MFC r185576: Add some PHY magic to enable PHY hibernation and 1000baseT/10baseT power adjustment. This change is required to guarantee correct operation on certa

svn commit: r185659 - in stable/7/sys: . dev/ale

2008-12-05 Thread Pyun YongHyeon
Author: yongari Date: Sat Dec 6 01:01:17 2008 New Revision: 185659 URL: http://svn.freebsd.org/changeset/base/185659 Log: MFC r185576: Add some PHY magic to enable PHY hibernation and 1000baseT/10baseT power adjustment. This change is required to guarantee correct operation on certa

Re: svn commit: r185647 - in head/sys: kern sys

2008-12-05 Thread Kostik Belousov
On Fri, Dec 05, 2008 at 11:46:00PM +0100, Roman Divacky wrote: > On Fri, Dec 05, 2008 at 08:50:24PM +, Konstantin Belousov wrote: > > Author: kib > > Date: Fri Dec 5 20:50:24 2008 > > New Revision: 185647 > > URL: http://svn.freebsd.org/changeset/base/185647 > > > > Log: > > Several threads

Re: svn commit: r185647 - in head/sys: kern sys

2008-12-05 Thread Roman Divacky
On Fri, Dec 05, 2008 at 08:50:24PM +, Konstantin Belousov wrote: > Author: kib > Date: Fri Dec 5 20:50:24 2008 > New Revision: 185647 > URL: http://svn.freebsd.org/changeset/base/185647 > > Log: > Several threads in a process may do vfork() simultaneously. Then, all > parent threads sleep

svn commit: r185658 - releng/7.1/share/man/man4

2008-12-05 Thread Xin LI
Author: delphij Date: Fri Dec 5 22:36:49 2008 New Revision: 185658 URL: http://svn.freebsd.org/changeset/base/185658 Log: MFC revisions 183648 and 185574: 183648 (simon): Document that the bce(4) driver works with Dell PowerEdge 1950/2950 NIC's. 185574 (delphij): Update bce(4)'s har

svn commit: r185657 - stable/7/share/man/man4

2008-12-05 Thread Xin LI
Author: delphij Date: Fri Dec 5 22:35:44 2008 New Revision: 185657 URL: http://svn.freebsd.org/changeset/base/185657 Log: MFC revisions 183648 and 185574: 183648 (simon): Document that the bce(4) driver works with Dell PowerEdge 1950/2950 NIC's. 185574 (delphij): Update bce(4)'s har

svn commit: r185656 - head/share/man/man7

2008-12-05 Thread Jens Schweikhardt
Author: schweikh Date: Fri Dec 5 22:04:52 2008 New Revision: 185656 URL: http://svn.freebsd.org/changeset/base/185656 Log: Correct a typo. Modified: head/share/man/man7/ports.7 Modified: head/share/man/man7/ports.7

svn commit: r185655 - head/sys/dev/cxgb

2008-12-05 Thread George V. Neville-Neil
Author: gnn Date: Fri Dec 5 21:40:11 2008 New Revision: 185655 URL: http://svn.freebsd.org/changeset/base/185655 Log: Re submit code to print the part and serial number for Chelsio cards. The original code was accidentally removed in another commit. MFC after: 1 day Modified: head/sys

svn commit: r185654 - in releng/7.1/sys: . dev/bce

2008-12-05 Thread Xin LI
Author: delphij Date: Fri Dec 5 21:32:30 2008 New Revision: 185654 URL: http://svn.freebsd.org/changeset/base/185654 Log: MFC r185593: Don't attempt to clear status updates if we did not do a link state change. As a side effect, this makes the excessive interrupts to disappear which h

svn commit: r185653 - in stable/7/sys: . dev/bce

2008-12-05 Thread Xin LI
Author: delphij Date: Fri Dec 5 21:30:13 2008 New Revision: 185653 URL: http://svn.freebsd.org/changeset/base/185653 Log: MFC r185593: Don't attempt to clear status updates if we did not do a link state change. As a side effect, this makes the excessive interrupts to disappear which h

svn commit: r185652 - head/sys/libkern

2008-12-05 Thread John Baldwin
Author: jhb Date: Fri Dec 5 21:19:24 2008 New Revision: 185652 URL: http://svn.freebsd.org/changeset/base/185652 Log: Add simple locking for the in-kernel iconv code. Translation operations do not need any locking. Opening and closing translators is serialized using an sx lock. Note:

svn commit: r185651 - head/sys/i386/include

2008-12-05 Thread Konstantin Belousov
Author: kib Date: Fri Dec 5 21:17:54 2008 New Revision: 185651 URL: http://svn.freebsd.org/changeset/base/185651 Log: Unconditionally use locked addition of zero to tip of the stack for memory barriers on i386. It works as a serialization instruction on all IA32 CPUs. Alternative solut

svn commit: r185648 - in stable/6/sys: alpha/alpha amd64/amd64 ia64/ia64 powerpc/powerpc sparc64/sparc64

2008-12-05 Thread John Baldwin
Author: jhb Date: Fri Dec 5 21:14:30 2008 New Revision: 185648 URL: http://svn.freebsd.org/changeset/base/185648 Log: MFC: It has been observed on the mailing lists that the different categories of pages don't sum to anywhere near the total number of pages on amd64. This is for the most pa

Re: svn commit: r185647 - in head/sys: kern sys

2008-12-05 Thread Kostik Belousov
On Fri, Dec 05, 2008 at 12:54:40PM -0800, Julian Elischer wrote: > Konstantin Belousov wrote: > >Author: kib > >Date: Fri Dec 5 20:50:24 2008 > >New Revision: 185647 > >URL: http://svn.freebsd.org/changeset/base/185647 > > > >Log: > > Several threads in a process may do vfork() simultaneously. Th

Re: svn commit: r185647 - in head/sys: kern sys

2008-12-05 Thread Julian Elischer
Konstantin Belousov wrote: Author: kib Date: Fri Dec 5 20:50:24 2008 New Revision: 185647 URL: http://svn.freebsd.org/changeset/base/185647 Log: Several threads in a process may do vfork() simultaneously. Then, all parent threads sleep on the parent' struct proc until corresponding child

svn commit: r185647 - in head/sys: kern sys

2008-12-05 Thread Konstantin Belousov
Author: kib Date: Fri Dec 5 20:50:24 2008 New Revision: 185647 URL: http://svn.freebsd.org/changeset/base/185647 Log: Several threads in a process may do vfork() simultaneously. Then, all parent threads sleep on the parent' struct proc until corresponding child releases the vmspace. Each sl

svn commit: r185645 - in stable/6/sys: . dev/mii

2008-12-05 Thread John Baldwin
Author: jhb Date: Fri Dec 5 19:53:12 2008 New Revision: 185645 URL: http://svn.freebsd.org/changeset/base/185645 Log: MFC: Support for the IC Plus IP101 10/100 PHY and Vitesse VSC8601 PHY that are found on some nvidia parts. Suggested by: yongari Modified: stable/6/sys/ (props chang

Re: svn commit: r185435 - in head: lib/libc/sys lib/libkvm share/man/man4 sys/compat/freebsd32 sys/kern sys/net sys/netinet sys/netinet6 sys/security/mac_bsdextended sys/sys usr.bin/cpuset usr.sbin/ja

2008-12-05 Thread Julian Elischer
James Gritton wrote: Bjoern A. Zeeb wrote: On Thu, 4 Dec 2008, Dag-Erling Smørgrav wrote: "Bjoern A. Zeeb" <[EMAIL PROTECTED]> writes: Jails can have an unrestricted (no duplicate protection, etc.) name in addition to the hostname. The jail name cannot be changed from within a jail and i

svn commit: r185644 - in stable/6: share/man/man4 sys/amd64/conf sys/conf sys/dev/nfe sys/i386/conf sys/modules sys/modules/nfe

2008-12-05 Thread John Baldwin
Author: jhb Date: Fri Dec 5 17:44:26 2008 New Revision: 185644 URL: http://svn.freebsd.org/changeset/base/185644 Log: MFC: Add the nfe(4) driver as an alternative to nve(4). To avoid astonishment, nve(4) takes precedence over nfe(4) in this branch. I have also not added it to GENERIC.

svn commit: r185643 - head/lib/libstand

2008-12-05 Thread Luigi Rizzo
Author: luigi Date: Fri Dec 5 17:13:40 2008 New Revision: 185643 URL: http://svn.freebsd.org/changeset/base/185643 Log: Some libstand/bootp.c extension (written by Danny Braniss, slightly revised/modified by me) to store dhcp options into kenv variables, so the information is available to t

svn commit: r185642 - head/sys/kern

2008-12-05 Thread John Baldwin
Author: jhb Date: Fri Dec 5 16:47:30 2008 New Revision: 185642 URL: http://svn.freebsd.org/changeset/base/185642 Log: When the SYSINIT() to load a module invokes the MOD_LOAD event successfully, move that module to the head of the associated linker file's list of modules. The end result is

Re: svn commit: r185625 - head/sys/dev/pccbb

2008-12-05 Thread John Baldwin
On Friday 05 December 2008 12:20:08 am Warner Losh wrote: > Author: imp > Date: Fri Dec 5 05:20:08 2008 > New Revision: 185625 > URL: http://svn.freebsd.org/changeset/base/185625 > > Log: > Move to using filter for the change interrupts. Also rework the power > interrupt code to be more robu

Re: svn commit: r185435 - in head: lib/libc/sys lib/libkvm share/man/man4 sys/compat/freebsd32 sys/kern sys/net sys/netinet sys/netinet6 sys/security/mac_bsdextended sys/sys usr.bin/cpuset usr.sbin/ja

2008-12-05 Thread James Gritton
Bjoern A. Zeeb wrote: On Thu, 4 Dec 2008, Dag-Erling Smørgrav wrote: "Bjoern A. Zeeb" <[EMAIL PROTECTED]> writes: Jails can have an unrestricted (no duplicate protection, etc.) name in addition to the hostname. The jail name cannot be changed from within a jail and is considered to be use

svn commit: r185641 - head/lib/libc/string

2008-12-05 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Dec 5 15:50:59 2008 New Revision: 185641 URL: http://svn.freebsd.org/changeset/base/185641 Log: Add an easier example. Reviewed by: trasz Modified: head/lib/libc/string/strsep.3 Modified: head/lib/libc/string/strsep.3 =

svn commit: r185640 - head/sys/arm/mv/orion

2008-12-05 Thread Rafal Jaworowski
Author: raj Date: Fri Dec 5 15:31:51 2008 New Revision: 185640 URL: http://svn.freebsd.org/changeset/base/185640 Log: Avoid confusion and adjust link address range of Marvell Orion kernel so it is the same as for Kirkwood and Discovery. Modified: head/sys/arm/mv/orion/std.db88f5xxx Modifi

svn commit: r185639 - head/sys/arm/mv

2008-12-05 Thread Rafal Jaworowski
Author: raj Date: Fri Dec 5 15:27:28 2008 New Revision: 185639 URL: http://svn.freebsd.org/changeset/base/185639 Log: Fix configuration of the PCI bridge. This got omitted in the initial import of this code. Modified: head/sys/arm/mv/mv_pci.c Modified: head/sys/arm/mv/mv_pci.c ===

svn commit: r185636 - head/sys/netinet

2008-12-05 Thread Gleb Smirnoff
Author: glebius Date: Fri Dec 5 14:37:14 2008 New Revision: 185636 URL: http://svn.freebsd.org/changeset/base/185636 Log: In a case of CARP status change run through the if_link_state_change() routine, so that devd(8) and others are notified about link state change. Modified: head/sys/neti

svn commit: r185635 - in head/sys: kern sys

2008-12-05 Thread John Baldwin
Author: jhb Date: Fri Dec 5 13:40:25 2008 New Revision: 185635 URL: http://svn.freebsd.org/changeset/base/185635 Log: - Invoke MOD_QUIESCE on all modules in a linker file (kld) before unloading any modules. As a result, if any module veto's an unload request via MOD_QUIESCE, the entire

svn commit: r185634 - head/sys/amd64/amd64

2008-12-05 Thread Konstantin Belousov
Author: kib Date: Fri Dec 5 11:34:36 2008 New Revision: 185634 URL: http://svn.freebsd.org/changeset/base/185634 Log: Improve db_backtrace() for compat ia32 on amd64. 32bit image enters the kernel via Xint0x80_syscall(). Submitted by: dchagin MFC after:1 week Modified: head/sys/

Re: svn commit: r185499 - head

2008-12-05 Thread Dag-Erling Smørgrav
"Garrett Cooper" <[EMAIL PROTECTED]> writes: > [...] I honestly think that the tinderbox target should be renamed to > tinderfarm [...] Bikeshed. There is already a 'universe' target that does everything Alfred wants except exit 1 on error. At least one working patch was put forward (by bz@) to