svn commit: r230529 - head/usr.sbin/makefs

2012-01-24 Thread Hiroki Sato
Author: hrs Date: Wed Jan 25 07:45:15 2012 New Revision: 230529 URL: http://svn.freebsd.org/changeset/base/230529 Log: Fix a SIGSEGV problem in directory entry renaming. Modified: head/usr.sbin/makefs/cd9660.c Modified: head/usr.sbin/makefs/cd9660.c ==

svn commit: r230528 - stable/8/sys/sys

2012-01-24 Thread Konstantin Belousov
Author: kib Date: Wed Jan 25 07:14:23 2012 New Revision: 230528 URL: http://svn.freebsd.org/changeset/base/230528 Log: MFC r230459: Fix typo. Modified: stable/8/sys/sys/elf_common.h Directory Properties: stable/8/sys/ (props changed) Modified: stable/8/sys/sys/elf_common.h

svn commit: r230527 - stable/9/sys/sys

2012-01-24 Thread Konstantin Belousov
Author: kib Date: Wed Jan 25 07:12:45 2012 New Revision: 230527 URL: http://svn.freebsd.org/changeset/base/230527 Log: MFC r230459: Fix typo. Modified: stable/9/sys/sys/elf_common.h Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/sys/elf_common.h

Re: svn commit: r230353 - head/usr.sbin/makefs

2012-01-24 Thread Hiroki Sato
Andreas Tobler wrote in <4f1f9cd1.9070...@freebsd.org>: an> It is a powerpc64 crossbuild installation, built on amd64. It is an> around 650MB unzipped, 230MB zipped. I can upload it to freefall later an> this evening. Thanks! -- Hiroki pgprasZW2UGW6.pgp Description: PGP signature

Re: svn commit: r230353 - head/usr.sbin/makefs

2012-01-24 Thread Andreas Tobler
On 25.01.12 07:03, Hiroki Sato wrote: Andreas Tobler wrote in<4f1f94b3.6020...@freebsd.org>: an> On 25.01.12 01:40, Hiroki Sato wrote: an> > Andreas Tobler wrote an> > in<4f1f3585.8060...@freebsd.org>: an> > an> > an> Hi Eitan, an> > an> an> > an> On 20.01.12 02:38, Eita

Re: svn commit: r230353 - head/usr.sbin/makefs

2012-01-24 Thread Hiroki Sato
Andreas Tobler wrote in <4f1f94b3.6020...@freebsd.org>: an> On 25.01.12 01:40, Hiroki Sato wrote: an> > Andreas Tobler wrote an> >in<4f1f3585.8060...@freebsd.org>: an> > an> > an> Hi Eitan, an> > an> an> > an> On 20.01.12 02:38, Eitan Adler wrote: an> > an> > Author: eadler an> > an>

Re: svn commit: r230353 - head/usr.sbin/makefs

2012-01-24 Thread Andreas Tobler
On 25.01.12 06:50, Garrett Cooper wrote: On Tue, Jan 24, 2012 at 9:35 PM, Andreas Tobler wrote: ... It is actually r230354, this is the commit which shows the failure. And I reverted back to 230353 and onfirmed that it 'works'. I additionally built with -O0 -g, see below. If you need mor

Re: svn commit: r230353 - head/usr.sbin/makefs

2012-01-24 Thread Garrett Cooper
On Tue, Jan 24, 2012 at 9:35 PM, Andreas Tobler wrote: > ... > It is actually r230354, this is the commit which shows the failure. > And I reverted back to 230353 and onfirmed that it 'works'. > > I additionally built with -O0 -g, see below. > > If you need more details, I'll be out the next 15h

Re: svn commit: r230353 - head/usr.sbin/makefs

2012-01-24 Thread Andreas Tobler
On 25.01.12 01:40, Hiroki Sato wrote: Andreas Tobler wrote in<4f1f3585.8060...@freebsd.org>: an> Hi Eitan, an> an> On 20.01.12 02:38, Eitan Adler wrote: an> > Author: eadler an> > Date: Fri Jan 20 01:38:21 2012 an> > New Revision: 230353 an> > URL: http://svn.freebsd.org/changeset/

svn commit: r230526 - head/sys/dev/fxp

