Re: svn commit: r193953 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2009-06-10 Thread Alexey Dokuchaev
Kip Macy wrote: > printf("ZFS NOTICE: prefetch is disabled by default on i386" > " - add enable to tunable to change.\n" ); Looks like above text should be tweaked. Also, `--' is more common ASCII representation of n/mdash, but it is generally better to avoid it at

svn commit: r193966 - head/sys/net80211

2009-06-10 Thread Sam Leffler
Author: sam Date: Thu Jun 11 04:43:42 2009 New Revision: 193966 URL: http://svn.freebsd.org/changeset/base/193966 Log: When associating to an AP we don't know if HT is negotiated until we receive the AssocResp, so we can only set ni_txparms properly at that point. To make this possible make

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

2009-06-10 Thread Bruce Evans
On Wed, 10 Jun 2009, John Baldwin wrote: On Wednesday 10 June 2009 2:27:15 pm John Baldwin wrote: Author: jhb Date: Wed Jun 10 18:27:15 2009 New Revision: 193941 URL: http://svn.freebsd.org/changeset/base/193941 Log: Change a few members of tcpcb that store cached copies of ticks to be ints

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

2009-06-10 Thread Bruce Evans
On Wed, 10 Jun 2009, John Baldwin wrote: Log: Change a few members of tcpcb that store cached copies of ticks to be ints instead of unsigned longs. This fixes a few overflow edge cases on 64-bit platforms. Specifically, if an idle connection receives a packet shortly I think the variables

svn commit: r193965 - stable/7/usr.bin/truss

2009-06-10 Thread Xin LI
Author: delphij Date: Thu Jun 11 00:42:53 2009 New Revision: 193965 URL: http://svn.freebsd.org/changeset/base/193965 Log: MFC r192943: Correct off-by-one issue in truss(1) which happens when system call number is nsyscalls. (mips bits intentionally left off since it's not in 7-stable yet)

Re: kmod.mk - modules build framework [was: svn commit: r193818 - head/sys/modules/sound/sound]

2009-06-10 Thread Bruce Evans
rror code 2 I forgot to mention that the way we currently seem to handle this is: http://people.freebsd.org/~bz/20090610-02-sound-Makefile.diff More or less like: http://people.freebsd.org/~ariff/sound_Makefile.diff just seen it on curr...@. Please test it. I only looked at the committed version

Re: kmod.mk - modules build framework [was: svn commit: r193818 - head/sys/modules/sound/sound]

2009-06-10 Thread Bruce Evans
On Wed, 10 Jun 2009, Bjoern A. Zeeb wrote: On Wed, 10 Jun 2009, Bruce Evans wrote: On Tue, 9 Jun 2009, Bjoern A. Zeeb wrote: On Tue, 9 Jun 2009, Bjoern A. Zeeb wrote: Log: Depend on @ machine (_ILINKS) as we do with other modules so that @ is there for parallel (-jN) builds. Ideally befo

svn commit: r193964 - svnadmin/conf

2009-06-10 Thread Ken Smith
Author: kensmith Date: Wed Jun 10 22:58:27 2009 New Revision: 193964 URL: http://svn.freebsd.org/changeset/base/193964 Log: Oops, forgot to turn releng/7.2 over to secteam a week after the release got out like we normally do. Submitted by: cperciva Approved by: core (implicit) Modifie

svn commit: r193963 - in head/sys: conf dev/acpica dev/acpica/Osd

2009-06-10 Thread Jung-uk Kim
Author: jkim Date: Wed Jun 10 22:54:20 2009 New Revision: 193963 URL: http://svn.freebsd.org/changeset/base/193963 Log: Catch up with r193750 (OsdSynch.c locking changes): - Preallocate some memory for ACPI tasks early enough. We cannot use malloc(9) any more because spin mutex may be he

svn commit: r193962 - head/share/monetdef

2009-06-10 Thread Edwin Groothuis
Author: edwin Date: Wed Jun 10 22:09:40 2009 New Revision: 193962 URL: http://svn.freebsd.org/changeset/base/193962 Log: Add euro symbol to pt_PT locale using other encodings PR: conf/98815 Submitted by: Rui Lopes MFC after:1 week Added: head/share/monetdef/pt_PT.ISO88

svn commit: r193961 - head/share/colldef

2009-06-10 Thread Edwin Groothuis
Author: edwin Date: Wed Jun 10 21:55:38 2009 New Revision: 193961 URL: http://svn.freebsd.org/changeset/base/193961 Log: Croatian locale support for hr_HR.ISO8859-2 Without this patch /usr/share/locale/hr_HR.ISO8859-2/LC_COLLATE is a link to the ../la_LN.ISO8859-2/LC_COLLATE.

svn commit: r193960 - head/sys/conf

2009-06-10 Thread Bjoern A. Zeeb
Author: bz Date: Wed Jun 10 21:51:05 2009 New Revision: 193960 URL: http://svn.freebsd.org/changeset/base/193960 Log: pflog, pfsync depend on pf and pf depends on inet. Actually it could/should be inet|inet6 but the code is not there and as long as our inet6 depends on inet this is fine. Mo

svn commit: r193959 - head/sys/sys

2009-06-10 Thread Bjoern A. Zeeb
Author: bz Date: Wed Jun 10 21:48:13 2009 New Revision: 193959 URL: http://svn.freebsd.org/changeset/base/193959 Log: Update vnet_net size guard values after r193951. Modified: head/sys/sys/vimage.h Modified: head/sys/sys/vimage.h =

svn commit: r193958 - head/share/timedef

2009-06-10 Thread Edwin Groothuis
Author: edwin Date: Wed Jun 10 21:45:18 2009 New Revision: 193958 URL: http://svn.freebsd.org/changeset/base/193958 Log: Invalid (long) date format in pl_PL.ISO8859-2.src Date format is %a %e %b %X %Y %Z (e.g "sob 19 sty 15:46:50 2008 CET") but should be "%a %e %b %Y %X %Z" (e.g.

Re: svn commit: r193951 - in head/sys: cam/scsi i386/acpica kern net security/audit sys

2009-06-10 Thread Bjoern A. Zeeb
On Wed, 10 Jun 2009, Konstantin Belousov wrote: Author: kib Date: Wed Jun 10 20:59:32 2009 New Revision: 193951 URL: http://svn.freebsd.org/changeset/base/193951 Log: Adapt vfs kqfilter to the shared vnode lock used by zfs write vop. Use vnode interlock to protect the knote fields [1]. The lo

svn commit: r193957 - head/sys/conf

2009-06-10 Thread Bjoern A. Zeeb
Author: bz Date: Wed Jun 10 21:31:57 2009 New Revision: 193957 URL: http://svn.freebsd.org/changeset/base/193957 Log: Unfortunately fs/nfsserver depends on INET at the moment. It seems to be nfs_nfsdport.c and nfs_nfsdcache.c are the problem only but we need to mark all or we will run into p

svn commit: r193956 - head/sys/conf

2009-06-10 Thread Bjoern A. Zeeb
Author: bz Date: Wed Jun 10 21:18:21 2009 New Revision: 193956 URL: http://svn.freebsd.org/changeset/base/193956 Log: if_gre.c insists on INET: #error "Huh? if_gre without inet?" According to my reading we still only support encapsulating datagrams into IPv4 and not IPv6 so there is

svn commit: r193955 - head/sys/fs/nfsclient

2009-06-10 Thread Rick Macklem
Author: rmacklem Date: Wed Jun 10 21:16:39 2009 New Revision: 193955 URL: http://svn.freebsd.org/changeset/base/193955 Log: This commit is analagous to r193952, but for the experimental nfs subsystem. Add a test for VI_DOOMED just after ncl_upgrade_vnlock() in ncl_bioread_check_cons(). This

svn commit: r193952 - head/sys/nfsclient

2009-06-10 Thread Rick Macklem
Author: rmacklem Date: Wed Jun 10 21:03:57 2009 New Revision: 193952 URL: http://svn.freebsd.org/changeset/base/193952 Log: Add a test for VI_DOOMED just after nfs_upgrade_vnlock() in nfs_bioread_check_cons(). This is required since it is possible for the vnode to be vgonel()'d while in nfs_

Re: svn commit: r193878 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2009-06-10 Thread Kip Macy
> Yes, you can simply do a TUNABLE_INT_FETCH() after the initial calculation to > honor any user override.  Many existing settings already work this way where > the user can override the auto-tuned value (e.g. all the buffer-cache tuning > settings). Forgot about - thanks. -Kip __

svn commit: r193954 - head/sys/conf

2009-06-10 Thread Bjoern A. Zeeb
Author: bz Date: Wed Jun 10 21:06:07 2009 New Revision: 193954 URL: http://svn.freebsd.org/changeset/base/193954 Log: ipfirewall insists on INET: #error IPFIREWALL requires INET. Track it here to not build ipfirewall with no INET in the kernel. Modified: head/sys/conf/files Modifie

svn commit: r193953 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2009-06-10 Thread Kip Macy
Author: kmacy Date: Wed Jun 10 21:05:37 2009 New Revision: 193953 URL: http://svn.freebsd.org/changeset/base/193953 Log: use default policy for enabling prefetching unless the TUNABLE is set Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c head/sys/cddl/contrib/opensolari

svn commit: r193951 - in head/sys: cam/scsi i386/acpica kern net security/audit sys

2009-06-10 Thread Konstantin Belousov
Author: kib Date: Wed Jun 10 20:59:32 2009 New Revision: 193951 URL: http://svn.freebsd.org/changeset/base/193951 Log: Adapt vfs kqfilter to the shared vnode lock used by zfs write vop. Use vnode interlock to protect the knote fields [1]. The locking assumes that shared vnode lock is held, t

svn commit: r193950 - head/sys/conf

2009-06-10 Thread Bjoern A. Zeeb
Author: bz Date: Wed Jun 10 20:57:06 2009 New Revision: 193950 URL: http://svn.freebsd.org/changeset/base/193950 Log: ip_divert.c requires both INET and IPFIREWALL to be present: #error "IPDIVERT requires INET." #error "IPDIVERT requires IPFIREWALL" so properly track those depe

svn commit: r193949 - head/sys/conf

2009-06-10 Thread Bjoern A. Zeeb
Author: bz Date: Wed Jun 10 20:44:13 2009 New Revision: 193949 URL: http://svn.freebsd.org/changeset/base/193949 Log: IPsec depends on either IPv4 (inet) or IPv6 (inet6) so properly track dependencies and automatically disable building ipsec if neither of the two is in the kernel config. Mo

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

2009-06-10 Thread Bruce Simpson
Warner Losh wrote: Author: imp Date: Wed Jun 10 18:12:15 2009 New Revision: 193938 URL: http://svn.freebsd.org/changeset/base/193938 Log: These are no longer referenced in the tree, so can be safely removed. Thanks! Death to the Pixies says Frank Black! :-) Frank Zappa meanwhile remains

Re: svn commit: r192033 - stable/7/sys/dev/ata

2009-06-10 Thread Bruce Simpson
John Baldwin wrote: On an i386 8.0 kernel built here it is this line: 139 if ((error = ch->dma.load(request, NULL, &dummy))) { which would seem to indicate dma.load is NULL somehow. My patch doesn't affect that part of the code at all. Are you using any modules or is ata compile

svn commit: r193948 - in stable/7: include lib/libc lib/libc/gen

2009-06-10 Thread John Baldwin
Author: jhb Date: Wed Jun 10 19:57:54 2009 New Revision: 193948 URL: http://svn.freebsd.org/changeset/base/193948 Log: MFC: Add a feature_present(3) function which checks to see if a named kernel feature is present by checking the kern.features sysctl MIB. Added: stable/7/lib/libc/gen/featu

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

2009-06-10 Thread Robert Watson
On Wed, 10 Jun 2009, John Baldwin wrote: Change a few members of tcpcb that store cached copies of ticks to be ints instead of unsigned longs. This fixes a few overflow edge cases on 64-bit platforms. Specifically, if an idle connection receives a packet shortly before 2^31 clock ticks of

svn commit: r193947 - head/sys/netipsec

2009-06-10 Thread Bjoern A. Zeeb
Author: bz Date: Wed Jun 10 19:25:46 2009 New Revision: 193947 URL: http://svn.freebsd.org/changeset/base/193947 Log: Properly hide IPv4 only variables and functions under #ifdef INET. Modified: head/sys/netipsec/ipsec.c head/sys/netipsec/ipsec_input.c head/sys/netipsec/xform_ipip.c Modi

svn commit: r193946 - in stable/7/sys: . contrib/pf dev/ath/ath_hal

2009-06-10 Thread Warner Losh
Author: imp Date: Wed Jun 10 19:25:21 2009 New Revision: 193946 URL: http://svn.freebsd.org/changeset/base/193946 Log: Commit merge info from my last commit. Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/sys/dev/ath/ath_hal/ (props changed

svn commit: r193945 - stable/7/sys/dev/cardbus

2009-06-10 Thread Warner Losh
Author: imp Date: Wed Jun 10 19:21:23 2009 New Revision: 193945 URL: http://svn.freebsd.org/changeset/base/193945 Log: MFC: r188216 | wkoszek | 2009-02-05 17:55:19 -0700 (Thu, 05 Feb 2009) | 5 lines r185545 | imp | 2008-12-01 21:54:31 -0700 (Mon, 01 Dec 2008) | 2 lines r185140 | imp | 2

svn commit: r193944 - in head/etc: defaults rc.d

2009-06-10 Thread Andriy Gapon
Author: avg Date: Wed Jun 10 19:03:23 2009 New Revision: 193944 URL: http://svn.freebsd.org/changeset/base/193944 Log: rc.d/fsck: allow additional options for fsck_y_enable via fsck_y_flags Primary intention is to allow to pass -C option to avoid (re-)checking clean filesystems when preen

svn commit: r193943 - head/sbin/fsck_msdosfs

2009-06-10 Thread Andriy Gapon
Author: avg Date: Wed Jun 10 19:02:54 2009 New Revision: 193943 URL: http://svn.freebsd.org/changeset/base/193943 Log: fsck_msdosfs: accept no-op -C option for compatibilty with fsck Submitted by: marck Reviewed by: current@ Approved by: jhb (mentor) MFC after:1 week Modified:

svn commit: r193942 - head/sys/rpc

2009-06-10 Thread Rick Macklem
Author: rmacklem Date: Wed Jun 10 19:02:09 2009 New Revision: 193942 URL: http://svn.freebsd.org/changeset/base/193942 Log: For the case where another thread was doing a connect and that connect failed, the thread would be left stuck in msleep() indefinitely, since it would call msleep() aga

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

2009-06-10 Thread John Baldwin
On Wednesday 10 June 2009 2:27:15 pm John Baldwin wrote: > Author: jhb > Date: Wed Jun 10 18:27:15 2009 > New Revision: 193941 > URL: http://svn.freebsd.org/changeset/base/193941 > > Log: > Change a few members of tcpcb that store cached copies of ticks to be ints > instead of unsigned longs.

svn commit: r193941 - head/sys/netinet

2009-06-10 Thread John Baldwin
Author: jhb Date: Wed Jun 10 18:27:15 2009 New Revision: 193941 URL: http://svn.freebsd.org/changeset/base/193941 Log: Change a few members of tcpcb that store cached copies of ticks to be ints instead of unsigned longs. This fixes a few overflow edge cases on 64-bit platforms. Specificall

svn commit: r193940 - head/sys/dev/syscons/teken

2009-06-10 Thread Ed Schouten
Author: ed Date: Wed Jun 10 18:26:02 2009 New Revision: 193940 URL: http://svn.freebsd.org/changeset/base/193940 Log: Make the demo/stress tools build again, after my changes to param(). Modified: head/sys/dev/syscons/teken/teken_demo.c head/sys/dev/syscons/teken/teken_stress.c Modified: h

svn commit: r193939 - head/etc/rc.d

2009-06-10 Thread Ed Schouten
Author: ed Date: Wed Jun 10 18:18:14 2009 New Revision: 193939 URL: http://svn.freebsd.org/changeset/base/193939 Log: Small cleanups to the jail script: - Remove redundant debugging of consolelog. - Use `while :', instead of `while [ true ]'. This is done in other places as well.

