aboutsummaryrefslogtreecommitdiff
path: root/UPDATING
Commit message (Collapse)AuthorAgeFilesLines
* In the TCP stack, the hhook(9) framework provides hooks for kernel modulesJonathan T. Looney2016-10-121-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to add actions that run when a TCP frame is sent or received on a TCP session in the ESTABLISHED state. In the base tree, this functionality is only used for the h_ertt module, which is used by the cc_cdg, cc_chd, cc_hd, and cc_vegas congestion control modules. Presently, we incur overhead to check for hooks each time a TCP frame is sent or received on an ESTABLISHED TCP session. This change adds a new compile-time option (TCP_HHOOK) to determine whether to include the hhook(9) framework for TCP. To retain backwards compatibility, I added the TCP_HHOOK option to every configuration file that already defined "options INET". (Therefore, this patch introduces no functional change. In order to see a functional difference, you need to compile a custom kernel without the TCP_HHOOK option.) This change will allow users to easily exclude this functionality from their kernel, should they wish to do so. Note that any users who use a custom kernel configuration and use one of the congestion control modules listed above will need to add the TCP_HHOOK option to their kernel configuration. Reviewed by: rrs, lstewart, hiren (previous version), sjg (makefiles only) Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D8185 Notes: svn path=/head/; revision=307082
* Retire WITHOUT_ELFCOPY_AS_OBJCOPY optionEd Maste2016-10-031-0/+4
| | | | | | | | | | | | | | | | | In FreeBSD 11 ELF Tool Chain's elfcopy is installed as objcopy by default, with the option to switch back to GNU objcopy by setting WITHOUT_ELFCOPY_AS_OBJCOPY in make.conf. We plan to remove the outdated in-tree binutils in FreeBSD 12, so remove the temporary transition aid. Reviewed by: brooks, imp Relnotes: Yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D7337 Notes: svn path=/head/; revision=306649
* Relocatable object files are renamed from *.So to *.picoMarcel Moolenaar2016-09-251-0/+6
| | | | | | | Reminder by: imp@ Notes: svn path=/head/; revision=306312
* Sperify that users can find rcs and rcs57 in portsBaptiste Daroussin2016-09-181-0/+3
| | | | | | | Reported by: cy Notes: svn path=/head/; revision=305946
* Use the proper wordBaptiste Daroussin2016-09-181-1/+1
| | | | | | | Reported by: danfe Notes: svn path=/head/; revision=305935
* Apparently we are supposed to use 2 spaces after full stopBaptiste Daroussin2016-09-181-1/+1
| | | | | | | Reported by: danfe Notes: svn path=/head/; revision=305934
* Disable GNU rcs by defaultBaptiste Daroussin2016-09-181-0/+4
| | | | | | | | | | | | | | | | All remaining tools using rcs has been switched to directly use diff3(1): - etcupdate(8) - freebsd-update(8) Note that the ident(1) tool is been already replaced long ago with a BSD licensed version, as such it remains installed. GNU rcs is still available from ports: - rcs: newer GPLv3 version - rcs57: the latest version from base (GPLv2) Notes: svn path=/head/; revision=305931
* Remove backup_uses_rcs from rc.subrBaptiste Daroussin2016-09-181-0/+3
| | | | | | | | | | | | In preparation for the removal of GNU rcs from base, remove the backup_uses_rcs functionality from the rc.subr backup_file feature. This functionnality was off by default Reviewed by: wblock Differential Revision: https://reviews.freebsd.org/D7883 Notes: svn path=/head/; revision=305929
* queue(3): Enhance queue debugging macrosConrad Meyer2016-09-081-0/+6
| | | | | | | | | | | | | | | | Split the QUEUE_MACRO_DEBUG into QUEUE_MACRO_DEBUG_TRACE and QUEUE_MACRO_DEBUG_TRASH. Add the debug macrso QMD_IS_TRASHED() and QMD_SLIST_CHECK_PREVPTR(). Document these in queue.3. Reviewed by: emaste Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D3984 Notes: svn path=/head/; revision=305627
* Bump __FreeBSD_version for r304787 and add a note about it to UPDATING.Navdeep Parhar2016-08-251-0/+6
| | | | Notes: svn path=/head/; revision=304789
* Don't check for broadcast IPs on non-bcast pktsRyan Stone2016-08-181-0/+8
| | | | | | | | | | | | | | in_broadcast() can be quite expensive, so skip calling it if the incoming mbuf wasn't sent to a broadcast L2 address in the first place. Reviewed by: gnn MFC after: 2 months Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D7309 Notes: svn path=/head/; revision=304436
* Remove the obsolete and unused openbsd_poll system call. (Phase 2)George V. Neville-Neil2016-08-181-0/+4
| | | | | | | | | Reported by: brooks Reviewed by: brooks, jhb Differential Revision: https://reviews.freebsd.org/D7548 Notes: svn path=/head/; revision=304402
* Minor wording improvements to the note about pipe(2) removal.Brooks Davis2016-07-201-5/+6
| | | | | | | | MFC after: 5 days Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=303103
* Revert r302865 and it's sister r302866 as r302865 causes some breakage.Cy Schubert2016-07-151-8/+0
| | | | | | | Reported by: Guy Yur <guyyur@gmail.com> Notes: svn path=/head/; revision=302898
* Document that missing KERNCONF files will now cause buildkernel to fail.Cy Schubert2016-07-151-0/+8
| | | | | | | | Suggested by: ngie@ Differential Revision: D7167 Notes: svn path=/head/; revision=302866
* Spell '12.x' correctly in UPDATING.Glen Barber2016-07-081-1/+1
| | | | | | | | | Submitted by: lidl Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=302420
* Reflect head is now 12.0-CURRENT.Glen Barber2016-07-081-1/+1
| | | | | | | | Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=302409
* Fix two typos in r302152.Brooks Davis2016-06-231-2/+2
| | | | | | | Approved by: re (implicit) Notes: svn path=/head/; revision=302154
* Add an UPDATING entry for the pipe() -> pipe2() transition.Brooks Davis2016-06-231-0/+8
| | | | | | | | Approved by: re (gjb) Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=302152
* Fix typo from r300880Alan Somers2016-05-271-1/+1
| | | | | | | | | Reported by: rpokala MFC after: Never Sponsored by: Spectra Logic Corp Notes: svn path=/head/; revision=300883
* Strip leading spaces off of a SCSI disk's serial numberAlan Somers2016-05-271-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | sys/cam/scsi/scsi_xpt.c Strip leading spaces off of a SCSI disk's reported serial number when populating the CAM serial number. This affects the output of "diskinfo -v" and the names of /dev/diskid/DISK-* device nodes, among other things. SPC5r05 says that the Product Serial Number field from the Unit Serial Number VPD page is right-aligned. So any leading spaces are not part of the actual serial number. Most devices don't left-pad their serial numbers, but some do. In particular, the SN VPD page that an LSI HBA emulates for a SATA drive contains enough left-padding to fill a 20-byte field. UPDATING Add a note to UPDATING, because some users may have to update /etc/fstab or geom labels. Reviewed by: ken, mav MFC after: Never Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D6516 Notes: svn path=/head/; revision=300880
* Add bit_count to the bitstring(3) apiAlan Somers2016-05-231-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a bit_count function, which efficiently counts the number of bits set in a bitstring. sys/sys/bitstring.h tests/sys/sys/bitstring_test.c share/man/man3/bitstring.3 Add bit_alloc sys/kern/subr_unit.c Use bit_count instead of a naive counting loop in check_unrhdr, used when INVARIANTS are enabled. The userland test runs about 6x faster in a generic build, or 8.5x faster when built for Nehalem, which has the POPCNT instruction. sys/sys/param.h Bump __FreeBSD_version due to the addition of bit_alloc UPDATING Add a note about the ABI incompatibility of the bitstring(3) changes, as suggested by lidl. Suggested by: gibbs Reviewed by: gibbs, ngie MFC after: 9 days X-MFC-With: 299090, 300538 Relnotes: yes Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D6255 Notes: svn path=/head/; revision=300539
* Add a note on how to update a self-hosted armv6hf system to the entryIan Lepore2016-05-231-0/+4
| | | | | | | describing the armv6hf->armv6 change. Notes: svn path=/head/; revision=300447
* Remove brk and sbrk from arm64. They were defined in The Single UNIXAndrew Turner2016-05-201-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | Specification, Version 2, but marked as legacy, and have been removed from later specifications. After 12 years it is time to remove them from new architectures when the main use for sbrk is an invalid method to attempt to find how much memory has been allocated from malloc. There are a few places in the tree that still call sbrk, however they are not used on arm64. They will need to be fixed to cross build from arm64, but these will be fixed in a follow up commit. Old copies of binutils from ports called into sbrk, however this has been fixed around 6 weeks ago. It is advised to update binutils on arm64 before installing a world that includes this change. Reviewed by: brooks, emaste Obtained from: brooks Relnotes: yes Sponsored by: ABT Systems Ltd Differential Revision: https://reviews.freebsd.org/D6464 Notes: svn path=/head/; revision=300303
* Make armv6 hard float abi by default. Kill armv6hf.Warner Losh2016-05-181-0/+8
| | | | | | | | | | Allow CPUTYPE=soft to build the current soft-float abi libraries. Add UPDATING entry to announce this. Approved by: re@ (gjb) Notes: svn path=/head/; revision=300119
* Change the default installation directory for modules to /boot/modules.John Baldwin2016-05-101-0/+8
| | | | | | | | | | | | | | Kernel installs always override KMODDIR when installing modules, so this default setting is only used for standalone module builds. Many out-of-tree modules manually override KMODDIR already to avoid placing modules in /boot/kernel. This now makes that behavior the default. Discussed on: arch@ Reviewed by: imp Relnotes: yes Notes: svn path=/head/; revision=299393
* Misc. build: minor spelling fixes.Pedro F. Giffuni2016-05-031-1/+1
| | | | | | | No functional change. Notes: svn path=/head/; revision=299007
* Add update.Warner Losh2016-04-151-5/+25
| | | | Notes: svn path=/head/; revision=298034
* Add note about CAM I/O scheduler.Warner Losh2016-04-141-0/+7
| | | | Notes: svn path=/head/; revision=298015
* Remove the old depend (mkdep) code and make FAST_DEPEND the one true way.Bryan Drewery2016-03-301-0/+5
| | | | | | | | | | Reviewed by: emaste, hselasky (partial), brooks (brief) Discussed on: arch@ Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D5742 Notes: svn path=/head/; revision=297434
* Use uintmax_t (typedef'd to rman_res_t type) for rman ranges.Justin Hibbits2016-03-181-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On some architectures, u_long isn't large enough for resource definitions. Particularly, powerpc and arm allow 36-bit (or larger) physical addresses, but type `long' is only 32-bit. This extends rman's resources to uintmax_t. With this change, any resource can feasibly be placed anywhere in physical memory (within the constraints of the driver). Why uintmax_t and not something machine dependent, or uint64_t? Though it's possible for uintmax_t to grow, it's highly unlikely it will become 128-bit on 32-bit architectures. 64-bit architectures should have plenty of RAM to absorb the increase on resource sizes if and when this occurs, and the number of resources on memory-constrained systems should be sufficiently small as to not pose a drastic overhead. That being said, uintmax_t was chosen for source clarity. If it's specified as uint64_t, all printf()-like calls would either need casts to uintmax_t, or be littered with PRI*64 macros. Casts to uintmax_t aren't horrible, but it would also bake into the API for resource_list_print_type() either a hidden assumption that entries get cast to uintmax_t for printing, or these calls would need the PRI*64 macros. Since source code is meant to be read more often than written, I chose the clearest path of simply using uintmax_t. Tested on a PowerPC p5020-based board, which places all device resources in 0xfxxxxxxxx, and has 8GB RAM. Regression tested on qemu-system-i386 Regression tested on qemu-system-mips (malta profile) Tested PAE and devinfo on virtualbox (live CD) Special thanks to bz for his testing on ARM. Reviewed By: bz, jhb (previous) Relnotes: Yes Sponsored by: Alex Perez/Inertial Computing Differential Revision: https://reviews.freebsd.org/D4544 Notes: svn path=/head/; revision=297000
* Enable FAST_DEPEND by default.Bryan Drewery2016-03-111-0/+10
| | | | | | | | Discussed on: arch Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296668
* Add an UPDATING entry about installing the boot loaders after installingDimitry Andric2016-03-061-0/+14
| | | | | | | the kernel, on amd64. Notes: svn path=/head/; revision=296430
* Upgrade our copies of clang, llvm, lldb and compiler-rt to 3.8.0Dimitry Andric2016-03-051-0/+5
| | | | | | | | | | | | | | | | | | | release. Please note that from 3.5.0 onwards, clang, llvm and lldb require C++11 support to build; see UPDATING for more information. Release notes for llvm and clang will soon be available here: <http://llvm.org/releases/3.8.0/docs/ReleaseNotes.html> <http://llvm.org/releases/3.8.0/tools/clang/docs/ReleaseNotes.html> Thanks to Ed Maste, Roman Divacky, Davide Italiano and Antoine Brodin for their help. Relnotes: yes Notes: svn path=/head/; revision=296417
* Add an UPDATING entry for the recent AIO changes.John Baldwin2016-03-041-0/+8
| | | | | | | Suggested by: maxim Notes: svn path=/head/; revision=296389
* Correct date on ELF Tool Chain UPDATING entryEd Maste2016-02-271-1/+1
| | | | | | | Reported by: dhw Notes: svn path=/head/; revision=296139
* Install elftoolchain elfcopy(1) as objcopy(1) by defaultEd Maste2016-02-261-0/+7
| | | | | | | | | | | | | | | As of r295661 elfcopy supports PE format for EFI boot binaries and is a viable objcopy implementation for the base system and ports. The (temporary) src.conf knob WITHOUT_ELFCOPY_AS_OBJCOPY knob may be set to obtain the GNU version if necessary. PR: 207091 [exp-run] Relnotes: Yes Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=296096
* Add a sysctl to allow ZFS pools backed by zvolsAlan Somers2016-01-291-0/+7
| | | | | | | | | | | | | | | Change 294329 removed the ability to build ZFS pools that are backed by zvols, because having that ability (even if it's not used) leads to deadlocks. By popular demand, I'm adding an off-by-default sysctl to reenable that ability. Reviewed by: lidl, delphij MFC after: Never Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D4998 Notes: svn path=/head/; revision=295045
* Enable DSA keys by default. They were disabled in OpenSSH 6.9p1.Dag-Erling Smørgrav2016-01-211-4/+0
| | | | | | | Noticed by: glebius Notes: svn path=/head/; revision=294495
* Note that new ssh(1) doesn't allow to use DSA keys by default.Gleb Smirnoff2016-01-211-0/+4
| | | | Notes: svn path=/head/; revision=294487
* As previously threatened, remove the HPN patch from OpenSSH.Dag-Erling Smørgrav2016-01-191-0/+4
| | | | Notes: svn path=/head/; revision=294325
* ypldap(8) is a feature ready to be used to translate nis(8) database to ldap(3).Marcelo Araujo2016-01-131-0/+5
| | | | | | | | | | | | | | | | | | This commit, fix a core dump on ypldap(8) related with memory allocation. Also an example of how to set the ypldap.conf(5) properly is added to examples files. A new user _ypldap is required to be able to run ypldap(8) as well as in a chroot mode. Reviewed by: rodrigc (mentor), bjk Approved by: bapt (mentor) Relnotes: Yes Sponsored by: gandi.net Differential Revision: https://reviews.freebsd.org/D4744 Notes: svn path=/head/; revision=293801
* pxeboot: make the tftp loader use the option root-path directiveBaptiste Daroussin2015-12-161-0/+6
| | | | | | | | | | | | | | | | | | | | | | | pxeboot in tftp loader mode (when built with LOADER_TFTP_SUPPORT) now prefix all the path to open with the path obtained via the option 'root-path' directive. This allows to be able to use the traditional content /boot out of box. Meaning it now works pretty much like all other loaders. It simplifies hosting hosting multiple version of FreeBSD on a tftp server. As a consequence, pxeboot does not look anymore for a pxeboot.4th (which was never provided) Note: that pxeboot in tftp loader mode is not built by default. Reviewed by: rpokala Relnotes: yes Sponsored by: Gandi.net Differential Revision: https://reviews.freebsd.org/D4590 Notes: svn path=/head/; revision=292344
* The new pnp module records causes older kldxref to spew someWarner Losh2015-12-131-0/+8
| | | | | | | warnings. Make a note of it to inform people how to get around it. Notes: svn path=/head/; revision=292177
* Build and install userland .debug files by defaultEd Maste2015-12-071-0/+7
| | | | | | | | | | | | | | | | Debug data files are now built by default with 'make buildworld' and installed with 'make installworld'. This facilitates debugging but requires more disk space both during the build and for the installed world. Debug files may be disabled by setting WITHOUT_DEBUG_FILES=yes in src.conf(5). Reviewed by: bdrewery, eadler, vangyzen Relnotes: Yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D4018 Notes: svn path=/head/; revision=291955
* Fix errors being ignored in many phases of the build since the bmake ↵Bryan Drewery2015-12-011-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | integration. Say it with me, "I will not chain commands with && in Makefiles" This was originally fixed and explained quite well by bde@ in r36074. The initial bmake integration caused 'set -e' to stop being used which lead to r252419. Later 'set -e' expectations were fixed with bmake in r254980. Because of the && here, errors would be ignored when building in parallel and a dependency failed. Such as bootstrap-tools since it builds everything in parallel. If any tool failed in obj/depend/all, it would just ignore the error and continue to build. This later would result in cascaded errors that only confused the real issue. This could also cause commands after the failed command to still execute, leading to more confusion. This should be fine if the command is in a sub-shell such as: (cmd1 && cmd2) This reverts r252419. MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291605
* Document the __FreeBSD_version bump done for r291527 in UPDATING.Rick Macklem2015-11-301-0/+5
| | | | Notes: svn path=/head/; revision=291538
* Recommend only to remove the content of /usr/share/locale/ and not the directoryBaptiste Daroussin2015-11-181-2/+2
| | | | | | | Add a missing full stop Notes: svn path=/head/; revision=291019
* Fix two spelling errorsEitan Adler2015-11-171-2/+2
| | | | Notes: svn path=/head/; revision=290999
* Fix typoBaptiste Daroussin2015-11-171-1/+1
| | | | | | | Submitted by: ngie Notes: svn path=/head/; revision=290998