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

2010-08-18 Thread Warner Losh
Author: imp Date: Thu Aug 19 06:11:06 2010 New Revision: 211490 URL: http://svn.freebsd.org/changeset/base/211490 Log: This patch to pc-sysinstall allows the setting of a new config variable for installation, which lets the user/front-end select between MBR or GPT partitioning schemes when d

svn commit: r211489 - in head/usr.sbin/pc-sysinstall: backend-query pc-sysinstall

2010-08-18 Thread Warner Losh
Author: imp Date: Thu Aug 19 06:07:49 2010 New Revision: 211489 URL: http://svn.freebsd.org/changeset/base/211489 Log: Added "-m" option to "disk-list" to list memory disks along with standard disks. PR: 149749 Submitted by: John Hixson Modified: head/usr.sbin/pc-sysinstall

Re: svn commit: r211476 - head/sys/mips/atheros

2010-08-18 Thread Joel Dahl
On 19-08-2010 2:03, Adrian Chadd wrote: > Author: adrian > Date: Thu Aug 19 02:03:12 2010 > New Revision: 211476 > URL: http://svn.freebsd.org/changeset/base/211476 > > Log: > Preparation work for supporting the AR91xx and AR724x. > > * Implement a SoC probe function, from Linux, which det

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

2010-08-18 Thread Warner Losh
Author: imp Date: Thu Aug 19 06:05:05 2010 New Revision: 211488 URL: http://svn.freebsd.org/changeset/base/211488 Log: Simple patch to add support zpool virtual devices that are not currently supported. PR: 149599 Submitted by: John Hixson Modified: head/usr.sbin/pc-sysinst

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

2010-08-18 Thread Warner Losh
Author: imp Date: Thu Aug 19 06:02:31 2010 New Revision: 211487 URL: http://svn.freebsd.org/changeset/base/211487 Log: Some cleanup, changed some echo's to echo_log, check for PROGDIR so that different PROGDIR's can be set. PR: 148806 Submitted by: John Hixson Modified: hea

svn commit: r211486 - in head/usr.sbin/pc-sysinstall: backend backend-query

2010-08-18 Thread Warner Losh
Author: imp Date: Thu Aug 19 06:01:25 2010 New Revision: 211486 URL: http://svn.freebsd.org/changeset/base/211486 Log: Updates to pc-sysinstall that allow FTP installation of FreeBSD. PR: 148661 Submitted by: John Hixson Modified: head/usr.sbin/pc-sysinstall/backend-query/lis

svn commit: r211485 - in head/usr.sbin/pc-sysinstall: backend backend-query conf doc pc-sysinstall

2010-08-18 Thread Warner Losh
Author: imp Date: Thu Aug 19 05:59:27 2010 New Revision: 211485 URL: http://svn.freebsd.org/changeset/base/211485 Log: Various updates to support new pc-sysinstall directive "installPackages" that will install packages and all package dependencies. PR: 148606 Submitted by: J

svn commit: r211484 - head/sys/cddl/contrib/opensolaris/uts/common/sys

2010-08-18 Thread Warner Losh
Author: imp Date: Thu Aug 19 03:31:26 2010 New Revision: 211484 URL: http://svn.freebsd.org/changeset/base/211484 Log: First cut at mips n64 ABI support Modified: head/sys/cddl/contrib/opensolaris/uts/common/sys/isa_defs.h Modified: head/sys/cddl/contrib/opensolaris/uts/common/sys/isa_defs.h

svn commit: r211483 - in head/sys: conf powerpc/conf

2010-08-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Aug 19 03:19:26 2010 New Revision: 211483 URL: http://svn.freebsd.org/changeset/base/211483 Log: Unbreak the LINT kernel on powerpc64. Note that the LINT kernel configuration is TARGET_ARCH specific and must be generated with TARGET_ARCH set. Reviewed by: i

svn commit: r211482 - head/sys/mips/atheros

