svn commit: r213049 - stable/8/sbin/hastd

2010-09-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Sep 23 09:02:10 2010 New Revision: 213049 URL: http://svn.freebsd.org/changeset/base/213049 Log: MFC r208028,r210368,r210702,r210869,r210870,r210872,r210873,r210875,r210876, r210879,r210880,r210881,r210882,r210883,r210886,r210892,r211397,r211407,

svn commit: r213050 - stable/8/sbin/hastctl

2010-09-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Sep 23 09:05:40 2010 New Revision: 213050 URL: http://svn.freebsd.org/changeset/base/213050 Log: MFC r208028,r210628,r210909,r210912,r211397: r208028: mdoc: move remaining sections into consistent order This pertains mostly to FILES, HISTORY, EXIT STATUS and

svn commit: r213051 - stable/8/sys/dev/usb/serial

2010-09-23 Thread Gavin Atkinson
Author: gavin Date: Thu Sep 23 09:52:27 2010 New Revision: 213051 URL: http://svn.freebsd.org/changeset/base/213051 Log: Merge r211083 from head: The PL2302X can support any baud rate = 6Mbps, allow any rate to be set. PR: usb/128324 Submitted by: Mike Durian durian

svn commit: r213052 - in stable/8/sys/dev/usb: . serial

2010-09-23 Thread Gavin Atkinson
Author: gavin Date: Thu Sep 23 09:56:02 2010 New Revision: 213052 URL: http://svn.freebsd.org/changeset/base/213052 Log: Merge r21 from head: Attempt to autodetect the cype of chipset, rather than storing this within the device table. This code uses the same algorithm as used in

svn commit: r213053 - head/usr.bin/tftp

2010-09-23 Thread Marius Strobl
Author: marius Date: Thu Sep 23 10:03:03 2010 New Revision: 213053 URL: http://svn.freebsd.org/changeset/base/213053 Log: Remove an explicit assignment of the CFLAGS variable intended for debugging purposes only. MFC after:3 days Modified: head/usr.bin/tftp/Makefile Modified:

svn commit: r213054 - in stable/8/sys/dev/usb: . serial

2010-09-23 Thread Gavin Atkinson
Author: gavin Date: Thu Sep 23 10:20:28 2010 New Revision: 213054 URL: http://svn.freebsd.org/changeset/base/213054 Log: Merge r211153 from head: Now that the uplcom(4) driver can autodetect the chipset type, sync the list of devices supported by uplcom(4) with the following sources:

svn commit: r213055 - head/sys/geom/eli

2010-09-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Sep 23 10:43:37 2010 New Revision: 213055 URL: http://svn.freebsd.org/changeset/base/213055 Log: When trashing metadata, flush after each write. MFC after:1 week Modified: head/sys/geom/eli/g_eli_ctl.c Modified: head/sys/geom/eli/g_eli_ctl.c

svn commit: r213056 - head/sbin/geom/class/eli

2010-09-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Sep 23 10:50:17 2010 New Revision: 213056 URL: http://svn.freebsd.org/changeset/base/213056 Log: Simplify code a bit by using g_*() API from libgeom. MFC after:1 week Modified: head/sbin/geom/class/eli/geom_eli.c Modified: head/sbin/geom/class/eli/geom_eli.c

svn commit: r213057 - head/sbin/geom/class/eli

2010-09-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Sep 23 10:55:45 2010 New Revision: 213057 URL: http://svn.freebsd.org/changeset/base/213057 Log: - Make use of g_*() API. - Flush cache after writing metadata. MFC after:1 week Modified: head/sbin/geom/class/eli/geom_eli.c Modified:

svn commit: r213058 - head/sbin/geom/class/eli

2010-09-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Sep 23 10:58:13 2010 New Revision: 213058 URL: http://svn.freebsd.org/changeset/base/213058 Log: Because we first write metadata into new place and then trash old place we don't want situation where old size is equal to new size, as we will trash newly written

svn commit: r213059 - head/sbin/geom/class/eli

2010-09-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Sep 23 11:04:50 2010 New Revision: 213059 URL: http://svn.freebsd.org/changeset/base/213059 Log: - Use g_*() API when doing backups. - fsync() created filed. MFC after:1 week Modified: head/sbin/geom/class/eli/geom_eli.c Modified:

svn commit: r213060 - head/sbin/geom/class/eli

2010-09-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Sep 23 11:18:02 2010 New Revision: 213060 URL: http://svn.freebsd.org/changeset/base/213060 Log: - When trashing metadata, repeat overwrite kern.geom.eli.overwrites times. - Flush write cache after each write. MFC after:1 week Modified:

svn commit: r213061 - head/share/dict

