svn commit: r334810 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2018-06-07 Thread Benno Rice
Author: benno Date: Thu Jun 7 18:59:32 2018 New Revision: 334810 URL: https://svnweb.freebsd.org/changeset/base/334810 Log: Break recursion involving getnewvnode and zfs_rmnode. When we're at our vnode limit, getnewvnode will call into the vnode LRU cache to free up vnodes. If the vnode

svn commit: r333220 - head/share/man/man9

2018-05-03 Thread Benno Rice
networking stack. +.It Xr iflibdd 9 +Device-dependent functions, used when writing new +.Nm +based drivers. +.It Xr iflibtxrx 9 +Device-dependent transmit and receive functions, used when writing new +.Nm +based drivers. +.Sh SEE ALSO +.Xr iflibdd 9 , +.Xr iflibdi 9 , +.Xr iflibtxrx 9 , +.Xr ifnet 9

svn commit: r333219 - head/share/man/man9

2018-05-03 Thread Benno Rice
Author: benno Date: Thu May 3 17:49:26 2018 New Revision: 333219 URL: https://svnweb.freebsd.org/changeset/base/333219 Log: Document ifdi_tx_queues_alloc and ifdi_rx_queues_alloc. Prior to this change the manual page documented ifdi_queues_alloc which has been replaced by separate method

svn commit: r333007 - head/usr.bin/etdump

2018-04-25 Thread Benno Rice
Author: benno Date: Wed Apr 25 18:56:27 2018 New Revision: 333007 URL: https://svnweb.freebsd.org/changeset/base/333007 Log: Update release version of FreeBSD. Sponsored by: iXsystems, Inc. Modified: head/usr.bin/etdump/etdump.1 Modified: head/usr.bin/etdump/etdump.1 ===

svn commit: r333005 - head/release/amd64

2018-04-25 Thread Benno Rice
Author: benno Date: Wed Apr 25 18:47:52 2018 New Revision: 333005 URL: https://svnweb.freebsd.org/changeset/base/333005 Log: Allow etdump, makefs and mkimg to be overridden. Recent changes to makefs and mkimg have led to situations where the disconnect between this script and the versions

svn commit: r332661 - head/release/amd64

2018-04-17 Thread Benno Rice
Author: benno Date: Tue Apr 17 22:33:41 2018 New Revision: 332661 URL: https://svnweb.freebsd.org/changeset/base/332661 Log: Generate hybrid ISO images for amd64. This keeps the existing El Torito entries for BIOS and UEFI boot code and adds a GPT in the ISO image's System Area containing

svn commit: r332440 - head/usr.bin/mkimg

2018-04-12 Thread Benno Rice
Author: benno Date: Thu Apr 12 17:16:13 2018 New Revision: 332440 URL: https://svnweb.freebsd.org/changeset/base/332440 Log: Fix a conditional that got mucked up. Sponsored by: iXsystems, Inc. Modified: head/usr.bin/mkimg/mkimg.c Modified: head/usr.bin/mkimg/mkimg.c

svn commit: r332438 - head/usr.bin/etdump

2018-04-12 Thread Benno Rice
Author: benno Date: Thu Apr 12 17:00:36 2018 New Revision: 332438 URL: https://svnweb.freebsd.org/changeset/base/332438 Log: Remove a debugging printf that crept in. Sponsored by: iXsystems, Inc. Modified: head/usr.bin/etdump/etdump.c Modified: head/usr.bin/etdump/etdump.c =

svn commit: r332437 - head/usr.bin/etdump

2018-04-12 Thread Benno Rice
Author: benno Date: Thu Apr 12 15:50:19 2018 New Revision: 332437 URL: https://svnweb.freebsd.org/changeset/base/332437 Log: Check the return value of fseek. Reported by: Coverity CID: 1388267 Sponsored by: iXsystems, Inc. Modified: head/usr.bin/etdump/etdump.c Modified: h

svn commit: r332436 - head/usr.bin/mkimg

2018-04-12 Thread Benno Rice
Author: benno Date: Thu Apr 12 15:47:47 2018 New Revision: 332436 URL: https://svnweb.freebsd.org/changeset/base/332436 Log: Add the ability to specify absolute and relative offsets to size partitions. To create hybrid boot media we want to specify a partition at a known location. This e

svn commit: r332346 - head/release/amd64