2010-08-18 Thread Adrian Chadd
Author: adrian Date: Thu Aug 19 02:15:39 2010 New Revision: 211482 URL: http://svn.freebsd.org/changeset/base/211482 Log: Remove now unused 'reg'. Modified: head/sys/mips/atheros/ar71xx_machdep.c Modified: head/sys/mips/atheros/ar71xx_machdep.c ===

svn commit: r211481 - head/sys/mips/atheros

2010-08-18 Thread Adrian Chadd
Author: adrian Date: Thu Aug 19 02:14:53 2010 New Revision: 211481 URL: http://svn.freebsd.org/changeset/base/211481 Log: Initialise the USB system using cpuops rather than the AR71XX specific method. Modified: head/sys/mips/atheros/ar71xx_machdep.c Modified: head/sys/mips/atheros/ar71xx_mac

svn commit: r211480 - head/sys/mips/atheros

2010-08-18 Thread Adrian Chadd
Author: adrian Date: Thu Aug 19 02:12:04 2010 New Revision: 211480 URL: http://svn.freebsd.org/changeset/base/211480 Log: Migrate the CPU reset path to use the new cpuops. Modified: head/sys/mips/atheros/ar71xx_machdep.c Modified: head/sys/mips/atheros/ar71xx_machdep.c ==

svn commit: r211479 - head/sys/mips/atheros

2010-08-18 Thread Adrian Chadd
Author: adrian Date: Thu Aug 19 02:10:05 2010 New Revision: 211479 URL: http://svn.freebsd.org/changeset/base/211479 Log: Remove the now-unused DDR flush register value. Modified: head/sys/mips/atheros/if_argevar.h Modified: head/sys/mips/atheros/if_argevar.h

svn commit: r211478 - head/sys/mips/atheros

2010-08-18 Thread Adrian Chadd
Author: adrian Date: Thu Aug 19 02:05:16 2010 New Revision: 211478 URL: http://svn.freebsd.org/changeset/base/211478 Log: Make the PCI initialisation path use the new cpuops rather than directly programming the reset register. Modified: head/sys/mips/atheros/ar71xx_pci.c Modified: head/sys

svn commit: r211477 - head/sys/mips/atheros

2010-08-18 Thread Adrian Chadd
Author: adrian Date: Thu Aug 19 02:04:35 2010 New Revision: 211477 URL: http://svn.freebsd.org/changeset/base/211477 Log: Make if_arge use the new cpuops rather than hard coding the DDR flush registers. Modified: head/sys/mips/atheros/if_arge.c Modified: head/sys/mips/atheros/if_arge.c

svn commit: r211476 - head/sys/mips/atheros

2010-08-18 Thread Adrian Chadd
Author: adrian Date: Thu Aug 19 02:03:12 2010 New Revision: 211476 URL: http://svn.freebsd.org/changeset/base/211476 Log: Preparation work for supporting the AR91xx and AR724x. * Implement a SoC probe function, from Linux, which determines the SoC family, type and revision. This only pr

svn commit: r211475 - head/usr.bin/gzip

2010-08-18 Thread Xin LI
Author: delphij Date: Thu Aug 19 01:34:00 2010 New Revision: 211475 URL: http://svn.freebsd.org/changeset/base/211475 Log: Check return value of dup(), it could be -1 when the system is running out of file descriptors for instance. Found with: Coverity Prevent(tm) CID: 6084

svn commit: r211474 - in head/tools/regression/pjdfstest/tests: chflags chmod chown link mkdir mkfifo mknod open rename rmdir symlink

2010-08-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Aug 18 22:06:43 2010 New Revision: 211474 URL: http://svn.freebsd.org/changeset/base/211474 Log: More tests. Modified: head/tools/regression/pjdfstest/tests/chflags/01.t head/tools/regression/pjdfstest/tests/chmod/01.t head/tools/regression/pjdfstest/tests/chmod/06.t

Re: svn commit: r211473 - stable/7/sys/dev/usb

