Re: svn commit: r221346 - head/sys/netinet

2011-06-12 Thread Mike Silbersack
On Fri, 3 Jun 2011, John Baldwin wrote: On Saturday, May 14, 2011 1:07:18 pm Mikolaj Golub wrote: On Sat, 14 May 2011 10:37:51 -0400 John Baldwin wrote: JB Can you capture a tcpdump (probably easiest to do from the other host)? I replaced the asserts with log statements to make the host

Re: svn commit: r222998 - head/usr.sbin/bsdinstall

2011-06-12 Thread Bruce Cran
On 11/06/2011 22:44, Nathan Whitehorn wrote: Author: nwhitehorn Date: Sat Jun 11 21:44:07 2011 New Revision: 222998 URL: http://svn.freebsd.org/changeset/base/222998 Log: Long-overdue man page for bsdinstall. +.Dd June 11, 2010 I guess this should be 2011? -- Bruce Cran

svn commit: r223005 - head/bin/sh

2011-06-12 Thread Jilles Tjoelker
Author: jilles Date: Sun Jun 12 10:13:48 2011 New Revision: 223005 URL: http://svn.freebsd.org/changeset/base/223005 Log: sh: Read .profile from the home directory (or / if HOME is not set). In most cases, login shells are started from the home directory, but not in all, such as xterm

Re: svn commit: r222980 - in head/sys: amd64/conf i386/conf

2011-06-12 Thread Alexey Dokuchaev
On Sat, Jun 11, 2011 at 01:55:15PM -0700, Doug Barton wrote: I have 3 or 4 modules loaded via loader.conf at boot time. They take at least 2 seconds each. IMO loading everything via loader.conf would slow the boot so much as to be a non-starter. With my normal slim kernel with most of the

Re: svn commit: r222980 - in head/sys: amd64/conf i386/conf

2011-06-12 Thread Alexey Dokuchaev
On Sat, Jun 11, 2011 at 08:51:32PM +0200, Pawel Jakub Dawidek wrote: On Sat, Jun 11, 2011 at 10:44:14AM -0600, Warner Losh wrote: I think our best bet for 9 is to strip GENERIC to the bone and have a 'generic.conf' if you will that loads everything we compile in today. I think trasz@ tried

svn commit: r223007 - head/tools/regression/bin/sh/builtins

2011-06-12 Thread Jilles Tjoelker
Author: jilles Date: Sun Jun 12 12:27:17 2011 New Revision: 223007 URL: http://svn.freebsd.org/changeset/base/223007 Log: sh: Add test for case pattern matching with iso-8859-1 charset. This also passes on stable/8. Added: head/tools/regression/bin/sh/builtins/case6.0 (contents, props

svn commit: r223008 - head/usr.bin/grep

2011-06-12 Thread Gabor Kovesdan
Author: gabor Date: Sun Jun 12 12:44:02 2011 New Revision: 223008 URL: http://svn.freebsd.org/changeset/base/223008 Log: - Fix -w behavior - Make -F and -w work together - Fix --color to colorize all of the matches PR: bin/156826 Submitted by: Yuri Pankov

svn commit: r223009 - head/usr.bin/grep

2011-06-12 Thread Gabor Kovesdan
Author: gabor Date: Sun Jun 12 12:51:58 2011 New Revision: 223009 URL: http://svn.freebsd.org/changeset/base/223009 Log: - Use REG_NOSUB to bypass submatch counting when not necessary. This may yield in somewhat better performance in a few cases. Approved by: delphij (mentor)

svn commit: r223010 - head/bin/sh

2011-06-12 Thread Jilles Tjoelker
Author: jilles Date: Sun Jun 12 12:54:52 2011 New Revision: 223010 URL: http://svn.freebsd.org/changeset/base/223010 Log: sh: Fix locale-dependent ranges in bracket expressions. When I added UTF-8 support in r221646, the LC_COLLATE-based ordering broke because of sign extension of char.

svn commit: r223011 - head/tools/regression/bin/sh/builtins

2011-06-12 Thread Jilles Tjoelker
Author: jilles Date: Sun Jun 12 12:55:46 2011 New Revision: 223011 URL: http://svn.freebsd.org/changeset/base/223011 Log: sh: Add test for LC_COLLATE-based character ranges in case. Added: head/tools/regression/bin/sh/builtins/case7.0 (contents, props changed) Added:

Re: svn commit: r222980 - in head/sys: amd64/conf i386/conf

2011-06-12 Thread Daniel O'Connor
On 12/06/2011, at 20:51, Alexey Dokuchaev wrote: I think trasz@ tried that and there is a problem. Loading modules on boot is very slow. If you try to load everything that GENERIC has as modules the boot will take forever. Perhaps then we need to come up with something more intelligent,

