Re: svn commit: r203990 - head/lib/libc/sys

2010-02-18 Thread Jaakko Heinonen
On 2010-02-18, Bruce Evans wrote: critter phk ./a.out a.out: Told you so: Is a directory Better fix the kernel bug than break the documentation then. Seconded. namei() returns EISDIR for / (due to DELETE and and the special handling of the degenerate case which includes / and not much

svn commit: r204032 - stable/8/share/man/man4

2010-02-18 Thread Bruce Cran
Author: brucec Date: Thu Feb 18 10:39:53 2010 New Revision: 204032 URL: http://svn.freebsd.org/changeset/base/204032 Log: MFC r203681: Fix typo and remove extra spaces. Approved by: rrs (mentor) Modified: stable/8/share/man/man4/sctp.4 Directory Properties:

svn commit: r204033 - in stable/8: bin/pkill bin/ps usr.bin/w

2010-02-18 Thread Bruce Cran
Author: brucec Date: Thu Feb 18 10:46:25 2010 New Revision: 204033 URL: http://svn.freebsd.org/changeset/base/204033 Log: MFC r203688: Initialize the execfile argument to NULL instead of _PATH_DEVNULL. This allows the -M option to be used without specifying -N. PR: bin/138146

svn commit: r204034 - stable/8/usr.sbin/sysinstall

2010-02-18 Thread Bruce Cran
Author: brucec Date: Thu Feb 18 10:48:37 2010 New Revision: 204034 URL: http://svn.freebsd.org/changeset/base/204034 Log: MFC r203690: Xorg isn't treated as a distribution, so /usr/X11R6/lib shouldn't be configured when running ldconfig. PR: bin/138945 Approved by: rrs (mentor)

svn commit: r204035 - stable/8/lib/libc/net

2010-02-18 Thread Bruce Cran
Author: brucec Date: Thu Feb 18 10:51:31 2010 New Revision: 204035 URL: http://svn.freebsd.org/changeset/base/204035 Log: MFC r203322: Fix typo of ENOTCONN. Add missing RETURN VALUES section in sctp_opt_info(3). Approved by: rrs (mentor) Modified:

svn commit: r204036 - stable/8/lib/libc/net

2010-02-18 Thread Bruce Cran
Author: brucec Date: Thu Feb 18 10:55:42 2010 New Revision: 204036 URL: http://svn.freebsd.org/changeset/base/204036 Log: MFC r203323: Remove extra semicolon. Approved by: rrs (mentor) Modified: stable/8/lib/libc/net/sctp_sys_calls.c Directory Properties: stable/8/lib/libc/

svn commit: r204037 - stable/8/sys/dev/sound/usb

2010-02-18 Thread Bruce Cran
Author: brucec Date: Thu Feb 18 10:59:32 2010 New Revision: 204037 URL: http://svn.freebsd.org/changeset/base/204037 Log: MFC r203678: Rename usb2_ structures and variables to usb_. Approved by: rrs (mentor) Modified: stable/8/sys/dev/sound/usb/uaudio.c

svn commit: r204038 - stable/8/sys/conf

2010-02-18 Thread Bruce Cran
Author: brucec Date: Thu Feb 18 11:03:35 2010 New Revision: 204038 URL: http://svn.freebsd.org/changeset/base/204038 Log: MFC r203679: Remove the usb2_input_kbd directive that was missed during the renaming of the drivers in the usb2 stack. Approved by: rrs (mentor) Modified:

svn commit: r204039 - in stable/8/sys: conf dev/aic7xxx

2010-02-18 Thread Bruce Cran
Author: brucec Date: Thu Feb 18 11:07:36 2010 New Revision: 204039 URL: http://svn.freebsd.org/changeset/base/204039 Log: MFC r203685: Document the usfs driver and the NO_SYSCTL_DESCR option, and update the comment for umass. Don't include the sysctl description variables in aic7xxx

svn commit: r204040 - head/sys/netinet

2010-02-18 Thread Michael Tuexen
Author: tuexen Date: Thu Feb 18 13:46:54 2010 New Revision: 204040 URL: http://svn.freebsd.org/changeset/base/204040 Log: Use uint32_t instead of u_long. MFC after: 1 week Modified: head/sys/netinet/sctp_indata.c Modified: head/sys/netinet/sctp_indata.c

Re: svn commit: r203889 - in stable/8/sys: cam cam/ata cam/scsi dev/ahci dev/asr dev/ata dev/ciss dev/hptiop dev/hptrr dev/mly dev/mpt dev/ppbus dev/siis dev/trm dev/twa dev/usb/storage

2010-02-18 Thread Lawrence Stewart
Hi Alexander and all, On 02/15/10 06:38, Alexander Motin wrote: Author: mav Date: Sun Feb 14 19:38:27 2010 New Revision: 203889 URL: http://svn.freebsd.org/changeset/base/203889 Log: MFC r203108: Large set of CAM improvements: [snip] I've been having issues with the mpt-driven LSI SAS

svn commit: r204041 - in head/sys: amd64/amd64 i386/i386 i386/xen

2010-02-18 Thread Ed Schouten
Author: ed Date: Thu Feb 18 14:28:38 2010 New Revision: 204041 URL: http://svn.freebsd.org/changeset/base/204041 Log: Allow the pmap code to be built with GCC from FreeBSD 7 again. This patch basically gives us the best of both worlds. Instead of forcing the compiler to emulate GNU-style

Re: svn commit: r204041 - in head/sys: amd64/amd64 i386/i386 i386/xen

2010-02-18 Thread John Baldwin
On Thursday 18 February 2010 9:28:38 am Ed Schouten wrote: Author: ed Date: Thu Feb 18 14:28:38 2010 New Revision: 204041 URL: http://svn.freebsd.org/changeset/base/204041 Log: Allow the pmap code to be built with GCC from FreeBSD 7 again. This patch basically gives us the best of

svn commit: r204042 - head/sys/powerpc/aim

2010-02-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Feb 18 15:00:43 2010 New Revision: 204042 URL: http://svn.freebsd.org/changeset/base/204042 Log: Fix a bug where pages being removed from memory entirely no longer have PVOs, and so the modified state of the page can no longer be communicated to the VM layer,

svn commit: r204044 - head/release/scripts

2010-02-18 Thread Ken Smith
Author: kensmith Date: Thu Feb 18 15:45:43 2010 New Revision: 204044 URL: http://svn.freebsd.org/changeset/base/204044 Log: Provide a script that can be used to create the memstick images. For now it isn't being integrated into 'make release' because for the forseeable future the memstick

Re: svn commit: r203889 - in stable/8/sys: cam cam/ata cam/scsi dev/ahci dev/asr dev/ata dev/ciss dev/hptiop dev/hptrr dev/mly dev/mpt dev/ppbus dev/siis dev/trm dev/twa dev/usb/storage

2010-02-18 Thread Matthew Jacob
Just a total swag here, but reduce the openings via camcontrol to 32, or even 16 1. Any thoughts on how to resolve the regression in the mpt driver with the r203889 commit? 2. Any thoughts on the behaviour I'm seeing with the mpt_cam_event messages? Is it possible it's just a driver

svn commit: r204045 - head/usr.bin/kdump

2010-02-18 Thread Warner Losh
Author: imp Date: Thu Feb 18 16:05:09 2010 New Revision: 204045 URL: http://svn.freebsd.org/changeset/base/204045 Log: The kdump data stream is an unaligned data stream for stat and sockaddr structures. As such, we have top copy the data structure into a local buffer before we can

svn commit: r204046 - stable/8/sys/fs/nfsserver

2010-02-18 Thread Rick Macklem
Author: rmacklem Date: Thu Feb 18 16:23:13 2010 New Revision: 204046 URL: http://svn.freebsd.org/changeset/base/204046 Log: MFC: r203848 This fixes the experimental NFS server so that it won't crash in the caching code for IPv6 by fixing a typo that used the incorrect variable. It also

svn commit: r204048 - in stable/8/lib: libc_r libkse

2010-02-18 Thread Ruslan Ermilov
Author: ru Date: Thu Feb 18 16:52:49 2010 New Revision: 204048 URL: http://svn.freebsd.org/changeset/base/204048 Log: MFC: r203918: Unbreak makefiles by removing mentions of DEFAULT_THREAD_LIB. Modified: stable/8/lib/libc_r/Makefile stable/8/lib/libkse/Makefile Directory Properties:

svn commit: r204050 - head/sys/dev/isp

2010-02-18 Thread Matt Jacob
Author: mjacob Date: Thu Feb 18 18:35:09 2010 New Revision: 204050 URL: http://svn.freebsd.org/changeset/base/204050 Log: Don't try and re-use a handle, even if the firmware tells you that's what is logged in. PR: kern/144026 MFC after:1 week Modified:

svn commit: r204051 - head/sys/sys

2010-02-18 Thread Warner Losh
Author: imp Date: Thu Feb 18 18:57:15 2010 New Revision: 204051 URL: http://svn.freebsd.org/changeset/base/204051 Log: n64 has a different size for KINFO_PROC_SIZE. Modified: head/sys/sys/user.h Modified: head/sys/sys/user.h

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

2010-02-18 Thread Warner Losh
Author: imp Date: Thu Feb 18 19:02:33 2010 New Revision: 204052 URL: http://svn.freebsd.org/changeset/base/204052 Log: Use proper structure type for 64-bit headers # this fixes the MALTA64 build Modified: head/sys/mips/mips/elf_trampoline.c Modified: head/sys/mips/mips/elf_trampoline.c

svn commit: r204053 - head/usr.bin/hexdump

2010-02-18 Thread Gavin Atkinson
Author: gavin Date: Thu Feb 18 19:06:30 2010 New Revision: 204053 URL: http://svn.freebsd.org/changeset/base/204053 Log: The correct value of DEL is 0x7f, not 0xff. This is purely a documentation issue - od(1) and hexdump(1) behave as expected. PR: docs/143869 Submitted by:

svn commit: r204055 - in head/sys/mips/cavium: . dev/rgmii

2010-02-18 Thread Warner Losh
Author: imp Date: Thu Feb 18 19:27:00 2010 New Revision: 204055 URL: http://svn.freebsd.org/changeset/base/204055 Log: Make printfs work for both OCTEON1 and OCTEON1-32 Modified: head/sys/mips/cavium/dev/rgmii/octeon_fpa.c head/sys/mips/cavium/octeon_machdep.c Modified:

svn commit: r204056 - head/sys/mips/alchemy

2010-02-18 Thread Warner Losh
Author: imp Date: Thu Feb 18 19:41:38 2010 New Revision: 204056 URL: http://svn.freebsd.org/changeset/base/204056 Log: Hack to make ALCHEMY compile again... Modified: head/sys/mips/alchemy/obio.c Modified: head/sys/mips/alchemy/obio.c

svn commit: r204060 - head/sys/conf

2010-02-18 Thread Warner Losh
Author: imp Date: Thu Feb 18 20:20:34 2010 New Revision: 204060 URL: http://svn.freebsd.org/changeset/base/204060 Log: Unbreak SENTRY5 build. Modified: head/sys/conf/files.mips Modified: head/sys/conf/files.mips ==

svn commit: r204061 - head

2010-02-18 Thread Edwin Groothuis
Author: edwin Date: Thu Feb 18 21:14:29 2010 New Revision: 204061 URL: http://svn.freebsd.org/changeset/base/204061 Log: Add heads-up requests for parts of the tree I look after and which are partly maintained by a third party: - share/zoneinfo - usr.sbin/zic - lib/libc/stdtime

svn commit: r204063 - head/sys/nfsclient

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 22:10:55 2010 New Revision: 204063 URL: http://svn.freebsd.org/changeset/base/204063 Log: Simplify code a bit. Modified: head/sys/nfsclient/nfs_kdtrace.c Modified: head/sys/nfsclient/nfs_kdtrace.c

svn commit: r204064 - head/sys/kern

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 22:12:40 2010 New Revision: 204064 URL: http://svn.freebsd.org/changeset/base/204064 Log: Use NULL instead of 0 when setting up pointer. Modified: head/sys/kern/uipc_syscalls.c Modified: head/sys/kern/uipc_syscalls.c

svn commit: r204065 - head/sys/kern

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 22:14:44 2010 New Revision: 204065 URL: http://svn.freebsd.org/changeset/base/204065 Log: Use vput() instead of VOP_UNLOCK()+vrele(). The comment here is out-dated, we no longer pass thread pointer to VOP_UNLOCK(). Modified: head/sys/kern/vfs_default.c

svn commit: r204066 - head/sys/kern

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 22:22:45 2010 New Revision: 204066 URL: http://svn.freebsd.org/changeset/base/204066 Log: - Reduce scope of vnode lock. vfs_mount_alloc() doesn't need vnode to be locked. - Remove code duplication. Modified: head/sys/kern/vfs_mount.c Modified:

svn commit: r204067 - head/sys/boot/zfs

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 22:23:30 2010 New Revision: 204067 URL: http://svn.freebsd.org/changeset/base/204067 Log: Update comment. We also look for GPT partitions. Modified: head/sys/boot/zfs/zfs.c Modified: head/sys/boot/zfs/zfs.c

svn commit: r204068 - in head/sys: compat/linux netinet

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 22:26:01 2010 New Revision: 204068 URL: http://svn.freebsd.org/changeset/base/204068 Log: No need to include security/mac/mac_framework.h here. Modified: head/sys/compat/linux/linux_stats.c head/sys/netinet/ip_mroute.c head/sys/netinet/ip_options.c Modified:

svn commit: r204069 - head/sys/geom

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 22:27:38 2010 New Revision: 204069 URL: http://svn.freebsd.org/changeset/base/204069 Log: Log attach just like we log detach. Modified: head/sys/geom/geom_subr.c Modified: head/sys/geom/geom_subr.c

svn commit: r204070 - head/sys/geom/stripe

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 22:28:12 2010 New Revision: 204070 URL: http://svn.freebsd.org/changeset/base/204070 Log: Correct comment. Modified: head/sys/geom/stripe/g_stripe.c Modified: head/sys/geom/stripe/g_stripe.c

svn commit: r204071 - head/sys/geom/multipath

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 22:29:35 2010 New Revision: 204071 URL: http://svn.freebsd.org/changeset/base/204071 Log: - Style fixes. - Prefer strlcpy() over strncpy(). Modified: head/sys/geom/multipath/g_multipath.c Modified: head/sys/geom/multipath/g_multipath.c

svn commit: r204072 - head/sys/netinet6

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 22:30:37 2010 New Revision: 204072 URL: http://svn.freebsd.org/changeset/base/204072 Log: No need to include security/mac/mac_framework.h here. Modified: head/sys/netinet6/in6_pcb.c Modified: head/sys/netinet6/in6_pcb.c

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

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 22:31:43 2010 New Revision: 204073 URL: http://svn.freebsd.org/changeset/base/204073 Log: Add tunable and sysctl to skip hostid check on pool import. Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c Modified:

svn commit: r204074 - head/sys/netipsec

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 22:34:29 2010 New Revision: 204074 URL: http://svn.freebsd.org/changeset/base/204074 Log: Correct typo in comment. Modified: head/sys/netipsec/keydb.h Modified: head/sys/netipsec/keydb.h

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

2010-02-18 Thread Dmitry Morozovsky
On Thu, 18 Feb 2010, Pawel Jakub Dawidek wrote: PJD Log: PJD Add tunable and sysctl to skip hostid check on pool import. Wow, thank you! What do you think about disabling this check by default (no MFCs, surely, due to POLA)? And, is it possible to distinguish hardware changes from OS

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

2010-02-18 Thread Pawel Jakub Dawidek
On Fri, Feb 19, 2010 at 01:42:13AM +0300, Dmitry Morozovsky wrote: On Thu, 18 Feb 2010, Pawel Jakub Dawidek wrote: PJD Log: PJD Add tunable and sysctl to skip hostid check on pool import. Wow, thank you! What do you think about disabling this check by default (no MFCs, surely, due

svn commit: r204075 - in head/sbin/ggate: ggated shared

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 23:04:01 2010 New Revision: 204075 URL: http://svn.freebsd.org/changeset/base/204075 Log: Style nits. Modified: head/sbin/ggate/ggated/ggated.c head/sbin/ggate/shared/ggate.c Modified: head/sbin/ggate/ggated/ggated.c

svn commit: r204076 - in head: etc/defaults etc/rc.d sbin sbin/ggate/ggatec sbin/ggate/ggatel sbin/hastctl sbin/hastd share/examples share/examples/hast share/man/man5 sys/geom/gate

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 23:16:19 2010 New Revision: 204076 URL: http://svn.freebsd.org/changeset/base/204076 Log: Please welcome HAST - Highly Avalable Storage. HAST allows to transparently store data on two physically separated machines connected over the TCP/IP network. HAST works

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

2010-02-18 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 18 23:20:15 2010 New Revision: 204077 URL: http://svn.freebsd.org/changeset/base/204077 Log: Remove some lines left over by accident. Modified: head/etc/rc.d/hastd Modified: head/etc/rc.d/hastd

Re: svn commit: r204076 - in head: etc/defaults etc/rc.d sbin sbin/ggate/ggatec sbin/ggate/ggatel sbin/hastctl sbin/hastd share/examples share/examples/hast share/man/man5 sys/geom/gate

2010-02-18 Thread Robert Watson
On Thu, 18 Feb 2010, Pawel Jakub Dawidek wrote: Please welcome HAST - Highly Avalable Storage. Excellent news! I know a number of shops will be very excited to see this in the tree. Could you say a little about the future of ggated in light of the new arrival? Robert HAST allows to

Re: svn commit: r204077 - head/etc/rc.d

2010-02-18 Thread Doug Barton
On 02/18/10 15:20, Pawel Jakub Dawidek wrote: Author: pjd Date: Thu Feb 18 23:20:15 2010 New Revision: 204077 URL: http://svn.freebsd.org/changeset/base/204077 Log: Remove some lines left over by accident. If this script is starting a persistent service it should have KEYWORD: SHUTDOWN

svn commit: r204080 - head/etc/mtree

2010-02-18 Thread Xin LI
Author: delphij Date: Fri Feb 19 02:34:25 2010 New Revision: 204080 URL: http://svn.freebsd.org/changeset/base/204080 Log: Create a directory for hast's examples. Modified: head/etc/mtree/BSD.usr.dist Modified: head/etc/mtree/BSD.usr.dist

svn commit: r204081 - head/sys/dev/bwn

2010-02-18 Thread Weongyo Jeong
Author: weongyo Date: Fri Feb 19 03:36:02 2010 New Revision: 204081 URL: http://svn.freebsd.org/changeset/base/204081 Log: o print msgs with length if the frame is too short to pass to net80211. o print key index for debugging if the frame is attempted to decrypt for WEP, AES or TKIP

svn commit: r204082 - head/sys/powerpc/powermac

2010-02-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Feb 19 04:37:54 2010 New Revision: 204082 URL: http://svn.freebsd.org/changeset/base/204082 Log: Allow the SMU driver to read a variety of hardware sensors (possible questions on the thermal calibration), and to read and set fan RPMs from software. While here,

Re: svn commit: r203889 - in stable/8/sys: cam cam/ata cam/scsi dev/ahci dev/asr dev/ata dev/ciss dev/hptiop dev/hptrr dev/mly dev/mpt dev/ppbus dev/siis dev/trm dev/twa dev/usb/storage

2010-02-18 Thread Lawrence Stewart
Hi Matt, On 02/19/10 02:53, Matthew Jacob wrote: Just a total swag here, but reduce the openings via camcontrol to 32, or even 16 Thanks for the suggestion. camcontrol doesn't seem able to futz with the mpt controller e.g.: r...@server# camcontrol identify da0 -v (pass0:mpt0:0:2:0):

Re: svn commit: r204076 - in head: etc/defaults etc/rc.d sbin sbin/ggate/ggatec sbin/ggate/ggatel sbin/hastctl sbin/hastd share/examples share/examples/hast share/man/man5 sys/geom/gate

2010-02-18 Thread Pawel Jakub Dawidek
On Thu, Feb 18, 2010 at 11:22:31PM +, Robert Watson wrote: On Thu, 18 Feb 2010, Pawel Jakub Dawidek wrote: Please welcome HAST - Highly Avalable Storage. Excellent news! I know a number of shops will be very excited to see this in the tree. Could you say a little about the