2010-08-18 Thread Gavin Atkinson
On Wed, 18 Aug 2010, Gavin Atkinson wrote: > Author: gavin > Date: Wed Aug 18 21:51:05 2010 > New Revision: 211473 > URL: http://svn.freebsd.org/changeset/base/211473 > > Log: > Merge r210571 from head: > Add support for the Corega CG-USBRS232R to uplcom(4) Apologies, should have mentioned

svn commit: r211473 - stable/7/sys/dev/usb

2010-08-18 Thread Gavin Atkinson
Author: gavin Date: Wed Aug 18 21:51:05 2010 New Revision: 211473 URL: http://svn.freebsd.org/changeset/base/211473 Log: Merge r210571 from head: Add support for the Corega CG-USBRS232R to uplcom(4) PR: usb/129173 Submitted by: SHIMAOKA Shunsuke Modified: stable/7/sys/de

svn commit: r211472 - in stable/8/sys/dev/usb: . serial

2010-08-18 Thread Gavin Atkinson
Author: gavin Date: Wed Aug 18 21:44:50 2010 New Revision: 211472 URL: http://svn.freebsd.org/changeset/base/211472 Log: Merge r210571 from head: Add support for the Corega CG-USBRS232R to uplcom(4) PR: usb/129173 Submitted by: SHIMAOKA Shunsuke Modified: stable/8/sys/de

svn commit: r211471 - in stable/8/sys/dev/usb: . serial

2010-08-18 Thread Gavin Atkinson
Author: gavin Date: Wed Aug 18 21:39:42 2010 New Revision: 211471 URL: http://svn.freebsd.org/changeset/base/211471 Log: Merge r210556 from head: Support the Pyramid KBS USB LCD under uftdi(4) PR: usb/129758 Submitted by: joao lima Modified: stable/8/sys/dev/usb/serial/u

Re: svn commit: r211463 - head/usr.bin/grep

2010-08-18 Thread Dimitry Andric
On 2010-08-18 22:48, m...@freebsd.org wrote: >> - Refactor file reading code to use pure syscalls and an internal buffer >>instead of stdio. This gives BSD grep a very big performance boost, >>its speed is now almost comparable to GNU grep. > > I didn't read all of the details in the pro

svn commit: r211470 - in stable/8/sys/dev/usb: . serial

2010-08-18 Thread Gavin Atkinson
Author: gavin Date: Wed Aug 18 21:17:57 2010 New Revision: 211470 URL: http://svn.freebsd.org/changeset/base/211470 Log: Merge r210524 from head: - Support two devices made by West Mountain Radio in uslcom(4) [1] - Remove duplicate SILABS CP2102 define from usbdevs Merge r2110

Re: svn commit: r211463 - head/usr.bin/grep

2010-08-18 Thread Gabor Kovesdan
Em 2010.08.18. 22:48, m...@freebsd.org escreveu: On Wed, Aug 18, 2010 at 10:40 AM, Gabor Kovesdan wrote: Author: gabor Date: Wed Aug 18 17:40:10 2010 New Revision: 211463 URL: http://svn.freebsd.org/changeset/base/211463 Log: - Refactor file reading code to use pure syscalls and an internal

Re: svn commit: r211463 - head/usr.bin/grep

2010-08-18 Thread mdf
On Wed, Aug 18, 2010 at 10:40 AM, Gabor Kovesdan wrote: > Author: gabor > Date: Wed Aug 18 17:40:10 2010 > New Revision: 211463 > URL: http://svn.freebsd.org/changeset/base/211463 > > Log: >  - Refactor file reading code to use pure syscalls and an internal buffer >    instead of stdio.  This give

Re: svn commit: r211318 - head/usr.sbin/sysinstall

2010-08-18 Thread Alexey Dokuchaev
On Thu, Aug 19, 2010 at 06:37:30AM +1000, Peter Jeremy wrote: > On 2010-Aug-18 19:30:13 +, Alexey Dokuchaev wrote: > >Actually, I did; but the last hunk is just a whitespace change, > >irrelevant to the commit message (just as most of the other hunks). > >No wonder I missed the hunk before the