svn commit: r223012 - head/usr.sbin/bsdinstall

2011-06-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jun 12 15:19:38 2011 New Revision: 223012 URL: http://svn.freebsd.org/changeset/base/223012 Log: I forgot what year it is, apparently. Submitted by: brucec Modified: head/usr.sbin/bsdinstall/bsdinstall.8 Modified: head/usr.sbin/bsdinstall/bsdinstall.8

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

2011-06-12 Thread Kirk McKusick
Author: mckusick Date: Sun Jun 12 18:46:48 2011 New Revision: 223018 URL: http://svn.freebsd.org/changeset/base/223018 Log: Disable the soft updates journaling after a filesystem is successfully downgraded to read-only. It will be restarted if the filesystem is upgraded back to read-write.

svn commit: r223019 - head/sys/cam/ata

2011-06-12 Thread Alexander Motin
Author: mav Date: Sun Jun 12 18:52:39 2011 New Revision: 223019 URL: http://svn.freebsd.org/changeset/base/223019 Log: Do not report CFA devices as ATAPI, even though IDENTIFY data look alike. Modified: head/sys/cam/ata/ata_all.c head/sys/cam/ata/ata_xpt.c Modified:

Re: svn commit: r222980 - in head/sys: amd64/conf i386/conf

2011-06-12 Thread Doug Barton
On 6/12/2011 4:16 AM, Alexey Dokuchaev wrote: On Sat, Jun 11, 2011 at 01:55:15PM -0700, Doug Barton wrote: I have 3 or 4 modules loaded via loader.conf at boot time. They take at least 2 seconds each. IMO loading everything via loader.conf would slow the boot so much as to be a non-starter.

svn commit: r223020 - in head/sys/ufs: ffs ufs

2011-06-12 Thread Kirk McKusick
Author: mckusick Date: Sun Jun 12 19:27:05 2011 New Revision: 223020 URL: http://svn.freebsd.org/changeset/base/223020 Log: Update to soft updates journaling to properly track freed blocks that get claimed by snapshots. Submitted by: Jeff Roberson Tested by:Peter Holm Modified:

Re: svn commit: r222980 - in head/sys: amd64/conf i386/conf

2011-06-12 Thread Warner Losh
On Jun 12, 2011, at 5:21 AM, Alexey Dokuchaev wrote: On Sat, Jun 11, 2011 at 08:51:32PM +0200, Pawel Jakub Dawidek wrote: On Sat, Jun 11, 2011 at 10:44:14AM -0600, Warner Losh wrote: I think our best bet for 9 is to strip GENERIC to the bone and have a 'generic.conf' if you will that loads

Re: svn commit: r222980 - in head/sys: amd64/conf i386/conf

2011-06-12 Thread Warner Losh
On Jun 12, 2011, at 8:46 AM, Daniel O'Connor wrote: On 12/06/2011, at 20:51, Alexey Dokuchaev wrote: I think trasz@ tried that and there is a problem. Loading modules on boot is very slow. If you try to load everything that GENERIC has as modules the boot will take forever. Perhaps then we

svn commit: r223024 - head/bin/sh

2011-06-12 Thread Jilles Tjoelker
Author: jilles Date: Sun Jun 12 23:06:04 2011 New Revision: 223024 URL: http://svn.freebsd.org/changeset/base/223024 Log: sh: Save/restore changed variables in optimized command substitution. In optimized command substitution, save and restore any variables changed by expansions

svn commit: r223026 - head/sys/dev/safe

2011-06-12 Thread Xin LI
Author: delphij Date: Sun Jun 12 23:33:08 2011 New Revision: 223026 URL: http://svn.freebsd.org/changeset/base/223026 Log: Use swap32() right. Submitted by: gcopper MFC after:2 weeks Modified: head/sys/dev/safe/safe.c Modified: head/sys/dev/safe/safe.c

Re: svn commit: r222980 - in head/sys: amd64/conf i386/conf

2011-06-12 Thread Daniel O'Connor
On 13/06/2011, at 7:46, Warner Losh wrote: ISTR there a few modules which call some blob to determine if the module is supported but I think it's quite rare (the 80/20 rule works for me here :) I've looked into this extensively. usb comes the closest right now, since nearly all of its

Re: svn commit: r222980 - in head/sys: amd64/conf i386/conf

2011-06-12 Thread Adrian Chadd
On 13 June 2011 07:53, Daniel O'Connor docon...@gsoft.com.au wrote: PC Card has also had the standard structure and interface for many years.   When I tried to move this to PCI many years ago, I encountered a lot of resistance that didn't make sense to me at the time (so I can't do it