svn commit: r221112 - head/sys/cddl/contrib/opensolaris/common/atomic/ia64

2011-04-26 Thread Marcel Moolenaar
Author: marcel Date: Wed Apr 27 04:03:04 2011 New Revision: 221112 URL: http://svn.freebsd.org/changeset/base/221112 Log: Fix copy-paste bug. Modified: head/sys/cddl/contrib/opensolaris/common/atomic/ia64/opensolaris_atomic.S Modified: head/sys/cddl/contrib/opensolaris/common/atomic/ia64/op

Re: svn commit: r220983 - head

2011-04-26 Thread Warner Losh
On Apr 26, 2011, at 9:00 PM, Nathan Whitehorn wrote: > On 04/26/11 18:48, Daniel O'Connor wrote: >> >> On 26/04/2011, at 1:31, Warner Losh wrote: This is why I prefer IDs since they are nominally unique (UFS ones, GPTs damn well better be :) Although I concede it is rather a

Re: svn commit: r221053 - head/usr.bin/rlogin

2011-04-26 Thread Warner Losh
On Apr 26, 2011, at 4:26 PM, David O'Brien wrote: > On Tue, Apr 26, 2011 at 09:32:44AM -0400, John Baldwin wrote: >> On Tuesday, April 26, 2011 12:09:20 am David E. O'Brien wrote: >>> Author: obrien >>> Date: Tue Apr 26 04:09:20 2011 >>> New Revision: 221053 >>> URL: http://svn.freebsd.org/change

Re: svn commit: r221088 - head/usr.bin/rlogin

2011-04-26 Thread Warner Losh
Actually, it looks like jhb fixed things so this isn't necessary. Warner On Apr 26, 2011, at 4:02 PM, Doug Barton wrote: > Author: dougb > Date: Tue Apr 26 22:02:51 2011 > New Revision: 221088 > URL: http://svn.freebsd.org/changeset/base/221088 > > Log: > Revert r221053 by replacing WARNS?= 3

Re: svn commit: r220983 - head

2011-04-26 Thread Nathan Whitehorn
On 04/26/11 18:48, Daniel O'Connor wrote: On 26/04/2011, at 1:31, Warner Losh wrote: This is why I prefer IDs since they are nominally unique (UFS ones, GPTs damn well better be :) Although I concede it is rather annoying to work out which is which, or type them out manually.. For things lik

svn commit: r221110 - head/sbin/fsck_ffs

2011-04-26 Thread Dag-Erling Smorgrav
Author: des Date: Wed Apr 27 02:55:03 2011 New Revision: 221110 URL: http://svn.freebsd.org/changeset/base/221110 Log: Mechanical whitespace cleanup. MFC after:3 weeks Modified: head/sbin/fsck_ffs/ea.c head/sbin/fsck_ffs/inode.c head/sbin/fsck_ffs/main.c head/sbin/fsck_ffs/pass

svn commit: r221108 - head/sbin/fsck_ffs

2011-04-26 Thread Dag-Erling Smorgrav
Author: des Date: Wed Apr 27 02:35:57 2011 New Revision: 221108 URL: http://svn.freebsd.org/changeset/base/221108 Log: Fix boo-boo in previous commit. MFC after:3 weeks Modified: head/sbin/fsck_ffs/fsck_ffs.8 Modified: head/sbin/fsck_ffs/fsck_ffs.8 ==

svn commit: r221107 - head/sbin/fsck_ffs

2011-04-26 Thread Dag-Erling Smorgrav
Author: des Date: Wed Apr 27 02:32:41 2011 New Revision: 221107 URL: http://svn.freebsd.org/changeset/base/221107 Log: Alphabetize the options. No date bump since no actual change to the text. MFC after:3 weeks Modified: head/sbin/fsck_ffs/fsck_ffs.8 Modified: head/sbin/fsck_ffs/fs

svn commit: r221103 - head/share/man/man9