svn commit: r211469 - stable/7/release/picobsd/tinyware/login

2010-08-18 Thread Gavin Atkinson
Author: gavin Date: Wed Aug 18 20:39:00 2010 New Revision: 211469 URL: http://svn.freebsd.org/changeset/base/211469 Log: Merge r211077, r211079 from head: Correct two error messages to match the failure they are reporting. Correct the login.conf variable name used for obtaining the

svn commit: r211468 - stable/8/release/picobsd/tinyware/login

2010-08-18 Thread Gavin Atkinson
Author: gavin Date: Wed Aug 18 20:38:47 2010 New Revision: 211468 URL: http://svn.freebsd.org/changeset/base/211468 Log: Merge r211077, r211079 from head: Correct two error messages to match the failure they are reporting. Correct the login.conf variable name used for obtaining the

Re: svn commit: r211318 - head/usr.sbin/sysinstall

2010-08-18 Thread Peter Jeremy
On 2010-Aug-18 19:30:13 +, Alexey Dokuchaev wrote: >Actually, I did; but the last hunk is just a whitespace change, >irrelevant to the commit message (just as most of the other hunks). >No wonder I missed the hunk before the last one. Probably a good example of why the Project's guidelines re

svn commit: r211467 - head/tools/regression/bin/sh/builtins

2010-08-18 Thread Jilles Tjoelker
Author: jilles Date: Wed Aug 18 20:26:50 2010 New Revision: 211467 URL: http://svn.freebsd.org/changeset/base/211467 Log: sh: Add a test for break from a trap action. Added: head/tools/regression/bin/sh/builtins/break2.0 (contents, props changed) head/tools/regression/bin/sh/builtins/brea

svn commit: r211466 - stable/8/sys/dev/sound/pci/hda

2010-08-18 Thread Gavin Atkinson
Author: gavin Date: Wed Aug 18 20:23:55 2010 New Revision: 211466 URL: http://svn.freebsd.org/changeset/base/211466 Log: Merge 210839 from head: Do not free sc if attach failed, as it was allocated by the bus infrastructure, not us. This appears to be a leftover from an older ver

svn commit: r211465 - stable/7/sys/dev/sound/pci/hda

2010-08-18 Thread Gavin Atkinson
Author: gavin Date: Wed Aug 18 20:23:47 2010 New Revision: 211465 URL: http://svn.freebsd.org/changeset/base/211465 Log: Merge 210839 from head: Do not free sc if attach failed, as it was allocated by the bus infrastructure, not us. This appears to be a leftover from an older ver

Re: svn commit: r211318 - head/usr.sbin/sysinstall

2010-08-18 Thread Alexey Dokuchaev
On Wed, Aug 18, 2010 at 11:01:49AM +0200, Dag-Erling Sm??rgrav wrote: > Alexey Dokuchaev writes: > > Jens Schweikhardt writes: > > > Log: > > > Correctly spell janice and jimmy as janis and jimi (assuming > > > the famous rock stars meant were Miss Joplin and Mr Hendrix.) > > Are you sure thi

svn commit: r211464 - head/sys/netinet

2010-08-18 Thread Andre Oppermann
Author: andre Date: Wed Aug 18 18:05:54 2010 New Revision: 211464 URL: http://svn.freebsd.org/changeset/base/211464 Log: If a TCP connection has been idle for one retransmit timeout or more it must reset its congestion window back to the initial window. RFC3390 has increased the initial w

svn commit: r211463 - head/usr.bin/grep

2010-08-18 Thread Gabor Kovesdan
Author: gabor Date: Wed Aug 18 17:40:10 2010 New Revision: 211463 URL: http://svn.freebsd.org/changeset/base/211463 Log: - Refactor file reading code to use pure syscalls and an internal buffer instead of stdio. This gives BSD grep a very big performance boost, its speed is now almost c