2012-01-24 Thread Warner Losh
Author: imp Date: Wed Jan 25 04:48:27 2012 New Revision: 230526 URL: http://svn.freebsd.org/changeset/base/230526 Log: Minor indenting divot... Modified: head/sys/dev/fxp/if_fxp.c Modified: head/sys/dev/fxp/if_fxp.c

svn commit: r230525 - head/share/man/man4

2012-01-24 Thread Warner Losh
Author: imp Date: Wed Jan 25 04:45:29 2012 New Revision: 230525 URL: http://svn.freebsd.org/changeset/base/230525 Log: Some minor additions to the list of supported devices... Modified: head/share/man/man4/ed.4 Modified: head/share/man/man4/ed.4 ==

Re: svn commit: r230516 - in head/sys: fs/nfsclient nfsclient

2012-01-24 Thread Bruce Evans
On Tue, 24 Jan 2012, Rick Macklem wrote: Bruce Evans wrote: On Wed, 25 Jan 2012, Rick Macklem wrote: Log: If a mount -u is done to either NFS client that switches it from TCP to UDP and the rsize/wsize/readdirsize is greater than NFS_MAXDGRAMDATA, it is possible for a thread doing an I/O

svn commit: r230522 - in head: sys/boot/powerpc/boot1.chrp sys/geom/part sys/sys usr.sbin/bsdinstall/partedit

2012-01-24 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Jan 25 03:37:39 2012 New Revision: 230522 URL: http://svn.freebsd.org/changeset/base/230522 Log: Experimental support for booting CHRP-type PowerPC systems from hard disks. Modified: head/sys/boot/powerpc/boot1.chrp/Makefile head/sys/geom/part/g_part_mbr.c hea

Re: svn commit: r230516 - in head/sys: fs/nfsclient nfsclient

2012-01-24 Thread Rick Macklem
Bruce Evans wrote: > On Wed, 25 Jan 2012, Rick Macklem wrote: > > > Log: > > If a mount -u is done to either NFS client that switches it > > from TCP to UDP and the rsize/wsize/readdirsize is greater > > than NFS_MAXDGRAMDATA, it is possible for a thread doing an > > I/O RPC to get stuck repea

svn commit: r230521 - stable/8/sys/fs/nfs

2012-01-24 Thread Rick Macklem
Author: rmacklem Date: Wed Jan 25 02:22:16 2012 New Revision: 230521 URL: http://svn.freebsd.org/changeset/base/230521 Log: MFC: r229956 jwd@ reported via email that the "CacheSize" field reported by "nfsstat -e -s" would go negative after using the "-z" option to zero out the stats. This

svn commit: r230520 - head/usr.sbin/tzsetup

2012-01-24 Thread Ed Maste
Author: emaste Date: Wed Jan 25 02:15:40 2012 New Revision: 230520 URL: http://svn.freebsd.org/changeset/base/230520 Log: Clean up reinstall option and remove duplicate code - Move the reinstall logic to be before menus are initialised (menus are not needed when reinstalling a zonefile)

Re: svn commit: r230516 - in head/sys: fs/nfsclient nfsclient

2012-01-24 Thread Bruce Evans
On Wed, 25 Jan 2012, Rick Macklem wrote: Log: If a mount -u is done to either NFS client that switches it from TCP to UDP and the rsize/wsize/readdirsize is greater than NFS_MAXDGRAMDATA, it is possible for a thread doing an I/O RPC to get stuck repeatedly doing retries. This happens becaus

svn commit: r230518 - stable/9/sys/fs/nfs

2012-01-24 Thread Rick Macklem
Author: rmacklem Date: Wed Jan 25 01:45:19 2012 New Revision: 230518 URL: http://svn.freebsd.org/changeset/base/230518 Log: MFC: r229956 jwd@ reported via email that the "CacheSize" field reported by "nfsstat -e -s" would go negative after using the "-z" option to zero out the stats. This

Re: svn commit: r230353 - head/usr.sbin/makefs

2012-01-24 Thread Hiroki Sato
Andreas Tobler wrote in <4f1f3585.8060...@freebsd.org>: an> Hi Eitan, an> an> On 20.01.12 02:38, Eitan Adler wrote: an> > Author: eadler an> > Date: Fri Jan 20 01:38:21 2012 an> > New Revision: 230353 an> > URL: http://svn.freebsd.org/changeset/base/230353 an> > an> > Log: an> >Fix warning

svn commit: r230516 - in head/sys: fs/nfsclient nfsclient

