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

2008-11-17 Thread Chagin Dmitry
On Tue, Nov 18, 2008 at 12:40:48AM +0200, Kostik Belousov wrote: > On Mon, Nov 17, 2008 at 01:21:53PM -0800, Peter Wemm wrote: > > On Mon, Nov 17, 2008 at 1:13 PM, John Baldwin <[EMAIL PROTECTED]> wrote: > > >> > > >> Ok, what about the following. I only compiled it on i386/amd64. And, > > >> there

svn commit: r185048 - head/sys/geom/part

2008-11-17 Thread Marcel Moolenaar
Author: marcel Date: Tue Nov 18 05:55:58 2008 New Revision: 185048 URL: http://svn.freebsd.org/changeset/base/185048 Log: Partition type FS_UNUSED does not mean the partition entry is unused. Unused partition entries have a partition size of zero. Therefore, partitions can have type FS_UNUSE

svn commit: r185047 - head/sys/kern

2008-11-17 Thread John Baldwin
Author: jhb Date: Tue Nov 18 05:41:34 2008 New Revision: 185047 URL: http://svn.freebsd.org/changeset/base/185047 Log: When checking to see if another CPU is running its idle thread, examine the thread running on the other CPU instead of the thread being placed on the run queue. Reporte

Re: svn commit: r185038 - head/sbin/geom/class/part

2008-11-17 Thread Xin LI
Thanks! On Mon, Nov 17, 2008 at 4:03 PM, Marcel Moolenaar <[EMAIL PROTECTED]> wrote: > Author: marcel > Date: Tue Nov 18 00:03:30 2008 > New Revision: 185038 > URL: http://svn.freebsd.org/changeset/base/185038 > > Log: > Pad the bootcode we write to the partition to a multiple of the > sector si

svn commit: r185046 - head/sbin/geom/class/part

2008-11-17 Thread Marcel Moolenaar
Author: marcel Date: Tue Nov 18 04:04:01 2008 New Revision: 185046 URL: http://svn.freebsd.org/changeset/base/185046 Log: Use humanize_number(), rather than a home-grown algorithm for formatting a number in a human-friendly way. Note that with this commit a megabyte changed from 100 t

svn commit: r185045 - head/sys/boot/i386/loader

2008-11-17 Thread Andrey A. Chernov
Author: ache Date: Tue Nov 18 03:55:55 2008 New Revision: 185045 URL: http://svn.freebsd.org/changeset/base/185045 Log: Fix building without ZFS (can't find library) Modified: head/sys/boot/i386/loader/Makefile Modified: head/sys/boot/i386/loader/Makefile

svn commit: r185044 - head/sbin/geom/class/part

2008-11-17 Thread Marcel Moolenaar
Author: marcel Date: Tue Nov 18 03:43:02 2008 New Revision: 185044 URL: http://svn.freebsd.org/changeset/base/185044 Log: Sort includes Submitted by: delphij Modified: head/sbin/geom/class/part/geom_part.c Modified: head/sbin/geom/class/part/geom_part.c =

svn commit: r185043 - head/usr.sbin/cron/lib

2008-11-17 Thread Matteo Riondato
Author: matteo Date: Tue Nov 18 01:19:25 2008 New Revision: 185043 URL: http://svn.freebsd.org/changeset/base/185043 Log: remove a pointless prototype and static-fy the corresponding function MFC after:3 days Modified: head/usr.sbin/cron/lib/misc.c Modified: head/usr.sbin/cron/lib/m

svn commit: r185042 - head/usr.sbin/cron/lib

2008-11-17 Thread Matteo Riondato
Author: matteo Date: Tue Nov 18 00:59:26 2008 New Revision: 185042 URL: http://svn.freebsd.org/changeset/base/185042 Log: use WARNS?= instead of WARNS= MFC after:3 days Modified: head/usr.sbin/cron/lib/Makefile Modified: head/usr.sbin/cron/lib/Makefile ==

svn commit: r185041 - head/usr.sbin/cron/crontab

2008-11-17 Thread Matteo Riondato
Author: matteo Date: Tue Nov 18 00:39:50 2008 New Revision: 185041 URL: http://svn.freebsd.org/changeset/base/185041 Log: Be more precise and use sizeof(tn) Pointed out by: glewis@ MFC after:3 days Modified: head/usr.sbin/cron/crontab/crontab.c Modified: head/usr.sbin/cron/crontab

svn commit: r185040 - head/usr.sbin/cron/crontab