svn commit: r211462 - head/sys/netinet

2010-08-18 Thread Andre Oppermann
Author: andre Date: Wed Aug 18 17:39:47 2010 New Revision: 211462 URL: http://svn.freebsd.org/changeset/base/211462 Log: Untangle the net.inet.tcp.log_in_vain and net.inet.tcp.log_debug sysctl's and remove any side effects. Both sysctl's share the same backend infrastructure and due to th

svn commit: r211461 - stable/8/sys/dev/mvs

2010-08-18 Thread Alexander Motin
Author: mav Date: Wed Aug 18 15:58:26 2010 New Revision: 211461 URL: http://svn.freebsd.org/changeset/base/211461 Log: MFC r208818: Plug memory leak to silent Coverity. Error is still not really handled. Found with: Coverity Prevent(tm) CID: 4137 Modified: stable/8/sys/dev

svn commit: r211460 - stable/8/sys/dev/siis

2010-08-18 Thread Alexander Motin
Author: mav Date: Wed Aug 18 15:56:09 2010 New Revision: 211460 URL: http://svn.freebsd.org/changeset/base/211460 Log: MFC r208817: Plug memory leak to silent Coverity. Error is still not really handled. Found with: Coverity Prevent(tm) CID: 4196 Modified: stable/8/sys/dev

svn commit: r211459 - stable/8/sys/dev/siis

2010-08-18 Thread Alexander Motin
Author: mav Date: Wed Aug 18 15:55:20 2010 New Revision: 211459 URL: http://svn.freebsd.org/changeset/base/211459 Log: MFC r208816: Fix attach errors handling. Found with: Coverity Prevent(tm) CID: 3477 Modified: stable/8/sys/dev/siis/siis.c Directory Properties: stable/

svn commit: r211458 - stable/8/sys/dev/ahci

2010-08-18 Thread Alexander Motin
Author: mav Date: Wed Aug 18 15:52:38 2010 New Revision: 211458 URL: http://svn.freebsd.org/changeset/base/211458 Log: MFC r208907: Disable NCQ and PMP support for VIA VT8251 AHCI. It was reported to be unreliable under load. Linux does the same. Modified: stable/8/sys/dev/ahci/ahci.c Dir

svn commit: r211457 - stable/8/sys/dev/ahci

2010-08-18 Thread Alexander Motin
Author: mav Date: Wed Aug 18 15:51:32 2010 New Revision: 211457 URL: http://svn.freebsd.org/changeset/base/211457 Log: MFC r208814: Plug memory leak to silent Coverity. Error is still not really handled. Found with: Coverity Prevent(tm) CID: 4130 Modified: stable/8/sys/dev

svn commit: r211456 - stable/8/sys/dev/ahci

2010-08-18 Thread Alexander Motin
Author: mav Date: Wed Aug 18 15:49:44 2010 New Revision: 211456 URL: http://svn.freebsd.org/changeset/base/211456 Log: MFC r208813: Fix attach errors handling. Found with: Coverity Prevent(tm) CID: 3424 Modified: stable/8/sys/dev/ahci/ahci.c Directory Properties: stable/

svn commit: r211455 - head/sys/geom/mirror

2010-08-18 Thread Alexander Motin
Author: mav Date: Wed Aug 18 15:38:10 2010 New Revision: 211455 URL: http://svn.freebsd.org/changeset/base/211455 Log: Remove bintime_cmp() function, unused since r200086. MFC after:1 week Modified: head/sys/geom/mirror/g_mirror.c Modified: head/sys/geom/mirror/g_mirror.c ==

svn commit: r211454 - stable/7/sbin/bsdlabel

2010-08-18 Thread Jaakko Heinonen
Author: jh Date: Wed Aug 18 14:41:34 2010 New Revision: 211454 URL: http://svn.freebsd.org/changeset/base/211454 Log: MFC r209614: - Don't assign the return value from read(2) to a variable of type int. - Use errx(3) instead of err(3) to print the error message on short reads in r

