Re: svn commit: r217229 - head/usr.sbin/pc-sysinstall/backend

2011-01-10 Thread Pawel Jakub Dawidek
On Mon, Jan 10, 2011 at 03:52:12PM -0800, Garrett Cooper wrote: > >> +        if [ "${FS}" != "UFS" -a "${FS}" != "UFS+S" -a "${FS}" != "UFS+J" > >> -a "${FS}" != "UFS+SUJ" ] ; then > > > > Something like this should work too: > > > >        if [ "${FS%+*}" != "UFS" ]; then > > Except they're cat

Re: svn commit: r217213 - head/lib/bind

2011-01-10 Thread Doug Barton
On 01/10/2011 11:33, John Baldwin wrote: On Sunday, January 09, 2011 6:47:11 pm Doug Barton wrote: # Use the right version of the atomic.h file from lib/isc -ISC_ATOMIC_ARCH=${MACHINE_CPUARCH:S/i386/x86_32/:S/amd64/x86_32/} +.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" This

svn commit: r217256 - releng/7.4/sys/conf

2011-01-10 Thread Ken Smith
Author: kensmith Date: Tue Jan 11 04:25:54 2011 New Revision: 217256 URL: http://svn.freebsd.org/changeset/base/217256 Log: Ready for 7.4-RC2. Approved by: re (implicit) Modified: releng/7.4/sys/conf/newvers.sh Modified: releng/7.4/sys/conf/newvers.sh ==

svn commit: r217255 - releng/8.2/sys/conf

2011-01-10 Thread Ken Smith
Author: kensmith Date: Tue Jan 11 04:20:18 2011 New Revision: 217255 URL: http://svn.freebsd.org/changeset/base/217255 Log: Ready for 8.2-RC2. Approved by: re (implicit) Modified: releng/8.2/sys/conf/newvers.sh Modified: releng/8.2/sys/conf/newvers.sh ==

svn commit: r217254 - head/sys/mips/cavium

2011-01-10 Thread Juli Mallett
Author: jmallett Date: Tue Jan 11 02:37:58 2011 New Revision: 217254 URL: http://svn.freebsd.org/changeset/base/217254 Log: Initialize PCIe buses and add preliminary support for 64-bit BARs. Modified: head/sys/mips/cavium/octopci.c Modified: head/sys/mips/cavium/octopci.c ===

svn commit: r217253 - head/lib/libthr/thread

2011-01-10 Thread David Xu
Author: davidxu Date: Tue Jan 11 01:57:02 2011 New Revision: 217253 URL: http://svn.freebsd.org/changeset/base/217253 Log: Fix a typo. Submitted by: avg Modified: head/lib/libthr/thread/thr_sig.c Modified: head/lib/libthr/thread/thr_sig.c

svn commit: r217252 - head/sys/netinet

2011-01-10 Thread Lawrence Stewart
Author: lstewart Date: Tue Jan 11 01:32:08 2011 New Revision: 217252 URL: http://svn.freebsd.org/changeset/base/217252 Log: Fixe some whitespace nits that were introduced in r216758. Sponsored by: FreeBSD Foundation Submitted by: pjd MFC after:10 weeks X-MFC with: r216758 Modif

svn commit: r217251 - in stable/8/sys/fs: nfs nfsserver

2011-01-10 Thread Rick Macklem
Author: rmacklem Date: Tue Jan 11 01:12:50 2011 New Revision: 217251 URL: http://svn.freebsd.org/changeset/base/217251 Log: MFC: r216784 Delete the nfsvno_localconflict() function in the experimental NFS server since it is no longer used and is broken. Modified: stable/8/sys/fs/nfs/nfs_va

svn commit: r217250 - head/sys/kern

2011-01-10 Thread Lawrence Stewart
Author: lstewart Date: Tue Jan 11 01:11:07 2011 New Revision: 217250 URL: http://svn.freebsd.org/changeset/base/217250 Log: Fix hhook_head_is_virtualised() so that "ret" can't be used uninitialised. Sponsored by: FreeBSD Foundation Submitted by: pjd MFC after:9 weeks X-MFC with:

svn commit: r217249 - stable/8/libexec/ftpd

2011-01-10 Thread Ed Maste
Author: emaste Date: Tue Jan 11 00:58:49 2011 New Revision: 217249 URL: http://svn.freebsd.org/changeset/base/217249 Log: MFC 216943, 216945: Handle failure from ftpd_popen in statfilecmd(). Make format string a string literal. (Discovered by clang.) Modified: stable/8/libexec/

