svn commit: r269149 - head/sys/cam/ctl

2014-07-26 Thread Alexander Motin
Author: mav Date: Sun Jul 27 06:49:55 2014 New Revision: 269149 URL: http://svnweb.freebsd.org/changeset/base/269149 Log: Fix several cases of NULL dereference when INQUIRY sent to absent LUN. MFC after:3 days Modified: head/sys/cam/ctl/ctl.c Modified: head/sys/cam/ctl/ctl.c ===

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

2014-07-26 Thread Adrian Chadd
Author: adrian Date: Sun Jul 27 05:44:42 2014 New Revision: 269148 URL: http://svnweb.freebsd.org/changeset/base/269148 Log: Commit some sins in the name of "oh god oh god I don't really want to be able to claim I know how the UART code works." * Just return 115200 as the current baud rat

Re: svn commit: r269127 - head/sys/dev/usb/wlan

2014-07-26 Thread Adrian Chadd
On 26 July 2014 12:13, Hans Petter Selasky wrote: > On 07/26/14 20:36, Adrian Chadd wrote: >> >> Hi, >> >> We should likely review how the PLCP bits are being used and why it's >> getting a rate of 0 in the first place. >> >> So, why's it getting a rate of 0 passed into the transmit path? >> >> >

svn commit: r269147 - head/sys/dev/etherswitch/arswitch

2014-07-26 Thread Adrian Chadd
Author: adrian Date: Sat Jul 26 21:33:17 2014 New Revision: 269147 URL: http://svnweb.freebsd.org/changeset/base/269147 Log: Add another revision of the AR8327. Modified: head/sys/dev/etherswitch/arswitch/arswitch.c Modified: head/sys/dev/etherswitch/arswitch/arswitch.c =

svn commit: r269146 - head/sys/contrib/dev/ath/ath_hal/ar9300

2014-07-26 Thread Adrian Chadd
Author: adrian Date: Sat Jul 26 21:32:03 2014 New Revision: 269146 URL: http://svnweb.freebsd.org/changeset/base/269146 Log: store the AR9300 interrupts away when doing interrupt debugging. Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_interrupts.c Modified: head/sys/contrib/dev/a

svn commit: r269145 - head/cddl/contrib/dtracetoolkit

2014-07-26 Thread George V. Neville-Neil
Author: gnn Date: Sat Jul 26 20:42:54 2014 New Revision: 269145 URL: http://svnweb.freebsd.org/changeset/base/269145 Log: Update the header printing to match the rest of the output. Pointed out by: mdf Modified: head/cddl/contrib/dtracetoolkit/rwsnoop Modified: head/cddl/contrib/dtracet

Re: svn commit: r269143 - head/usr.bin/elfdump

2014-07-26 Thread Andreas Tobler
On 26.07.14 22:00, Ian Lepore wrote: On Sat, 2014-07-26 at 19:44 +, Andreas Tobler wrote: Author: andreast Date: Sat Jul 26 19:44:45 2014 New Revision: 269143 URL: http://svnweb.freebsd.org/changeset/base/269143 Log: Further improvements on elfdump, to follow up r269092: - Add ARM sp

svn commit: r269144 - head/cddl/contrib/dtracetoolkit

2014-07-26 Thread George V. Neville-Neil
Author: gnn Date: Sat Jul 26 20:11:36 2014 New Revision: 269144 URL: http://svnweb.freebsd.org/changeset/base/269144 Log: Since we cannot yet display the name print the file descriptor so that it can be looked up manually using procstat(1). Modified: head/cddl/contrib/dtracetoolkit/rwsnoop

Re: svn commit: r269143 - head/usr.bin/elfdump

2014-07-26 Thread Ian Lepore
On Sat, 2014-07-26 at 19:44 +, Andreas Tobler wrote: > Author: andreast > Date: Sat Jul 26 19:44:45 2014 > New Revision: 269143 > URL: http://svnweb.freebsd.org/changeset/base/269143 > > Log: > Further improvements on elfdump, to follow up r269092: > > - Add ARM specific section header

svn commit: r269143 - head/usr.bin/elfdump

2014-07-26 Thread Andreas Tobler
Author: andreast Date: Sat Jul 26 19:44:45 2014 New Revision: 269143 URL: http://svnweb.freebsd.org/changeset/base/269143 Log: Further improvements on elfdump, to follow up r269092: - Add ARM specific section header types. - Add SHT_GNU_HASH section header type. - Improve reporting of u

svn commit: r269142 - in head/sys: conf kern netinet

2014-07-26 Thread Marcel Moolenaar
Author: marcel Date: Sat Jul 26 19:27:34 2014 New Revision: 269142 URL: http://svnweb.freebsd.org/changeset/base/269142 Log: The accept filter code is not specific to the FreeBSD IPv4 network stack, so it really should not be under "optional inet". The fact that uipc_accf.c lives under kern/