svn commit: r193938 - head/sys/netinet

2009-06-10 Thread Warner Losh
Author: imp Date: Wed Jun 10 18:12:15 2009 New Revision: 193938 URL: http://svn.freebsd.org/changeset/base/193938 Log: These are no longer referenced in the tree, so can be safely removed. Reviewed by: bms@ Modified: head/sys/netinet/igmp.h Modified: head/sys/netinet/igmp.h ===

svn commit: r193937 - head/sys/dev/if_ndis

2009-06-10 Thread Coleman Kane
Author: cokane Date: Wed Jun 10 18:00:10 2009 New Revision: 193937 URL: http://svn.freebsd.org/changeset/base/193937 Log: Fix an LOR Submitted by: Paul B. Mahol MFC after:1 week Modified: head/sys/dev/if_ndis/if_ndis.c Modified: head/sys/dev/if_ndis/if_ndis.c

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

2009-06-10 Thread Chagin Dmitry
On Mon, Jun 08, 2009 at 09:23:54PM +, Paul Saab wrote: > Author: ps > Date: Mon Jun 8 21:23:54 2009 > New Revision: 193762 > URL: http://svn.freebsd.org/changeset/base/193762 > > Log: > Simply shared vnode locking and extend it to also include fsync. > Also, in vop_write, no longer assert