2008-11-17 Thread Matteo Riondato
Author: matteo Date: Tue Nov 18 00:12:15 2008 New Revision: 185040 URL: http://svn.freebsd.org/changeset/base/185040 Log: Use WARNS?= instead of WARNS= MFC after:3 days Modified: head/usr.sbin/cron/crontab/Makefile Modified: head/usr.sbin/cron/crontab/Makefile ==

svn commit: r185039 - head/cddl/contrib/opensolaris/lib/libzfs/common

2008-11-17 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Nov 18 00:03:38 2008 New Revision: 185039 URL: http://svn.freebsd.org/changeset/base/185039 Log: Fix a warning on amd64 caused by using int for request argument instead of unsigned long: WARNING pid 12888 (zfs/zpool): ioctl sign-extension ioctl cc285aXX

svn commit: r185038 - head/sbin/geom/class/part

2008-11-17 Thread Marcel Moolenaar
Author: marcel Date: Tue Nov 18 00:03:30 2008 New Revision: 185038 URL: http://svn.freebsd.org/changeset/base/185038 Log: Pad the bootcode we write to the partition to a multiple of the sector size. Submitted by: Alexey Shuvaev <[EMAIL PROTECTED]> Prompted by: delphij MFC after:3

svn commit: r185037 - head/lib/libstand

2008-11-17 Thread Xin LI
Author: delphij Date: Tue Nov 18 00:01:16 2008 New Revision: 185037 URL: http://svn.freebsd.org/changeset/base/185037 Log: Obey signedness flag in %z case. MFC after:2 months Modified: head/lib/libstand/printf.c Modified: head/lib/libstand/printf.c ==

svn commit: r185036 - head/sys/kern

2008-11-17 Thread Xin LI
Author: delphij Date: Mon Nov 17 23:57:40 2008 New Revision: 185036 URL: http://svn.freebsd.org/changeset/base/185036 Log: Obey signedness flag in %z case. MFC after:2 months Modified: head/sys/kern/subr_prf.c Modified: head/sys/kern/subr_prf.c ==

svn commit: r185035 - head/sys/dev/mfi

2008-11-17 Thread John Baldwin
Author: jhb Date: Mon Nov 17 23:30:19 2008 New Revision: 185035 URL: http://svn.freebsd.org/changeset/base/185035 Log: Fix the maximum transfer size for mfi(4) disk devices to not exceed the maximum number of scatter/gather elements supported in the bus dma tag. Reviewed by: scottl MFC

svn commit: r185034 - in stable/7/sys: . dev/mfi

2008-11-17 Thread Doug Ambrisko
Author: ambrisko Date: Mon Nov 17 23:07:18 2008 New Revision: 185034 URL: http://svn.freebsd.org/changeset/base/185034 Log: MFC 182085, 184897, 184933, 184974, 184975 This addresses: 1) New HW support from LSI (they want to get the HW support into a FreeBSD release before t

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

2008-11-17 Thread John Baldwin
On Monday 17 November 2008 05:40:48 pm Kostik Belousov wrote: > On Mon, Nov 17, 2008 at 01:21:53PM -0800, Peter Wemm wrote: > > On Mon, Nov 17, 2008 at 1:13 PM, John Baldwin <[EMAIL PROTECTED]> wrote: > > > On Monday 17 November 2008 02:35:41 pm Kostik Belousov wrote: > > >> On Mon, Nov 17, 2008 at

Re: svn commit: r185021 - head/sys/dev/glxsb

2008-11-17 Thread John Baldwin
On Monday 17 November 2008 11:51:52 am Pawel Jakub Dawidek wrote: > On Mon, Nov 17, 2008 at 07:09:40AM +, Philip Paeps wrote: > > Author: philip > > Date: Mon Nov 17 07:09:40 2008 > > New Revision: 185021 > > URL: http://svn.freebsd.org/changeset/base/185021 > > > > Log: > > Fix two possible

svn commit: r185033 - head/usr.sbin/dumpcis

2008-11-17 Thread Warner Losh
Author: imp Date: Mon Nov 17 22:46:29 2008 New Revision: 185033 URL: http://svn.freebsd.org/changeset/base/185033 Log: make this warns=5 clean Modified: head/usr.sbin/dumpcis/Makefile head/usr.sbin/dumpcis/dumpcis.c head/usr.sbin/dumpcis/dumpcisfile.c head/usr.sbin/dumpcis/printcis.c

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

2008-11-17 Thread Kostik Belousov
On Mon, Nov 17, 2008 at 01:21:53PM -0800, Peter Wemm wrote: > On Mon, Nov 17, 2008 at 1:13 PM, John Baldwin <[EMAIL PROTECTED]> wrote: > > On Monday 17 November 2008 02:35:41 pm Kostik Belousov wrote: > >> On Mon, Nov 17, 2008 at 12:11:41PM -0500, John Baldwin wrote: > >> > On Sunday 16 November 20