svn commit: r269141 - head/cddl/contrib/dtracetoolkit

2014-07-26 Thread George V. Neville-Neil
Author: gnn Date: Sat Jul 26 19:25:52 2014 New Revision: 269141 URL: http://svnweb.freebsd.org/changeset/base/269141 Log: Remove debugging options from the rwsnoop script. Modified: head/cddl/contrib/dtracetoolkit/rwsnoop Modified: head/cddl/contrib/dtracetoolkit/rwsnoop

svn commit: r269140 - head/cddl/contrib/dtracetoolkit

2014-07-26 Thread George V. Neville-Neil
Author: gnn Date: Sat Jul 26 19:21:53 2014 New Revision: 269140 URL: http://svnweb.freebsd.org/changeset/base/269140 Log: Port the rwsnoop DTrace Toolkit script to FreeBSD. Remove dependency on the Korn Shell. Remove Zones in favor of Jails. Remove support (for now) for filename printing.

Re: svn commit: r269127 - head/sys/dev/usb/wlan

2014-07-26 Thread Hans Petter Selasky
On 07/26/14 20:36, Adrian Chadd wrote: Hi, We should likely review how the PLCP bits are being used and why it's getting a rate of 0 in the first place. So, why's it getting a rate of 0 passed into the transmit path? Hi Adrian, Here is the backtrace of the panic: Fatal trap 18: integer di

svn commit: r269139 - head/sys/dev/usb/controller

2014-07-26 Thread Hans Petter Selasky
Author: hselasky Date: Sat Jul 26 19:08:52 2014 New Revision: 269139 URL: http://svnweb.freebsd.org/changeset/base/269139 Log: Split the XHCI TRB allocations into smaller parts, so that we don't end up allocating contiguous busdma buffers above PAGE_SIZE bytes. MFC after:1 week Test

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

2014-07-26 Thread Xin LI
Author: delphij Date: Sat Jul 26 19:07:08 2014 New Revision: 269138 URL: http://svnweb.freebsd.org/changeset/base/269138 Log: Add two sysctls for newly added tunables. MFC after:2 weeks Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/metaslab.c Modified: head/sys/cddl/

svn commit: r269137 - head/sys/mips/include

2014-07-26 Thread Marcel Moolenaar
Author: marcel Date: Sat Jul 26 18:52:23 2014 New Revision: 269137 URL: http://svnweb.freebsd.org/changeset/base/269137 Log: Add missing definition of ELF_MACHINE_OK, now used by gcore(1). Modified: head/sys/mips/include/elf.h Modified: head/sys/mips/include/elf.h ===

Re: svn commit: r269127 - head/sys/dev/usb/wlan

2014-07-26 Thread Adrian Chadd
Hi, We should likely review how the PLCP bits are being used and why it's getting a rate of 0 in the first place. So, why's it getting a rate of 0 passed into the transmit path? -a On 26 July 2014 09:06, Hans Petter Selasky wrote: > Author: hselasky > Date: Sat Jul 26 16:06:01 2014 > New Rev

Re: svn commit: r269112 - head/sys/boot/arm/at91/boot2

2014-07-26 Thread Bruce Evans
On Sat, 26 Jul 2014, Benjamin Kaduk wrote: On Sat, Jul 26, 2014 at 12:09 AM, Ian Lepore wrote: Author: ian Date: Sat Jul 26 04:09:43 2014 New Revision: 269112 URL: http://svnweb.freebsd.org/changeset/base/269112 Log: The 'flags' variable is conflicting with some inline code in a header fil

Re: svn commit: r269106 - head/tools/tools/cxgbetool

2014-07-26 Thread Konstantin Belousov
On Sat, Jul 26, 2014 at 12:51:45AM +, Navdeep Parhar wrote: > Author: np > Date: Sat Jul 26 00:51:45 2014 > New Revision: 269106 > URL: http://svnweb.freebsd.org/changeset/base/269106 > > Log: > Add a 'raw' parameter to the 'modinfo' subcommand. This is handy when > trying to figure out w

svn commit: r269136 - head/sys/arm/arm

2014-07-26 Thread Ian Lepore
Author: ian Date: Sat Jul 26 18:19:43 2014 New Revision: 269136 URL: http://svnweb.freebsd.org/changeset/base/269136 Log: Pull in the armv4 "fast out" code for checking whether busdma can bounce due to an excluded region of physical memory. Modified: head/sys/arm/arm/busdma_machdep-v6.c Mo

svn commit: r269135 - head/sys/arm/arm