svn commit: r193936 - head/sys/dev/cfi

2009-06-10 Thread Warner Losh
Author: imp Date: Wed Jun 10 17:41:24 2009 New Revision: 193936 URL: http://svn.freebsd.org/changeset/base/193936 Log: Move from using devclass_find_free_unit(cfi_diskclass, 0) to -1, since they have the same basic behavior. Modified: head/sys/dev/cfi/cfi_core.c Modified: head/sys/dev/cfi/

svn commit: r193935 - head/sys/powerpc/psim

2009-06-10 Thread Warner Losh
Author: imp Date: Wed Jun 10 17:40:18 2009 New Revision: 193935 URL: http://svn.freebsd.org/changeset/base/193935 Log: Move from using devclass_find_free_unit(ata_devclass, 0) to -1 for the unit number. Basically they are the same... Modified: head/sys/powerpc/psim/ata_iobus.c Modified: h

svn commit: r193934 - head/sys/arm/at91

2009-06-10 Thread Warner Losh
Author: imp Date: Wed Jun 10 17:39:19 2009 New Revision: 193934 URL: http://svn.freebsd.org/changeset/base/193934 Log: Eliminate devclass_find_free_unit call here, since -1 gives the same net behavior. Modified: head/sys/arm/at91/at91_cfata.c Modified: head/sys/arm/at91/at91_cfata.c ==

