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: head

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: head/sbin/geom/class/eli/g

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 metadata.

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: head/sbin/geom/class/eli/geo

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: head/sbin/geom/class/el

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", "antidisestablishmenta

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: head/sys/geo

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: r213066 - head/sys/crypto/aesni

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

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

2010-09-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Sep 23 11:49:47 2010 New Revision: 213067 URL: http://svn.freebsd.org/changeset/base/213067 Log: Implement switching of data encryption key every 2^20 blocks. This ensures the same encryption key won't be used for more than 2^20 blocks (sectors). This will be the defaul

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 head/sys/open

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 Modifi

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 head/sys/geom/eli/g_eli_cry

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 head/sys/geom/eli/g_eli

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: r213074 - head/sbin/geom/misc

2010-09-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Sep 23 12:04:12 2010 New Revision: 213074 URL: http://svn.freebsd.org/changeset/base/213074 Log: - Simplify code by using g_*() API. - Don't use u_char and u_int in userland. - Change 'unsigned' to 'unsigned int'. - Update copyright years. MFC after:1 week M

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 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

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 turns

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 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 'AUTO' wa

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 $0

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: 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: head/sys

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 cra

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: 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, U-Boo

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: Gavin Atkinson 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 users : > want to be interested in helping with the debugging (even if

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 t

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: > Gavin Atkinson 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 use

svn commit: r213091 - head/sys/dev/hifn

2010-09-23 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Sep 24 04:46:46 2010 New Revision: 213091 URL: http://svn.freebsd.org/changeset/base/213091 Log: - Do not place variables to memory allocated by busdma. pre/post ops might invalidate cache and hence effectively void validity of values Modified: head/sys/dev/hifn/