2012-01-24 Thread Rick Macklem
Author: rmacklem Date: Wed Jan 25 00:22:53 2012 New Revision: 230516 URL: http://svn.freebsd.org/changeset/base/230516 Log: If a mount -u is done to either NFS client that switches it from TCP to UDP and the rsize/wsize/readdirsize is greater than NFS_MAXDGRAMDATA, it is possible for a threa

Re: svn commit: r230353 - head/usr.sbin/makefs

2012-01-24 Thread Eitan Adler
On Tue, Jan 24, 2012 at 5:49 PM, Andreas Tobler wrote: > Hi Eitan, > I do not know which of the makefs commits it was: > > [andreast@neon] /export/home/andreast/>  makefs -t cd9660 -o chrp-boot -o > rockridge -o label=pseries -B4321 p.iso /data1/netboot/powerpc64/ > Segmentation fault (core dumped

svn commit: r230515 - head/sbin/hastd

2012-01-24 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Jan 24 23:43:13 2012 New Revision: 230515 URL: http://svn.freebsd.org/changeset/base/230515 Log: - Fix documentation to note that /etc/hast.conf is the default configuration file for hastd(8) and hastctl(8) and not hast.conf. - In copyright statement correct that this

svn commit: r230514 - in head: cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2012-01-24 Thread Martin Matuska
Author: mm Date: Tue Jan 24 23:09:54 2012 New Revision: 230514 URL: http://svn.freebsd.org/changeset/base/230514 Log: Merge illumos revisions 13572, 13573, 13574: Rev. 13572: disk sync write perf regression when slog is used post oi_148 [1] Rev. 13573: crash during reguid causes st

Re: svn commit: r230353 - head/usr.sbin/makefs

2012-01-24 Thread Andreas Tobler
Hi Eitan, On 20.01.12 02:38, Eitan Adler wrote: Author: eadler Date: Fri Jan 20 01:38:21 2012 New Revision: 230353 URL: http://svn.freebsd.org/changeset/base/230353 Log: Fix warning when compiling with gcc46: error: variable 'temp' set but not used Approved by: dim Approved

svn commit: r230513 - head/sys/dev/sound/pci/hda

2012-01-24 Thread Alexander Motin
Author: mav Date: Tue Jan 24 22:40:24 2012 New Revision: 230513 URL: http://svn.freebsd.org/changeset/base/230513 Log: In addition to r230511, allow 8 channel AC3 formats. Modified: head/sys/dev/sound/pci/hda/hdaa.c Modified: head/sys/dev/sound/pci/hda/hdaa.c

Re: svn commit: r229667 - head/usr.sbin/daemon

2012-01-24 Thread Doug Barton
On 01/24/2012 07:34, Guy Helmer wrote: > On Jan 6, 2012, at 6:16 PM, Doug Barton wrote: > >> On 01/06/2012 08:18, Guy Helmer wrote: >>> On Jan 5, 2012, at 8:58 PM, Doug Barton wrote: >>> On 01/05/2012 14:48, Guy Helmer wrote: > Allow daemon(8) to run pidfile_open() before relenquishing >>

svn commit: r230512 - head/usr.bin/sockstat

2012-01-24 Thread Jilles Tjoelker
Author: jilles Date: Tue Jan 24 21:33:34 2012 New Revision: 230512 URL: http://svn.freebsd.org/changeset/base/230512 Log: sockstat: Also show sockets not associated with a file descriptor. Sockets not associated with a file descriptor include TCP TIME_WAIT states and sockets created via t

svn commit: r230511 - head/sys/dev/sound/pci/hda

2012-01-24 Thread Alexander Motin
Author: mav Date: Tue Jan 24 17:31:27 2012 New Revision: 230511 URL: http://svn.freebsd.org/changeset/base/230511 Log: Enable High Bit Rate (HBR) Encoded Packet Type (EPT), if supported (HDMI and HBR bits set) and needed (AC3 format used with 8 channels). This should allow DTS-HD/TrueHD pass

Re: svn commit: r229667 - head/usr.sbin/daemon

2012-01-24 Thread Guy Helmer
On Jan 6, 2012, at 6:16 PM, Doug Barton wrote: > On 01/06/2012 08:18, Guy Helmer wrote: >> On Jan 5, 2012, at 8:58 PM, Doug Barton wrote: >> >>> On 01/05/2012 14:48, Guy Helmer wrote: Allow daemon(8) to run pidfile_open() before relenquishing privileges so pid files can be written in /v

Re: svn commit: r230509 - head/tools/kerneldoc/subsys

2012-01-24 Thread Bjoern A. Zeeb
On 24. Jan 2012, at 15:13 , Alexander Leidinger wrote: > Author: netchild > Date: Tue Jan 24 15:13:55 2012 > New Revision: 230509 > URL: http://svn.freebsd.org/changeset/base/230509 > > Log: > Just define __FreeBSD__ to 1 instead of doing what the compiler does. > The kernel is supposed to DTR

svn commit: r230510 - head/sys/net

2012-01-24 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jan 24 15:20:31 2012 New Revision: 230510 URL: http://svn.freebsd.org/changeset/base/230510 Log: Replace random ARIN direct assignment legacy IPs with proper RFC 5735 TEST-NET1 block for use in documentation and example code addresses. MFC after:3 days Modified:

Re: svn commit: r230252 - head/sys/fs/tmpfs

2012-01-24 Thread Jaakko Heinonen
On 2012-01-23, Mikolaj Golub wrote: > JH> Yes, the patch below does that. I suspect that flipping the MNT_RDONLY > JH> flag may be enough for tmpfs but I am not sure. > > I see two issues with this patch: > > 1) 'mount -u -o rw /mnt' does not upgrade to rw, although it returns success. Argh, t