svn commit: r217248 - head/sys/kern

2011-01-10 Thread Lawrence Stewart
Author: lstewart Date: Tue Jan 11 00:29:17 2011 New Revision: 217248 URL: http://svn.freebsd.org/changeset/base/217248 Log: Fix some minor style/readability nits in hhook. Sponsored by: FreeBSD Foundation Submitted by: pjd MFC after:9 weeks X-MFC with: r216615 Modified: head/

Re: svn commit: r217229 - head/usr.sbin/pc-sysinstall/backend

2011-01-10 Thread Garrett Cooper
On Mon, Jan 10, 2011 at 2:09 PM, Pawel Jakub Dawidek wrote: > On Mon, Jan 10, 2011 at 07:11:26PM +, Josh Paetzel wrote: > [...] >>    while read line >>    do >>      # Check for data on this slice >> -    echo $line | grep "^${DISKTAG}-part=" >/dev/null 2>/dev/null >> +    echo $line | grep "

svn commit: r217247 - head/sys/dev/re

2011-01-10 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 10 23:47:11 2011 New Revision: 217247 URL: http://svn.freebsd.org/changeset/base/217247 Log: When driver is not running, do not send DUMP command to controller and just show old (cached) values. Controller will not respond to the command unless MAC is enabled so

svn commit: r217246 - in head/sys: dev/re pci

2011-01-10 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 10 23:28:46 2011 New Revision: 217246 URL: http://svn.freebsd.org/changeset/base/217246 Log: Implement TSO on RealTek RTL8168/8111 C or later controllers. RealTek changed TX descriptor format for later controllers so these controllers require MSS configuration i

Re: svn commit: r217018 - stable/8/sys/netinet

2011-01-10 Thread Lawrence Stewart
On 01/08/11 10:47, Lawrence Stewart wrote: > On 01/07/11 20:36, Bjoern A. Zeeb wrote: >> On Fri, 7 Jan 2011, Lawrence Stewart wrote: >> >>> Hi George, >>> >>> On 01/06/11 05:52, George V. Neville-Neil wrote: Author: gnn Date: Wed Jan 5 18:52:30 2011 New Revision: 217018 URL: ht

svn commit: r217245 - head/sys/dev/ahci

2011-01-10 Thread Alexander Motin
Author: mav Date: Mon Jan 10 22:27:52 2011 New Revision: 217245 URL: http://svn.freebsd.org/changeset/base/217245 Log: Add IDs for HighPoint RocketRAID 64x controllers. These controllers consist of two Marvell 88SE9128 6Gbps SATA chips and PLX PCIe bridge. As result, they seem to be agree

Re: svn commit: r217242 - head/sys/rpc

2011-01-10 Thread Rick Macklem
- Original Message - > Author: rmacklem > Date: Mon Jan 10 21:35:10 2011 > New Revision: 217242 > URL: http://svn.freebsd.org/changeset/base/217242 > > Log: > Fix a bug in the client side krpc where it was, sometimes > erroneously, assumed that 4 bytes of data were in the first > mbuf of

svn commit: r217244 - in head/sys/mips/cavium: . octe

2011-01-10 Thread Juli Mallett
Author: jmallett Date: Mon Jan 10 22:14:30 2011 New Revision: 217244 URL: http://svn.freebsd.org/changeset/base/217244 Log: Count output bytes and packets. Modified: head/sys/mips/cavium/if_octm.c head/sys/mips/cavium/octe/ethernet-tx.c Modified: head/sys/mips/cavium/if_octm.c

svn commit: r217243 - head/sys/mips/cavium

2011-01-10 Thread Juli Mallett
Author: jmallett Date: Mon Jan 10 22:14:08 2011 New Revision: 217243 URL: http://svn.freebsd.org/changeset/base/217243 Log: Shorten device name so it fits into vmstat -i. Modified: head/sys/mips/cavium/octeon_wdog.c Modified: head/sys/mips/cavium/octeon_wdog.c ===

Re: svn commit: r217229 - head/usr.sbin/pc-sysinstall/backend

2011-01-10 Thread Pawel Jakub Dawidek
On Mon, Jan 10, 2011 at 07:11:26PM +, Josh Paetzel wrote: [...] >while read line >do > # Check for data on this slice > -echo $line | grep "^${DISKTAG}-part=" >/dev/null 2>/dev/null > +echo $line | grep "^${_dTag}-part=" >/dev/null 2>/dev/null You can just use 'grep -q' in

svn commit: r217242 - head/sys/rpc