svn commit: r193933 - in stable/7/usr.sbin/acpi: . acpidump

2009-06-10 Thread Dag-Erling Smorgrav
Author: des Date: Wed Jun 10 17:30:12 2009 New Revision: 193933 URL: http://svn.freebsd.org/changeset/base/193933 Log: merge r173723, r173726: fix an execl() call. Modified: stable/7/usr.sbin/acpi/ (props changed) stable/7/usr.sbin/acpi/acpidump/acpi.c Modified: stable/7/usr.sbin/acpi/ac

svn commit: r193932 - stable/7/usr.sbin/acpi/acpidb

2009-06-10 Thread Dag-Erling Smorgrav
Author: des Date: Wed Jun 10 17:29:13 2009 New Revision: 193932 URL: http://svn.freebsd.org/changeset/base/193932 Log: Lower WARNS due to aliasing violations in contrib code. Modified: stable/7/usr.sbin/acpi/acpidb/Makefile Modified: stable/7/usr.sbin/acpi/acpidb/Makefile ===

svn commit: r193931 - head/sys/kern

2009-06-10 Thread Konstantin Belousov
Author: kib Date: Wed Jun 10 16:17:38 2009 New Revision: 193931 URL: http://svn.freebsd.org/changeset/base/193931 Log: Do not leak the state->ls_lock after VI_DOOMED check introduced in the r192683. Reported by: pho Submitted by: jhb Modified: head/sys/kern/kern_lockf.c Modified: h

Re: svn commit: r193878 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2009-06-10 Thread Bakul Shah
For some reason this revision does not show up in the CVS repository. Some bug in the svn->cvs conversion script? Here is an edited snippet from commitlogs/sys: imp 2009-06-10 01:02:38 UTC Modified files: sys/kern subr_

svn commit: r193930 - head/sys/fs/cd9660

2009-06-10 Thread Konstantin Belousov
Author: kib Date: Wed Jun 10 15:48:34 2009 New Revision: 193930 URL: http://svn.freebsd.org/changeset/base/193930 Log: For cd9660_ioctl, check for recycled vnode after locking it. Noted by: Jaakko Heinonen MFC after:2 weeks Modified: head/sys/fs/cd9660/cd9660_vnops.c Modified

svn commit: r193929 - head/usr.sbin/jail

2009-06-10 Thread Jamie Gritton
Author: jamie Date: Wed Jun 10 15:26:35 2009 New Revision: 193929 URL: http://svn.freebsd.org/changeset/base/193929 Log: In the old-style jail command line, explicitly set parameters from the security.jail.* sysctls since jail_set(2) doesn't do it implicitly. Approved by: bz (mentor) Mo

svn commit: r193928 - stable/7/lib/libutil

2009-06-10 Thread Dag-Erling Smorgrav
Author: des Date: Wed Jun 10 14:52:34 2009 New Revision: 193928 URL: http://svn.freebsd.org/changeset/base/193928 Log: merge r173719: constify expand_number(3). Modified: stable/7/lib/libutil/ (props changed) stable/7/lib/libutil/expand_number.3 stable/7/lib/libutil/expand_number.c st

svn commit: r193927 - in stable/7/usr.bin/tip: . tip