2011-04-26 Thread Dag-Erling Smorgrav
Author: des Date: Wed Apr 27 01:10:15 2011 New Revision: 221103 URL: http://svn.freebsd.org/changeset/base/221103 Log: Rename alloc_unr(9) to unr(9) and adjust the links accordingly. MFC after:3 weeks Added: head/share/man/man9/unr.9 - copied, changed from r210235, head/share/ma

svn commit: r221102 - head/sys/x86/cpufreq

2011-04-26 Thread Jung-uk Kim
Author: jkim Date: Wed Apr 27 00:32:35 2011 New Revision: 221102 URL: http://svn.freebsd.org/changeset/base/221102 Log: Use ACPI-supplied CPU frequencies instead of estimated ones as we are about to use other values from the same table anyway. MFC after:3 days Modified: head/sys/x8

svn commit: r221101 - in head/sys/geom: . concat journal mirror raid3 shsec stripe virstor

2011-04-26 Thread Alexander Motin
Author: mav Date: Wed Apr 27 00:10:26 2011 New Revision: 221101 URL: http://svn.freebsd.org/changeset/base/221101 Log: Implement relaxed comparision for hardcoded provider names to make it ignore adX/adaY difference in both directions to simplify migration to the CAM-based ATA or back. Modi

Re: svn commit: r220983 - head

2011-04-26 Thread Daniel O'Connor
On 26/04/2011, at 1:31, Warner Losh wrote: >> This is why I prefer IDs since they are nominally unique (UFS ones, GPTs >> damn well better be :) >> >> Although I concede it is rather annoying to work out which is which, or type >> them out manually.. > > For things like ZFS, UUIDs aren't so ba

Re: svn commit: r221088 - head/usr.bin/rlogin

2011-04-26 Thread Doug Barton
On 04/26/2011 15:18, Andrew Thompson wrote: On 27 April 2011 10:02, Doug Barton wrote: Author: dougb Date: Tue Apr 26 22:02:51 2011 New Revision: 221088 URL: http://svn.freebsd.org/changeset/base/221088 Log: Revert r221053 by replacing WARNS?= 3 since it's breaking the build on several arc

Re: svn commit: r221053 - head/usr.bin/rlogin

2011-04-26 Thread David O'Brien
On Tue, Apr 26, 2011 at 09:32:44AM -0400, John Baldwin wrote: > On Tuesday, April 26, 2011 12:09:20 am David E. O'Brien wrote: > > Author: obrien > > Date: Tue Apr 26 04:09:20 2011 > > New Revision: 221053 > > URL: http://svn.freebsd.org/changeset/base/221053 > > > > Log: > > This builds OK usin

svn commit: r221096 - head/sys/vm

2011-04-26 Thread David E. O'Brien
Author: obrien Date: Tue Apr 26 22:18:53 2011 New Revision: 221096 URL: http://svn.freebsd.org/changeset/base/221096 Log: Reap old SPL comments. Reviewed by: alc Modified: head/sys/vm/swap_pager.c Modified: head/sys/vm/swap_pager.c ==

Re: svn commit: r221088 - head/usr.bin/rlogin

2011-04-26 Thread Andrew Thompson
On 27 April 2011 10:02, Doug Barton wrote: > Author: dougb > Date: Tue Apr 26 22:02:51 2011 > New Revision: 221088 > URL: http://svn.freebsd.org/changeset/base/221088 > > Log: >  Revert r221053 by replacing WARNS?= 3 since it's breaking the build on >  several arches. r221079 from jhb may have al

svn commit: r221092 - head/contrib/tzdata

2011-04-26 Thread Edwin Groothuis
Author: edwin Date: Tue Apr 26 22:14:10 2011 New Revision: 221092 URL: http://svn.freebsd.org/changeset/base/221092 Log: MFV of tzdata2011g, 221089. - Egypt has cancelled the move to DST for now. Modified: head/contrib/tzdata/africa head/contrib/tzdata/europe head/contrib/tzdata/sout

svn commit: r221088 - head/usr.bin/rlogin