svn commit: r211453 - in head/sys/mips: include mips

2010-08-18 Thread Jayachandran C.
Author: jchandra Date: Wed Aug 18 12:52:21 2010 New Revision: 211453 URL: http://svn.freebsd.org/changeset/base/211453 Log: MIPS n64 support - continued... 1. On n64, use XKPHYS to map page table pages instead of KSEG0. Maintain just one freepages list on n64. The changes are m

svn commit: r211452 - head/sbin/hastd

2010-08-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Aug 18 12:09:27 2010 New Revision: 211452 URL: http://svn.freebsd.org/changeset/base/211452 Log: For some setups sending data in 128kB chunks makes communication very slow. No idea why. 32kB on the other hand seems to work properly everywhere. Reported by: Thomas St

Re: svn commit: r211450 - head

2010-08-18 Thread Dag-Erling Smørgrav
Dag-Erling Smorgrav writes: > Log: > Revert r211436; it was a good idea, but not fully thought out. The probem is that the kernel config may have "makeoptions NO_MODULES", in which case there is no modules-all target. DES -- Dag-Erling Smørgrav - d...@des.no __

svn commit: r211451 - head/sys/netinet

2010-08-18 Thread Bjoern A. Zeeb
Author: bz Date: Wed Aug 18 09:28:12 2010 New Revision: 211451 URL: http://svn.freebsd.org/changeset/base/211451 Log: When calculating the expected memory size for userspace, also take the number of syncache entries into account for the surplus we add to account for a possible increase of re

svn commit: r211450 - head

2010-08-18 Thread Dag-Erling Smorgrav
Author: des Date: Wed Aug 18 09:18:37 2010 New Revision: 211450 URL: http://svn.freebsd.org/changeset/base/211450 Log: Revert r211436; it was a good idea, but not fully thought out. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r211449 - head/sys/mips/atheros

2010-08-18 Thread Adrian Chadd
Author: adrian Date: Wed Aug 18 09:11:45 2010 New Revision: 211449 URL: http://svn.freebsd.org/changeset/base/211449 Log: Add a DDR flush function, inspired by both Linux and if_arge.c. Modified: head/sys/mips/atheros/ar71xxreg.h Modified: head/sys/mips/atheros/ar71xxreg.h ==

Re: svn commit: r211318 - head/usr.sbin/sysinstall

2010-08-18 Thread Dag-Erling Smørgrav
Alexey Dokuchaev writes: > Jens Schweikhardt writes: > > Log: > > Correctly spell janice and jimmy as janis and jimi (assuming > > the famous rock stars meant were Miss Joplin and Mr Hendrix.) > Are you sure this is correct message for the commit, or I am simply > missing the irony? Look at

svn commit: r211448 - head/sys/mips/atheros

2010-08-18 Thread Adrian Chadd
Author: adrian Date: Wed Aug 18 08:22:58 2010 New Revision: 211448 URL: http://svn.freebsd.org/changeset/base/211448 Log: Add a further register definition for USB device initialisation. Obtained from:Linux Modified: head/sys/mips/atheros/ar91xxreg.h Modified: head/sys/mips/athe

svn commit: r211447 - head/sys/mips/atheros

2010-08-18 Thread Adrian Chadd
Author: adrian Date: Wed Aug 18 08:22:09 2010 New Revision: 211447 URL: http://svn.freebsd.org/changeset/base/211447 Log: Bring over the first cut of the Atheros-specific SoC operations. Each of these SoCs have different devices, different hardware initialisation methods and, quite likely

svn commit: r211445 - head/sys/mips/mips

2010-08-18 Thread Jayachandran C.
Author: jchandra Date: Wed Aug 18 07:38:13 2010 New Revision: 211445 URL: http://svn.freebsd.org/changeset/base/211445 Log: Make return statements style(9) compliant in MIPS pmap.c Reported by: neel Reviewed by: neel (earlier version) Modified: head/sys/mips/mips/pmap.c Modified: