From owner-svn-src-stable-7@FreeBSD.ORG Sun Jul 4 18:44:32 2010 Return-Path: Delivered-To: svn-src-stable-7@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7AC89106564A; Sun, 4 Jul 2010 18:44:32 +0000 (UTC) (envelope-from brueffer@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 67BBD8FC08; Sun, 4 Jul 2010 18:44:32 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o64IiWNZ013744; Sun, 4 Jul 2010 18:44:32 GMT (envelope-from brueffer@svn.freebsd.org) Received: (from brueffer@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o64IiW6f013742; Sun, 4 Jul 2010 18:44:32 GMT (envelope-from brueffer@svn.freebsd.org) Message-Id: <201007041844.o64IiW6f013742@svn.freebsd.org> From: Christian Brueffer Date: Sun, 4 Jul 2010 18:44:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r209699 - stable/7/lib/libc/stdlib X-BeenThere: svn-src-stable-7@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 7-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 18:44:32 -0000 Author: brueffer Date: Sun Jul 4 18:44:32 2010 New Revision: 209699 URL: http://svn.freebsd.org/changeset/base/209699 Log: MFC: r207946 The previous revision actually removed the bug being hinted at, so go ahead and remove the hint. Modified: stable/7/lib/libc/stdlib/strtod.3 Directory Properties: stable/7/lib/libc/ (props changed) stable/7/lib/libc/stdtime/ (props changed) Modified: stable/7/lib/libc/stdlib/strtod.3 ============================================================================== --- stable/7/lib/libc/stdlib/strtod.3 Sun Jul 4 18:41:00 2010 (r209698) +++ stable/7/lib/libc/stdlib/strtod.3 Sun Jul 4 18:44:32 2010 (r209699) @@ -32,7 +32,7 @@ .\" @(#)strtod.3 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd March 2, 2003 +.Dd May 11, 2010 .Dt STRTOD 3 .Os .Sh NAME @@ -148,8 +148,7 @@ The .Fn strtod function conforms to -.St -isoC-99 , -with the exception of the bug noted below. +.St -isoC-99 . .Sh AUTHORS The author of this software is .An David M. Gay . From owner-svn-src-stable-7@FreeBSD.ORG Sun Jul 4 18:49:16 2010 Return-Path: Delivered-To: svn-src-stable-7@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61DE41065743; Sun, 4 Jul 2010 18:49:16 +0000 (UTC) (envelope-from brueffer@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 353D68FC1B; Sun, 4 Jul 2010 18:49:16 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o64InGg4014888; Sun, 4 Jul 2010 18:49:16 GMT (envelope-from brueffer@svn.freebsd.org) Received: (from brueffer@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o64InGVp014886; Sun, 4 Jul 2010 18:49:16 GMT (envelope-from brueffer@svn.freebsd.org) Message-Id: <201007041849.o64InGVp014886@svn.freebsd.org> From: Christian Brueffer Date: Sun, 4 Jul 2010 18:49:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r209701 - stable/7/usr.bin/make X-BeenThere: svn-src-stable-7@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 7-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 18:49:16 -0000 Author: brueffer Date: Sun Jul 4 18:49:15 2010 New Revision: 209701 URL: http://svn.freebsd.org/changeset/base/209701 Log: MFC: r207948 - Missing full stops - Upper case the first character of an description - Section headings do not need to be quoted. From OpenBSD's make.1, revision 1.81 - Plural of suffix is suffixes. From OpenBSD's make.1, revision 1.61 - s/seperating/separating/ Modified: stable/7/usr.bin/make/make.1 Directory Properties: stable/7/usr.bin/make/ (props changed) Modified: stable/7/usr.bin/make/make.1 ============================================================================== --- stable/7/usr.bin/make/make.1 Sun Jul 4 18:48:43 2010 (r209700) +++ stable/7/usr.bin/make/make.1 Sun Jul 4 18:49:15 2010 (r209701) @@ -960,7 +960,7 @@ Otherwise is the substring of .Ar old_string to be replaced in -.Ar new_string +.Ar new_string . .It Cm T Replaces each word in the variable with its last component. .It Cm U @@ -1108,7 +1108,7 @@ The may be any one of the following: .Bl -tag -width "Cm XX" .It Cm || -logical +Logical .Tn OR .It Cm && Logical @@ -1298,7 +1298,7 @@ made before the sources that succeed it Loops are not being detected and targets that form loops will be silently ignored. .El -.Sh "SPECIAL TARGETS" +.Sh SPECIAL TARGETS Special targets may not be included with other targets, i.e., they must be the only target specified. .Bl -tag -width Ic @@ -1590,7 +1590,7 @@ command in the file. .It Ic .SUFFIXES Each source specifies a suffix to .Nm . -If no sources are specified, any previous specified suffices are deleted. +If no sources are specified, any previous specified suffixes are deleted. .It Ic .WARN Each source specifies a warning flag as previously described for the .Fl x @@ -1603,7 +1603,7 @@ environment variables so that a warning line will influence all sub-makes. Several flags can be specified on a single .Ic .WARN -target by seperating them with blanks. +target by separating them with blanks. .El .Sh REMAKING MAKEFILES If the special target @@ -1748,7 +1748,7 @@ The evaluation of .Ar expression in a test is very simple-minded. Currently, the only form that works is -.Ql .if ${VAR} op something +.Ql .if ${VAR} op something . For instance, you should write tests as .Ql .if ${VAR} == "string" not the other way around, which would give you an error. From owner-svn-src-stable-7@FreeBSD.ORG Sun Jul 4 23:28:43 2010 Return-Path: Delivered-To: svn-src-stable-7@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D01F106564A; Sun, 4 Jul 2010 23:28:43 +0000 (UTC) (envelope-from anders@FreeBSD.org) Received: from fupp.net (totem.fix.no [80.91.36.20]) by mx1.freebsd.org (Postfix) with ESMTP id 2AAD58FC16; Sun, 4 Jul 2010 23:28:42 +0000 (UTC) Received: from localhost (totem.fix.no [80.91.36.20]) by fupp.net (Postfix) with ESMTP id 9D38647229; Mon, 5 Jul 2010 01:28:39 +0200 (CEST) Received: from fupp.net ([80.91.36.20]) by localhost (totem.fix.no [80.91.36.20]) (amavisd-new, port 10024) with LMTP id GTGl+FN0eE6b; Mon, 5 Jul 2010 01:28:39 +0200 (CEST) Received: by fupp.net (Postfix, from userid 1000) id 098DC47228; Mon, 5 Jul 2010 01:28:39 +0200 (CEST) Date: Mon, 5 Jul 2010 01:28:39 +0200 From: Anders Nordby To: Pyun YongHyeon Message-ID: <20100704232838.GA13281@fupp.net> References: <201006101804.o5AI4PEX024259@svn.freebsd.org> <20100629074831.GA75332@fupp.net> <1277820825.55649.7.camel@bauer.cse.buffalo.edu> <20100701215218.GC7090@michelle.cdnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20100701215218.GC7090@michelle.cdnetworks.com> User-Agent: Mutt/1.4.2.3i X-PGP-Key: http://anders.fix.no/pgp/ X-PGP-Key-FingerPrint: 1E0F C53C D8DF 6A8F EAAD 19C5 D12A BC9F 0083 5956 Cc: src-committers@freebsd.org, Ken Smith , jdc@parodius.com, svn-src-stable@freebsd.org, svn-src-all@freebsd.org, svn-src-stable-7@freebsd.org, marcel@freebsd.org, Pyun YongHyeon Subject: Re: svn commit: r208995 - stable/7/sys/dev/bge X-BeenThere: svn-src-stable-7@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 7-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 23:28:43 -0000 Hi, On Thu, Jul 01, 2010 at 02:52:18PM -0700, Pyun YongHyeon wrote: > > > Is it possible to get this fix into FreeBSD 7.3-RELEASE? > > We typically rely on developers to decide if fixes might warrant > > consideration as an Errata Notice and send email to re@ suggesting > > it. It's hard for us to judge on our own - factors include things > > like the individual developers' confidence level in the fix, etc. > Even though I didn't receive positive feedback from jumbo frame > users I'm pretty sure the change set will fix regression introduced > in r199011. As you might know, the bug was not detected for a very > long time(about 6 months) so I think it's better to wait 2 or 3 > weeks to get more confidence on the patch. Upgrade cycles sometimes go slow. The only release to have this bug is 7.3 from march (our only release this year so far), all other releases are from before the bug was introduced or will not have the bug (8.1). For me 7.3 seems unusable without this patch, on all our HP ProLiant DL 380 G4 servers. These have have built-in bge NICs. I manually apply the patch on production servers for now, which works for me. If/when Pyun feels confident about it, I think it should be fixed in 7.3. Regards, -- Anders. From owner-svn-src-stable-7@FreeBSD.ORG Wed Jul 7 19:52:59 2010 Return-Path: Delivered-To: svn-src-stable-7@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 520C710656E8; Wed, 7 Jul 2010 19:52:59 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 112668FC15; Wed, 7 Jul 2010 19:52:58 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o67JqvOu088227; Wed, 7 Jul 2010 19:52:57 GMT (envelope-from marius@svn.freebsd.org) Received: (from marius@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o67JqvbH088225; Wed, 7 Jul 2010 19:52:57 GMT (envelope-from marius@svn.freebsd.org) Message-Id: <201007071952.o67JqvbH088225@svn.freebsd.org> From: Marius Strobl Date: Wed, 7 Jul 2010 19:52:57 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r209777 - stable/7/sys/sparc64/include X-BeenThere: svn-src-stable-7@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 7-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 19:52:59 -0000 Author: marius Date: Wed Jul 7 19:52:57 2010 New Revision: 209777 URL: http://svn.freebsd.org/changeset/base/209777 Log: MFC: r209695 - Pin the IPI cache and TLB demap functions in order to prevent migration between determining the other CPUs and calling cpu_ipi_selected(), which apart from generally doing the wrong thing can lead to a panic when a CPU is told to IPI itself (which sun4u doesn't support). Reported and tested by: Nathaniel W Filardo - Add __unused where appropriate. Modified: stable/7/sys/sparc64/include/smp.h Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/sparc64/include/smp.h ============================================================================== --- stable/7/sys/sparc64/include/smp.h Wed Jul 7 19:52:50 2010 (r209776) +++ stable/7/sys/sparc64/include/smp.h Wed Jul 7 19:52:57 2010 (r209777) @@ -38,6 +38,9 @@ #ifndef LOCORE +#include +#include + #include #include #include @@ -138,6 +141,7 @@ ipi_dcache_page_inval(void *func, vm_pad if (smp_cpus == 1) return (NULL); + sched_pin(); ica = &ipi_cache_args; mtx_lock_spin(&ipi_mtx); ica->ica_mask = all_cpus; @@ -153,6 +157,7 @@ ipi_icache_page_inval(void *func, vm_pad if (smp_cpus == 1) return (NULL); + sched_pin(); ica = &ipi_cache_args; mtx_lock_spin(&ipi_mtx); ica->ica_mask = all_cpus; @@ -169,8 +174,11 @@ ipi_tlb_context_demap(struct pmap *pm) if (smp_cpus == 1) return (NULL); - if ((cpus = (pm->pm_active & PCPU_GET(other_cpus))) == 0) + sched_pin(); + if ((cpus = (pm->pm_active & PCPU_GET(other_cpus))) == 0) { + sched_unpin(); return (NULL); + } ita = &ipi_tlb_args; mtx_lock_spin(&ipi_mtx); ita->ita_mask = cpus | PCPU_GET(cpumask); @@ -188,8 +196,11 @@ ipi_tlb_page_demap(struct pmap *pm, vm_o if (smp_cpus == 1) return (NULL); - if ((cpus = (pm->pm_active & PCPU_GET(other_cpus))) == 0) + sched_pin(); + if ((cpus = (pm->pm_active & PCPU_GET(other_cpus))) == 0) { + sched_unpin(); return (NULL); + } ita = &ipi_tlb_args; mtx_lock_spin(&ipi_mtx); ita->ita_mask = cpus | PCPU_GET(cpumask); @@ -207,8 +218,11 @@ ipi_tlb_range_demap(struct pmap *pm, vm_ if (smp_cpus == 1) return (NULL); - if ((cpus = (pm->pm_active & PCPU_GET(other_cpus))) == 0) + sched_pin(); + if ((cpus = (pm->pm_active & PCPU_GET(other_cpus))) == 0) { + sched_unpin(); return (NULL); + } ita = &ipi_tlb_args; mtx_lock_spin(&ipi_mtx); ita->ita_mask = cpus | PCPU_GET(cpumask); @@ -229,6 +243,7 @@ ipi_wait(void *cookie) while (*mask != 0) ; mtx_unlock_spin(&ipi_mtx); + sched_unpin(); } } @@ -241,35 +256,36 @@ ipi_wait(void *cookie) #ifndef LOCORE static __inline void * -ipi_dcache_page_inval(void *func, vm_paddr_t pa) +ipi_dcache_page_inval(void *func __unused, vm_paddr_t pa __unused) { return (NULL); } static __inline void * -ipi_icache_page_inval(void *func, vm_paddr_t pa) +ipi_icache_page_inval(void *func __unused, vm_paddr_t pa __unused) { return (NULL); } static __inline void * -ipi_tlb_context_demap(struct pmap *pm) +ipi_tlb_context_demap(struct pmap *pm __unused) { return (NULL); } static __inline void * -ipi_tlb_page_demap(struct pmap *pm, vm_offset_t va) +ipi_tlb_page_demap(struct pmap *pm __unused, vm_offset_t va __unused) { return (NULL); } static __inline void * -ipi_tlb_range_demap(struct pmap *pm, vm_offset_t start, vm_offset_t end) +ipi_tlb_range_demap(struct pmap *pm __unused, vm_offset_t start __unused, + __unused vm_offset_t end) { return (NULL); From owner-svn-src-stable-7@FreeBSD.ORG Thu Jul 8 13:34:01 2010 Return-Path: Delivered-To: svn-src-stable-7@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD3A81065673; Thu, 8 Jul 2010 13:34:01 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id AC3DE8FC19; Thu, 8 Jul 2010 13:34:01 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o68DY1GI024845; Thu, 8 Jul 2010 13:34:01 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o68DY1OC024841; Thu, 8 Jul 2010 13:34:01 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <201007081334.o68DY1OC024841@svn.freebsd.org> From: John Baldwin Date: Thu, 8 Jul 2010 13:34:01 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r209798 - in stable/7/etc: . rc.d X-BeenThere: svn-src-stable-7@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 7-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 13:34:02 -0000 Author: jhb Date: Thu Jul 8 13:34:01 2010 New Revision: 209798 URL: http://svn.freebsd.org/changeset/base/209798 Log: MFC 175676: Implement a quiet prefix, which will disable some diagnostics. The fast prefix also implies quiet. During boot we use either fast or quiet. For shutdown we already use 'faststop'. So, this informational message should only appear during interactive use. Reviewed by: silence on freebsd-rc@ Modified: stable/7/etc/rc stable/7/etc/rc.d/netif stable/7/etc/rc.subr Directory Properties: stable/7/etc/ (props changed) Modified: stable/7/etc/rc ============================================================================== --- stable/7/etc/rc Thu Jul 8 13:07:40 2010 (r209797) +++ stable/7/etc/rc Thu Jul 8 13:34:01 2010 (r209798) @@ -56,7 +56,7 @@ if [ "$1" = autoboot ]; then rc_fast=yes # run_rc_command(): do fast booting else autoboot=no - _boot="start" + _boot="quietstart" fi dlv=`/sbin/sysctl -n vfs.nfs.diskless_valid 2> /dev/null` Modified: stable/7/etc/rc.d/netif ============================================================================== --- stable/7/etc/rc.d/netif Thu Jul 8 13:07:40 2010 (r209797) +++ stable/7/etc/rc.d/netif Thu Jul 8 13:34:01 2010 (r209798) @@ -72,7 +72,7 @@ network_start() if [ -f /etc/rc.d/ipfilter ] ; then # Resync ipfilter - /etc/rc.d/ipfilter fastresync + /etc/rc.d/ipfilter quietresync fi if [ -f /etc/rc.d/bridge -a -n "$cmdifn" ] ; then /etc/rc.d/bridge start $cmdifn Modified: stable/7/etc/rc.subr ============================================================================== --- stable/7/etc/rc.subr Thu Jul 8 13:07:40 2010 (r209797) +++ stable/7/etc/rc.subr Thu Jul 8 13:34:01 2010 (r209798) @@ -381,9 +381,10 @@ wait_for_pids() # If argument has a given prefix, then change the operation as follows: # Prefix Operation # ------ --------- -# fast Skip the pid check, and set rc_fast=yes +# fast Skip the pid check, and set rc_fast=yes, rc_quiet=yes # force Set ${rcvar} to YES, and set rc_force=yes # one Set ${rcvar} to YES +# quiet Don't output some diagnostics, and set rc_quiet=yes # # The following globals are used: # @@ -526,6 +527,8 @@ wait_for_pids() # # rc_force Not empty if "force" was provided (q.v.) # +# rc_quiet Not empty if "quiet" was provided +# # run_rc_command() { @@ -546,6 +549,7 @@ run_rc_command() fast*) # "fast" prefix; don't check pid rc_arg=${rc_arg#fast} rc_fast=yes + rc_quiet=yes ;; force*) # "force prefix; always run rc_force=yes @@ -562,6 +566,11 @@ run_rc_command() eval ${rcvar}=YES fi ;; + quiet*) # "quiet" prefix; omit some messages + _rc_prefix=quiet + rc_arg=${rc_arg#${_rc_prefix}} + rc_quiet=yes + ;; esac eval _override_command=\$${name}_program @@ -616,7 +625,7 @@ run_rc_command() # if [ -n "${rcvar}" -a "$rc_arg" != "rcvar" -a -z "${rc_pid}" ]; then if ! checkyesno ${rcvar}; then - if [ -n "$rc_fast" ]; then + if [ -n "${rc_quiet}" ]; then return 0 fi echo -n "Cannot '${rc_arg}' $name. Set ${rcvar} to " From owner-svn-src-stable-7@FreeBSD.ORG Thu Jul 8 20:18:52 2010 Return-Path: Delivered-To: svn-src-stable-7@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B48D91065670; Thu, 8 Jul 2010 20:18:52 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A30E78FC1B; Thu, 8 Jul 2010 20:18:52 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o68KIqhb015431; Thu, 8 Jul 2010 20:18:52 GMT (envelope-from avg@svn.freebsd.org) Received: (from avg@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o68KIqBM015429; Thu, 8 Jul 2010 20:18:52 GMT (envelope-from avg@svn.freebsd.org) Message-Id: <201007082018.o68KIqBM015429@svn.freebsd.org> From: Andriy Gapon Date: Thu, 8 Jul 2010 20:18:52 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r209824 - stable/7/sys/sys X-BeenThere: svn-src-stable-7@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 7-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 20:18:52 -0000 Author: avg Date: Thu Jul 8 20:18:52 2010 New Revision: 209824 URL: http://svn.freebsd.org/changeset/base/209824 Log: MFC r209056: vnode.h: expand debug macros to non-empty void statements when DEBUG_VFS_LOCKS is disabled Modified: stable/7/sys/sys/vnode.h Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/sys/vnode.h ============================================================================== --- stable/7/sys/sys/vnode.h Thu Jul 8 20:17:56 2010 (r209823) +++ stable/7/sys/sys/vnode.h Thu Jul 8 20:18:52 2010 (r209824) @@ -502,17 +502,17 @@ void assert_vop_unlocked(struct vnode *v #else /* !DEBUG_VFS_LOCKS */ -#define ASSERT_VI_LOCKED(vp, str) -#define ASSERT_VI_UNLOCKED(vp, str) -#define ASSERT_VOP_ELOCKED(vp, str) +#define ASSERT_VI_LOCKED(vp, str) ((void)0) +#define ASSERT_VI_UNLOCKED(vp, str) ((void)0) +#define ASSERT_VOP_ELOCKED(vp, str) ((void)0) #if 0 #define ASSERT_VOP_ELOCKED_OTHER(vp, str) #endif -#define ASSERT_VOP_LOCKED(vp, str) +#define ASSERT_VOP_LOCKED(vp, str) ((void)0) #if 0 #define ASSERT_VOP_SLOCKED(vp, str) #endif -#define ASSERT_VOP_UNLOCKED(vp, str) +#define ASSERT_VOP_UNLOCKED(vp, str) ((void)0) #endif /* DEBUG_VFS_LOCKS */ From owner-svn-src-stable-7@FreeBSD.ORG Thu Jul 8 20:43:21 2010 Return-Path: Delivered-To: svn-src-stable-7@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CA95106566C; Thu, 8 Jul 2010 20:43:21 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6B3D08FC22; Thu, 8 Jul 2010 20:43:21 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o68KhLeQ021042; Thu, 8 Jul 2010 20:43:21 GMT (envelope-from avg@svn.freebsd.org) Received: (from avg@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o68KhLeF021040; Thu, 8 Jul 2010 20:43:21 GMT (envelope-from avg@svn.freebsd.org) Message-Id: <201007082043.o68KhLeF021040@svn.freebsd.org> From: Andriy Gapon Date: Thu, 8 Jul 2010 20:43:21 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r209827 - stable/7/sys/fs/udf X-BeenThere: svn-src-stable-7@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 7-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 20:43:21 -0000 Author: avg Date: Thu Jul 8 20:43:20 2010 New Revision: 209827 URL: http://svn.freebsd.org/changeset/base/209827 Log: MFC r209425: udf_vnops: cosmetic followup to r208671 Modified: stable/7/sys/fs/udf/udf_vnops.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/fs/udf/udf_vnops.c ============================================================================== --- stable/7/sys/fs/udf/udf_vnops.c Thu Jul 8 20:40:57 2010 (r209826) +++ stable/7/sys/fs/udf/udf_vnops.c Thu Jul 8 20:43:20 2010 (r209827) @@ -903,8 +903,8 @@ udf_readlink(struct vop_readlink_args *a vp = ap->a_vp; node = VTON(vp); len = le64toh(node->fentry->inf_len); + buf = malloc(len, M_DEVBUF, M_WAITOK); iov[0].iov_len = len; - buf = malloc(iov[0].iov_len, M_DEVBUF, M_WAITOK); iov[0].iov_base = buf; uio.uio_iov = iov; uio.uio_iovcnt = 1; From owner-svn-src-stable-7@FreeBSD.ORG Thu Jul 8 20:57:37 2010 Return-Path: Delivered-To: svn-src-stable-7@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 573BF106566C; Thu, 8 Jul 2010 20:57:37 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 45C2F8FC0A; Thu, 8 Jul 2010 20:57:37 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o68KvbIL025044; Thu, 8 Jul 2010 20:57:37 GMT (envelope-from avg@svn.freebsd.org) Received: (from avg@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o68Kvb4w025042; Thu, 8 Jul 2010 20:57:37 GMT (envelope-from avg@svn.freebsd.org) Message-Id: <201007082057.o68Kvb4w025042@svn.freebsd.org> From: Andriy Gapon Date: Thu, 8 Jul 2010 20:57:37 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r209830 - stable/7/etc X-BeenThere: svn-src-stable-7@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 7-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 20:57:37 -0000 Author: avg Date: Thu Jul 8 20:57:37 2010 New Revision: 209830 URL: http://svn.freebsd.org/changeset/base/209830 Log: MFC r209228: device.hints: do install when WITHOUT_BOOT is set Modified: stable/7/etc/Makefile Directory Properties: stable/7/etc/ (props changed) Modified: stable/7/etc/Makefile ============================================================================== --- stable/7/etc/Makefile Thu Jul 8 20:57:07 2010 (r209829) +++ stable/7/etc/Makefile Thu Jul 8 20:57:37 2010 (r209830) @@ -236,11 +236,13 @@ distribution: ${DESTDIR}/var/crash cd ${.CURDIR}/..; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ ${FREEBSD} ${DESTDIR}/ +.if ${MK_BOOT} != "no" .if exists(${.CURDIR}/../sys/${MACHINE}/conf/GENERIC.hints) ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ ${.CURDIR}/../sys/${MACHINE}/conf/GENERIC.hints \ ${DESTDIR}/boot/device.hints .endif +.endif distrib-dirs: mtree -eU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.root.dist -p ${DESTDIR}/ From owner-svn-src-stable-7@FreeBSD.ORG Thu Jul 8 21:35:57 2010 Return-Path: Delivered-To: svn-src-stable-7@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C6D8106564A; Thu, 8 Jul 2010 21:35:57 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 79DAB8FC17; Thu, 8 Jul 2010 21:35:57 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o68LZvm7034274; Thu, 8 Jul 2010 21:35:57 GMT (envelope-from avg@svn.freebsd.org) Received: (from avg@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o68LZvg4034272; Thu, 8 Jul 2010 21:35:57 GMT (envelope-from avg@svn.freebsd.org) Message-Id: <201007082135.o68LZvg4034272@svn.freebsd.org> From: Andriy Gapon Date: Thu, 8 Jul 2010 21:35:57 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r209834 - stable/7/contrib/binutils/binutils/doc X-BeenThere: svn-src-stable-7@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 7-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 21:35:57 -0000 Author: avg Date: Thu Jul 8 21:35:57 2010 New Revision: 209834 URL: http://svn.freebsd.org/changeset/base/209834 Log: MFC r209413: readelf.1: remove duplicate -u/--unwind option description Modified: stable/7/contrib/binutils/binutils/doc/readelf.1 Directory Properties: stable/7/contrib/binutils/ (props changed) Modified: stable/7/contrib/binutils/binutils/doc/readelf.1 ============================================================================== --- stable/7/contrib/binutils/binutils/doc/readelf.1 Thu Jul 8 21:34:18 2010 (r209833) +++ stable/7/contrib/binutils/binutils/doc/readelf.1 Thu Jul 8 21:35:57 2010 (r209834) @@ -247,14 +247,6 @@ Displays the contents of the file's relo .PD Displays the contents of the file's unwind section, if it has one. Only the unwind sections for \s-1IA64\s0 \s-1ELF\s0 files are currently supported. -.IP "\fB\-u\fR" 4 -.IX Item "-u" -.PD 0 -.IP "\fB\-\-unwind\fR" 4 -.IX Item "--unwind" -.PD -Displays the contents of the file's unwind section, if it has one. Only -the unwind sections for \s-1IA64\s0 \s-1ELF\s0 files are currently supported. .IP "\fB\-d\fR" 4 .IX Item "-d" .PD 0 From owner-svn-src-stable-7@FreeBSD.ORG Fri Jul 9 20:43:59 2010 Return-Path: Delivered-To: svn-src-stable-7@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F136106566C; Fri, 9 Jul 2010 20:43:59 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1D5758FC0A; Fri, 9 Jul 2010 20:43:59 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o69KhvZ0043623; Fri, 9 Jul 2010 20:43:57 GMT (envelope-from delphij@svn.freebsd.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o69Khvbc043622; Fri, 9 Jul 2010 20:43:57 GMT (envelope-from delphij@svn.freebsd.org) Message-Id: <201007092043.o69Khvbc043622@svn.freebsd.org> From: Xin LI Date: Fri, 9 Jul 2010 20:43:57 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r209863 - stable/7/sys/dev/twa X-BeenThere: svn-src-stable-7@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 7-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 20:43:59 -0000 Author: delphij Date: Fri Jul 9 20:43:57 2010 New Revision: 209863 URL: http://svn.freebsd.org/changeset/base/209863 Log: MFC r209860: Don't use pack() for structures that is used purely for software state. Otherwise the resulting, unaligned mutex structure would trigger panic. Submitted by: Tom Cough Reported/Tested by: jhb PR: kern/148464 Modified: stable/7/sys/dev/twa/tw_cl.h stable/7/sys/dev/twa/tw_cl_share.h Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sys/dev/twa/tw_cl.h ============================================================================== --- stable/7/sys/dev/twa/tw_cl.h Fri Jul 9 20:05:56 2010 (r209862) +++ stable/7/sys/dev/twa/tw_cl.h Fri Jul 9 20:43:57 2010 (r209863) @@ -74,7 +74,6 @@ #define TW_CLI_PCI_CONFIG_STATUS_OFFSET 0x6 /* status register offset */ #endif /* TW_OSL_PCI_CONFIG_ACCESSIBLE */ -#pragma pack(1) #ifdef TW_OSL_DEBUG struct tw_cli_q_stats { @@ -206,7 +205,6 @@ struct tw_cli_ctlr_context { #endif /* TW_OSL_DEBUG */ }; -#pragma pack() /* Modified: stable/7/sys/dev/twa/tw_cl_share.h ============================================================================== --- stable/7/sys/dev/twa/tw_cl_share.h Fri Jul 9 20:05:56 2010 (r209862) +++ stable/7/sys/dev/twa/tw_cl_share.h Fri Jul 9 20:43:57 2010 (r209863) @@ -125,7 +125,6 @@ #define TW_CL_SEVERITY_DEBUG_STRING "DEBUG" -#pragma pack(1) /* * Structure, a pointer to which is used as the controller handle in @@ -190,6 +189,7 @@ struct tw_cl_req_packet { }; +#pragma pack(1) /* * Packet that describes an AEN/error generated by the controller, * Common Layer, or even the OS Layer. @@ -206,6 +206,7 @@ struct tw_cl_event_packet { TW_UINT32 event_src; TW_UINT8 severity_str[20]; }; +#pragma pack() /* Structure to link 2 adjacent elements in a list. */ @@ -215,6 +216,7 @@ struct tw_cl_link { }; +#pragma pack(1) /* Scatter/Gather list entry with 32 bit addresses. */ struct tw_cl_sg_desc32 { TW_UINT32 address;