2009-06-10 Thread Dag-Erling Smorgrav
Author: des Date: Wed Jun 10 14:38:39 2009 New Revision: 193927 URL: http://svn.freebsd.org/changeset/base/193927 Log: merge r173716: lower WARNS to avoid spurious "variable might be clobbered by longjmp" warnings. Modified: stable/7/usr.bin/tip/ (props changed) stable/7/usr.bin/tip/tip

svn commit: r193926 - in head/sys: kern net

2009-06-10 Thread Bjoern A. Zeeb
Author: bz Date: Wed Jun 10 14:36:59 2009 New Revision: 193926 URL: http://svn.freebsd.org/changeset/base/193926 Log: SCTP needs either IPv4 or IPv6 as lower layer[1]. So properly hide the already #ifdef SCTP code with #if defined(INET) || defined(INET6) as well to get us closer to a non-I

svn commit: r193925 - head/sys/dev/cxgb

2009-06-10 Thread George V. Neville-Neil
Author: gnn Date: Wed Jun 10 14:34:56 2009 New Revision: 193925 URL: http://svn.freebsd.org/changeset/base/193925 Log: Add a missing error statistic, the number of FCS errors on receive. Reviewed by: jhb MFC after:1 day Modified: head/sys/dev/cxgb/cxgb_sge.c Modified: head/sys/de

svn commit: r193924 - in head/sys: fs/cd9660 fs/msdosfs gnu/fs/xfs/FreeBSD kern

2009-06-10 Thread Konstantin Belousov
Author: kib Date: Wed Jun 10 14:24:31 2009 New Revision: 193924 URL: http://svn.freebsd.org/changeset/base/193924 Log: Fix r193923 by noting that type of a_fp is struct file *, not int. It was assumed that r193923 was trivial change that cannot be done wrong. MFC after:2 weeks Modi

svn commit: r193923 - in head/sys: fs/cd9660 fs/fifofs fs/msdosfs gnu/fs/xfs/FreeBSD kern

2009-06-10 Thread Konstantin Belousov
Author: kib Date: Wed Jun 10 14:09:05 2009 New Revision: 193923 URL: http://svn.freebsd.org/changeset/base/193923 Log: s/a_fdidx/a_fp/ for VOP_OPEN comments that inline struct vop_open_args definition. Discussed with: bde MFC after:2 weeks Modified: head/sys/fs/cd9660/cd966

svn commit: r193922 - head/sys/fs/fifofs

2009-06-10 Thread Konstantin Belousov
Author: kib Date: Wed Jun 10 14:02:22 2009 New Revision: 193922 URL: http://svn.freebsd.org/changeset/base/193922 Log: Remove unused VOP_IOCTL and VOP_KQFILTER implementations for fifofs. MFC after:2 weeks Modified: head/sys/fs/fifofs/fifo_vnops.c Modified: head/sys/fs/fifofs/fifo_v

svn commit: r193921 - stable/7/contrib/csup

2009-06-10 Thread Ulf Lilleengen
Author: lulf Date: Wed Jun 10 14:01:23 2009 New Revision: 193921 URL: http://svn.freebsd.org/changeset/base/193921 Log: MFC r193213: - Add missing data argument to printf. Modified: stable/7/contrib/csup/ (props changed) stable/7/contrib/csup/updater.c Modified: stable/7/contrib/csup/u

svn commit: r193920 - stable/7/sbin/fsck_ffs

2009-06-10 Thread Ulf Lilleengen
Author: lulf Date: Wed Jun 10 13:59:05 2009 New Revision: 193920 URL: http://svn.freebsd.org/changeset/base/193920 Log: MFC r193059: - Use sig_atomic_t for signal handler variables. MFC r193325: - Use volatile for signal variables. MFC r193372: Correct comment. Modified: stabl

svn commit: r193919 - in head/sys/fs: cd9660 devfs pseudofs

2009-06-10 Thread Konstantin Belousov
Author: kib Date: Wed Jun 10 13:57:36 2009 New Revision: 193919 URL: http://svn.freebsd.org/changeset/base/193919 Log: VOP_IOCTL takes unlocked vnode as an argument. Due to this, v_data may be NULL or derefenced memory may become free at arbitrary moment. Lock the vnode in cd9660, devfs a

Re: svn commit: r192033 - stable/7/sys/dev/ata

2009-06-10 Thread John Baldwin
On Wednesday 10 June 2009 4:39:53 am Bruce Simpson wrote: > John Baldwin wrote: > > http://www.FreeBSD.org/~jhb/patches/ata_ali.patch > > Ok, I've uploaded the patch, I must have just sent it inline before. > > > > Thanks! > > I did a p4 integ on my p4 work branch, built a NanoBSD USB stick im

Re: svn commit: r193878 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2009-06-10 Thread John Baldwin
On Wednesday 10 June 2009 6:02:12 am Dag-Erling Smørgrav wrote: > Kip Macy writes: > > Dmitry Morozovsky writes: > > > Hmm, I failed to see how boolean prevent the usage: > > > > > > if arch==i386 || memsize < 4G > > >        zfs_prefetch=0 > > > else > > >        zfs_prefetch=1 > > > > > > and a

Re: svn commit: r193863 - in head/sys: conf net

2009-06-10 Thread John Baldwin
On Tuesday 09 June 2009 5:55:28 pm Kip Macy wrote: > Author: kmacy > Date: Tue Jun 9 21:55:28 2009 > New Revision: 193863 > URL: http://svn.freebsd.org/changeset/base/193863 > > Log: > revert to opt-in flowtable Thanks. -- John Baldwin ___ svn-src-

svn commit: r193918 - head/sys/dev/ata/chipsets

2009-06-10 Thread John Baldwin
Author: jhb Date: Wed Jun 10 13:56:42 2009 New Revision: 193918 URL: http://svn.freebsd.org/changeset/base/193918 Log: Preallocate the four BARs in ALI SATA controllers during the chipinit routine and save the resources using a chipset-data structure. Use these preallocated resources to set

svn commit: r193917 - head/sys/compat/freebsd32

2009-06-10 Thread Konstantin Belousov
Author: kib Date: Wed Jun 10 13:48:43 2009 New Revision: 193917 URL: http://svn.freebsd.org/changeset/base/193917 Log: Regenerate Modified: head/sys/compat/freebsd32/freebsd32_proto.h head/sys/compat/freebsd32/freebsd32_syscall.h head/sys/compat/freebsd32/freebsd32_syscalls.c head/sys/c

svn commit: r193916 - head/sys/compat/freebsd32

2009-06-10 Thread Konstantin Belousov
Author: kib Date: Wed Jun 10 13:48:13 2009 New Revision: 193916 URL: http://svn.freebsd.org/changeset/base/193916 Log: Add several syscall compat32 entries for extattr manipulation syscalls, that do not require translation of the arguments. Requested by: kientzle Reviewed by: jhb (prev

svn commit: r193915 - stable/7/sys/dev/cxgb

2009-06-10 Thread John Baldwin
Author: jhb Date: Wed Jun 10 13:44:49 2009 New Revision: 193915 URL: http://svn.freebsd.org/changeset/base/193915 Log: Remove the mergeinfo from sys/dev/cxgb. The relevant merge history should be adequately reflected in the mergeinfo in sys/ at this point. Modified: stable/7/sys/dev/cxgb/

svn commit: r193914 - in stable/7/sbin/ipf: . ipftest

2009-06-10 Thread Dag-Erling Smorgrav
Author: des Date: Wed Jun 10 13:41:40 2009 New Revision: 193914 URL: http://svn.freebsd.org/changeset/base/193914 Log: merge r173722: lower WARNS; we can't easily fix the (contrib) code. Modified: stable/7/sbin/ipf/ (props changed) stable/7/sbin/ipf/ipftest/Makefile Modified: stable/7/sb

svn commit: r193913 - head/sys/net

2009-06-10 Thread Bjoern A. Zeeb
Author: bz Date: Wed Jun 10 13:39:51 2009 New Revision: 193913 URL: http://svn.freebsd.org/changeset/base/193913 Log: ip_gif_ttl/GIF_TTL are only used by the inet part in in_gif.c, so put the initialization under #ifdef INET. Modified: head/sys/net/if_gif.c Modified: head/sys/net/if_gif.c

svn commit: r193912 - stable/7/sbin/clri

2009-06-10 Thread Dag-Erling Smorgrav
Author: des Date: Wed Jun 10 13:04:07 2009 New Revision: 193912 URL: http://svn.freebsd.org/changeset/base/193912 Log: merge r173764: fix aliasing violations. Modified: stable/7/sbin/clri/ (props changed) stable/7/sbin/clri/clri.c Modified: stable/7/sbin/clri/clri.c =

svn commit: r193911 - in stable/7/lib/libkse: . thread

2009-06-10 Thread Dag-Erling Smorgrav
Author: des Date: Wed Jun 10 12:54:36 2009 New Revision: 193911 URL: http://svn.freebsd.org/changeset/base/193911 Log: merge r176060, r176071: add pthread_mutex_isowned_np() (already in libthr) Modified: stable/7/lib/libkse/ (props changed) stable/7/lib/libkse/kse.map stable/7/lib/libks

svn commit: r193910 - stable/7/lib/libkse

2009-06-10 Thread Dag-Erling Smorgrav
Author: des Date: Wed Jun 10 12:51:58 2009 New Revision: 193910 URL: http://svn.freebsd.org/changeset/base/193910 Log: merge r176055, r176056: use libc's version definition file. Modified: stable/7/lib/libkse/ (props changed) stable/7/lib/libkse/Makefile stable/7/lib/libkse/kse.map Mod

svn commit: r193909 - in head/sys/powerpc: aim powerpc

2009-06-10 Thread Peter Grehan
Author: grehan Date: Wed Jun 10 12:47:54 2009 New Revision: 193909 URL: http://svn.freebsd.org/changeset/base/193909 Log: Get the gdb/psim emulator functioning again. aim/machdep.c: - the RI status register bit needs to be set when doing the mtmsrd 64-bit instruction

svn commit: r193908 - in head: etc/mtree share/colldef share/mklocale share/monetdef share/msgdef share/numericdef share/timedef

2009-06-10 Thread Edwin Groothuis
Author: edwin Date: Wed Jun 10 12:20:11 2009 New Revision: 193908 URL: http://svn.freebsd.org/changeset/base/193908 Log: add ca_AD, ca_FR and ca_IT locales Catalan language is not only spoken in Spain (ca_ES), but also in Andorra, France and Italy. In Andorra it is the official

svn commit: r193906 - in stable/7/sys: . amd64/linux32 contrib/pf dev/ath/ath_hal dev/cxgb i386/linux kern sys

2009-06-10 Thread Konstantin Belousov
Author: kib Date: Wed Jun 10 12:07:52 2009 New Revision: 193906 URL: http://svn.freebsd.org/changeset/base/193906 Log: MFC r185647; Several threads in a process may do vfork() simultaneously. Then, all parent threads sleep on the parent' struct proc until corresponding child releases the v

svn commit: r193902 - head/sys/modules/sound/sound