2018-04-09 Thread Benno Rice
Author: benno Date: Tue Apr 10 02:49:53 2018 New Revision: 332346 URL: https://svnweb.freebsd.org/changeset/base/332346 Log: Fix the position of $bootable so that -o platformid=efi applies correctly. Sponsored by: iXsystems, Inc. Pointy hat to:benno (again) Modified: head/relea

svn commit: r332345 - head/release/amd64

2018-04-09 Thread Benno Rice
Author: benno Date: Tue Apr 10 02:43:07 2018 New Revision: 332345 URL: https://svnweb.freebsd.org/changeset/base/332345 Log: Fix makefs invocation after r331843. Reported by: gjb Reviewed by: gjb Sponsored by: iXsystems, Inc. Pointy hat to:benno Modified: head/release/amd

Re: svn commit: r331843 - in head/usr.sbin/makefs: . cd9660

2018-04-09 Thread Benno Rice
> On Apr 9, 2018, at 6:37 AM, Glen Barber wrote: [snip] > It appears this part has broken creating disc1.iso (and other ISO > images) for amd64. I see the following error: [snip] Yep, that’s on me. I forgot to update mkisoimages.sh. Could you try the attached patch? __

svn commit: r332085 - head/stand/common

2018-04-05 Thread Benno Rice
Author: benno Date: Thu Apr 5 19:45:30 2018 New Revision: 332085 URL: https://svnweb.freebsd.org/changeset/base/332085 Log: Add an ISO9660 "partition table" type to loader. When booted via isoboot(8) loader will be handed a disk that simply contains an ISO9660 image. Currently this confu

svn commit: r332084 - in head: stand/i386 stand/i386/isoboot stand/libsa sys/fs/cd9660

2018-04-05 Thread Benno Rice
or an ISO filesystem image on the device it was booted from and +seeks to read either the primary +.Fx +.Xr loader 8 +or kernel from there. +.Sh SEE ALSO +.Xr mkimg 1 +.Sh HISTORY +.Nm +appeared in FreeBSD 12.0. +.Sh AUTHORS +This manual page written by +.An Benno Rice Aq be...@freebsd.org . Co

svn commit: r332083 - head/stand/i386/gptboot

2018-04-05 Thread Benno Rice
Author: benno Date: Thu Apr 5 19:29:22 2018 New Revision: 332083 URL: https://svnweb.freebsd.org/changeset/base/332083 Log: Various style(9) fixes. Reviewed by: strip --strip-debug -o - gptboot.o | md5 Sponsored by: iXsystems, Inc. Modified: head/stand/i386/gptboot/gptboot.c Modifie

svn commit: r332082 - head/stand/i386/gptboot

2018-04-05 Thread Benno Rice
Author: benno Date: Thu Apr 5 19:27:24 2018 New Revision: 332082 URL: https://svnweb.freebsd.org/changeset/base/332082 Log: Use consistent whitespace. Reviewed by: strip --strip-debug -o - gptboot.o | md5 Sponsored by: iXsystems, Inc. Modified: head/stand/i386/gptboot/gptboot.c Modi

svn commit: r331949 - in head/usr.bin: . etdump

2018-04-03 Thread Benno Rice
Author: benno Date: Tue Apr 3 21:08:10 2018 New Revision: 331949 URL: https://svnweb.freebsd.org/changeset/base/331949 Log: Add the etdump utility for dumping El Torito boot catalog information. This can be used to check existing images but will be used in the future to find EFI ESP imag

svn commit: r331843 - in head/usr.sbin/makefs: . cd9660

2018-03-31 Thread Benno Rice
Author: benno Date: Sat Mar 31 15:04:41 2018 New Revision: 331843 URL: https://svnweb.freebsd.org/changeset/base/331843 Log: Synchronise with NetBSD's version of EFI handling for El Torito images. When I implemented my EFI support I failed to check if the upstream version of makefs in Net

Re: svn commit: r331463 - in head: release/amd64 usr.sbin/makefs/cd9660

2018-03-25 Thread Benno Rice
> On Mar 25, 2018, at 1:54 AM, Dave Cottlehuber wrote: > > On Fri, 23 Mar 2018, at 21:56, Benno Rice wrote: [commit message snipped] > Hi Benno, > > This breaks `make -DNOPORTS -s memstick ftp cdrom` for me. Rolling back to > r331462 is the last working commit. >

svn commit: r331537 - head

2018-03-25 Thread Benno Rice
Author: benno Date: Sun Mar 25 21:07:59 2018 New Revision: 331537 URL: https://svnweb.freebsd.org/changeset/base/331537 Log: Add an entry dealing with the makefs ISO9660 EFI tagging changes. If you're building -CURRENT releases and it fails when building ISO images on amd64 you'll need to

svn commit: r331468 - head/usr.sbin/makefs/cd9660

2018-03-23 Thread Benno Rice
Author: benno Date: Fri Mar 23 22:59:45 2018 New Revision: 331468 URL: https://svnweb.freebsd.org/changeset/base/331468 Log: Don't try to modify El Torito section headers if there aren't any. MFC after:1 week Modified: head/usr.sbin/makefs/cd9660/cd9660_eltorito.c Modified: head/usr

svn commit: r331467 - head/usr.sbin/makefs/cd9660

2018-03-23 Thread Benno Rice
Author: benno Date: Fri Mar 23 22:52:26 2018 New Revision: 331467 URL: https://svnweb.freebsd.org/changeset/base/331467 Log: Correctly mark the last El Torito section header. Reported by: Thomas Schmitt Reviewed by: emaste, imp MFC after:1 week Sponsored by: iXsystems, Inc. D

svn commit: r331463 - in head: release/amd64 usr.sbin/makefs/cd9660

2018-03-23 Thread Benno Rice
Author: benno Date: Fri Mar 23 20:56:18 2018 New Revision: 331463 URL: https://svnweb.freebsd.org/changeset/base/331463 Log: Allow makefs to properly tag UEFI El Torito boot images. Use them in amd64 ISOs. UEFI booting requires an EFI System Partition (ESP). On most storage devices this

svn commit: r329740 - head/stand/i386/boot2

2018-02-21 Thread Benno Rice
Author: benno Date: Wed Feb 21 18:32:06 2018 New Revision: 329740 URL: https://svnweb.freebsd.org/changeset/base/329740 Log: Further style(9) changes. Tested by:objdump -d | md5 (both in-tree clang and lang/gcc6) Modified: head/stand/i386/boot2/boot2.c Modified: head/stand/i386/boot

Re: svn commit: r329737 - head/stand/i386/boot2

2018-02-21 Thread Benno Rice
> On Feb 21, 2018, at 10:46 AM, Colin Percival wrote: > > On 02/21/18 10:10, Benno Rice wrote: >> Curiously, changing whitespace seems to cause the md5 of the .o files to >> differ >> these days hence the following testing strategy: >> >> Tested by

Re: svn commit: r329737 - head/stand/i386/boot2

2018-02-21 Thread Benno Rice
> On Feb 21, 2018, at 10:51 AM, Ed Maste wrote: > > On 21 February 2018 at 13:10, Benno Rice wrote: >> Author: benno >> Date: Wed Feb 21 18:10:50 2018 >> New Revision: 329737 >> URL: https://svnweb.freebsd.org/changeset/base/329737 >> >> Log: >

svn commit: r329737 - head/stand/i386/boot2

2018-02-21 Thread Benno Rice
Author: benno Date: Wed Feb 21 18:10:50 2018 New Revision: 329737 URL: https://svnweb.freebsd.org/changeset/base/329737 Log: Purely whitespace changes bringing this file closer to style(9). Curiously, changing whitespace seems to cause the md5 of the .o files to differ these days hence t

svn commit: r329418 - head/stand/i386/boot2

2018-02-16 Thread Benno Rice
Author: benno Date: Sat Feb 17 00:12:30 2018 New Revision: 329418 URL: https://svnweb.freebsd.org/changeset/base/329418 Log: Revert r329269. I tried to rework a section to fit inside 80 columns but the change ended up being functional. Back this out so I can readdress. Modified: head/s

svn commit: r329269 - head/stand/i386/boot2

2018-02-14 Thread Benno Rice
Author: benno Date: Wed Feb 14 18:07:27 2018 New Revision: 329269 URL: https://svnweb.freebsd.org/changeset/base/329269 Log: Reformat to come significantly closer to style(9). Reviewed by: imp, jhibbits Differential Revision:https://reviews.freebsd.org/D14366 Modified:

svn commit: r328553 - head/sys/conf

2018-01-29 Thread Benno Rice
Author: benno Date: Mon Jan 29 17:32:30 2018 New Revision: 328553 URL: https://svnweb.freebsd.org/changeset/base/328553 Log: Remove some duplicated sys/conf/files* entries. net80211/ieee80211_ageq.c was present twice in sys/conf/files so leave the correctly sorted one. dev/wpi/if_wpi.c wa

Re: svn commit: r325828 - head/usr.bin/fortune/datfiles

2017-11-15 Thread Benno Rice
> On Nov 15, 2017, at 06:54, Jeremie Le Hen wrote: > > Hi Benno, > > On Tue, Nov 14, 2017 at 10:18 PM, Benno Rice <mailto:be...@freebsd.org>> wrote: >> Author: benno >> Date: Tue Nov 14 21:18:30 2017 >> New Revision: 325828 >> URL: https://svn

svn commit: r325829 - head

2017-11-14 Thread Benno Rice
Author: benno Date: Tue Nov 14 21:31:30 2017 New Revision: 325829 URL: https://svnweb.freebsd.org/changeset/base/325829 Log: Add fortune datfiles that are no longer distributed. MFC after:2 days Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc ==

svn commit: r325828 - head/usr.bin/fortune/datfiles

2017-11-14 Thread Benno Rice
Author: benno Date: Tue Nov 14 21:18:30 2017 New Revision: 325828 URL: https://svnweb.freebsd.org/changeset/base/325828 Log: Remove all fortune datfiles except freebsd-tips. Humour is a funny thing. What is funny to one person is not funny to all people. What is insightful to one person i

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

2017-08-25 Thread Benno Rice
Author: benno Date: Fri Aug 25 16:10:16 2017 New Revision: 322894 URL: https://svnweb.freebsd.org/changeset/base/322894 Log: Replace makefs' hand-rolled unescaping with strunvis mtree path names and link attributes are encoded, generally using strvis. Newer versions of mtree will use C-s

svn commit: r322804 - head/usr.sbin/ctladm

2017-08-22 Thread Benno Rice
Author: benno Date: Tue Aug 22 23:55:09 2017 New Revision: 322804 URL: https://svnweb.freebsd.org/changeset/base/322804 Log: Correct typo in usage string. Submitted by: peterpakos (GitHub username) MFC after:1 day Modified: head/usr.sbin/ctladm/ctladm.c Modified: head/usr.sbin/ctl

svn commit: r316612 - head/sys/boot/i386/libi386

2017-04-07 Thread Benno Rice
Author: benno Date: Fri Apr 7 15:41:49 2017 New Revision: 316612 URL: https://svnweb.freebsd.org/changeset/base/316612 Log: In r298230 the value of HEAP_MIN was changed from 3MB to 64MB. Correct a comment that was still referencing the 3MB value. Sponsored by: Dell EMC Isilon Discussed

svn commit: r291728 - head/sys/sys

2015-12-03 Thread Benno Rice
Author: benno Date: Fri Dec 4 00:05:02 2015 New Revision: 291728 URL: https://svnweb.freebsd.org/changeset/base/291728 Log: Tweak some unused field defines to have the correct number of zeroes. Reviewed by: jhb Sponsored by: EMC / Isilon Storage Division Differential R

svn commit: r285662 - in head/sys: amd64/conf conf dev/pms i386/conf modules modules/pms

2015-07-17 Thread Benno Rice
Author: benno Date: Fri Jul 17 23:30:43 2015 New Revision: 285662 URL: https://svnweb.freebsd.org/changeset/base/285662 Log: Merge driver for PMC Sierra's range of SAS/SATA HBAs. Submitted by: Achim Leubner Reviewed by: scottl Added: head/sys/dev/pms/ - copied from r285661, proj

svn commit: r280388 - head/sys/cam

2015-03-23 Thread Benno Rice
Author: benno Date: Mon Mar 23 18:45:37 2015 New Revision: 280388 URL: https://svnweb.freebsd.org/changeset/base/280388 Log: Be consistent with M_ZERO when allocating ccbs. There are four places, all in cam_xpt.c, where ccbs are malloc'ed. Two of these use M_ZERO, two don't. The two that

Re: svn commit: r280153 - head/sys/kern

2015-03-16 Thread Benno Rice
Of course by bp->bio_done I mean bp->bio_data. Pointy hat to: benno > On Mar 16, 2015, at 1:00 PM, Benno Rice wrote: > > Author: benno > Date: Mon Mar 16 20:00:09 2015 > New Revision: 280153 > URL: https://svnweb.freebsd.org/changeset/base/280153 > >