2014-07-26 Thread Ian Lepore
Author: ian Date: Sat Jul 26 18:14:16 2014 New Revision: 269135 URL: http://svnweb.freebsd.org/changeset/base/269135 Log: Remove completely bogus alignment check -- it's the physical address that needs to be aligned, not the virtual, and it doesn't seem worth the cost of a vtophys() call jus

svn commit: r269134 - head/sys/vm

2014-07-26 Thread Alan Cox
Author: alc Date: Sat Jul 26 18:10:18 2014 New Revision: 269134 URL: http://svnweb.freebsd.org/changeset/base/269134 Log: When unwiring a region of an address space, do not assume that the underlying physical pages are mapped by the pmap. If, for example, the application has performed an mp

svn commit: r269133 - head/sys/modules/tsec

2014-07-26 Thread Marcel Moolenaar
Author: marcel Date: Sat Jul 26 17:59:25 2014 New Revision: 269133 URL: http://svnweb.freebsd.org/changeset/base/269133 Log: Build tsec(4) as a module. Obtained from:Juniper Networks, Inc. Added: head/sys/modules/tsec/ head/sys/modules/tsec/Makefile (contents, props changed)

svn commit: r269132 - head/sys/dev/tsec

2014-07-26 Thread Marcel Moolenaar
Author: marcel Date: Sat Jul 26 17:57:13 2014 New Revision: 269132 URL: http://svnweb.freebsd.org/changeset/base/269132 Log: Remove bogus module dependencies. Modified: head/sys/dev/tsec/if_tsec_fdt.c Modified: head/sys/dev/tsec/if_tsec_fdt.c =

svn commit: r269131 - head/sys/dev/uart

2014-07-26 Thread Marcel Moolenaar
Author: marcel Date: Sat Jul 26 17:49:40 2014 New Revision: 269131 URL: http://svnweb.freebsd.org/changeset/base/269131 Log: Do not fail the low-level device probe simply because the kernel doesn't have support for the Z8530. Embedded PowerPC platforms typically don't. Fail when the device c

svn commit: r269130 - in head/sys/modules: bxe dtrace/fasttrap zfs

2014-07-26 Thread Marcel Moolenaar
Author: marcel Date: Sat Jul 26 17:24:58 2014 New Revision: 269130 URL: http://svnweb.freebsd.org/changeset/base/269130 Log: Avoid using ${.CURDIR} so that the module can be built from multiple directories. Obtained from:Juniper Networks, Inc. Modified: head/sys/modules/bxe/Mak

svn commit: r269129 - head/sys/powerpc/powerpc

2014-07-26 Thread Marcel Moolenaar
Author: marcel Date: Sat Jul 26 17:07:32 2014 New Revision: 269129 URL: http://svnweb.freebsd.org/changeset/base/269129 Log: Fix relocations related to dpcpu and vnet sets. The address is rebased to point to the allocated memory, but for architectures that have non-zero relocation addends, t

svn commit: r269128 - head/usr.bin/gcore

2014-07-26 Thread Marcel Moolenaar
Author: marcel Date: Sat Jul 26 16:45:11 2014 New Revision: 269128 URL: http://svnweb.freebsd.org/changeset/base/269128 Log: Create 32-bit core files for 32-bit processes on 64-bit machines. The 64-bit machine supported right now is amd64, but it's not too hard to add powerpc64. Obtaine

svn commit: r269127 - head/sys/dev/usb/wlan

2014-07-26 Thread Hans Petter Selasky
Author: hselasky Date: Sat Jul 26 16:06:01 2014 New Revision: 269127 URL: http://svnweb.freebsd.org/changeset/base/269127 Log: Fix for division by zero. MFC after:3 days Modified: head/sys/dev/usb/wlan/if_rum.c head/sys/dev/usb/wlan/if_ural.c head/sys/dev/usb/wlan/if_zyd.c head

svn commit: r269126 - head/sys/kern

2014-07-26 Thread Marcel Moolenaar
Author: marcel Date: Sat Jul 26 15:46:41 2014 New Revision: 269126 URL: http://svnweb.freebsd.org/changeset/base/269126 Log: Don't return ERESTART when the device is gone. In ttydev_leave() ERESTART is the indication that draining got interrupted due to a revoke(2) and that tty_drain() is to

svn commit: r269125 - in head: lib/libarchive rescue/rescue

2014-07-26 Thread Dimitry Andric
Author: dim Date: Sat Jul 26 15:33:20 2014 New Revision: 269125 URL: http://svnweb.freebsd.org/changeset/base/269125 Log: In r232153, libarchive 3.0.3 was imported, replacing the archive_hash.h header with archive_crypto_private.h, and its ARCHIVE_HASH_xxx macros were renamed to ARCHIVE_CRYP

Re: svn commit: r269112 - head/sys/boot/arm/at91/boot2