2011-04-26 Thread Doug Barton
Author: dougb Date: Tue Apr 26 22:02:51 2011 New Revision: 221088 URL: http://svn.freebsd.org/changeset/base/221088 Log: Revert r221053 by replacing WARNS?= 3 since it's breaking the build on several arches. Modified: head/usr.bin/rlogin/Makefile Modified: head/usr.bin/rlogin/Makefile

svn commit: r221081 - head/sys/kern

2011-04-26 Thread Ryan Stone
Author: rstone Date: Tue Apr 26 20:34:30 2011 New Revision: 221081 URL: http://svn.freebsd.org/changeset/base/221081 Log: If the 4BSD scheduler tries to schedule a thread that has been pinned or bound to an AP before SMP has started, the system will panic when we try to touch per-CPU state f

svn commit: r221079 - head/usr.bin/rlogin

2011-04-26 Thread John Baldwin
Author: jhb Date: Tue Apr 26 20:14:29 2011 New Revision: 221079 URL: http://svn.freebsd.org/changeset/base/221079 Log: Generate the network byte order version of the window size structure in a temporary variable on the stack and then copy that into the output buffer so that the htons() conve

svn commit: r221078 - head/sbin/hastd

2011-04-26 Thread Mikolaj Golub
Author: trociny Date: Tue Apr 26 19:52:21 2011 New Revision: 221078 URL: http://svn.freebsd.org/changeset/base/221078 Log: Add missing ifdef. This fixes build with NO_OPENSSL. Reported by: Pawel Tyll Approved by: pjd (mentor) MFC after:1 week Modified: head/sbin/hastd/hast_pro

svn commit: r221077 - head/sys/dev/usb/net

2011-04-26 Thread Hans Petter Selasky
Author: hselasky Date: Tue Apr 26 19:40:37 2011 New Revision: 221077 URL: http://svn.freebsd.org/changeset/base/221077 Log: The maximum NCM frame size must be so that it will generate a short terminated USB transfer if the maximum NCM frame size is greater than what the driver can handle.

svn commit: r221076 - head/sbin/hastd

2011-04-26 Thread Mikolaj Golub
Author: trociny Date: Tue Apr 26 19:38:30 2011 New Revision: 221076 URL: http://svn.freebsd.org/changeset/base/221076 Log: Rename HASTCTL_ defines, which are used for conversion between main hastd process and workers, remove unused one and set different range of numbers. This is done in orde

svn commit: r221075 - head/sbin/hastd

2011-04-26 Thread Mikolaj Golub
Author: trociny Date: Tue Apr 26 19:22:54 2011 New Revision: 221075 URL: http://svn.freebsd.org/changeset/base/221075 Log: For conversation between hastctl and hastd we should use HASTCTL_CMD defines. Approved by: pjd (mentor) MFC after:1 week Modified: head/sbin/hastd/control.c

svn commit: r221074 - head/sbin/hastctl

2011-04-26 Thread Mikolaj Golub
Author: trociny Date: Tue Apr 26 19:11:15 2011 New Revision: 221074 URL: http://svn.freebsd.org/changeset/base/221074 Log: Fix assert messages. Approved by: pjd (mentor) Modified: head/sbin/hastctl/hastctl.c Modified: head/sbin/hastctl/hastctl.c

Re: svn commit: r221071 - in head: . sys/amd64/conf sys/arm/conf sys/cam sys/cam/ata sys/conf sys/geom sys/i386/conf sys/mips/conf sys/modules/cam sys/pc98/conf

2011-04-26 Thread Robert Watson
On Tue, 26 Apr 2011, Alexander Motin wrote: - Add shim to simplify migration to the CAM-based ATA. For each new adaX device in /dev/ create symbolic link with adY name, trying to mimic old ATA numbering. Imitation is not complete, but should be enough in most cases to mount file systems wit

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

2011-04-26 Thread Hans Petter Selasky
Author: hselasky Date: Tue Apr 26 18:50:35 2011 New Revision: 221073 URL: http://svn.freebsd.org/changeset/base/221073 Log: Fix for missing EHCI datatoggle change case. Reported by: Mike Tancsa MFC after:3 days Approved by: thompsa (mentor) Modified: head/sys/dev/usb/controller

