svn commit: r242511 - head/sbin/fsck_msdosfs

2012-11-03 Thread Jaakko Heinonen
Author: jh Date: Sat Nov 3 09:18:37 2012 New Revision: 242511 URL: http://svn.freebsd.org/changeset/base/242511 Log: Print a newline after the error message. PR: bin/168447 Submitted by: Boris Kochergin Modified: head/sbin/fsck_msdosfs/check.c Modified: head/sbin/fsck_msdos

svn commit: r242512 - head/lib/libc/net

2012-11-03 Thread Michael Tuexen
Author: tuexen Date: Sat Nov 3 13:22:25 2012 New Revision: 242512 URL: http://svn.freebsd.org/changeset/base/242512 Log: Fix errno in a couple of error cases. MFC after: 3 days Modified: head/lib/libc/net/sctp_sys_calls.c Modified: head/lib/libc/net/sctp_sys_calls.c ===

svn commit: r242514 - in head: etc/root share/skel

2012-11-03 Thread Eitan Adler
Author: eadler Date: Sat Nov 3 14:46:15 2012 New Revision: 242514 URL: http://svn.freebsd.org/changeset/base/242514 Log: Revert the change that makes less default. Since I've committed this I've receieved roughly an equal amount of email thanking me for making this change and asking me

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

2012-11-03 Thread Attilio Rao
Author: attilio Date: Sat Nov 3 15:57:37 2012 New Revision: 242515 URL: http://svn.freebsd.org/changeset/base/242515 Log: Merge r242395,242483 from mutex implementation: give rwlock(9) the ability to crunch different type of structures, with the only constraint that they have a lock cookie

Re: svn commit: r242497 - head/sys/dev/mfi

2012-11-03 Thread Doug Ambrisko
FWIW, I also have a fix for this and use the same function for mfi_tbolt.c. It also has a bunch of other fixes. However, I need to merge up to this code. It could use some testing on various cards etc. Thanks, Doug A. On Fri, Nov 02, 2012 at 10:07:45PM +, Xin LI wrote: | Author: delphij |

Re: svn commit: r242497 - head/sys/dev/mfi

2012-11-03 Thread Ryan Stone
Does this apply to only to JBOD, or are RAID arrays > 2TB also affected? On Fri, Nov 2, 2012 at 6:07 PM, Xin LI wrote: > Author: delphij > Date: Fri Nov 2 22:07:45 2012 > New Revision: 242497 > URL: http://svn.freebsd.org/changeset/base/242497 > > Log: > Copy code from scsi_read_write() as m

Re: svn commit: r242497 - head/sys/dev/mfi

2012-11-03 Thread Peter Wemm
On Sat, Nov 3, 2012 at 11:23 AM, Ryan Stone wrote: > Does this apply to only to JBOD, or are RAID arrays > 2TB also affected? The commit message didn't spell it out, but the PR is titled: ">Synopsis: mfi corrupts JBOD disks >2TB due to LBA overflow" -- Peter Wemm - pe...@wemm.org; pe...@

svn commit: r242519 - head/usr.sbin/watchdogd

2012-11-03 Thread Xin LI
Author: delphij Date: Sat Nov 3 18:38:28 2012 New Revision: 242519 URL: http://svn.freebsd.org/changeset/base/242519 Log: Replace log(3) with flsll(3) for watchdogd(8) and drop libm dependency. MFC after:2 weeks Modified: head/usr.sbin/watchdogd/Makefile head/usr.sbin/watchdogd/wa

Re: svn commit: r242519 - head/usr.sbin/watchdogd

2012-11-03 Thread Ian Lepore
On Sat, 2012-11-03 at 18:38 +, Xin LI wrote: > Author: delphij > Date: Sat Nov 3 18:38:28 2012 > New Revision: 242519 > URL: http://svn.freebsd.org/changeset/base/242519 > > Log: > Replace log(3) with flsll(3) for watchdogd(8) and drop libm dependency. > > MFC after: 2 weeks > > Modi

svn commit: r242520 - head/sys/ufs/ffs

2012-11-03 Thread Kirk McKusick
Author: mckusick Date: Sat Nov 3 18:55:55 2012 New Revision: 242520 URL: http://svn.freebsd.org/changeset/base/242520 Log: When a file is first being written, the dynamic block reallocation (implemented by ffs_reallocblks_ufs[12]) relocates the file's blocks so as to cluster them together i

Re: svn commit: r242497 - head/sys/dev/mfi

2012-11-03 Thread Ryan Stone
I saw the thread that lead to the PR(hence my asking the question), but it wasn't clear to me whether the submitter had tried any RAID configurations. In any case, I have access to a box in my test lab with a multi-TB RAID array on an mfi controller, and I've confirmed that the bug does not exhibi

svn commit: r242521 - head/share/misc

2012-11-03 Thread Maxim Konovalov
Author: maxim Date: Sat Nov 3 19:26:08 2012 New Revision: 242521 URL: http://svn.freebsd.org/changeset/base/242521 Log: o DragonFly 2.3.1 added. Modified: head/share/misc/bsd-family-tree Modified: head/share/misc/bsd-family-tree ==