2011-01-10 Thread Rick Macklem
Author: rmacklem Date: Mon Jan 10 21:35:10 2011 New Revision: 217242 URL: http://svn.freebsd.org/changeset/base/217242 Log: Fix a bug in the client side krpc where it was, sometimes erroneously, assumed that 4 bytes of data were in the first mbuf of a list by replacing the bcopy() with m_cop

Re: svn commit: r217213 - head/lib/bind

2011-01-10 Thread Warner Losh
On 01/10/2011 12:33, John Baldwin wrote: On Sunday, January 09, 2011 6:47:11 pm Doug Barton wrote: Author: dougb Date: Sun Jan 9 23:47:11 2011 New Revision: 217213 URL: http://svn.freebsd.org/changeset/base/217213 Log: Revert part of r217071 so that us mere mortals can clearly see what t

svn commit: r217241 - head/sys/dev/acpica/Osd

2011-01-10 Thread Jung-uk Kim
Author: jkim Date: Mon Jan 10 21:09:38 2011 New Revision: 217241 URL: http://svn.freebsd.org/changeset/base/217241 Log: Remove impossible error conditions. Modified: head/sys/dev/acpica/Osd/OsdInterrupt.c Modified: head/sys/dev/acpica/Osd/OsdInterrupt.c ==

svn commit: r217240 - head/sys/dev/acpica/Osd

2011-01-10 Thread Jung-uk Kim
Author: jkim Date: Mon Jan 10 21:01:41 2011 New Revision: 217240 URL: http://svn.freebsd.org/changeset/base/217240 Log: Add forgotten free(9) in the previous commit for an error case. Modified: head/sys/dev/acpica/Osd/OsdInterrupt.c Modified: head/sys/dev/acpica/Osd/OsdInterrupt.c ==

svn commit: r217239 - head/sys/sys

2011-01-10 Thread John Baldwin
Author: jhb Date: Mon Jan 10 20:59:19 2011 New Revision: 217239 URL: http://svn.freebsd.org/changeset/base/217239 Log: Add a nested include of to make the sysctl(9) manpage accurate. is one of the very few headers similar to for which nested includes is allowed. PR: docs/1

svn commit: r217238 - in head/sys/dev/acpica: . Osd

2011-01-10 Thread Jung-uk Kim
Author: jkim Date: Mon Jan 10 20:56:59 2011 New Revision: 217238 URL: http://svn.freebsd.org/changeset/base/217238 Log: Allow AcpiOsInstallInterruptHandler() and AcpiOsRemoveInterruptHandler() to install or remove non-SCI interrupt handlers per ACPI Component Architecture User Guide and Prog

svn commit: r217237 - head/sys/kern

2011-01-10 Thread John Baldwin
Author: jhb Date: Mon Jan 10 20:48:10 2011 New Revision: 217237 URL: http://svn.freebsd.org/changeset/base/217237 Log: Fix two harmless off-by-one errors. Reviewed by: jeff MFC after:2 weeks Modified: head/sys/kern/sched_ule.c Modified: head/sys/kern/sched_ule.c =

svn commit: r217236 - head/sys/dev/acpica/Osd

2011-01-10 Thread Jung-uk Kim
Author: jkim Date: Mon Jan 10 20:26:36 2011 New Revision: 217236 URL: http://svn.freebsd.org/changeset/base/217236 Log: Prefer KASSERT(9) over panic(9) as it was never seen in reality. Modified: head/sys/dev/acpica/Osd/OsdSchedule.c Modified: head/sys/dev/acpica/Osd/OsdSchedule.c ===

Re: svn commit: r217213 - head/lib/bind

2011-01-10 Thread John Baldwin
On Sunday, January 09, 2011 6:47:11 pm Doug Barton wrote: > Author: dougb > Date: Sun Jan 9 23:47:11 2011 > New Revision: 217213 > URL: http://svn.freebsd.org/changeset/base/217213 > > Log: > Revert part of r217071 so that us mere mortals can clearly see > what this bit of code is intended to

svn commit: r217235 - releng/7.4/sys/dev/bge

2011-01-10 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 10 19:59:20 2011 New Revision: 217235 URL: http://svn.freebsd.org/changeset/base/217235 Log: MFC r217226: Apply DMA address space restriction to controllers that have 4GB DMA boundary bug and runs with PCI-X mode. watchdog timeout was observed on BCM570

svn commit: r217234 - in head/usr.sbin/pc-sysinstall: backend examples