svn commit: r221071 - in head: . sys/amd64/conf sys/arm/conf sys/cam sys/cam/ata sys/conf sys/geom sys/i386/conf sys/mips/conf sys/modules/cam sys/pc98/conf

2011-04-26 Thread Alexander Motin
Author: mav Date: Tue Apr 26 17:01:49 2011 New Revision: 221071 URL: http://svn.freebsd.org/changeset/base/221071 Log: - Add shim to simplify migration to the CAM-based ATA. For each new adaX device in /dev/ create symbolic link with adY name, trying to mimic old ATA numbering. Imitation is

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

2011-04-26 Thread Maxim Sobolev
Author: sobomax Date: Tue Apr 26 16:14:55 2011 New Revision: 221069 URL: http://svn.freebsd.org/changeset/base/221069 Log: With the typical memory size of the system in tenth of gigabytes counting memory being dumped in 16MB increments is somewhat silly. Especially if the dump fails and ever

svn commit: r221066 - in head/sys: fs/nfsclient nfsclient

2011-04-26 Thread Rick Macklem
Author: rmacklem Date: Tue Apr 26 13:50:11 2011 New Revision: 221066 URL: http://svn.freebsd.org/changeset/base/221066 Log: Fix a kernel linking problem introduced by r221032, r221040 when building kernels that don't have "options NFS_ROOT" specified. I plan on moving the functions that use

Re: svn commit: r221053 - head/usr.bin/rlogin

2011-04-26 Thread Warner Losh
On Apr 26, 2011, at 3:57 AM, Gavin Atkinson wrote: > On Tue, 2011-04-26 at 04:09 +, David E. O'Brien wrote: >> Author: obrien >> Date: Tue Apr 26 04:09:20 2011 >> New Revision: 221053 >> URL: http://svn.freebsd.org/changeset/base/221053 >> >> Log: >> This builds OK using the parent dir's WA

Re: svn commit: r221053 - head/usr.bin/rlogin

2011-04-26 Thread John Baldwin
On Tuesday, April 26, 2011 12:09:20 am David E. O'Brien wrote: > Author: obrien > Date: Tue Apr 26 04:09:20 2011 > New Revision: 221053 > URL: http://svn.freebsd.org/changeset/base/221053 > > Log: > This builds OK using the parent dir's WARNS=6. > [built on both AMD64 and i386] This breaks th

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