Re: svn commit: r242519 - head/usr.sbin/watchdogd

2012-11-03 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 11/3/12 11:45 AM, Ian Lepore wrote: > On Sat, 2012-11-03 at 18:38 +, Xin LI wrote: >> Author: delphij Date: Sat Nov 3 18:38:28 2012 New Revision: >> 242519 URL: http://svn.freebsd.org/changeset/base/242519 >> >> Log: Replace log(3) with flsl

Re: svn commit: r242519 - head/usr.sbin/watchdogd

2012-11-03 Thread Ian Lepore
On Sat, 2012-11-03 at 12:50 -0700, Xin Li wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > On 11/3/12 11:45 AM, Ian Lepore wrote: > > On Sat, 2012-11-03 at 18:38 +, Xin LI wrote: > >> Author: delphij Date: Sat Nov 3 18:38:28 2012 New Revision: > >> 242519 URL: http://svn.freebsd

svn commit: r242522 - head

2012-11-03 Thread Marcel Moolenaar
Author: marcel Date: Sat Nov 3 20:43:12 2012 New Revision: 242522 URL: http://svn.freebsd.org/changeset/base/242522 Log: Add the buildLINT convenience target, handy for build automation. The automation can set TARGET_ARCH and TARGET and then make various top-level targets, including buildLI

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

2012-11-03 Thread Garrett Cooper
On Sat, Nov 3, 2012 at 1:35 PM, Alfred Perlstein wrote: > Author: alfred > Date: Sat Nov 3 18:21:40 2012 > New Revision: 242520 > URL: http://svn.freebsd.org/changeset/base/242520 > > Log: > Retire MAXUSERS. > > Approved by: peter, meetBSD > s/maxusers/maxbikesheds/g 0-o..?

svn commit: r242523 - head/sys/dev/usb/controller

2012-11-03 Thread Marcel Moolenaar
Author: marcel Date: Sat Nov 3 21:05:32 2012 New Revision: 242523 URL: http://svn.freebsd.org/changeset/base/242523 Log: Allow using the embedded EHCI host controller in Freescale SoCs by adding the missing bits. See ehci_fsl.c for their use. Modified: head/sys/dev/usb/controller/ehci.c

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

2012-11-03 Thread Gleb Smirnoff
On Sat, Nov 03, 2012 at 01:35:20PM -0700, Alfred Perlstein wrote: A> Author: alfred A> Date: Sat Nov 3 18:21:40 2012 A> New Revision: 242520 A> URL: http://svn.freebsd.org/changeset/base/242520 A> A> Log: A> Retire MAXUSERS. A> A> Approved by: peter, meetBSD This mechanical rename to meanin

svn commit: r242524 - head/sys/conf

2012-11-03 Thread Marcel Moolenaar
Author: marcel Date: Sat Nov 3 21:08:27 2012 New Revision: 242524 URL: http://svn.freebsd.org/changeset/base/242524 Log: Add the bus attachment for the embedded EHCI HC. Modified: head/sys/conf/files.powerpc Modified: head/sys/conf/files.powerpc =

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

2012-11-03 Thread Konstantin Belousov
On Sun, Nov 04, 2012 at 01:08:18AM +0400, Gleb Smirnoff wrote: > On Sat, Nov 03, 2012 at 01:35:20PM -0700, Alfred Perlstein wrote: > A> Author: alfred > A> Date: Sat Nov 3 18:21:40 2012 > A> New Revision: 242520 > A> URL: http://svn.freebsd.org/changeset/base/242520 > A> > A> Log: > A> Retire M

svn commit: r242525 - in head/sys: conf dev/md

2012-11-03 Thread Marcel Moolenaar
Author: marcel Date: Sat Nov 3 21:20:55 2012 New Revision: 242525 URL: http://svn.freebsd.org/changeset/base/242525 Log: Add a MD_ROOT_FSTYPE kernel option. The option specifies the file system part for the MD_ROOT mount string. Hardcoding the the file system type as "ufs" is too restrictiv

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

2012-11-03 Thread Hiroki Sato
Konstantin Belousov wrote in <20121103211518.gh73...@kib.kiev.ua>: ko> On Sun, Nov 04, 2012 at 01:08:18AM +0400, Gleb Smirnoff wrote: ko> > On Sat, Nov 03, 2012 at 01:35:20PM -0700, Alfred Perlstein wrote: ko> > A> Author: alfred ko> > A> Date: Sat Nov 3 18:21:40 2012 ko> > A> New Revision: 24

svn commit: r242526 - head/sys/powerpc/booke

2012-11-03 Thread Marcel Moolenaar
Author: marcel Date: Sat Nov 3 22:02:12 2012 New Revision: 242526 URL: http://svn.freebsd.org/changeset/base/242526 Log: 1. Have the APs initialize the TLB1 entries from what has been programmed on the BSP during (early) boot. This makes sure that the APs get configured the same as

svn commit: r242527 - head/sys/dev/ath