svn commit: r230509 - head/tools/kerneldoc/subsys

2012-01-24 Thread Alexander Leidinger
Author: netchild Date: Tue Jan 24 15:13:55 2012 New Revision: 230509 URL: http://svn.freebsd.org/changeset/base/230509 Log: Just define __FreeBSD__ to 1 instead of doing what the compiler does. The kernel is supposed to DTRT based upon the __FreeBSD_version value, not the value of __FreeBSD_

svn commit: r230508 - head/sys/netinet

2012-01-24 Thread Gleb Smirnoff
Author: glebius Date: Tue Jan 24 14:27:14 2012 New Revision: 230508 URL: http://svn.freebsd.org/changeset/base/230508 Log: Remove unused variable. Modified: head/sys/netinet/in_mcast.c Modified: head/sys/netinet/in_mcast.c =

svn commit: r230507 - head/sys/dev/sound/pci/hda

2012-01-24 Thread Alexander Motin
Author: mav Date: Tue Jan 24 14:17:13 2012 New Revision: 230507 URL: http://svn.freebsd.org/changeset/base/230507 Log: HDMI and DisplayPort support can coexist in HDA CODEC. Report "HDMI/DP" in PCM device name if both supported. MFC after:2 months Sponsored by: iXsystems, Inc. Modi

svn commit: r230506 - head/sys/netinet6

2012-01-24 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jan 24 13:57:30 2012 New Revision: 230506 URL: http://svn.freebsd.org/changeset/base/230506 Log: Plug a possible ifa_ref leak in case of premature return from in6_purgeaddr(). Reviewed by: rwatson MFC after:3 days Modified: head/sys/netinet6/in6.c Modified: h

svn commit: r230505 - head/tools/regression/mdconfig

2012-01-24 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Jan 24 13:23:52 2012 New Revision: 230505 URL: http://svn.freebsd.org/changeset/base/230505 Log: Add some basic regression tests for mdconfig(8). Added: head/tools/regression/mdconfig/ head/tools/regression/mdconfig/00.t (contents, props changed) head/tools/regre

svn commit: r230504 - in stable/9/sys: amd64/include i386/include

2012-01-24 Thread Konstantin Belousov
Author: kib Date: Tue Jan 24 11:48:06 2012 New Revision: 230504 URL: http://svn.freebsd.org/changeset/base/230504 Log: MFC r230270: Add definitions for the FPU extended state header, legacy extended state and AVX state. Modified: stable/9/sys/amd64/include/fpu.h stable/9/sys/i386/includ

svn commit: r230503 - stable/9/sys/amd64/include

2012-01-24 Thread Konstantin Belousov
Author: kib Date: Tue Jan 24 11:42:46 2012 New Revision: 230503 URL: http://svn.freebsd.org/changeset/base/230503 Log: MFC r230269: Modernize the fpusave structures definitions by using uint*_t types. Modified: stable/9/sys/amd64/include/fpu.h Directory Properties: stable/9/sys/ (props