2010-09-23 Thread Gavin Atkinson
Author: gavin Date: Thu Sep 23 11:19:03 2010 New Revision: 213061 URL: http://svn.freebsd.org/changeset/base/213061 Log: Various changes from various sources: - Add children [1] - Add acknowledgement, acknowledgment, Austria and haunted [2] - Add near, antidisestablishmentarianism and

svn commit: r213062 - head/sys/geom/eli

2010-09-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Sep 23 11:19:48 2010 New Revision: 213062 URL: http://svn.freebsd.org/changeset/base/213062 Log: Define default overwrite count, so that userland can use it. MFC after:1 week Modified: head/sys/geom/eli/g_eli.c head/sys/geom/eli/g_eli.h Modified:

svn commit: r213063 - head/sys/geom/eli

2010-09-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Sep 23 11:23:10 2010 New Revision: 213063 URL: http://svn.freebsd.org/changeset/base/213063 Log: Make the code similar to the code in g_eli_integrity.c. MFC after:1 week Modified: head/sys/geom/eli/g_eli_privacy.c Modified: head/sys/geom/eli/g_eli_privacy.c

svn commit: r213064 - head/sys/crypto/aesni

2010-09-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Sep 23 11:26:38 2010 New Revision: 213064 URL: http://svn.freebsd.org/changeset/base/213064 Log: Simplify code a bit. MFC after:1 week Modified: head/sys/crypto/aesni/aesni.c head/sys/crypto/aesni/aesni_wrap.c Modified: head/sys/crypto/aesni/aesni.c

svn commit: r213065 - head/sys/opencrypto

2010-09-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Sep 23 11:33:29 2010 New Revision: 213065 URL: http://svn.freebsd.org/changeset/base/213065 Log: Remove redundant space. MFC after:1 week Modified: head/sys/opencrypto/xform.c Modified: head/sys/opencrypto/xform.c

svn commit: r213068 - head/sys/opencrypto

2010-09-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Sep 23 11:52:32 2010 New Revision: 213068 URL: http://svn.freebsd.org/changeset/base/213068 Log: Add support for AES-XTS. Obtained from:OpenBSD MFC after:1 week Modified: head/sys/opencrypto/cryptodev.c head/sys/opencrypto/cryptodev.h

svn commit: r213069 - head/sys/crypto/aesni

2010-09-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Sep 23 11:57:25 2010 New Revision: 213069 URL: http://svn.freebsd.org/changeset/base/213069 Log: Add support for CRYPTO_AES_XTS. MFC after:1 week Modified: head/sys/crypto/aesni/aesni.c head/sys/crypto/aesni/aesni.h head/sys/crypto/aesni/aesni_wrap.c

svn commit: r213070 - head/sys/geom/eli

2010-09-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Sep 23 11:58:36 2010 New Revision: 213070 URL: http://svn.freebsd.org/changeset/base/213070 Log: Add support for AES-XTS. This will be the default now. MFC after:1 week Modified: head/sys/geom/eli/g_eli.c head/sys/geom/eli/g_eli.h

svn commit: r213071 - head/sbin/geom/class/eli

2010-09-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Sep 23 12:00:40 2010 New Revision: 213071 URL: http://svn.freebsd.org/changeset/base/213071 Log: Document AES-XTS. MFC after:1 week Modified: head/sbin/geom/class/eli/geli.8 Modified: head/sbin/geom/class/eli/geli.8

svn commit: r213072 - head/sys/geom/eli

2010-09-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Sep 23 12:02:08 2010 New Revision: 213072 URL: http://svn.freebsd.org/changeset/base/213072 Log: Update copyright years. MFC after:1 week Modified: head/sys/geom/eli/g_eli.c head/sys/geom/eli/g_eli.h head/sys/geom/eli/g_eli_crypto.c

svn commit: r213073 - head/sbin/geom/class/eli

2010-09-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Sep 23 12:02:42 2010 New Revision: 213073 URL: http://svn.freebsd.org/changeset/base/213073 Log: Update copyright years. MFC after:1 week Modified: head/sbin/geom/class/eli/geom_eli.c Modified: head/sbin/geom/class/eli/geom_eli.c

svn commit: r213075 - in head: libexec/tftpd usr.bin/tftp

2010-09-23 Thread Marius Strobl
Author: marius Date: Thu Sep 23 14:06:15 2010 New Revision: 213075 URL: http://svn.freebsd.org/changeset/base/213075 Log: Try to adhere to style.Makefile(5). MFC after:3 days Modified: head/libexec/tftpd/Makefile head/usr.bin/tftp/Makefile Modified: head/libexec/tftpd/Makefile

Re: svn commit: r212964 - head/sys/kern

2010-09-23 Thread John Baldwin
On Wednesday, September 22, 2010 5:24:41 pm Bruce Cran wrote: On Thu, 23 Sep 2010 00:02:30 +0300 Andriy Gapon a...@freebsd.org wrote: But what was the reason that dumpdev=AUTO was reverted? I remember that POLA was quoted at the time. I am not sure what the astonishment actually was -

Re: svn commit: r212964 - head/sys/kern

2010-09-23 Thread Matthew Jacob
There are a lot of accelerations that can be applied here- so much so that Panasas elected to stick with minidumps rather than go to text dumps, even though there is a fairly hard time limit that a blade can be down before more drastic error recovery mechanisms for the shelf kick in. It

Re: svn commit: r212964 - head/sys/kern

2010-09-23 Thread Andriy Gapon
on 23/09/2010 16:53 John Baldwin said the following: minidumps have made the time issue less of a concern on large-memory systems (full dumps do indeed take a long time on modern systems). I think textdumps are just as likely to fail as regular dumps though since they both use the same

Re: svn commit: r212964 - head/sys/kern

2010-09-23 Thread Ken Smith
On Wed, 2010-09-22 at 22:24 +0100, Bruce Cran wrote: On Thu, 23 Sep 2010 00:02:30 +0300 Andriy Gapon a...@freebsd.org wrote: But what was the reason that dumpdev=AUTO was reverted? I remember that POLA was quoted at the time. I am not sure what the astonishment actually was - perhaps

svn commit: r213077 - head/sys/conf

2010-09-23 Thread Warner Losh
Author: imp Date: Thu Sep 23 17:12:47 2010 New Revision: 213077 URL: http://svn.freebsd.org/changeset/base/213077 Log: Simplify how we find the kernel source. Rather than depending on sys, or some variation in the path, the new version assumes that $0 is newvers.sh path, and that dirname

svn commit: r213078 - head/sys/conf

2010-09-23 Thread Warner Losh
Author: imp Date: Thu Sep 23 17:29:59 2010 New Revision: 213078 URL: http://svn.freebsd.org/changeset/base/213078 Log: Clean up stray line in 213077 Modified: head/sys/conf/newvers.sh Modified: head/sys/conf/newvers.sh

svn commit: r213079 - stable/8/bin/expr

2010-09-23 Thread Jilles Tjoelker
Author: jilles Date: Thu Sep 23 17:37:57 2010 New Revision: 213079 URL: http://svn.freebsd.org/changeset/base/213079 Log: MFC r212390: expr(1): Add sh(1) versions of examples, remove an incorrect example. The three examples are better done using sh(1) itself these days. The example

svn commit: r213080 - head/sys/rpc

2010-09-23 Thread Ed Maste
Author: emaste Date: Thu Sep 23 17:47:46 2010 New Revision: 213080 URL: http://svn.freebsd.org/changeset/base/213080 Log: Remove unnecessary weak reference that was apparently copied from the version of this function in lib/libc/inet/inet_pton.c MFC after: 1 week Modified:

Re: svn commit: r212964 - head/sys/kern

2010-09-23 Thread Gavin Atkinson
On Thu, 23 Sep 2010, Ken Smith wrote: The issues talked about so far all contribute to the reason for that. But one of the more basic gut reactions to it all is that the users want to be interested in helping with the debugging (even if just providing the requested info) for any sort of crash

svn commit: r213081 - head/sys/dev/bge

2010-09-23 Thread Pyun YongHyeon
Author: yongari Date: Thu Sep 23 18:55:54 2010 New Revision: 213081 URL: http://svn.freebsd.org/changeset/base/213081 Log: Always show asic/chip revision in device attach phase. There are too many bge(4) controllers there and model name does not necessarily match asic/chip revision. Relying

svn commit: r213082 - stable/7/bin/expr

2010-09-23 Thread Jilles Tjoelker
Author: jilles Date: Thu Sep 23 19:21:49 2010 New Revision: 213082 URL: http://svn.freebsd.org/changeset/base/213082 Log: MFC r212390: expr(1): Add sh(1) versions of examples, remove an incorrect example. The three examples are better done using sh(1) itself these days. The example

svn commit: r213083 - stable/7/bin/test

2010-09-23 Thread Jilles Tjoelker
Author: jilles Date: Thu Sep 23 19:36:34 2010 New Revision: 213083 URL: http://svn.freebsd.org/changeset/base/213083 Log: MFC r212418: test(1): Clarify grammar ambiguity and -a/-o vs shell /||. Modified: stable/7/bin/test/test.1 Directory Properties: stable/7/bin/test/ (props changed)

svn commit: r213084 - stable/7/bin/test

2010-09-23 Thread Jilles Tjoelker
Author: jilles Date: Thu Sep 23 19:38:08 2010 New Revision: 213084 URL: http://svn.freebsd.org/changeset/base/213084 Log: MFC r212419: test(1): Fix markup, ( and ) must be separate arguments so leave spaces. Modified: stable/7/bin/test/test.1 Directory Properties: stable/7/bin/test/

svn commit: r213085 - stable/8/tools/regression/bin/sh/builtins

2010-09-23 Thread Jilles Tjoelker
Author: jilles Date: Thu Sep 23 20:37:29 2010 New Revision: 213085 URL: http://svn.freebsd.org/changeset/base/213085 Log: MFC r212187: sh: Add a test that 'read' leaves the file pointer at the correct place. Naive buffering would break the common while read x... construct, which did

svn commit: r213086 - stable/8/tools/regression/bin/sh/builtins

2010-09-23 Thread Jilles Tjoelker
Author: jilles Date: Thu Sep 23 20:49:33 2010 New Revision: 213086 URL: http://svn.freebsd.org/changeset/base/213086 Log: MFC r212330: sh: Add simple tests for backslashes in the read builtin. Added: stable/8/tools/regression/bin/sh/builtins/read3.0 - copied unchanged from r212330,

svn commit: r213087 - in stable/8: bin/sh tools/regression/bin/sh/builtins

2010-09-23 Thread Jilles Tjoelker
Author: jilles Date: Thu Sep 23 21:36:10 2010 New Revision: 213087 URL: http://svn.freebsd.org/changeset/base/213087 Log: MFC r212339: sh: Fix 'read' if all chars before the first IFS char are backslash-escaped. Backslash-escaped characters did not set the flag for a non-IFS character.

svn commit: r213088 - stable/8/sys/fs/tmpfs

2010-09-23 Thread Ivan Voras
Author: ivoras Date: Thu Sep 23 23:05:31 2010 New Revision: 213088 URL: http://svn.freebsd.org/changeset/base/213088 Log: MFC r212305 : Avoid Entry can disappear before we lock fdvp panic. Modified: stable/8/sys/fs/tmpfs/tmpfs_vnops.c Directory Properties: stable/8/sys/ (props changed)

svn commit: r213089 - head/sys/mips/cavium

2010-09-23 Thread Juli Mallett
Author: jmallett Date: Fri Sep 24 00:14:24 2010 New Revision: 213089 URL: http://svn.freebsd.org/changeset/base/213089 Log: Flesh out PCI bus support some: o) Reset and configure the bus from scratch rather than expecting U-Boot to do it for us. Values and configuration from Linux,

Re: svn commit: r212886 - head/sbin/growfs

2010-09-23 Thread Bruce Evans
On Mon, 20 Sep 2010, Marcel Moolenaar wrote: On Sep 19, 2010, at 11:55 PM, Bruce Evans wrote: On Mon, 20 Sep 2010, Marcel Moolenaar wrote: Log: Unbreak the build on strong-aligned architectures (arm, ia64). Casting from (char *) to (struct ufs1_dinode *) changes the alignment requirement of

Re: svn commit: r212964 - head/sys/kern

2010-09-23 Thread M. Warner Losh
In message: alpine.lnx.2.00.1009231841500.23...@ury.york.ac.uk Gavin Atkinson ga...@freebsd.org writes: : On Thu, 23 Sep 2010, Ken Smith wrote: : The issues talked about so far all contribute to the reason for that. : But one of the more basic gut reactions to it all is that the

svn commit: r213090 - head/sys/mips/cavium

2010-09-23 Thread Juli Mallett
Author: jmallett Date: Fri Sep 24 02:41:52 2010 New Revision: 213090 URL: http://svn.freebsd.org/changeset/base/213090 Log: o) Add bus_teardown_intr for pci and ciu. This allows the Promise SATA driver to try to switch interrupt handlers at setup. It's not a very good implementation

Re: svn commit: r212964 - head/sys/kern

2010-09-23 Thread Daniel O'Connor
On 24/09/2010, at 24:28, Ken Smith wrote: stuff. The *bulk* of people using -stable are less interested or flat out not interested. And have no clue what crash dumps are, may be challenged to notice partition-getting-full issues, etc. I'm open to having my mind changed about this if there

Re: svn commit: r212964 - head/sys/kern

2010-09-23 Thread Ken Smith
On Thu, 2010-09-23 at 20:31 -0600, M. Warner Losh wrote: In message: alpine.lnx.2.00.1009231841500.23...@ury.york.ac.uk Gavin Atkinson ga...@freebsd.org writes: : On Thu, 23 Sep 2010, Ken Smith wrote: : The issues talked about so far all contribute to the reason for that. : But