2011-01-10 Thread Josh Paetzel
Author: jpaetzel (ports committer) Date: Mon Jan 10 19:57:18 2011 New Revision: 217234 URL: http://svn.freebsd.org/changeset/base/217234 Log: Add support for using encrypted password strings when setting the root / user passwords PR: bin/152868 Submitted by: kmoore Approved by: imp

svn commit: r217233 - releng/8.2/sys/dev/bge

2011-01-10 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 10 19:55:30 2011 New Revision: 217233 URL: http://svn.freebsd.org/changeset/base/217233 Log: MFC r217226: Apply DMA address space restriction to controllers that have 4GB DMA boundary bug and runs with PCI-X mode. watchdog timeout was observed on BCM570

svn commit: r217231 - stable/7/sys/dev/bge

2011-01-10 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 10 19:48:24 2011 New Revision: 217231 URL: http://svn.freebsd.org/changeset/base/217231 Log: MFC r217226: Apply DMA address space restriction to controllers that have 4GB DMA boundary bug and runs with PCI-X mode. watchdog timeout was observed on BCM570

svn commit: r217230 - stable/8/sys/dev/bge

2011-01-10 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 10 19:43:16 2011 New Revision: 217230 URL: http://svn.freebsd.org/changeset/base/217230 Log: MFC r217226: Apply DMA address space restriction to controllers that have 4GB DMA boundary bug and runs with PCI-X mode. watchdog timeout was observed on BCM570

svn commit: r217229 - head/usr.sbin/pc-sysinstall/backend

2011-01-10 Thread Josh Paetzel
Author: jpaetzel (ports committer) Date: Mon Jan 10 19:11:25 2011 New Revision: 217229 URL: http://svn.freebsd.org/changeset/base/217229 Log: Patch pc-sysinstall to deal with 4k sector size drives PR: bin/151967 Submitted by: kmoore Approved by: imp Modified: head/usr.sbin/pc-sysi

svn commit: r217227 - in releng/8.2/release/doc: de_DE.ISO8859-1 en_US.ISO8859-1/relnotes fr_FR.ISO8859-1 ja_JP.eucJP ru_RU.KOI8-R share/sgml zh_CN.GB2312

2011-01-10 Thread Hiroki Sato
Author: hrs Date: Mon Jan 10 18:02:47 2011 New Revision: 217227 URL: http://svn.freebsd.org/changeset/base/217227 Log: - Bump version numbers for the upcoming release. - Clean up old entries. Approved by: re (implicit) Deleted: releng/8.2/release/doc/de_DE.ISO8859-1/ releng/8.2/rele

svn commit: r217226 - head/sys/dev/bge

2011-01-10 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 10 17:45:09 2011 New Revision: 217226 URL: http://svn.freebsd.org/changeset/base/217226 Log: Apply DMA address space restriction to controllers that have 4GB DMA boundary bug and runs with PCI-X mode. watchdog timeout was observed on BCM5704 which lives behind

svn commit: r217225 - head/sys/dev/bge

2011-01-10 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 10 17:37:49 2011 New Revision: 217225 URL: http://svn.freebsd.org/changeset/base/217225 Log: Backout r216973 and r216970. r216973 didn't solve watchdog timeout issue seen on PCIX BCM5704 controller. r216970 fixed the issue but the DMA address space restriction w

Re: svn commit: r217147 - in head/sys: amd64/include arm/include i386/include ia64/include mips/include powerpc/include sparc64/include sun4v/include

2011-01-10 Thread Warner Losh
On 01/09/2011 07:45, Tijl Coosemans wrote: My main goal is to compile 32 bit code on amd64. To do that i386 and amd64 headers need to be merged as much as possible and I'm looking at mips and powerpc headers as examples. As I'm going through each of the machine headers however and as people revie

svn commit: r217224 - head/lib/libthr/thread

2011-01-10 Thread Konstantin Belousov
Author: kib Date: Mon Jan 10 16:10:25 2011 New Revision: 217224 URL: http://svn.freebsd.org/changeset/base/217224 Log: For the process that already loaded libthr but still not initialized threading, fall back to libc method of performing __pthread_map_stacks_exec() job. Reported and tes

svn commit: r217223 - head/libexec/rtld-elf

2011-01-10 Thread Konstantin Belousov
Author: kib Date: Mon Jan 10 16:09:35 2011 New Revision: 217223 URL: http://svn.freebsd.org/changeset/base/217223 Log: get_program_var_addr() must prefer the strong symbol to the weak one. Search global objects, together with main object and dependencies, for the requested symbol. Move