svn commit: r185032 - in head/usr.sbin: . dumpcis pccard pccard/dumpcis pccard/pccardc pccard/pccardd

2008-11-17 Thread Warner Losh
Author: imp Date: Mon Nov 17 22:19:19 2008 New Revision: 185032 URL: http://svn.freebsd.org/changeset/base/185032 Log: Move dumpcis to its own directory, start to decouple from the pccardc/pccardd history. Added: head/usr.sbin/dumpcis/ head/usr.sbin/dumpcis/Makefile - copied, changed

svn commit: r185031 - head/usr.sbin/pccard/pccardc

2008-11-17 Thread Warner Losh
Author: imp Date: Mon Nov 17 22:05:53 2008 New Revision: 185031 URL: http://svn.freebsd.org/changeset/base/185031 Log: Minor ANSI tweaks. Modified: head/usr.sbin/pccard/pccardc/dumpcis.c Modified: head/usr.sbin/pccard/pccardc/dumpcis.c

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

2008-11-17 Thread Peter Wemm
On Mon, Nov 17, 2008 at 1:13 PM, John Baldwin <[EMAIL PROTECTED]> wrote: > On Monday 17 November 2008 02:35:41 pm Kostik Belousov wrote: >> On Mon, Nov 17, 2008 at 12:11:41PM -0500, John Baldwin wrote: >> > On Sunday 16 November 2008 09:37:45 pm Doug Ambrisko wrote: >> > > Kostik Belousov writes: >

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

2008-11-17 Thread John Baldwin
On Monday 17 November 2008 02:35:41 pm Kostik Belousov wrote: > On Mon, Nov 17, 2008 at 12:11:41PM -0500, John Baldwin wrote: > > On Sunday 16 November 2008 09:37:45 pm Doug Ambrisko wrote: > > > Kostik Belousov writes: > > > | On Fri, Nov 14, 2008 at 09:05:45PM +, Doug Ambrisko wrote: > > > |

svn commit: r185030 - head/lib/libarchive/test

2008-11-17 Thread Tim Kientzle
Author: kientzle Date: Mon Nov 17 21:06:17 2008 New Revision: 185030 URL: http://svn.freebsd.org/changeset/base/185030 Log: When running on a filesystem that lacks ACL support, just SKIP the test, don't report a test failure. Modified: head/lib/libarchive/test/test_acl_freebsd.c Modified:

svn commit: r185029 - in head: cddl/compat/opensolaris/include cddl/compat/opensolaris/misc cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/cmd/zinject cd...

2008-11-17 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Nov 17 20:49:29 2008 New Revision: 185029 URL: http://svn.freebsd.org/changeset/base/185029 Log: Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. This bring huge amount of changes, I'll enumerate only user-visible changes: - Delegated Admin

svn commit: r185028 - head/sys/dev/syscons

2008-11-17 Thread Maksim Yevmenkin
Author: emax Date: Mon Nov 17 20:33:13 2008 New Revision: 185028 URL: http://svn.freebsd.org/changeset/base/185028 Log: Undo revision 185013 until better solution is found. Pointed out by: bde Modified: head/sys/dev/syscons/syscons.c Modified: head/sys/dev/syscons/syscons.c ==

svn commit: r185027 - svnadmin/conf

2008-11-17 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon Nov 17 20:11:53 2008 New Revision: 185027 URL: http://svn.freebsd.org/changeset/base/185027 Log: Increase the limit for the Big ZFS Update. Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

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

2008-11-17 Thread Kostik Belousov
On Mon, Nov 17, 2008 at 12:53:10PM -0700, M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> > Kostik Belousov <[EMAIL PROTECTED]> writes: > : diff --git a/sys/kern/imgact_aout.c b/sys/kern/imgact_aout.c > : index f4e4614..114e0ba 100644 > : --- a/sys/kern/imgact_aout.c > : +++ b/s

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