2009-06-10 Thread Ariff Abdullah
Author: ariff Date: Wed Jun 10 11:33:47 2009 New Revision: 193902 URL: http://svn.freebsd.org/changeset/base/193902 Log: Attempt to fix parallel build. Modified: head/sys/modules/sound/sound/Makefile Modified: head/sys/modules/sound/sound/Makefile

Re: kmod.mk - modules build framework [was: svn commit: r193818 - head/sys/modules/sound/sound]

2009-06-10 Thread Bjoern A. Zeeb
s: ===> sound (depend) ===> sound/sound (depend) make: don't know how to make @/tools/sound/feeder_eq_mkfilter.awk. Stop *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 I forgot to mention that the way we currently seem to handle this is: http://people.freebsd.org/~b

svn commit: r193900 - head/sys/contrib/pf/net

2009-06-10 Thread Bjoern A. Zeeb
Author: bz Date: Wed Jun 10 11:19:34 2009 New Revision: 193900 URL: http://svn.freebsd.org/changeset/base/193900 Log: All consumers of in_cksum.h have been properly #ifdefed already, so do not include the file either as it would give as an extra dependency on INET. Modified: head/sys/cont

svn commit: r193896 - head/sys/netinet/ipfw

2009-06-10 Thread Luigi Rizzo
Author: luigi Date: Wed Jun 10 10:47:31 2009 New Revision: 193896 URL: http://svn.freebsd.org/changeset/base/193896 Log: in ip_dn_ctl(), do not allocate a large structure on the stack, and use malloc() instead if/when it is necessary. The problem is less relevant in previous versions beca

Re: kmod.mk - modules build framework [was: svn commit: r193818 - head/sys/modules/sound/sound]

2009-06-10 Thread Ariff Abdullah
Or in other words: > > > > ===> sound (depend) > > ===> sound/sound (depend) > > make: don't know how to make @/tools/sound/feeder_eq_mkfilter.awk. > > Stop *** Error code 2 > > 1 error > > *** Error code 2 > > 1 error > > *** Error cod

svn commit: r193895 - head/sys/netinet

2009-06-10 Thread Bjoern A. Zeeb
Author: bz Date: Wed Jun 10 10:39:41 2009 New Revision: 193895 URL: http://svn.freebsd.org/changeset/base/193895 Log: Remove the "The option TCPDEBUG requires option INET." requirement. In case of !INET we will not have a timestamp on the trace for now but that might only affect spx debuggin

svn commit: r193894 - head/sys/netinet/ipfw

2009-06-10 Thread Luigi Rizzo
Author: luigi Date: Wed Jun 10 10:34:59 2009 New Revision: 193894 URL: http://svn.freebsd.org/changeset/base/193894 Log: small simplifications to the code in charge of reaping deleted rules: - clear the head pointer immediately before using it, so there is no chance of mistakes; - call r

svn commit: r193893 - head/contrib/ntp/ntpd head/sys/kern head/sys/netinet6 releng/6.3 releng/6.3/contrib/ntp/ntpd releng/6.3/sys/conf releng/6.3/sys/kern releng/6.3/sys/netinet6 releng/6.4 releng/...

2009-06-10 Thread Colin Percival
Author: cperciva Date: Wed Jun 10 10:31:11 2009 New Revision: 193893 URL: http://svn.freebsd.org/changeset/base/193893 Log: Prevent integer overflow in direct pipe write code from circumventing virtual-to-physical page lookups. [09:09] Add missing permissions check for SIOCSIFINFO_IN6 ioc

svn commit: r193893 - head/contrib/ntp/ntpd head/sys/kern head/sys/netinet6 releng/6.3 releng/6.3/contrib/ntp/ntpd releng/6.3/sys/conf releng/6.3/sys/kern releng/6.3/sys/netinet6 releng/6.4 releng/...

2009-06-10 Thread Colin Percival
3/UPDATING Wed Jun 10 10:31:11 2009(r193893) @@ -8,6 +8,15 @@ Items affecting the ports and packages s /usr/ports/UPDATING. Please read that file before running portupgrade. +20090610: p11 FreeBSD-SA-09:09.pipe, FreeBSD-SA-09:10.ipv6, + FreeBSD-SA-

svn commit: r193893 - head/contrib/ntp/ntpd head/sys/kern head/sys/netinet6 releng/6.3 releng/6.3/contrib/ntp/ntpd releng/6.3/sys/conf releng/6.3/sys/kern releng/6.3/sys/netinet6 releng/6.4 releng/...

2009-06-10 Thread Colin Percival
Author: cperciva Date: Wed Jun 10 10:31:11 2009 New Revision: 193893 URL: http://svn.freebsd.org/changeset/base/193893 Log: Prevent integer overflow in direct pipe write code from circumventing virtual-to-physical page lookups. [09:09] Add missing permissions check for SIOCSIFINFO_IN6 ioc

svn commit: r193893 - head/contrib/ntp/ntpd head/sys/kern head/sys/netinet6 releng/6.3 releng/6.3/contrib/ntp/ntpd releng/6.3/sys/conf releng/6.3/sys/kern releng/6.3/sys/netinet6 releng/6.4 releng/...

2009-06-10 Thread Colin Percival
Author: cperciva Date: Wed Jun 10 10:31:11 2009 New Revision: 193893 URL: http://svn.freebsd.org/changeset/base/193893 Log: Prevent integer overflow in direct pipe write code from circumventing virtual-to-physical page lookups. [09:09] Add missing permissions check for SIOCSIFINFO_IN6 ioc

Re: kmod.mk - modules build framework [was: svn commit: r193818 - head/sys/modules/sound/sound]