2012-11-03 Thread Adrian Chadd
Author: adrian Date: Sat Nov 3 22:12:35 2012 New Revision: 242527 URL: http://svn.freebsd.org/changeset/base/242527 Log: Add a new HAL call to extract out the HAL enterprise bits from the AR9300 HAL. Modified: head/sys/dev/ath/if_ath.c head/sys/dev/ath/if_athvar.h Modified: head/sys/dev

svn commit: r242528 - head/sys/dev/ath

2012-11-03 Thread Adrian Chadd
Author: adrian Date: Sat Nov 3 22:13:42 2012 New Revision: 242528 URL: http://svn.freebsd.org/changeset/base/242528 Log: For AR9380 NICs - the non-enterprise versions don't support RTS protection of small (< 256 byte) aggregate frames. This needs to be done or 11n aggregation TX just sim

svn commit: r242529 - in head/sys: dev/syscons kern sys

2012-11-03 Thread Ed Schouten
Author: ed Date: Sat Nov 3 22:21:37 2012 New Revision: 242529 URL: http://svn.freebsd.org/changeset/base/242529 Log: Add tty_set_winsize(). This removes some of the signalling magic from the Syscons driver and puts it in the TTY layer, where it belongs. Modified: head/sys/dev/syscons/

svn commit: r242530 - head/bin/sh

2012-11-03 Thread Jilles Tjoelker
Author: jilles Date: Sat Nov 3 22:23:08 2012 New Revision: 242530 URL: http://svn.freebsd.org/changeset/base/242530 Log: sh: Use C99 flexible array instead of accessing array beyond bounds. Although sufficient memory is available for a longer string in cmdname, this is undefined behaviou

svn commit: r242531 - in head/sys/arm: arm broadcom/bcm2835 include lpc mv tegra ti

2012-11-03 Thread Andrew Turner
Author: andrew Date: Sat Nov 3 22:39:07 2012 New Revision: 242531 URL: http://svn.freebsd.org/changeset/base/242531 Log: Merge the FDT versions of initarm. The copies of initarm used on platforms with FDT support were almost identical. The differences were pulled out into separate functi

svn commit: r242532 - head/sys/dev/ath

2012-11-03 Thread Adrian Chadd
Author: adrian Date: Sat Nov 3 22:54:42 2012 New Revision: 242532 URL: http://svn.freebsd.org/changeset/base/242532 Log: EDMA TX tweaks: * don't poke ath_hal_txstart() if nothing was pushed into the FIFO during the refill process; * shuffle around the TX debugging output a little

svn commit: r242534 - in head/sys: amd64/amd64 i386/i386 ia64/ia64 mips/mips powerpc/aim sparc64/include sparc64/sparc64

2012-11-03 Thread Attilio Rao
Author: attilio Date: Sat Nov 3 23:03:14 2012 New Revision: 242534 URL: http://svn.freebsd.org/changeset/base/242534 Log: Rework the known rwlock to benefit about staying on their own cache line in order to avoid manual frobbing but using struct rwlock_padalign. Reviewed by: alc, jimh

svn commit: r242535 - head/sys/powerpc/booke

2012-11-03 Thread Alan Cox
Author: alc Date: Sat Nov 3 23:22:49 2012 New Revision: 242535 URL: http://svn.freebsd.org/changeset/base/242535 Log: Replace all uses of the page queues lock by a R/W lock that is private to this pmap. Eliminate two redundant #include's. Tested by:marcel Modified: head/sys/p

svn commit: r242536 - head/sys/fs/fuse

2012-11-03 Thread Attilio Rao
Author: attilio Date: Sat Nov 3 23:32:32 2012 New Revision: 242536 URL: http://svn.freebsd.org/changeset/base/242536 Log: Fix a bug where operations was carried on even if not implemented, leading to handling of an invalid fdip object. Reported and tested by: flo MFC after:2

svn commit: r242540 - head/sys/dev/ath

2012-11-03 Thread Adrian Chadd
Author: adrian Date: Sun Nov 4 00:46:01 2012 New Revision: 242540 URL: http://svn.freebsd.org/changeset/base/242540 Log: Oops - conditionalise that. Modified: head/sys/dev/ath/if_ath_tx_edma.c Modified: head/sys/dev/ath/if_ath_tx_edma.c ==

svn commit: r242541 - in head: etc/root share/skel

2012-11-03 Thread Baptiste Daroussin
Author: bapt Date: Sun Nov 4 01:00:35 2012 New Revision: 242541 URL: http://svn.freebsd.org/changeset/base/242541 Log: Change default prompt to show ~ again for the home directory Submitted by: flo Approved by: eadler Modified: head/etc/root/dot.cshrc head/share/skel/dot.cshrc Mod

svn commit: r242546 - head/sbin/mdconfig

2012-11-03 Thread Warren Block
Author: wblock (doc committer) Date: Sun Nov 4 03:19:07 2012 New Revision: 242546 URL: http://svn.freebsd.org/changeset/base/242546 Log: Add an example showing the use of gnop(8) to skip over header data. PR: kern/145999 Reviewed by: mjg MFC after:1 week Modified: hea