2011-04-26 Thread Hans Petter Selasky
On Tuesday 26 April 2011 13:53:33 Kostik Belousov wrote: > On Tue, Apr 26, 2011 at 01:44:00PM +0200, Hans Petter Selasky wrote: > > On Tuesday 26 April 2011 13:39:56 Konstantin Belousov wrote: > > > + pending = !!callout_stop(&timeout_task->c); > > > > pending = (callout_stop(&timeout_task->

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

2011-04-26 Thread Hans Petter Selasky
On Tuesday 26 April 2011 13:39:56 Konstantin Belousov wrote: > + pending = !!callout_stop(&timeout_task->c); pending = (callout_stop(&timeout_task->c) != 0); ? --HPS ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listi

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

2011-04-26 Thread Kostik Belousov
On Tue, Apr 26, 2011 at 01:44:00PM +0200, Hans Petter Selasky wrote: > On Tuesday 26 April 2011 13:39:56 Konstantin Belousov wrote: > > + pending = !!callout_stop(&timeout_task->c); > > pending = (callout_stop(&timeout_task->c) != 0); > > ? This line is about conversion from a boolean valu

svn commit: r221060 - head/share/man/man9

2011-04-26 Thread Konstantin Belousov
Author: kib Date: Tue Apr 26 11:43:57 2011 New Revision: 221060 URL: http://svn.freebsd.org/changeset/base/221060 Log: Document timeout_task. While there, fix the type of the func argument of INIT_TASK macro, and use the modern name of the analogous facility from Linux kernel. Sponso

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

2011-04-26 Thread Konstantin Belousov
Author: kib Date: Tue Apr 26 11:39:56 2011 New Revision: 221059 URL: http://svn.freebsd.org/changeset/base/221059 Log: Implement the delayed task execution extension to the taskqueue mechanism. The caller may specify a timeout in ticks after which the task will be scheduled. Sponsored b

Re: svn commit: r221053 - head/usr.bin/rlogin

2011-04-26 Thread Gavin Atkinson
On Tue, 2011-04-26 at 04:09 +, David E. O'Brien wrote: > Author: obrien > Date: Tue Apr 26 04:09:20 2011 > New Revision: 221053 > URL: http://svn.freebsd.org/changeset/base/221053 > > Log: > This builds OK using the parent dir's WARNS=6. > [built on both AMD64 and i386] As a general rule,

Re: svn commit: r220982 - in head: . sys/amd64/conf sys/arm/conf sys/conf sys/i386/conf sys/ia64/conf sys/mips/conf sys/mips/malta sys/pc98/conf sys/powerpc/conf sys/sparc64/conf sys/sun4v/conf

2011-04-26 Thread Pawel Jakub Dawidek
On Tue, Apr 26, 2011 at 11:45:37AM +0300, Alexander Motin wrote: > On 26.04.2011 11:34, Pawel Jakub Dawidek wrote: > >On Tue, Apr 26, 2011 at 11:18:06AM +0300, Alexander Motin wrote: > >>What do you think about this: > >>http://docs.freebsd.org/cgi/mid.cgi?4DB54BA9.5050901 > >>? I've found that zpo

Re: svn commit: r220982 - in head: . sys/amd64/conf sys/arm/conf sys/conf sys/i386/conf sys/ia64/conf sys/mips/conf sys/mips/malta sys/pc98/conf sys/powerpc/conf sys/sparc64/conf sys/sun4v/conf

2011-04-26 Thread Alexander Motin
On 26.04.2011 11:34, Pawel Jakub Dawidek wrote: On Tue, Apr 26, 2011 at 11:18:06AM +0300, Alexander Motin wrote: What do you think about this: http://docs.freebsd.org/cgi/mid.cgi?4DB54BA9.5050901 ? I've found that zpool utility don't likes symbolic links, but except this and together with fixing

Re: svn commit: r220982 - in head: . sys/amd64/conf sys/arm/conf sys/conf sys/i386/conf sys/ia64/conf sys/mips/conf sys/mips/malta sys/pc98/conf sys/powerpc/conf sys/sparc64/conf sys/sun4v/conf

2011-04-26 Thread Pawel Jakub Dawidek
On Tue, Apr 26, 2011 at 11:18:06AM +0300, Alexander Motin wrote: > What do you think about this: > http://docs.freebsd.org/cgi/mid.cgi?4DB54BA9.5050901 > ? I've found that zpool utility don't likes symbolic links, but > except this and together with fixing hardcoding problem IMHO it > looks not bad

Re: svn commit: r220982 - in head: . sys/amd64/conf sys/arm/conf sys/conf sys/i386/conf sys/ia64/conf sys/mips/conf sys/mips/malta sys/pc98/conf sys/powerpc/conf sys/sparc64/conf sys/sun4v/conf

2011-04-26 Thread Alexander Motin
On 26.04.2011 11:02, Pawel Jakub Dawidek wrote: Now, what about fstab? There is a problem to figure out which disk we booted from once we enter the kernel. I was wondering if we could detect that someone is trying to mount root which from 'ad[0-9]+' and then we could scan all ada[0-9]+ looking f

Re: svn commit: r220982 - in head: . sys/amd64/conf sys/arm/conf sys/conf sys/i386/conf sys/ia64/conf sys/mips/conf sys/mips/malta sys/pc98/conf sys/powerpc/conf sys/sparc64/conf sys/sun4v/conf

2011-04-26 Thread Pawel Jakub Dawidek
On Tue, Apr 26, 2011 at 10:50:17AM +0300, Alexander Motin wrote: > On 26.04.2011 10:35, Pawel Jakub Dawidek wrote: > >On Tue, Apr 26, 2011 at 10:19:55AM +0300, Alexander Motin wrote: > >>On 26.04.2011 10:00, Pawel Jakub Dawidek wrote: > >>>On Mon, Apr 25, 2011 at 08:34:33PM +0300, Alexander Motin w

Re: svn commit: r220982 - in head: . sys/amd64/conf sys/arm/conf sys/conf sys/i386/conf sys/ia64/conf sys/mips/conf sys/mips/malta sys/pc98/conf sys/powerpc/conf sys/sparc64/conf sys/sun4v/conf

2011-04-26 Thread Alexander Motin
On 26.04.2011 10:35, Pawel Jakub Dawidek wrote: On Tue, Apr 26, 2011 at 10:19:55AM +0300, Alexander Motin wrote: On 26.04.2011 10:00, Pawel Jakub Dawidek wrote: On Mon, Apr 25, 2011 at 08:34:33PM +0300, Alexander Motin wrote: I've thought about the process of fixing hardcoded provider names th

Re: svn commit: r220982 - in head: . sys/amd64/conf sys/arm/conf sys/conf sys/i386/conf sys/ia64/conf sys/mips/conf sys/mips/malta sys/pc98/conf sys/powerpc/conf sys/sparc64/conf sys/sun4v/conf

2011-04-26 Thread Pawel Jakub Dawidek
On Tue, Apr 26, 2011 at 10:19:55AM +0300, Alexander Motin wrote: > On 26.04.2011 10:00, Pawel Jakub Dawidek wrote: > >On Mon, Apr 25, 2011 at 08:34:33PM +0300, Alexander Motin wrote: > >>I've thought about the process of fixing hardcoded provider names there, > >>and it is absolutely not trivial. I

svn commit: r221055 - in head/sys: kern ofed/include/linux

2011-04-26 Thread Jeff Roberson
Author: jeff Date: Tue Apr 26 07:30:52 2011 New Revision: 221055 URL: http://svn.freebsd.org/changeset/base/221055 Log: - Catch up to falloc() changes. - PHOLD() before using a task structure on the stack. - Fix a LOR between the sleepq lock and thread lock in _intr_drain(). Modified:

Re: svn commit: r220982 - in head: . sys/amd64/conf sys/arm/conf sys/conf sys/i386/conf sys/ia64/conf sys/mips/conf sys/mips/malta sys/pc98/conf sys/powerpc/conf sys/sparc64/conf sys/sun4v/conf

2011-04-26 Thread Alexander Motin
On 26.04.2011 10:00, Pawel Jakub Dawidek wrote: On Mon, Apr 25, 2011 at 08:34:33PM +0300, Alexander Motin wrote: I've thought about the process of fixing hardcoded provider names there, and it is absolutely not trivial. If we take the "symlinking" way (patch is already posted to current@), I thi

Re: svn commit: r220982 - in head: . sys/amd64/conf sys/arm/conf sys/conf sys/i386/conf sys/ia64/conf sys/mips/conf sys/mips/malta sys/pc98/conf sys/powerpc/conf sys/sparc64/conf sys/sun4v/conf

2011-04-26 Thread Pawel Jakub Dawidek
On Mon, Apr 25, 2011 at 12:16:22PM -0700, Garrett Cooper wrote: > I'd prefer having an UPDATING note with all of the affected areas so that > people can understand what needs to change and adjust their systems > accordingly. As far as geom based hardcoding is concerned: maybe this can > serve as

Re: svn commit: r220982 - in head: . sys/amd64/conf sys/arm/conf sys/conf sys/i386/conf sys/ia64/conf sys/mips/conf sys/mips/malta sys/pc98/conf sys/powerpc/conf sys/sparc64/conf sys/sun4v/conf

2011-04-26 Thread Pawel Jakub Dawidek
On Mon, Apr 25, 2011 at 08:34:33PM +0300, Alexander Motin wrote: > I've thought about the process of fixing hardcoded provider names there, > and it is absolutely not trivial. If we take the "symlinking" way (patch > is already posted to current@), I think it will be much easier for > everybody, an