2008-11-17 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Kostik Belousov <[EMAIL PROTECTED]> writes: : diff --git a/sys/kern/imgact_aout.c b/sys/kern/imgact_aout.c : index f4e4614..114e0ba 100644 : --- a/sys/kern/imgact_aout.c : +++ b/sys/kern/imgact_aout.c : @@ -82,7 +82,17 @@ struct sysentvec aout_sysvec = {

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

2008-11-17 Thread Kostik Belousov
On Mon, Nov 17, 2008 at 12:11:41PM -0500, John Baldwin wrote: > On Sunday 16 November 2008 09:37:45 pm Doug Ambrisko wrote: > > Kostik Belousov writes: > > | On Fri, Nov 14, 2008 at 09:05:45PM +, Doug Ambrisko wrote: > > | > Author: ambrisko > > | > Date: Fri Nov 14 21:05:45 2008 > > | > New Re

svn commit: r185026 - head/sys/crypto/via

2008-11-17 Thread Philip Paeps
Author: philip Date: Mon Nov 17 19:00:36 2008 New Revision: 185026 URL: http://svn.freebsd.org/changeset/base/185026 Log: Fix a potential NULL-pointer dereference in padlock(4). Spotted by: Coverity (via pjd) MFC after:1 week Modified: head/sys/crypto/via/padlock.c Modified: hea

svn commit: r185025 - in stable/7: include lib/libc lib/libc/string

2008-11-17 Thread Konstantin Belousov
Author: kib Date: Mon Nov 17 18:45:07 2008 New Revision: 185025 URL: http://svn.freebsd.org/changeset/base/185025 Log: MFC r184587: Add the ffsll and flsll functions. These are ffs and fls operating on long long arguments. Approved by: re (kensmith) Added: stable/7/lib/libc/strin

Re: svn commit: r185021 - head/sys/dev/glxsb

2008-11-17 Thread Philip Paeps
On 2008-11-17 17:51:52 (+0100), Pawel Jakub Dawidek <[EMAIL PROTECTED]> wrote: > On Mon, Nov 17, 2008 at 07:09:40AM +, Philip Paeps wrote: > > Fix two possible (but unlikely) NULL-pointer dereferences in glxsb(4). > > > > [...] > > > > - while ((ses = TAILQ_FIRST(&sc->sc_sessions)) != NULL) {

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

2008-11-17 Thread Chagin Dmitry
On Sun, Nov 16, 2008 at 08:51:18PM -0700, Scott Long wrote: > Doug Ambrisko wrote: > > Kostik Belousov writes: > > | On Fri, Nov 14, 2008 at 09:05:45PM +, Doug Ambrisko wrote: > > | > Author: ambrisko > > | > Date: Fri Nov 14 21:05:45 2008 > > | > New Revision: 184974 > > | > URL: http://svn.fr

Re: svn commit: r185021 - head/sys/dev/glxsb

2008-11-17 Thread Pawel Jakub Dawidek
On Mon, Nov 17, 2008 at 07:09:40AM +, Philip Paeps wrote: > Author: philip > Date: Mon Nov 17 07:09:40 2008 > New Revision: 185021 > URL: http://svn.freebsd.org/changeset/base/185021 > > Log: > Fix two possible (but unlikely) NULL-pointer dereferences in glxsb(4). > > Spotted by: Coverity

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

2008-11-17 Thread John Baldwin
On Sunday 16 November 2008 09:37:45 pm Doug Ambrisko wrote: > Kostik Belousov writes: > | On Fri, Nov 14, 2008 at 09:05:45PM +, Doug Ambrisko wrote: > | > Author: ambrisko > | > Date: Fri Nov 14 21:05:45 2008 > | > New Revision: 184974 > | > URL: http://svn.freebsd.org/changeset/base/184974 > |

svn commit: r185024 - head/contrib/gdb/gdb

2008-11-17 Thread Rafal Jaworowski
Author: raj Date: Mon Nov 17 16:37:04 2008 New Revision: 185024 URL: http://svn.freebsd.org/changeset/base/185024 Log: gdb: Remove arm_pc_is_thumb_dummy() and related code. This is basically an import of the following gdb change: http://sourceware.org/ml/gdb-cvs/2005-03/msg00143.html (whi

svn commit: r185023 - in head/gnu/usr.bin/gdb: . gdbserver

2008-11-17 Thread Rafal Jaworowski
Author: raj Date: Mon Nov 17 16:32:57 2008 New Revision: 185023 URL: http://svn.freebsd.org/changeset/base/185023 Log: Initial gdbserver support for ARM. Obtained from:Juniper Networks, Semihalf Added: head/gnu/usr.bin/gdb/gdbserver/fbsd-arm-low.c (contents, props changed) he

Re: svn commit: r185013 - head/sys/dev/syscons

2008-11-17 Thread Bruce Evans
On Sun, 16 Nov 2008, Maksim Yevmenkin wrote: Author: emax Date: Sun Nov 16 22:39:04 2008 New Revision: 185013 URL: http://svn.freebsd.org/changeset/base/185013 Log: More locking for syscons(4). This should prevent races with sckbdevent(). This cannot be the correct fix. It should cause pani