2014-07-26 Thread Ian Lepore
On Sat, 2014-07-26 at 10:33 -0400, Benjamin Kaduk wrote: > On Sat, Jul 26, 2014 at 12:09 AM, Ian Lepore wrote: > > > Author: ian > > Date: Sat Jul 26 04:09:43 2014 > > New Revision: 269112 > > URL: http://svnweb.freebsd.org/changeset/base/269112 > > > > Log: > > The 'flags' variable is conflict

Re: svn commit: r269112 - head/sys/boot/arm/at91/boot2

2014-07-26 Thread Benjamin Kaduk
On Sat, Jul 26, 2014 at 12:09 AM, Ian Lepore wrote: > Author: ian > Date: Sat Jul 26 04:09:43 2014 > New Revision: 269112 > URL: http://svnweb.freebsd.org/changeset/base/269112 > > Log: > The 'flags' variable is conflicting with some inline code in a header > file > ("variable flags shadows a

svn commit: r269124 - head/lib/libc/stdtime

2014-07-26 Thread Pedro F. Giffuni
Author: pfg Date: Sat Jul 26 14:24:13 2014 New Revision: 269124 URL: http://svnweb.freebsd.org/changeset/base/269124 Log: strftime() xlocale cleanups. Replace fprintf_l with fputs when output is unformatted. Use locale_t in _conv() since it was using sprintf (now sprintf_l) Use locale_t

svn commit: r269123 - head/sys/cam/ctl

2014-07-26 Thread Alexander Motin
Author: mav Date: Sat Jul 26 13:56:50 2014 New Revision: 269123 URL: http://svnweb.freebsd.org/changeset/base/269123 Log: Implement separate I/O dispatch method for ZVOLs in "dev" mode. Unlike disk devices ZVOLs process all requests synchronously. That makes impossible sending multiple r

svn commit: r269122 - head/sys/cam/ctl

2014-07-26 Thread Alexander Motin
Author: mav Date: Sat Jul 26 13:43:25 2014 New Revision: 269122 URL: http://svnweb.freebsd.org/changeset/base/269122 Log: Fix infinite loop, when doing WRITE SAME on file-backed LUN. MFC after:3 days Modified: head/sys/cam/ctl/ctl_backend_block.c Modified: head/sys/cam/ctl/ctl_backe

svn commit: r269120 - head/usr.sbin/kbdcontrol

2014-07-26 Thread Stefan Esser
Author: se Date: Sat Jul 26 13:14:28 2014 New Revision: 269120 URL: http://svnweb.freebsd.org/changeset/base/269120 Log: The previous commit (r269119) introduced a regression: It removed the ability to specify the the full path name of the keymap file. Instead leave the original search or

svn commit: r269119 - head/usr.sbin/kbdcontrol

2014-07-26 Thread Stefan Esser
Author: se Date: Sat Jul 26 12:17:26 2014 New Revision: 269119 URL: http://svnweb.freebsd.org/changeset/base/269119 Log: Fix obvious off by one error: prefix[1] should be set to the path of the newcons specific keymap files, not prefix[2]. The result of this bug was that kbdcontrol ignored t

svn commit: r269118 - in head: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contri...

2014-07-26 Thread Xin LI
Author: delphij Date: Sat Jul 26 10:20:48 2014 New Revision: 269118 URL: http://svnweb.freebsd.org/changeset/base/269118 Log: MFV r269010: Import Illumos changes to address the following Illumos issues: 4976 zfs should only avoid writing to a failing non-redundant top-level vde

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

2014-07-26 Thread Alexander Motin
Author: mav Date: Sat Jul 26 09:09:14 2014 New Revision: 269117 URL: http://svnweb.freebsd.org/changeset/base/269117 Log: Make sysctls under vfs.zfs.zfetch writeable. I don't see any reason for them to be read-only, while tuning them without reboot is much more convenient for experiments.

svn commit: r269116 - head/lib/libc/stdio

2014-07-26 Thread Andrey A. Chernov
Author: ache Date: Sat Jul 26 08:41:03 2014 New Revision: 269116 URL: http://svnweb.freebsd.org/changeset/base/269116 Log: In the "Too many open files" edge cases don't try to preserve old number for non-std* descriptors, but close old file and retry. Obtained from: inspired by Apple's c

svn commit: r269115 - head/lib/libpam/modules/pam_lastlog

2014-07-26 Thread Dag-Erling Smørgrav
Author: des Date: Sat Jul 26 07:40:31 2014 New Revision: 269115 URL: http://svnweb.freebsd.org/changeset/base/269115 Log: Remove useless getpwnam() call. Submitted by: Arthur Mesh MFC after:1 week Modified: head/lib/libpam/modules/pam_lastlog/pam_lastlog.c Modified: head/lib/libp