svn commit: r230502 - stable/9/sys/amd64/include

2012-01-24 Thread Konstantin Belousov
Author: kib Date: Tue Jan 24 11:28:53 2012 New Revision: 230502 URL: http://svn.freebsd.org/changeset/base/230502 Log: MFC r230262: Implement xsetbv(), xsave() and xrstor(). Modified: stable/9/sys/amd64/include/cpufunc.h Directory Properties: stable/9/sys/ (props changed) Modified: sta

svn commit: r230501 - in stable/9/sys: amd64/include i386/include

2012-01-24 Thread Konstantin Belousov
Author: kib Date: Tue Jan 24 11:10:32 2012 New Revision: 230501 URL: http://svn.freebsd.org/changeset/base/230501 Log: MFC r230261: Add definitions related to XCR0. Modified: stable/9/sys/amd64/include/specialreg.h stable/9/sys/i386/include/specialreg.h Directory Properties: stable/9/sy

svn commit: r230500 - head/tools/kerneldoc/subsys

2012-01-24 Thread Alexander Leidinger
Author: netchild Date: Tue Jan 24 11:06:22 2012 New Revision: 230500 URL: http://svn.freebsd.org/changeset/base/230500 Log: We are in FreeBSD 10 now: define __FreeBSD__ to 10. Modified: head/tools/kerneldoc/subsys/common-Doxyfile Modified: head/tools/kerneldoc/subsys/common-Doxyfile

svn commit: r230499 - stable/9/sys/amd64/include

2012-01-24 Thread Konstantin Belousov
Author: kib Date: Tue Jan 24 10:56:40 2012 New Revision: 230499 URL: http://svn.freebsd.org/changeset/base/230499 Log: MFC r230260: Add macro IS_BSP() to check whether the current CPU is BSP. Modified: stable/9/sys/amd64/include/pcpu.h Directory Properties: stable/9/sys/ (props changed)

svn commit: r230498 - stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-01-24 Thread Sergey Kandaurov
Author: pluknet Date: Tue Jan 24 10:32:02 2012 New Revision: 230498 URL: http://svn.freebsd.org/changeset/base/230498 Log: MFC r230256: Fix the "lock &zrl->zr_mtx already initialized" assertion by initializing the allocated memory before calling mtx_init(9) on mtx pointing to it. Otherw

svn commit: r230497 - stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-01-24 Thread Sergey Kandaurov
Author: pluknet Date: Tue Jan 24 10:28:19 2012 New Revision: 230497 URL: http://svn.freebsd.org/changeset/base/230497 Log: MFC r230256: Fix the "lock &zrl->zr_mtx already initialized" assertion by initializing the allocated memory before calling mtx_init(9) on mtx pointing to it. Otherw

Re: svn commit: r230252 - head/sys/fs/tmpfs

2012-01-24 Thread Kostik Belousov
On Mon, Jan 23, 2012 at 11:05:42PM +0200, Mikolaj Golub wrote: > > On Mon, 23 Jan 2012 17:34:57 +0200 Jaakko Heinonen wrote: > > JH> On 2012-01-22, Mikolaj Golub wrote: > >> Also, may be we should allow remounting ro (and may be some othe options) > for > >> tmpfs? > > JH> Yes, the patch be

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

2012-01-24 Thread Ivan Voras
On 23 January 2012 23:53, Florian Smeets wrote: > which creates a database work set of ~1.5GB. Max throughput was achieved > at 20 Clients. > At 40 threads the results varied between 43000 - 76500 across reboots. > Attilio suspects that this can be caused by the kernel memory layout > changing u

svn commit: r230496 - head/sys/netinet6

2012-01-24 Thread Sergey Kandaurov
Author: pluknet Date: Tue Jan 24 09:51:42 2012 New Revision: 230496 URL: http://svn.freebsd.org/changeset/base/230496 Log: Remove the stale XXX rt_newaddrmsg comment. A routing socket message is generated since r192282. Reviewed by: bz MFC after:3 days Modified: head/sys/netinet

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

2012-01-24 Thread Martin Matuska
Author: mm Date: Tue Jan 24 08:04:38 2012 New Revision: 230495 URL: http://svn.freebsd.org/changeset/base/230495 Log: Try resolving jail path with realpath(3). jail(8) does a chdir(2) to the given path argument. Kernel evaluates the jail path from the new cwd and not from the original cwd