2009-06-10 Thread Bjoern A. Zeeb
e 2 I forgot to mention that the way we currently seem to handle this is: http://people.freebsd.org/~bz/20090610-02-sound-Makefile.diff This missing dependency seems to be a general bug. There is an ordering requirement that beforedepend is before built before ${DEPENDFILE}, but this apparen

Re: kmod.mk - modules build framework [was: svn commit: r193818 - head/sys/modules/sound/sound]

2009-06-10 Thread Bjoern A. Zeeb
On Wed, 10 Jun 2009, Bruce Evans wrote: On Tue, 9 Jun 2009, Bjoern A. Zeeb wrote: On Tue, 9 Jun 2009, Bjoern A. Zeeb wrote: Log: Depend on @ machine (_ILINKS) as we do with other modules so that @ is there for parallel (-jN) builds. Ideally beforedepends in kmod.mk should do the right thi

Re: svn commit: r193878 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2009-06-10 Thread Dag-Erling Smørgrav
Kip Macy writes: > Dmitry Morozovsky writes: > > Hmm, I failed to see how boolean prevent the usage: > > > > if arch==i386 || memsize < 4G > >        zfs_prefetch=0 > > else > >        zfs_prefetch=1 > > > > and admin can flip the switch to non-default position. > > > Right, what you're advocatin

Re: kmod.mk - modules build framework [was: svn commit: r193818 - head/sys/modules/sound/sound]

2009-06-10 Thread Bruce Evans
On Tue, 9 Jun 2009, Bjoern A. Zeeb wrote: On Tue, 9 Jun 2009, Bjoern A. Zeeb wrote: Log: Depend on @ machine (_ILINKS) as we do with other modules so that @ is there for parallel (-jN) builds. Ideally beforedepends in kmod.mk should do the right thing but it seems it does not. Anyone with

svn commit: r193892 - head/sys/netipx

2009-06-10 Thread Bjoern A. Zeeb
Author: bz Date: Wed Jun 10 09:28:50 2009 New Revision: 193892 URL: http://svn.freebsd.org/changeset/base/193892 Log: Put the variable declarations for TCPDEBUG under #ifdef INET as well. The implementation already has this right. Reviewed by: rwatson Modified: head/sys/netipx/spx_deb

Re: svn commit: r193878 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2009-06-10 Thread Dmitry Morozovsky
On Wed, 10 Jun 2009, Kip Macy wrote: KM> + if uint64_t)physmem * PAGESIZE) < (1ULL << 32)) && KM> + (zfs_prefetch_enable != 1) && (zfs_prefetch_disable != 1)) { KM> + printf("ZFS NOTICE: system has less than 4GB and prefetch enable is not set" KM> + "... disabl

Re: svn commit: r192033 - stable/7/sys/dev/ata

2009-06-10 Thread Bruce Simpson
John Baldwin wrote: As far as I know the regression / panic still happens in 7.2 -- I nearly did an 'installkernel' on that box w/o thinking... Yes. The same patch will apply to 7-stable though it will have to be applied to ata-chipset.c instead. Here is that patch reworked, which I'm

svn commit: r193891 - head/sys/net

2009-06-10 Thread Bjoern A. Zeeb
Author: bz Date: Wed Jun 10 09:07:05 2009 New Revision: 193891 URL: http://svn.freebsd.org/changeset/base/193891 Log: The llentry *lle is only used in cases of INET or INET6. Put the variable declaration under proper #ifdefs. In case variables are only needed for one of the two AFs more

svn commit: r193890 - in stable/7/sys/boot: . i386

2009-06-10 Thread Kip Macy
Author: kmacy Date: Wed Jun 10 09:06:42 2009 New Revision: 193890 URL: http://svn.freebsd.org/changeset/base/193890 Log: fix loader for default settings case Modified: stable/7/sys/boot/Makefile stable/7/sys/boot/i386/Makefile Modified: stable/7/sys/boot/Makefile ==

Re: svn commit: r192033 - stable/7/sys/dev/ata

2009-06-10 Thread Bruce Simpson
John Baldwin wrote: http://www.FreeBSD.org/~jhb/patches/ata_ali.patch Ok, I've uploaded the patch, I must have just sent it inline before. Thanks! I did a p4 integ on my p4 work branch, built a NanoBSD USB stick image with this patch incorporated into the kernel, booted from it successful

Re: svn commit: r193878 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2009-06-10 Thread Alexey Dokuchaev
On Wed, Jun 10, 2009 at 12:08:43AM -0700, Kip Macy wrote: > On Wed, Jun 10, 2009 at 12:00 AM, Dmitry Morozovsky wrote: > > On Tue, 9 Jun 2009, Kip Macy wrote: > > > > KM> > KM>   As far as I can tell systems that have less than 4GB are more > > often hurt > > KM> > KM>   by prefetched than helped.

Re: svn commit: r193878 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2009-06-10 Thread Kip Macy
On Wed, Jun 10, 2009 at 12:00 AM, Dmitry Morozovsky wrote: > On Tue, 9 Jun 2009, Kip Macy wrote: > > KM> > KM>   As far as I can tell systems that have less than 4GB are more > often hurt > KM> > KM>   by prefetched than helped.  On i386 systems and systems with less > than 4GB, > KM> > KM>   pre

Re: svn commit: r193878 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2009-06-10 Thread Dmitry Morozovsky
On Tue, 9 Jun 2009, Kip Macy wrote: KM> > KM>   As far as I can tell systems that have less than 4GB are more often hurt KM> > KM>   by prefetched than helped.  On i386 systems and systems with less than 4GB, KM> > KM>   prefetch is now disabled by default. I've added a prefetch enable tunable,

  1   2   >