svn commit: r280153 - head/sys/kern

2015-03-16 Thread Benno Rice
Author: benno Date: Mon Mar 16 20:00:09 2015 New Revision: 280153 URL: https://svnweb.freebsd.org/changeset/base/280153 Log: Reset bp->bio_done to unmapped_buf when removing a transient map in biodone. Submitted by: Scott Ferris Sponsored by: EMC / Isilon Storage Division Reviewed by:

svn commit: r275941 - head/sys/fs/nfs

2014-12-19 Thread Benno Rice
Author: benno Date: Fri Dec 19 19:09:22 2014 New Revision: 275941 URL: https://svnweb.freebsd.org/changeset/base/275941 Log: Adjust the test of a KASSERT to better match the intent. This assertion was added in r246213 as a guard against corrupted mbufs arriving from drivers, the key disti

svn commit: r271173 - in head/sys: conf gdb libkern sys

2014-09-05 Thread Benno Rice
Author: benno Date: Fri Sep 5 16:40:47 2014 New Revision: 271173 URL: http://svnweb.freebsd.org/changeset/base/271173 Log: Add support for gdb's memory searching capabilities to our in-kernel gdb server. Submitted by: Daniel O'Connor Reviewed by: jhb Sponsored by: EMC Isilon Storag

Re: svn commit: r271085 - head/lib/libgeom

2014-09-04 Thread Benno Rice
On Sep 4, 2014, at 6:51 AM, John Baldwin wrote: > On Thursday, September 04, 2014 03:31:49 AM Benno Rice wrote: >> Author: benno >> Date: Thu Sep 4 03:31:48 2014 >> New Revision: 271085 >> URL: http://svnweb.freebsd.org/changeset/base/271085 >> >> Log:

svn commit: r271085 - head/lib/libgeom

2014-09-03 Thread Benno Rice
Author: benno Date: Thu Sep 4 03:31:48 2014 New Revision: 271085 URL: http://svnweb.freebsd.org/changeset/base/271085 Log: Systems with lots of geom providers can end up with a kern.geom.confxml value too large for the buffer allocated. Work around this by retrying a few times with larger b

svn commit: r271070 - head/sys/kern

2014-09-03 Thread Benno Rice
Author: benno Date: Thu Sep 4 00:10:06 2014 New Revision: 271070 URL: http://svnweb.freebsd.org/changeset/base/271070 Log: Add KASSERTs to catch the case where a developer may have forgotten to set bo_bsize on a bufobj. This is a slight modification of the patch provided. PR:

svn commit: r261251 - head/sys/opencrypto

2014-01-28 Thread Benno Rice
Author: benno Date: Tue Jan 28 22:02:29 2014 New Revision: 261251 URL: http://svnweb.freebsd.org/changeset/base/261251 Log: Prevent races in accesses of the software crypto session array. swcr_newsession can change the pointer for swcr_sessions which races with swcr_process which is looki

svn commit: r250143 - head

2013-05-01 Thread Benno Rice
Author: benno Date: Wed May 1 09:56:09 2013 New Revision: 250143 URL: http://svnweb.freebsd.org/changeset/base/250143 Log: Optimize SUBDIR_OVERRIDE such that SUBDIR isn't automatically defined if SUBDIR_OVERRIDE is defined. PR: conf/174071 Submitted by: Garrett Cooper Spon

svn commit: r247370 - head/sbin/geom/class/part

2013-02-26 Thread Benno Rice
Author: benno Date: Wed Feb 27 03:43:16 2013 New Revision: 247370 URL: http://svnweb.freebsd.org/changeset/base/247370 Log: Fix typo in EFI GPT GUID. Modified: head/sbin/geom/class/part/gpart.8 Modified: head/sbin/geom/class/part/gpart.8 ==

svn commit: r245765 - head/sys/boot/i386/efi

2013-01-21 Thread Benno Rice
Author: benno Date: Tue Jan 22 04:14:27 2013 New Revision: 245765 URL: http://svnweb.freebsd.org/changeset/base/245765 Log: Fix linking of loader.efi. gcc handles -symbolic by passing -Bsymbolic through to ld. clang ignores -symbolic and thus invokes ld without -Bsymbolic which leads to s