History log of /freebsd-10-stable/tools/tools/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
319390 01-Jun-2017 ngie

MFC r314579,r314785:

r314579 (by np):

Add cxgbetool(8) to the base system.

Move cxgbetool from tools/tools to usr.sbin. Compile and install it on
platforms where cxgbe(4) is built by default. Knobs (WITH_CXGBETOOL and
WITHOUT_CXGBETOOL) have been added so that the user can override the
default setting.

r314785:

Fix some trivial manlint warnings

Sentences should begin on new lines, per manlint.

Bump .Dd for the change

316835 14-Apr-2017 avg

MFC r315077: uma: eliminate uk_slabsize field

312100 14-Jan-2017 ngie

MFC r311748:

Bump WARNS up from 0 to 6

312025 13-Jan-2017 ngie

MFC r311511:

Add integration makefile for contrib/bsnmp/gensnmpdef

It's a whole lot less error prone than generating the file completely
by hand.

309885 12-Dec-2016 brueffer

MFC: r309060

Fix comment typo.

PR: 208484
Submitted by: madpilot

309569 05-Dec-2016 jhb

MFC 306821,306823: Permit updating firmware config file in flash.

306821:
cxgbe(4): Add an ioctl to copy a firmware config file to the card's flash.

306823:
cxgbetool: Add a loadcfg subcommand to allow a user to upload a firmware
configuration file to the card.

309560 05-Dec-2016 jhb

MFC 305695,305696,305699,305702,305703,305713,305715,305827,305852,305906,
305908,306062,306063,306137,306138,306206,306216,306273,306295,306301,
306465,309302:
Add support for adapters using the Terminator T6 ASIC.

305695:
cxgbe(4): Set up fl_starve_threshold2 accurately for T6.

305696:
cxgbe(4): Use correct macro for header length with T6 ASICs. This
affects the transmit of the VF driver only.

305699:
cxgbe(4): Update the pad_boundary calculation for T6, which has a
different range of boundaries.

305702:
cxgbe(4): Use smaller min/max bursts for fl descriptors with a T6.

305703:
cxgbe(4): Deal with the slightly different SGE_STAT_CFG in T6.

305713:
cxgbe(4): Add support for additional port types and link speeds.

305715:
cxgbe(4): Catch up with the rename of tlscaps -> cryptocaps. TLS is one
of the capabilities of the crypto engine in T6.

305827:
cxgbe(4): Use the interface's viid to calculate the PF/VF/VFValid fields
to use in tx work requests.

305852:
cxgbe(4): Attach to cards with the Terminator 6 ASIC. T6 cards will
come up as 't6nex' nexus devices with 'cc' ports hanging off them.

The T6 firmware and configuration files will be added as soon as they
are released. For now the driver will try to work with whatever
firmware and configuration is on the card's flash.

305906:
cxgbe/t4_tom: The SMAC entry for a VI is at a different location in the T6.

305908:
cxgbe/t4_tom: Update the active/passive open code to support T6. Data
path works as-is.

306062:
cxgbe(4): Show wcwr_stats for T6 cards.

306063:
cxgbe(4): Setup congestion response for T6 rx queues.

306137:
cxgbetool: Add T6 support to the SGE context decoder.

306138:
Fix typo.

306206:
cxgbe(4): Catch up with the different layout of WHOAMI in T6.

Note that the code moved below t4_prep_adapter() as part of this change
because now it needs a working chip_id().

306216:
cxgbe(4): Fix the output of the "tids" sysctl on T6.

306273:
cxgbe(4): Fix netmap with T6, which doesn't encapsulate SGE_EGR_UPDATE
message inside a FW_MSG. The base NIC already deals with updates in
either form.

306295:
cxgbe(4): Support SIOGIFXMEDIA so that ifconfig displays correct media
for 25Gbps and 100Gbps ports. This should have been part of r305713,
which is when the driver first started reporting extended media types.

306301:
cxgbe(4): Use the port's top speed to figure out whether it is "high
speed" or not (for the purpose of calculating the number of queues etc.)
This does the right thing for 25Gbps and 100Gbps ports.

306465:
cxgbe(4): Claim the T6 -DBG card.

309302:
cxgbe(4): Include firmware for T6 cards in the driver. Update all
firmwares to 1.16.12.0.

Sponsored by: Chelsio Communications


/freebsd-10-stable/sys/conf/files
/freebsd-10-stable/sys/dev/cxgbe/adapter.h
/freebsd-10-stable/sys/dev/cxgbe/common/common.h
/freebsd-10-stable/sys/dev/cxgbe/common/t4_hw.c
/freebsd-10-stable/sys/dev/cxgbe/common/t4vf_hw.c
/freebsd-10-stable/sys/dev/cxgbe/firmware/t4fw-1.15.37.0.bin.uu
/freebsd-10-stable/sys/dev/cxgbe/firmware/t4fw-1.16.12.0.bin.uu
/freebsd-10-stable/sys/dev/cxgbe/firmware/t4fw_interface.h
/freebsd-10-stable/sys/dev/cxgbe/firmware/t5fw-1.15.37.0.bin.uu
/freebsd-10-stable/sys/dev/cxgbe/firmware/t5fw-1.16.12.0.bin.uu
/freebsd-10-stable/sys/dev/cxgbe/firmware/t5fw_cfg_uwire.txt
/freebsd-10-stable/sys/dev/cxgbe/firmware/t6fw-1.16.12.0.bin.uu
/freebsd-10-stable/sys/dev/cxgbe/firmware/t6fw_cfg.txt
/freebsd-10-stable/sys/dev/cxgbe/firmware/t6fw_cfg_fpga.txt
/freebsd-10-stable/sys/dev/cxgbe/firmware/t6fw_cfg_uwire.txt
/freebsd-10-stable/sys/dev/cxgbe/if_cc.c
/freebsd-10-stable/sys/dev/cxgbe/if_ccv.c
/freebsd-10-stable/sys/dev/cxgbe/t4_main.c
/freebsd-10-stable/sys/dev/cxgbe/t4_netmap.c
/freebsd-10-stable/sys/dev/cxgbe/t4_sge.c
/freebsd-10-stable/sys/dev/cxgbe/t4_tracer.c
/freebsd-10-stable/sys/dev/cxgbe/t4_vf.c
/freebsd-10-stable/sys/dev/cxgbe/tom/t4_connect.c
/freebsd-10-stable/sys/dev/cxgbe/tom/t4_listen.c
/freebsd-10-stable/sys/dev/cxgbe/tom/t4_tom.c
/freebsd-10-stable/sys/modules/cxgbe/Makefile
/freebsd-10-stable/sys/modules/cxgbe/if_cc
/freebsd-10-stable/sys/modules/cxgbe/if_ccv
/freebsd-10-stable/sys/modules/cxgbe/t4_firmware/Makefile
/freebsd-10-stable/sys/modules/cxgbe/t5_firmware/Makefile
/freebsd-10-stable/sys/modules/cxgbe/t6_firmware
cxgbetool/cxgbetool.c
308321 04-Nov-2016 jhb

MFC 301516,301520,301531,301535,301540,301542,301628: Traffic scheduling
updates.

301516:
cxgbetool: Allow max-rate > 10Gbps for rate-limited traffic.

301520:
cxgbe(4): Create a reusable struct type for scheduling class parameters.

301531:
cxgbe(4): Break up set_sched_class. Validate the channel number and
min/max rates against their actual limits (which are chip and port
specific) instead of hardcoded constants.

301535:
cxgbe(4): Track the state of the hardware traffic schedulers in the
driver. This works as long as everyone uses set_sched_class_params
to program them.

301540:
cxgbe(4): Provide information about traffic classes in the sysctl mib.

301542:
cxgbe(4): A couple of fixes to set_sched_queue.

- Validate the scheduling class against the actual limit (which is chip
specific) instead of a magic number.

- Return an error if an attempt is made to manipulate the tx queues of a
VI that hasn't been initialized.

301628:
cxgbe(4): Add a sysctl to manage the binding of a txq to a traffic class.

Sponsored by: Chelsio Communications

308304 04-Nov-2016 jhb

MFC 295778,296249,296333,296383,296471,296478,296481,296485,296488-296491,
296493-296496,296544,296710-296711,297863,299685: Catch up to changes to
the internal shared code.

Note that this merge includes two different firmware updates, but the
effective change is to update to the last version (1.15.37.0). As such,
I've trimmed the log message of the first update (1.15.28.0).

In addition, the M_WAIT macro added in t4_regs.h had to be renamed to
CXGBE_M_WAIT to avoid a collision on 10.x that is not present on 11.

295778:
cxgbe: catch up with the latest hardware-related definitions.

296249:
cxgbe(4): Update T5 and T4 firmwares to 1.15.28.0.

296333:
cxgbe(4): First of many changes to reduce diffs with internal shared
code:

- Rename some CamelCase variables.
- s/t4_link_start/t4_link_l1cfg/g
- Pull in t4_get_port_type_description.
- Move t4_wait_op_done to t4_hw.c.
- Flip the order of the RDMA stats.
- Remove unsused function t4_iq_start_stop.
- Move t4_wait_op_done and t4_wait_op_done_val to t4_hw.c

296383:
cxgbe(4): Very basic T6 awareness. This is part of ongoing work to
update to the latest internal shared code.

- Add a chip_params structure to keep track of hardware constants for
all generations of Terminators handled by cxgbe.
- Update t4_hw_pci_read_cfg4 to work with T6.
- Update the hardware debug sysctls (hidden within dev.<tNnex>.<n>.misc.*) to
work with T6. Most of the changes are in the decoders for the CIM
logic analyzer and the MPS TCAM.
- Acquire the regwin lock around indirect register accesses.

296471:
cxgbe(4): Updated register dumps.

- Get the list of registers to read during a regdump from the shared
code instead of the OS specific code. This follows a similar move
internally. The shared code includes the list for T6.

- Update cxgbetool to be able to decode T5 VF, T6, and T6 VF register
dumps (and catch up with some updates to T4 and T5 register decode).

296478:
cxgbe(4): Add a struct sge_params to store per-adapter SGE parameters.
Move the code that reads all the parameters to t4_init_sge_params in the
shared code. Use these per-adapter values instead of globals.

296481:
cxgbe(4): Overhaul the shared code that deals with the chip's TP block,
which is responsible for filtering and RSS.

Add the ability to use filters that match on PF/VF (aka "VNIC id") while
here. This is mutually exclusive with filtering on outer VLAN tag with
Q-in-Q.

296485:
cxgbe(4): Update the interrupt handlers for hardware errors.

296488:
cxgbe(4): Updates to mailbox routines in the shared code.

296489:
cxgbe(4): Updates to the shared routines that deal with the serial EEPROM,
flash, and VPD.

296490:
cxgbe(4): Remove __devinit and SPEED_<foo> as part of catch up with
internal shared code.

296491:
cxgbe(4): Updates to shared routines that get/set various parameters via
the firmware.

296493:
cxgbe(4): Use t4_link_down_rc_str in shared code to decode the reason
the link is down, instead of doing it in OS specific code.

296494:
cxgbe(4): Many new functions in the shared code, unused at this time.

296495:
cxgbe(4): Fix t4_tp_get_rdma_stats.

296496:
cxgbe(4): Minor updates to the shared routines that deal with firmware images.

296544:
cxgbe(4): Reshuffle and rototill t4_hw.c, solely to reduce diffs with
the internal shared code.

296710:
cxgbe(4): Catch up with the latest list of card capabilities as reported
by the firmware.

296711:
cxgbe(4): Fix typo in previous commit.

297863:
Rename the 'M_B' macro in t4_regs.h to 'CXGBE_M_B'.

This fixes a conflict with the M_B macro in powerpc's
<machine/db_machdep.h> exposed by the recent addition of DDB commands
to the cxgbe driver.

299685:
cxgbe(4): Update T5 and T4 firmwares to 1.15.37.0.

These firmwares were obtained from the "Chelsio T5/T4 Unified Wire
v2.12.0.3 for Linux" release. Changes since 1.14.4.0 (which is the
firmware in -STABLE branches) are in the "Release Notes" accompanying
the Unified Wire release and are copy-pasted here as well.

22.1. T5 Firmware
+++++++++++++++++++++++++++++++++

Version : 1.15.37.0
Date : 04/27/2016
================================================================================

FIXES
-----

BASE:
- Fixed an issue in FW_RSS_VI_CONFIG_CMD handling where the default ingress
queue was ignored.
- Fixed an issue where adapter failed to load fw by adjusting DRAM frequency.
- Fixed an issue in watchdog which was causing VM bring-up failure after reboot.
- Fixed 40G link failures with some switches when auto-negotiation enabled.
- Fixed to improve on link bring-up time.
- Per port buffer groups size doubled to improve performance.
- Fixed an issue where bogus d3hot bits were set causing traffic stall.
- Fixed an issue where sometimes adapter was not seen after reboot.
- Fixed an issue where iWARP was crashing in conjunction with traffic management.
- Fixed an issue where link failed to come up after removing twinax cable and
inserting optical module.

ETH
- Fixed a link flap issue on T580-CR.

OFLD
- Fixed a potential iSCSI data corruption issue by disabling RxFragEn flag.

FOiSCSI
- Fixed an issue in recovery path where connection was getting closed before
recovery processing was done.
- Fixed an issue in TCP port reuse.
- Fixed an issue in recovery path when large number (>64) of iSCSI connections
were in use.
- Returned ENETUNREACH if IP was not been provisioned yet and driver tried to
use given inerface.
- Fixed an issue where fw was sending ENETUNREACH event for normal tcp
disconnection.

DCBX
- Fixed an issue where iscsi tlv is sent incorrectly to host. (DCBX CEE)
- Fixed an issue where apply bit set for APP id was affecting the ETS and PFC
settings.(DCBX IEEE)
- Fixed an issue where app priority values are not handled correctly in fw.
(DCBX IEEE)
- Fixed an issue where enable/disable dcbx can cause crash. (DCBX CEE,DCBX IEEE)

FOFCoE
- Removed BB6 support.

ENHANCEMENTS
------------

BASE:
- Added new interface to program DCA settings in SGE contexts; allow 32-byte
IQE size
- Added PTP interface fw_ptp_ts to support PTP Frequeny and Offset adjustment.
- Added MPS raw interface.

ETH:
- New mailbox command FW_DCB_IEEE_CMD api added for IEEE dcbx.

OFLD:
- WR opcode is returned to host in cqe error response.

22.2. T4 Firmware
+++++++++++++++++

Version : 1.15.37.0
Date : 04/27/2016
================================================================================

FIXES
-----

BASE:
- Fixed an issue in FW_RSS_VI_CONFIG_CMD handling where default ingress queue
was ignored.
- Fixed an issue in watchdog which was causing VM bring-up failure after reboot.
- Per port buffer groups size doubled to improve performance.
- Fixed an issue where iWARP was crashing in conjunction with traffic management.

FOiSCSI:
- Fixed an issue in recovery path where connection was getting closed before
recovery processing was done.
- Fixed an issue in TCP port reuse.
- Fixed an issue in recovery path when large number (>64) of iSCSI connections
were in use.
- Returned ENETUNREACH if IP had not been provisioned yet and driver tried to
use given inerface.

DCBX
- Fixed an issue where iscsi tlv is sent incorrectly to host.(DCBX CEE)
- Fixed an issue where enable/disable dcbx can cause crash in firmware.(DCBX CEE)

FOiSCSI
- Fixes an issue where fw was sending ENETUNREACH event for normal tcp
disconnection.

FOFCoE
- Removed BB6 support.

ENHANCEMENTS
------------

BASE:
- Added MPS raw interface.

ETH:
- New mailbox command FW_DCB_IEEE_CMD api added for IEEE dcbx.
================================================================================

Sponsored by: Chelsio Communications


/freebsd-10-stable/sys/conf/files
/freebsd-10-stable/sys/dev/cxgbe/adapter.h
/freebsd-10-stable/sys/dev/cxgbe/common/common.h
/freebsd-10-stable/sys/dev/cxgbe/common/t4_hw.c
/freebsd-10-stable/sys/dev/cxgbe/common/t4_hw.h
/freebsd-10-stable/sys/dev/cxgbe/common/t4_msg.h
/freebsd-10-stable/sys/dev/cxgbe/common/t4_regs.h
/freebsd-10-stable/sys/dev/cxgbe/common/t4_regs_values.h
/freebsd-10-stable/sys/dev/cxgbe/common/t4_tcb.h
/freebsd-10-stable/sys/dev/cxgbe/firmware/t4fw-1.14.4.0.bin.uu
/freebsd-10-stable/sys/dev/cxgbe/firmware/t4fw-1.15.37.0.bin.uu
/freebsd-10-stable/sys/dev/cxgbe/firmware/t4fw_cfg.txt
/freebsd-10-stable/sys/dev/cxgbe/firmware/t4fw_cfg_uwire.txt
/freebsd-10-stable/sys/dev/cxgbe/firmware/t4fw_interface.h
/freebsd-10-stable/sys/dev/cxgbe/firmware/t5fw-1.14.4.0.bin.uu
/freebsd-10-stable/sys/dev/cxgbe/firmware/t5fw-1.15.37.0.bin.uu
/freebsd-10-stable/sys/dev/cxgbe/firmware/t5fw_cfg.txt
/freebsd-10-stable/sys/dev/cxgbe/firmware/t5fw_cfg_uwire.txt
/freebsd-10-stable/sys/dev/cxgbe/iw_cxgbe/device.c
/freebsd-10-stable/sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h
/freebsd-10-stable/sys/dev/cxgbe/iw_cxgbe/qp.c
/freebsd-10-stable/sys/dev/cxgbe/osdep.h
/freebsd-10-stable/sys/dev/cxgbe/t4_ioctl.h
/freebsd-10-stable/sys/dev/cxgbe/t4_main.c
/freebsd-10-stable/sys/dev/cxgbe/t4_netmap.c
/freebsd-10-stable/sys/dev/cxgbe/t4_sge.c
/freebsd-10-stable/sys/dev/cxgbe/tom/t4_connect.c
/freebsd-10-stable/sys/modules/cxgbe/t4_firmware/Makefile
/freebsd-10-stable/sys/modules/cxgbe/t5_firmware/Makefile
cxgbetool/cxgbetool.c
cxgbetool/reg_defs_t4.c
cxgbetool/reg_defs_t4vf.c
cxgbetool/reg_defs_t5.c
cxgbetool/reg_defs_t6.c
308303 04-Nov-2016 jhb

MFC 287297,296236: Cleanups to cxgbetool.

287297:
- Replace N(a)/N(i)/N(T)/LEN(a)/ARRAY_SIZE(a) with nitems()
- Add missing <err.h> for err() and <sys/sysctl.h> for sysctlbyname()
- NULL -> 0 for 5th parameter of sysctlbyname()

Note, the original commit touched several files under tools/tools, but
this commit only includes changes to cxgbetool.

296236:
Fix some whitespace nits in cxgbetool.c. No functional change.

Sponsored by: Chelsio Communications

307403 16-Oct-2016 sevan

MFC r267667:
use .Mt to mark up email addresses consistently (part1)

PR: 191174
Submitted by: Franco Fichtner <franco at lastsummer.de>


/freebsd-10-stable/bin/chio/chio.1
/freebsd-10-stable/bin/freebsd-version/freebsd-version.1
/freebsd-10-stable/bin/pkill/pkill.1
/freebsd-10-stable/bin/setfacl/setfacl.1
/freebsd-10-stable/games/morse/morse.6
/freebsd-10-stable/games/random/random.6
/freebsd-10-stable/sbin/adjkerntz/adjkerntz.8
/freebsd-10-stable/sbin/atm/atmconfig/atmconfig.8
/freebsd-10-stable/sbin/camcontrol/camcontrol.8
/freebsd-10-stable/sbin/dhclient/dhclient-script.8
/freebsd-10-stable/sbin/dhclient/dhclient.8
/freebsd-10-stable/sbin/dhclient/dhclient.conf.5
/freebsd-10-stable/sbin/dhclient/dhclient.leases.5
/freebsd-10-stable/sbin/dhclient/dhcp-options.5
/freebsd-10-stable/sbin/ffsinfo/ffsinfo.8
/freebsd-10-stable/sbin/fsirand/fsirand.8
/freebsd-10-stable/sbin/gbde/gbde.8
/freebsd-10-stable/sbin/geom/class/cache/gcache.8
/freebsd-10-stable/sbin/geom/class/concat/gconcat.8
/freebsd-10-stable/sbin/geom/class/eli/geli.8
/freebsd-10-stable/sbin/geom/class/journal/gjournal.8
/freebsd-10-stable/sbin/geom/class/label/glabel.8
/freebsd-10-stable/sbin/geom/class/mirror/gmirror.8
/freebsd-10-stable/sbin/geom/class/mountver/gmountver.8
/freebsd-10-stable/sbin/geom/class/multipath/gmultipath.8
/freebsd-10-stable/sbin/geom/class/nop/gnop.8
/freebsd-10-stable/sbin/geom/class/part/gpart.8
/freebsd-10-stable/sbin/geom/class/raid/graid.8
/freebsd-10-stable/sbin/geom/class/raid3/graid3.8
/freebsd-10-stable/sbin/geom/class/sched/gsched.8
/freebsd-10-stable/sbin/geom/class/shsec/gshsec.8
/freebsd-10-stable/sbin/geom/class/stripe/gstripe.8
/freebsd-10-stable/sbin/geom/class/virstor/gvirstor.8
/freebsd-10-stable/sbin/geom/core/geom.8
/freebsd-10-stable/sbin/ggate/ggatec/ggatec.8
/freebsd-10-stable/sbin/ggate/ggated/ggated.8
/freebsd-10-stable/sbin/ggate/ggatel/ggatel.8
/freebsd-10-stable/sbin/growfs/growfs.8
/freebsd-10-stable/sbin/gvinum/gvinum.8
/freebsd-10-stable/sbin/hastctl/hastctl.8
/freebsd-10-stable/sbin/hastd/hast.conf.5
/freebsd-10-stable/sbin/hastd/hastd.8
/freebsd-10-stable/sbin/ipfw/ipfw.8
/freebsd-10-stable/sbin/kldconfig/kldconfig.8
/freebsd-10-stable/sbin/kldload/kldload.8
/freebsd-10-stable/sbin/kldstat/kldstat.8
/freebsd-10-stable/sbin/kldunload/kldunload.8
/freebsd-10-stable/sbin/md5/md5.1
/freebsd-10-stable/sbin/mdconfig/mdconfig.8
/freebsd-10-stable/sbin/mount/mount.conf.8
/freebsd-10-stable/sbin/mount_cd9660/mount_cd9660.8
/freebsd-10-stable/sbin/mount_msdosfs/mount_msdosfs.8
/freebsd-10-stable/sbin/mount_unionfs/mount_unionfs.8
/freebsd-10-stable/sbin/natd/natd.8
/freebsd-10-stable/sbin/newfs_msdos/newfs_msdos.8
/freebsd-10-stable/sbin/newfs_nandfs/newfs_nandfs.8
/freebsd-10-stable/sbin/nos-tun/nos-tun.8
/freebsd-10-stable/sbin/nvmecontrol/nvmecontrol.8
/freebsd-10-stable/sbin/rcorder/rcorder.8
/freebsd-10-stable/sbin/reboot/nextboot.8
/freebsd-10-stable/sbin/recoverdisk/recoverdisk.1
/freebsd-10-stable/sbin/sconfig/sconfig.8
/freebsd-10-stable/share/examples/mdoc/example.1
/freebsd-10-stable/share/examples/mdoc/example.3
/freebsd-10-stable/share/examples/mdoc/example.4
/freebsd-10-stable/share/examples/mdoc/example.9
/freebsd-10-stable/share/examples/scsi_target/scsi_target.8
ether_reflect/ether_reflect.1
fixwhite/fixwhite.1
mcgrab/mcgrab.1
mctest/mctest.1
sysdoc/sysdoc.sh
vimage/vimage.8
306467 30-Sep-2016 jhb

MFC 303887: Add a dmardump utility to dump the VT-d context tables.

This tool parses the ACPI DMAR table looking for DMA remapping devices.
For each device it walks the root table and any context tables
referenced to display mapping info for PCI devices.

Note that acpidump -t already parses the info in the ACPI DMAR tables
directly. This tool examines some of the data structures the DMAR
remapping engines use to translate DMA requests.

Sponsored by: Chelsio Communications

301678 08-Jun-2016 ngie

MFC r300861,r300862:

r300861:

- Sort make variables
- Use SRCTOP instead of ad hoc definition for it

r300862:

Install ioatcontrol to /usr/bin by default instead of /

301677 08-Jun-2016 ngie

MFC r300856,r300857,r300858,r300874:

r300856:

Initialize `t` with memset(.., 0, ..)

This will help ensure that we're not using random garbage on the stack by
accident with respect to the variable

r300857:

Document the default behavior for -c (0)

Bump .Dd for the change

r300858:

Fix description for -V in the -r case

t.verify_test = true is always set when -V is specified, regardless of whether
or not the tool is being run in raw mode

r300874:

Update usage(..)

- Document missing options
- Sync options with ioatcontrol(8).
- Make it clear that the first 2 parameters are always required.

300668 25-May-2016 mav

Fix build on stable/10.

300661 25-May-2016 mav

MFC ioat(4) driver in its present state.

299826 15-May-2016 pfg

MFC r298881, 298882, 298883, 298885:

Minor spelling fixes in:
tools, share, bluetooth, pmcstat, etc

Many of these have user-visible strings.

290986 17-Nov-2015 avg

MFC r290452: zfsboottest: catch up with r241289, call zfs_spa_init() for
all found pools

290984 17-Nov-2015 avg

MFC r290451: zfsboottest: build as a 32 bit application

289959 25-Oct-2015 ngie

MFC r286822:

Reap MK_SYSINSTALL

It's no longer in use in the tree (most likely missed when sade/sysinstall
were removed)

286272 04-Aug-2015 np

MFC r284984:

cxgbetool: fix code that decodes T5 SGE contexts. Some of the fields
that changed between T4 and T5 were not displayed correctly.

281246 08-Apr-2015 np

MFC r276598, r276607.

r276598:
Add a manual page for cxgbetool. It is incomplete but definitely
better than nothing.

r276607:
Fix all nits reported by mandoc -Tlint.

276486 31-Dec-2014 ngie

MFC r264400,r265836:

r264400:

NO_MAN= has been deprecated in favor of MAN= for some time, go ahead
and finish the job. ncurses is now the only Makefile in the tree that
uses it since it wasn't a simple mechanical change, and will be
addressed in a future commit.

r265836:

Remove last two NO_MAN= in the tree. In both of these cases, MAN= is
what is needed.


/freebsd-10-stable/cddl/usr.bin/sgsmsg/Makefile
/freebsd-10-stable/cddl/usr.bin/zinject/Makefile
/freebsd-10-stable/cddl/usr.bin/zlook/Makefile
/freebsd-10-stable/cddl/usr.bin/ztest/Makefile
/freebsd-10-stable/cddl/usr.sbin/zhack/Makefile
/freebsd-10-stable/contrib/libucl/Makefile.am
/freebsd-10-stable/contrib/libucl/doc/Makefile.am
/freebsd-10-stable/contrib/libucl/tests/Makefile.am
/freebsd-10-stable/contrib/libucl/utils/Makefile.am
/freebsd-10-stable/contrib/ofed/usr.bin/ibsendtrap/Makefile
/freebsd-10-stable/contrib/ofed/usr.lib/libsdp/Makefile
/freebsd-10-stable/crypto/heimdal/appl/Makefile.am
/freebsd-10-stable/crypto/heimdal/appl/ftp/Makefile.am
/freebsd-10-stable/crypto/heimdal/appl/ftp/common/Makefile.am
/freebsd-10-stable/crypto/heimdal/lib/Makefile.am
/freebsd-10-stable/crypto/heimdal/lib/ipc/Makefile.am
/freebsd-10-stable/games/fortune/unstr/Makefile
/freebsd-10-stable/games/ppt/Makefile
/freebsd-10-stable/games/primes/Makefile
/freebsd-10-stable/gnu/usr.bin/cc/c++/Makefile
/freebsd-10-stable/gnu/usr.bin/cc/c++filt/Makefile
/freebsd-10-stable/gnu/usr.bin/cc/cc1/Makefile
/freebsd-10-stable/gnu/usr.bin/cc/cc1plus/Makefile
/freebsd-10-stable/gnu/usr.bin/cc/collect2/Makefile
/freebsd-10-stable/gnu/usr.bin/cc/protoize/Makefile
/freebsd-10-stable/gnu/usr.bin/gdb/Makefile.inc
/freebsd-10-stable/gnu/usr.bin/gdb/gdbtui/Makefile
/freebsd-10-stable/gnu/usr.bin/groff/src/devices/grohtml/Makefile
/freebsd-10-stable/gnu/usr.bin/groff/src/preproc/html/Makefile
/freebsd-10-stable/kerberos5/libexec/digest-service/Makefile
/freebsd-10-stable/kerberos5/libexec/ipropd-slave/Makefile
/freebsd-10-stable/kerberos5/tools/asn1_compile/Makefile
/freebsd-10-stable/kerberos5/tools/make-roken/Makefile
/freebsd-10-stable/kerberos5/tools/slc/Makefile
/freebsd-10-stable/kerberos5/usr.bin/hxtool/Makefile
/freebsd-10-stable/kerberos5/usr.bin/ksu/Makefile
/freebsd-10-stable/lib/libarchive/test/Makefile
/freebsd-10-stable/lib/libauditd/Makefile
/freebsd-10-stable/lib/libproc/Makefile
/freebsd-10-stable/lib/libproc/test/t1-bkpt/Makefile
/freebsd-10-stable/lib/libproc/test/t2-name2map/Makefile
/freebsd-10-stable/lib/libproc/test/t3-name2sym/Makefile
/freebsd-10-stable/lib/ncurses/form/Makefile
/freebsd-10-stable/lib/ncurses/menu/Makefile
/freebsd-10-stable/lib/ncurses/ncurses/Makefile
/freebsd-10-stable/lib/ncurses/panel/Makefile
/freebsd-10-stable/libexec/bootpd/bootpgw/Makefile
/freebsd-10-stable/libexec/ulog-helper/Makefile
/freebsd-10-stable/release/picobsd/tinyware/aps/Makefile
/freebsd-10-stable/release/picobsd/tinyware/help/Makefile
/freebsd-10-stable/release/picobsd/tinyware/msg/Makefile
/freebsd-10-stable/release/picobsd/tinyware/ns/Makefile
/freebsd-10-stable/release/picobsd/tinyware/oinit/Makefile
/freebsd-10-stable/release/picobsd/tinyware/simple_httpd/Makefile
/freebsd-10-stable/release/picobsd/tinyware/sps/Makefile
/freebsd-10-stable/release/picobsd/tinyware/view/Makefile
/freebsd-10-stable/release/picobsd/tinyware/vm/Makefile
/freebsd-10-stable/rescue/rescue/Makefile
/freebsd-10-stable/sbin/geom/Makefile
/freebsd-10-stable/sbin/rtsol/Makefile
/freebsd-10-stable/secure/lib/libcrypto/engines/lib4758cca/Makefile
/freebsd-10-stable/share/examples/FreeBSD_version/Makefile
/freebsd-10-stable/share/examples/find_interface/Makefile
/freebsd-10-stable/share/examples/kld/cdev/test/Makefile
/freebsd-10-stable/share/examples/kld/syscall/test/Makefile
/freebsd-10-stable/share/examples/libvgl/Makefile
/freebsd-10-stable/share/examples/perfmon/Makefile
/freebsd-10-stable/share/examples/ppi/Makefile
/freebsd-10-stable/share/mk/bsd.README
/freebsd-10-stable/share/mk/bsd.test.mk
/freebsd-10-stable/sys/boot/amd64/boot1.efi/Makefile
/freebsd-10-stable/sys/boot/amd64/efi/Makefile
/freebsd-10-stable/sys/boot/arm/at91/boot0/Makefile
/freebsd-10-stable/sys/boot/arm/at91/boot0iic/Makefile
/freebsd-10-stable/sys/boot/arm/at91/boot0spi/Makefile
/freebsd-10-stable/sys/boot/arm/at91/boot2/Makefile
/freebsd-10-stable/sys/boot/arm/at91/bootiic/Makefile
/freebsd-10-stable/sys/boot/arm/at91/bootspi/Makefile
/freebsd-10-stable/sys/boot/arm/at91/libat91/Makefile
/freebsd-10-stable/sys/boot/arm/ixp425/boot2/Makefile
/freebsd-10-stable/sys/boot/i386/boot0/Makefile
/freebsd-10-stable/sys/boot/i386/btx/btx/Makefile
/freebsd-10-stable/sys/boot/i386/btx/btxldr/Makefile
/freebsd-10-stable/sys/boot/i386/btx/lib/Makefile
/freebsd-10-stable/sys/boot/i386/cdboot/Makefile
/freebsd-10-stable/sys/boot/i386/kgzldr/Makefile
/freebsd-10-stable/sys/boot/i386/mbr/Makefile
/freebsd-10-stable/sys/boot/i386/pmbr/Makefile
/freebsd-10-stable/sys/boot/i386/zfsloader/Makefile
/freebsd-10-stable/sys/boot/ia64/efi/Makefile
/freebsd-10-stable/sys/boot/ia64/ski/Makefile
/freebsd-10-stable/sys/boot/libstand32/Makefile
/freebsd-10-stable/sys/boot/pc98/boot0.5/Makefile
/freebsd-10-stable/sys/boot/pc98/boot0/Makefile
/freebsd-10-stable/sys/boot/pc98/btx/btx/Makefile
/freebsd-10-stable/sys/boot/pc98/btx/btxldr/Makefile
/freebsd-10-stable/sys/boot/pc98/btx/lib/Makefile
/freebsd-10-stable/sys/boot/pc98/cdboot/Makefile
/freebsd-10-stable/sys/boot/pc98/kgzldr/Makefile
/freebsd-10-stable/sys/boot/powerpc/boot1.chrp/Makefile
/freebsd-10-stable/sys/boot/powerpc/uboot/Makefile
/freebsd-10-stable/sys/boot/sparc64/boot1/Makefile
/freebsd-10-stable/sys/boot/userboot/libstand/Makefile
/freebsd-10-stable/sys/boot/userboot/test/Makefile
/freebsd-10-stable/sys/boot/userboot/userboot/Makefile
/freebsd-10-stable/sys/crypto/rijndael/Makefile
/freebsd-10-stable/sys/dev/aic7xxx/aicasm/Makefile
/freebsd-10-stable/sys/dev/patm/genrtab/Makefile
/freebsd-10-stable/tests/sys/netinet/Makefile
/freebsd-10-stable/tools/KSE/ksetest/Makefile
/freebsd-10-stable/tools/KSE/rr/Makefile
/freebsd-10-stable/tools/bsdbox/Makefile
/freebsd-10-stable/tools/diag/dumpvfscache/Makefile
/freebsd-10-stable/tools/diag/localeck/Makefile
/freebsd-10-stable/tools/regression/acct/Makefile
/freebsd-10-stable/tools/regression/aio/aiop/Makefile
/freebsd-10-stable/tools/regression/aio/aiotest/Makefile
/freebsd-10-stable/tools/regression/aio/kqueue/Makefile
/freebsd-10-stable/tools/regression/aio/kqueue/lio/Makefile
/freebsd-10-stable/tools/regression/audit/audit_pipe_ioctl/Makefile
/freebsd-10-stable/tools/regression/doat/Makefile
/freebsd-10-stable/tools/regression/environ/Makefile.envctl
/freebsd-10-stable/tools/regression/environ/Makefile.retention
/freebsd-10-stable/tools/regression/environ/Makefile.timings
/freebsd-10-stable/tools/regression/ethernet/ethermulti/Makefile
/freebsd-10-stable/tools/regression/execve/Makefile
/freebsd-10-stable/tools/regression/fifo/fifo_create/Makefile
/freebsd-10-stable/tools/regression/fifo/fifo_io/Makefile
/freebsd-10-stable/tools/regression/fifo/fifo_misc/Makefile
/freebsd-10-stable/tools/regression/fifo/fifo_open/Makefile
/freebsd-10-stable/tools/regression/file/dup/Makefile
/freebsd-10-stable/tools/regression/file/flock/Makefile
/freebsd-10-stable/tools/regression/file/ftruncate/Makefile
/freebsd-10-stable/tools/regression/file/newfileops_on_fork/Makefile
/freebsd-10-stable/tools/regression/filemon/Makefile
/freebsd-10-stable/tools/regression/fsx/Makefile
/freebsd-10-stable/tools/regression/gaithrstress/Makefile
/freebsd-10-stable/tools/regression/geom/ConfCmp/Makefile
/freebsd-10-stable/tools/regression/geom/MdLoad/Makefile
/freebsd-10-stable/tools/regression/include/stdatomic/Makefile
/freebsd-10-stable/tools/regression/include/tgmath/Makefile
/freebsd-10-stable/tools/regression/kgssapi/Makefile
/freebsd-10-stable/tools/regression/kqueue/Makefile
/freebsd-10-stable/tools/regression/kthread/kld/Makefile
/freebsd-10-stable/tools/regression/lib/libc/resolv/Makefile
/freebsd-10-stable/tools/regression/mac/mac_bsdextended/Makefile
/freebsd-10-stable/tools/regression/mlock/Makefile
/freebsd-10-stable/tools/regression/mmap/Makefile
/freebsd-10-stable/tools/regression/mqueue/mqtest1/Makefile
/freebsd-10-stable/tools/regression/mqueue/mqtest2/Makefile
/freebsd-10-stable/tools/regression/mqueue/mqtest3/Makefile
/freebsd-10-stable/tools/regression/mqueue/mqtest4/Makefile
/freebsd-10-stable/tools/regression/mqueue/mqtest5/Makefile
/freebsd-10-stable/tools/regression/netinet/arphold/Makefile
/freebsd-10-stable/tools/regression/netinet/ipbroadcast/Makefile
/freebsd-10-stable/tools/regression/netinet/ipdivert/Makefile
/freebsd-10-stable/tools/regression/netinet/ipmulticast/Makefile
/freebsd-10-stable/tools/regression/netinet/ipsockopt/Makefile
/freebsd-10-stable/tools/regression/netinet/msocket/Makefile
/freebsd-10-stable/tools/regression/netinet/msocket_ifnet_remove/Makefile
/freebsd-10-stable/tools/regression/netinet/rawconnect/Makefile
/freebsd-10-stable/tools/regression/netinet/tcpconnect/Makefile
/freebsd-10-stable/tools/regression/netinet/tcpdrop/Makefile
/freebsd-10-stable/tools/regression/netinet/tcpfullwindowrst/Makefile
/freebsd-10-stable/tools/regression/netinet/tcpsockclosebeforeaccept/Makefile
/freebsd-10-stable/tools/regression/netinet/tcpsocktimewait/Makefile
/freebsd-10-stable/tools/regression/netinet/tcpstream/Makefile
/freebsd-10-stable/tools/regression/netinet/udpconnectjail/Makefile
/freebsd-10-stable/tools/regression/netinet/udpzerobyte/Makefile
/freebsd-10-stable/tools/regression/netinet6/icmp6_filter/Makefile
/freebsd-10-stable/tools/regression/netinet6/inet6_rth/Makefile
/freebsd-10-stable/tools/regression/netinet6/ip6_sockets/Makefile
/freebsd-10-stable/tools/regression/nfsmmap/test1/Makefile
/freebsd-10-stable/tools/regression/nfsmmap/test2/Makefile
/freebsd-10-stable/tools/regression/p1003_1b/Makefile
/freebsd-10-stable/tools/regression/pipe/Makefile
/freebsd-10-stable/tools/regression/posixsem/Makefile
/freebsd-10-stable/tools/regression/posixsem2/Makefile
/freebsd-10-stable/tools/regression/posixshm/Makefile
/freebsd-10-stable/tools/regression/pthread/cv_cancel1/Makefile
/freebsd-10-stable/tools/regression/pthread/mutex_isowned_np/Makefile
/freebsd-10-stable/tools/regression/rpcsec_gss/Makefile
/freebsd-10-stable/tools/regression/security/access/Makefile
/freebsd-10-stable/tools/regression/security/cap_test/Makefile
/freebsd-10-stable/tools/regression/security/open_to_operation/Makefile
/freebsd-10-stable/tools/regression/security/proc_to_proc/Makefile
/freebsd-10-stable/tools/regression/sigqueue/sigqtest1/Makefile
/freebsd-10-stable/tools/regression/sigqueue/sigqtest2/Makefile
/freebsd-10-stable/tools/regression/sockets/accept_fd_leak/Makefile
/freebsd-10-stable/tools/regression/sockets/accf_data_attach/Makefile
/freebsd-10-stable/tools/regression/sockets/fstat/Makefile
/freebsd-10-stable/tools/regression/sockets/kqueue/Makefile
/freebsd-10-stable/tools/regression/sockets/listen_backlog/Makefile
/freebsd-10-stable/tools/regression/sockets/listenclose/Makefile
/freebsd-10-stable/tools/regression/sockets/pr_atomic/Makefile
/freebsd-10-stable/tools/regression/sockets/reconnect/Makefile
/freebsd-10-stable/tools/regression/sockets/rtsocket/Makefile
/freebsd-10-stable/tools/regression/sockets/sblock/Makefile
/freebsd-10-stable/tools/regression/sockets/sendfile/Makefile
/freebsd-10-stable/tools/regression/sockets/shutdown/Makefile
/freebsd-10-stable/tools/regression/sockets/sigpipe/Makefile
/freebsd-10-stable/tools/regression/sockets/so_setfib/Makefile
/freebsd-10-stable/tools/regression/sockets/socketpair/Makefile
/freebsd-10-stable/tools/regression/sockets/unix_bindconnect/Makefile
/freebsd-10-stable/tools/regression/sockets/unix_close_race/Makefile
/freebsd-10-stable/tools/regression/sockets/unix_cmsg/Makefile
/freebsd-10-stable/tools/regression/sockets/unix_gc/Makefile
/freebsd-10-stable/tools/regression/sockets/unix_passfd/Makefile
/freebsd-10-stable/tools/regression/sockets/unix_sendtorace/Makefile
/freebsd-10-stable/tools/regression/sockets/unix_socket/Makefile
/freebsd-10-stable/tools/regression/sockets/unix_sorflush/Makefile
/freebsd-10-stable/tools/regression/sockets/zerosend/Makefile
/freebsd-10-stable/tools/regression/sysvmsg/Makefile
/freebsd-10-stable/tools/regression/sysvsem/Makefile
/freebsd-10-stable/tools/regression/sysvshm/Makefile
/freebsd-10-stable/tools/regression/tls/ttls1/Makefile
/freebsd-10-stable/tools/regression/tls/ttls2/Makefile
/freebsd-10-stable/tools/regression/tls/ttls4/Makefile
/freebsd-10-stable/tools/regression/tmpfs/Makefile
/freebsd-10-stable/tools/regression/ufs/uprintf/Makefile
/freebsd-10-stable/tools/test/auxinfo/Makefile
/freebsd-10-stable/tools/test/iconv/gnu/Makefile
/freebsd-10-stable/tools/test/iconv/posix/Makefile
/freebsd-10-stable/tools/test/iconv/refgen/Makefile
/freebsd-10-stable/tools/test/iconv/tablegen/Makefile
/freebsd-10-stable/tools/test/malloc/Makefile
/freebsd-10-stable/tools/test/netfibs/Makefile
/freebsd-10-stable/tools/test/ppsapi/Makefile
/freebsd-10-stable/tools/test/ptrace/Makefile
/freebsd-10-stable/tools/test/upsdl/Makefile
aac/Makefile
ath/Makefile.inc
ath/ath_ee_9287_print/Makefile
ath/ath_ee_9300_print/Makefile
ath/ath_ee_v14_print/Makefile
ath/ath_ee_v4k_print/Makefile
ath/athstats/Makefile
atsectl/Makefile
bootparttest/Makefile
cfi/Makefile
cxgbetool/Makefile
cxgbtool/Makefile
drm/radeon/mkregtable/Makefile
find-sb/Makefile
gdb_regofs/Makefile
ifinfo/Makefile
ifpifa/Makefile
ipw/Makefile
iwi/Makefile
mfi/Makefile
mwl/mwldebug/Makefile
mwl/mwlstats/Makefile
ncpus/Makefile
net80211/stumbler/Makefile
net80211/w00t/Makefile.inc
net80211/wesside/dics/Makefile
net80211/wesside/udps/Makefile
net80211/wesside/wesside/Makefile
net80211/wlaninject/Makefile
net80211/wlanstats/Makefile
net80211/wlantxtime/Makefile
net80211/wlanwatch/Makefile
net80211/wlanwds/Makefile
netmap/Makefile
netrate/http/Makefile
netrate/httpd/Makefile
netrate/juggle/Makefile
netrate/netblast/Makefile
netrate/netreceive/Makefile
netrate/netsend/Makefile
netrate/tcpconnect/Makefile
netrate/tcpp/Makefile
netrate/tcpreceive/Makefile
npe/npestats/Makefile
nxge/Makefile
pciroms/Makefile
pirtool/Makefile
syscall_timing/Makefile
tionxcl/Makefile
umastat/Makefile
vxge/Makefile
wtap/vis_map/Makefile
wtap/wtap/Makefile
zfsboottest/Makefile
/freebsd-10-stable/usr.bin/bzip2recover/Makefile
/freebsd-10-stable/usr.bin/clang/clang-tblgen/Makefile
/freebsd-10-stable/usr.bin/clang/llvm-mc/Makefile
/freebsd-10-stable/usr.bin/clang/llvm-objdump/Makefile
/freebsd-10-stable/usr.bin/clang/llvm-rtdyld/Makefile
/freebsd-10-stable/usr.bin/clang/macho-dump/Makefile
/freebsd-10-stable/usr.bin/cpio/test/Makefile
/freebsd-10-stable/usr.bin/dirname/Makefile
/freebsd-10-stable/usr.bin/locate/bigram/Makefile
/freebsd-10-stable/usr.bin/locate/code/Makefile
/freebsd-10-stable/usr.bin/mkcsmapper_static/Makefile
/freebsd-10-stable/usr.bin/mkesdb_static/Makefile
/freebsd-10-stable/usr.bin/svn/svn/Makefile
/freebsd-10-stable/usr.bin/svn/svnadmin/Makefile
/freebsd-10-stable/usr.bin/svn/svndumpfilter/Makefile
/freebsd-10-stable/usr.bin/svn/svnlook/Makefile
/freebsd-10-stable/usr.bin/svn/svnmucc/Makefile
/freebsd-10-stable/usr.bin/svn/svnrdump/Makefile
/freebsd-10-stable/usr.bin/svn/svnserve/Makefile
/freebsd-10-stable/usr.bin/svn/svnsync/Makefile
/freebsd-10-stable/usr.bin/svn/svnversion/Makefile
/freebsd-10-stable/usr.bin/tar/test/Makefile
/freebsd-10-stable/usr.bin/unexpand/Makefile
/freebsd-10-stable/usr.bin/uudecode/Makefile
/freebsd-10-stable/usr.bin/vgrind/RETEST/Makefile
/freebsd-10-stable/usr.bin/xlint/lint2/Makefile
/freebsd-10-stable/usr.sbin/bhyvectl/Makefile
/freebsd-10-stable/usr.sbin/bootparamd/callbootd/Makefile
/freebsd-10-stable/usr.sbin/bsdinstall/distextract/Makefile
/freebsd-10-stable/usr.sbin/bsdinstall/distfetch/Makefile
/freebsd-10-stable/usr.sbin/bsdinstall/scripts/Makefile
/freebsd-10-stable/usr.sbin/crunch/examples/Makefile
/freebsd-10-stable/usr.sbin/ctm/ctm_dequeue/Makefile
/freebsd-10-stable/usr.sbin/ctm/ctm_smail/Makefile
/freebsd-10-stable/usr.sbin/ctm/mkCTM/Makefile
/freebsd-10-stable/usr.sbin/fifolog/fifolog_reader/Makefile
/freebsd-10-stable/usr.sbin/fifolog/fifolog_writer/Makefile
/freebsd-10-stable/usr.sbin/lpr/filters.ru/koi2855/Makefile
/freebsd-10-stable/usr.sbin/lpr/filters.ru/koi2alt/Makefile
/freebsd-10-stable/usr.sbin/lpr/filters/Makefile
/freebsd-10-stable/usr.sbin/ntp/ntp-keygen/Makefile
/freebsd-10-stable/usr.sbin/ntp/ntpd/Makefile
/freebsd-10-stable/usr.sbin/ntp/ntpdate/Makefile
/freebsd-10-stable/usr.sbin/ntp/ntpdc/Makefile
/freebsd-10-stable/usr.sbin/ntp/ntpq/Makefile
/freebsd-10-stable/usr.sbin/ntp/ntptime/Makefile
/freebsd-10-stable/usr.sbin/portsnap/make_index/Makefile
/freebsd-10-stable/usr.sbin/portsnap/phttpget/Makefile
/freebsd-10-stable/usr.sbin/rpc.ypupdated/Makefile
274892 22-Nov-2014 n_hibma

MFC:
------------------------------------------------------------------------
r274792 | n_hibma | 2014-11-21 15:53:42 +0100 (Fri, 21 Nov 2014) | 5
lines

Simply remove the tmp dir before creating the symlink. We are doing
chroots all over the place, so there is bound to be a stale file lying
around in there (in my case samba lock files from creating accounts). If
we don't do that, the symlink later will fail.

------------------------------------------------------------------------

274615 17-Nov-2014 np

MFC r273360:

One of MAP_ANON, MAP_PRIVATE, MAP_SHARED, or MAP_STACK must be specified.

274561 16-Nov-2014 imp

MFC from the last few months:
Note: didn't merge r274331 removing gif/faith on purpose.

r268246 | mr | use mkimg and build into separate directories
r269355 | imp | Fix typo in example script
r269362 | imp | use rm -x on 10 and newer
r269363 | imp | NANO_OBJ shouldn't end with '/'
r269423 | imp | -K to suppress installkernel
r269424 | imp | sort usage
r269425 | imp | sort switch
r269983 | imp | only install bootloader if it exists
r269984 | imp | create_diskimage since it never was $ARCH dependent
r270162 | imp | Add support for -X which instales cross native tools

274259 08-Nov-2014 gnn

MFC: 272962

Add a new option, -P, to pkt-gen which reads a single packet from a stored
pcap file and transmits it instead of the default UDP packet.

Reviewed by: luigi

271109 04-Sep-2014 se

Fix debug output that has erroneously been committed with the last update.

Obtained from: Jan Beich

271095 04-Sep-2014 se

MFC r270647: Add references to vt(4) and the configuration files in /usr/sha
MFC r270653: Update man-pages to correctly refer to changed pathes and namin
MFC r270657: More man pages that need to know about vt in addition to syscon
MFC r270659: (by pluknet@) Missed comma.
MFC r270660: Back-out the references to vt(4) from this man-page. It appears
MFC r270933: Add references to vt(4) to further man-pages.
MFC r270934: Final patches to the tools used to convert syscons keymaps for
MFC r270935: Add vt(4) support to the console initialisation script, specifi

Second batch of MFCs to add support for Unicode keymaps for use with vt(4).

It contains the following changes:

- Add references to vt(4) to relevant man-pages.
- Update comment in defaults/rc.conf to mention vt
- Update rc.d/syscons to warn about syscons keymaps used under vt.
An attempt is made to identify the vt keymap to load instead.
- Minor changes to the conversion tool based on mail comments on keymaps.

Relnotes: yes

270308 21-Aug-2014 se

MFC 270131, 270152, 270199, 270232:

Add converter from SYSCONS keymap format to NEWCONS and
configuration files. The convert-keymap.pl script can
be used to convert private SYSCONS keymaps ro NEWCONS
format.

270252 20-Aug-2014 luigi

MFC 270063: update of netmap code
(vtnet and cxgbe not merged yet because we need some other mfc first)

269357 31-Jul-2014 np

MFC r269106:

Add a 'raw' parameter to the 'modinfo' subcommand. This is handy when
trying to figure out why a QSFP+/SFP+ connector or cable wasn't
identified correctly by cxgbe(4). Its output looks like this:

# cxgbetool t5nex0 modinfo 0 raw
00: 03 04 21 00 00 00 00 00 ..!. ....
08: 04 00 00 00 67 00 00 00 .... g...
10: 00 00 05 00 41 6d 70 68 .... Amph
18: 65 6e 6f 6c 20 20 20 20 enol
20: 20 20 20 20 00 41 50 48 .APH
28: 35 37 31 35 34 30 30 30 5715 4000
30: 33 20 20 20 20 20 20 20 3
38: 4b 20 20 20 01 00 00 fa K ....
40: 00 00 00 00 41 50 46 31 .... APF1
48: 30 30 34 30 30 33 30 30 0040 0300
50: 30 33 20 20 31 30 30 31 03 1001
58: 33 30 20 20 00 00 00 97 30 ....

269041 24-Jul-2014 emaste

MFC vtfontcvt improvements:

r267011: Make height and width optional arguments

Now defaults to a 16x8 font size. The height and width can be specified
using -h and -w respectively.

r267012: Make the bold font optional

r267035: Use a hash to speed up glyph deduplication

Walking a linked list of all glyphs to look for a duplicate is very slow
for large fonts (e.g., for CJK character sets). In my test the runtime
for a sample 40000 character font went from just over 80 seconds on
average to just over 2 seconds.

r267119: -w sets the width, not height

r267123: Support "GNU Unifont" format font data

The GNU Unifont .hex format is a text file. Each line represents one
glyph and consists of a four-digit hex code point, a colon, and pairs of
hex digits representing the bitmap. By default an 8x16 font is assumed,
with 16x16 double-width glyphs, resulting in either 32 or 64 hex digits
for the bitmap.

Our version of the file format supports comments at the top of the file
to set the height and width:

Each row of bitmap data is rounded up to byte width - for example, a
10-pixel wide font uses 4 characters per row.

See http://czyborra.com/unifont/ for more background on the original
format.

r267126: Accept space after BITMAP in .bdf parser

The Unifont BDF generator incorrectly adds a space after BITMAP, and
and that error has been widely propagated.

r267173: use -h height and -w width args

r267298: Hide stats by default and improve error handling

The font stats are interesting, but rather verbose.

r267301: Speed up bold glyph map deduplication

Perform an O(n) deduplication pass over the bold maps at the end, rather
than walking the normal map list to look for a duplicate glyph each time
a bold mapping entry is added.

r267324: handle failure writing output font

r267337: move to usr.bin/vtfontcvt

vtfontcvt is useful for end users to convert arbitrary bitmap fonts
for use by vt(4). It can also be used as a build tool, allowing us
to keep the source font data in the src tree rather than uuencoded
binaries.

Reviewed by: ray, wblock (D183)

r267366: Avoid leaking file pointer on error

CID: 1222506, 1222505

r268022: Rename the WITHOUT_VT_SUPPORT knob to WITHOUT_VT

The _SUPPORT knobs have a consistent meaning which differs from the
behaviour controlled by this knob. As the knob is opt-out and has not
appeared in a release the impact should be low.

r268172: correct width calculation (.hex files and commandline)

r268948: Use the standard way of printing the usage string

r268949: Remove redundant return statement after errx

Also update vtfontcvt(8), based on inclusion in FreeBSD 10.1

Sponsored by: The FreeBSD Foundation

268950 21-Jul-2014 emaste

MFC r266847: Add missing , in converted font output

266441 19-May-2014 thomas

MFC rev. 265926:
(NANO_CONFIG): New variable containing path of config file, so that
the configuration can reference additional files relative to its own
location.

(NANO_MODULES): If set to "default", install all built modules.

Reviewed by: imp

265894 11-May-2014 thomas

MFC rev. 265260:
Add appropriate quoting to allow building with a KERNCONFDIR containing
spaces.

PR: kern/162736

265415 06-May-2014 np

MFC r261534:
cxgbetool: Display the congestion channel map in hex.

265166 01-May-2014 imp

MFC: r258705,r258709,r263140,r263184,r263185,r263186,r263187,r263188,
r263189,r263190,r263192,r263193,r263287,r263288,r263890,r264281,
r264655,r264656,r264856,r264857,r264858,r264859,r264860,r264861,
r264891,r264892,r264909

Catch up on all the referenced changes in -current, in brief:

r258705 | n_hibma | Use NANO_PMAKE for build, but not install
r258709 | mr | pkgng goo + bootstrap
r263140 | glebius | Axe IPX.
r263184 | imp | Fix build with spaces in names.
r263185 | imp | Make pcengines config files compile again.
r263186 | imp | Use UFS2 by default, but allow fallback to UFS1
r263187 | imp | Print an error message when we exit out early.
r263188 | imp | Sometimes only copy MBR when backing via swap
r263189 | imp | Update save_cfg
r263190 | imp | Be more explicit about setting SRCCONF to /dev/null
r263192 | imp | Rely on default UFS type
r263193 | imp | Remove TARGET_BIG_ENDIAN. It's no longer relevant.
r263287 | bdrewery | pkg(8) has no limits
r263288 | bdrewery | Remove comment meant for removal in r263287
r263890 | imp | Up default media size to 1GB.
r264281 | imp | Ignore .hg and .git files
r264655 | imp | rm -x for safety
r264656 | imp | new example: dhcpd derived from FreeNAS/BSDRP
r264856 | imp | Override the parallel make target to use all CPUs.
r264857 | imp | No need for true here, remove it.
r264858 | imp | NANO_PKG_META_BASE
r264859 | imp | stylize umount hack
r264860 | imp | switch dhcpd to pkg(8).
r264861 | imp | CR and CR0 added from dhcpd
r264891 | imp | Try to alwaays use () for functions
r264892 | imp | bash whines about r264857, revert
r264909 | imp | Move back to {} for functions that need global effects

262861 06-Mar-2014 jhb

MFC 259016,259019,259049,259071,259102,259110,259129,259130,259178,259179,
259203,259221,259261,259532,259615,259650,259651,259667,259680,259727,
259761,259772,259776,259777,259830,259882,259915,260160,260449,260450,
260688,260888,260953,261269,261547,261551,261552,261553,261585:
Merge the vt(4) driver (newcons) to stable/10.

Approved by: ray


/freebsd-10-stable/sys/amd64/conf/VT
/freebsd-10-stable/sys/conf/files
/freebsd-10-stable/sys/conf/files.amd64
/freebsd-10-stable/sys/conf/files.arm
/freebsd-10-stable/sys/conf/files.i386
/freebsd-10-stable/sys/conf/files.powerpc
/freebsd-10-stable/sys/conf/files.sparc64
/freebsd-10-stable/sys/conf/kmod.mk
/freebsd-10-stable/sys/conf/options
/freebsd-10-stable/sys/dev/drm2/drmP.h
/freebsd-10-stable/sys/dev/drm2/drm_fb_helper.c
/freebsd-10-stable/sys/dev/drm2/drm_os_freebsd.h
/freebsd-10-stable/sys/dev/drm2/i915/i915_drv.c
/freebsd-10-stable/sys/dev/drm2/i915/intel_fb.c
/freebsd-10-stable/sys/dev/drm2/radeon/radeon.h
/freebsd-10-stable/sys/dev/drm2/radeon/radeon_drv.c
/freebsd-10-stable/sys/dev/drm2/radeon/radeon_fb.c
/freebsd-10-stable/sys/dev/drm2/radeon/radeon_pm.c
/freebsd-10-stable/sys/dev/fb/fb_if.m
/freebsd-10-stable/sys/dev/fb/fbd.c
/freebsd-10-stable/sys/dev/syscons/scterm-teken.c
/freebsd-10-stable/sys/dev/vt
/freebsd-10-stable/sys/dev/vt/font/vt_font_default.c
/freebsd-10-stable/sys/dev/vt/font/vt_mouse_cursor.c
/freebsd-10-stable/sys/dev/vt/hw/fb/vt_fb.c
/freebsd-10-stable/sys/dev/vt/hw/ofwfb/ofwfb.c
/freebsd-10-stable/sys/dev/vt/hw/vga/vga.c
/freebsd-10-stable/sys/dev/vt/hw/xboxfb/xboxfb.c
/freebsd-10-stable/sys/dev/vt/vt.h
/freebsd-10-stable/sys/dev/vt/vt_buf.c
/freebsd-10-stable/sys/dev/vt/vt_consolectl.c
/freebsd-10-stable/sys/dev/vt/vt_core.c
/freebsd-10-stable/sys/dev/vt/vt_font.c
/freebsd-10-stable/sys/dev/vt/vt_sysmouse.c
/freebsd-10-stable/sys/i386/conf/VT
/freebsd-10-stable/sys/kern/subr_terminal.c
/freebsd-10-stable/sys/modules/drm2/drm2/Makefile
/freebsd-10-stable/sys/modules/drm2/i915kms/Makefile
/freebsd-10-stable/sys/modules/drm2/radeonkms/Makefile
/freebsd-10-stable/sys/sparc64/sparc64/machdep.c
/freebsd-10-stable/sys/sys/consio.h
/freebsd-10-stable/sys/sys/eventhandler.h
/freebsd-10-stable/sys/sys/fbio.h
/freebsd-10-stable/sys/sys/terminal.h
/freebsd-10-stable/sys/sys/tty.h
/freebsd-10-stable/sys/teken/demo/teken_demo.c
/freebsd-10-stable/sys/teken/teken.c
/freebsd-10-stable/sys/teken/teken.h
/freebsd-10-stable/sys/teken/teken_subr.h
vt
vt/fontcvt/fontcvt.c
vt/mkkfont/mkkfont.c
vt/setfont/setfont.c
262652 01-Mar-2014 brooks

MFC r261302:

The -B flag is intended to take an argument.

Fix a couple typos in comments.

Sponsored by: DARPA, AFRL

262151 18-Feb-2014 luigi

MFH: sync the netmap code with the one in HEAD
(enhanced VALE switch, netmap pipes, emulated netmap mode).
See details in the log for svn 261909.

262007 17-Feb-2014 kevlo

MFC r260444:

Rename definition of IEEE80211_FC1_WEP to IEEE80211_FC1_PROTECTED.

The origin of WEP comes from IEEE Std 802.11-1997 where it defines
whether the frame body of MAC frame has been encrypted using WEP
algorithm or not.
IEEE Std. 802.11-2007 changes WEP to Protected Frame, indicates
whether the frame is protected by a cryptographic encapsulation
algorithm.

Reviewed by: adrian, rpaulo


/freebsd-10-stable/contrib/libpcap/ieee80211.h
/freebsd-10-stable/share/man/man9/ieee80211_crypto.9
/freebsd-10-stable/sys/dev/ath/if_ath_tx.c
/freebsd-10-stable/sys/dev/bwi/if_bwi.c
/freebsd-10-stable/sys/dev/bwn/if_bwn.c
/freebsd-10-stable/sys/dev/ipw/if_ipw.c
/freebsd-10-stable/sys/dev/iwi/if_iwi.c
/freebsd-10-stable/sys/dev/iwn/if_iwn.c
/freebsd-10-stable/sys/dev/malo/if_malo.c
/freebsd-10-stable/sys/dev/mwl/if_mwl.c
/freebsd-10-stable/sys/dev/ral/rt2560.c
/freebsd-10-stable/sys/dev/ral/rt2661.c
/freebsd-10-stable/sys/dev/ral/rt2860.c
/freebsd-10-stable/sys/dev/usb/wlan/if_rsu.c
/freebsd-10-stable/sys/dev/usb/wlan/if_rum.c
/freebsd-10-stable/sys/dev/usb/wlan/if_run.c
/freebsd-10-stable/sys/dev/usb/wlan/if_uath.c
/freebsd-10-stable/sys/dev/usb/wlan/if_upgt.c
/freebsd-10-stable/sys/dev/usb/wlan/if_ural.c
/freebsd-10-stable/sys/dev/usb/wlan/if_urtw.c
/freebsd-10-stable/sys/dev/usb/wlan/if_urtwn.c
/freebsd-10-stable/sys/dev/usb/wlan/if_zyd.c
/freebsd-10-stable/sys/dev/wi/if_wi.c
/freebsd-10-stable/sys/dev/wpi/if_wpi.c
/freebsd-10-stable/sys/net80211/ieee80211.h
/freebsd-10-stable/sys/net80211/ieee80211_adhoc.c
/freebsd-10-stable/sys/net80211/ieee80211_hostap.c
/freebsd-10-stable/sys/net80211/ieee80211_mesh.c
/freebsd-10-stable/sys/net80211/ieee80211_output.c
/freebsd-10-stable/sys/net80211/ieee80211_proto.c
/freebsd-10-stable/sys/net80211/ieee80211_sta.c
/freebsd-10-stable/sys/net80211/ieee80211_wds.c
net80211/stumbler/stumbler.c
net80211/w00t/ap/ap.c
net80211/w00t/assoc/assoc.c
net80211/w00t/expand/expand.c
net80211/w00t/prga/prga.c
net80211/w00t/redir/redir.c
net80211/wesside/wesside/wesside.c
net80211/wlaninject/wlaninject.c
261426 03-Feb-2014 gnn

MFC: 260791

Add a command line argument to turn off blocking waiting for the user
to press Ctrl-C (-b). This allows tests with tight loops of mcgrabs
that can stress the multicast tables.

260735 16-Jan-2014 avg

MFC r258647: zfsboottest: properly specify a library dependency

260627 14-Jan-2014 pluknet

MFC r257705:

Clean up -Wtautological-compare -Wformat warnings.

260307 04-Jan-2014 mav

MFC r258256, r258390:
Fix umastat build on present kernel.

260096 30-Dec-2013 dim

MFC r257532 (by adrian):

Fix this build for clang.

MFC r259730:

To avoid having to explicitly test COMPILER_TYPE for setting
clang-specific or gcc-specific flags, introduce the following new
variables for use in Makefiles:

CFLAGS.clang
CFLAGS.gcc
CXXFLAGS.clang
CXXFLAGS.gcc

In bsd.sys.mk, these get appended to the regular CFLAGS or CXXFLAGS for
the right compiler.

MFC r259913:

For libstand and sys/boot, split off gcc-only flags into CFLAGS.gcc.

MFC r259927:

Fix pc98 build, by also forcing COMPILER_TYPE in sys/boot/pc98/boot2's
Makefile.

Pointy hat to: dim

259142 09-Dec-2013 np

MFC r257654, r257772, r258441, r258689, r258698, r258879, r259048, and
r259103.

r257654:
cxgbe(4): Exclude MPS_RPLC_MAP_CTL (0x11114) from the register dump. Turns
out it's a write-only register with strange side effects on read.

r257772:
cxgbe(4): Tidy up the display for payload memory statistics (pm_stats).

r258441:
cxgbe(4): update the internal list of device features.

r258689:
Disable an assertion that relies on some code[1] that isn't in HEAD yet.

r258698:
cxgbetool: "modinfo" command to display SFP+ module information.

r258879:
cxgbe(4): T4_SET_SCHED_CLASS and T4_SET_SCHED_QUEUE ioctls to program
scheduling classes in the chip and to bind tx queue(s) to a scheduling
class respectively. These can be used for various kinds of tx traffic
throttling (to force selected tx queues to drain at a fixed Kbps rate,
or a % of the port's total bandwidth, or at a fixed pps rate, etc.).

r259048:
Two new cxgbetool subcommands to set up scheduler classes and to bind
them to NIC queues.

r259103:
cxgbe(4): save a copy of the RSS map for each port for the driver's use.

259073 07-Dec-2013 peter

Hoist all the mergeinfo up to the root in preparation for enforcing merges
to the root only. All MFC's were rerecorded to the root.

Going forward, if an MFC includes mergeinfo, it will need to be made to
the root and committed from the root. Merges with --ignore-ancestry
or diff | patch can go anywhere.

The mergeinfo in HEAD is in a bad state from years of neglect and manual
tampering and this was branched into 10.x. This confuses the coalescing
code and prevents it from doing its job.

Approved by: re (gjb, implicit)


/freebsd-10-stable/MAINTAINERS
/freebsd-10-stable/Makefile.inc1
/freebsd-10-stable/ObsoleteFiles.inc
/freebsd-10-stable/UPDATING
/freebsd-10-stable/bin/df
/freebsd-10-stable/bin/freebsd-version
/freebsd-10-stable/cddl
/freebsd-10-stable/cddl/contrib/opensolaris
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/print
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/zfs
/freebsd-10-stable/cddl/contrib/opensolaris/lib/libzfs
/freebsd-10-stable/contrib/apr
/freebsd-10-stable/contrib/apr-util
/freebsd-10-stable/contrib/atf
/freebsd-10-stable/contrib/binutils
/freebsd-10-stable/contrib/bmake
/freebsd-10-stable/contrib/byacc
/freebsd-10-stable/contrib/bzip2
/freebsd-10-stable/contrib/com_err
/freebsd-10-stable/contrib/compiler-rt
/freebsd-10-stable/contrib/dialog
/freebsd-10-stable/contrib/dtc
/freebsd-10-stable/contrib/ee
/freebsd-10-stable/contrib/expat
/freebsd-10-stable/contrib/file
/freebsd-10-stable/contrib/gcc
/freebsd-10-stable/contrib/gdb
/freebsd-10-stable/contrib/gdtoa
/freebsd-10-stable/contrib/groff
/freebsd-10-stable/contrib/ipfilter
/freebsd-10-stable/contrib/ipfilter/ml_ipl.c
/freebsd-10-stable/contrib/ipfilter/mlfk_ipl.c
/freebsd-10-stable/contrib/ipfilter/mlh_rule.c
/freebsd-10-stable/contrib/ipfilter/mli_ipl.c
/freebsd-10-stable/contrib/ipfilter/mln_ipl.c
/freebsd-10-stable/contrib/ipfilter/mls_ipl.c
/freebsd-10-stable/contrib/ldns
/freebsd-10-stable/contrib/less
/freebsd-10-stable/contrib/libarchive
/freebsd-10-stable/contrib/libarchive/cpio
/freebsd-10-stable/contrib/libarchive/libarchive
/freebsd-10-stable/contrib/libarchive/libarchive_fe
/freebsd-10-stable/contrib/libarchive/tar
/freebsd-10-stable/contrib/libc++
/freebsd-10-stable/contrib/libc-vis
/freebsd-10-stable/contrib/libcxxrt
/freebsd-10-stable/contrib/libexecinfo
/freebsd-10-stable/contrib/libpcap
/freebsd-10-stable/contrib/libstdc++
/freebsd-10-stable/contrib/llvm
/freebsd-10-stable/contrib/llvm/tools/clang
/freebsd-10-stable/contrib/mtree
/freebsd-10-stable/contrib/ncurses
/freebsd-10-stable/contrib/netcat
/freebsd-10-stable/contrib/ntp
/freebsd-10-stable/contrib/nvi
/freebsd-10-stable/contrib/one-true-awk
/freebsd-10-stable/contrib/openbsm
/freebsd-10-stable/contrib/openpam
/freebsd-10-stable/contrib/openresolv
/freebsd-10-stable/contrib/pf
/freebsd-10-stable/contrib/sendmail
/freebsd-10-stable/contrib/serf
/freebsd-10-stable/contrib/smbfs
/freebsd-10-stable/contrib/subversion
/freebsd-10-stable/contrib/tcpdump
/freebsd-10-stable/contrib/tcsh
/freebsd-10-stable/contrib/tnftp
/freebsd-10-stable/contrib/top
/freebsd-10-stable/contrib/top/install-sh
/freebsd-10-stable/contrib/tzcode/stdtime
/freebsd-10-stable/contrib/tzcode/zic
/freebsd-10-stable/contrib/tzdata
/freebsd-10-stable/contrib/unbound
/freebsd-10-stable/contrib/wpa
/freebsd-10-stable/contrib/xz
/freebsd-10-stable/crypto/heimdal
/freebsd-10-stable/crypto/openssh
/freebsd-10-stable/crypto/openssl
/freebsd-10-stable/etc
/freebsd-10-stable/etc/rc.d
/freebsd-10-stable/gnu/lib
/freebsd-10-stable/gnu/usr.bin/binutils
/freebsd-10-stable/gnu/usr.bin/cc/cc_tools
/freebsd-10-stable/gnu/usr.bin/gdb
/freebsd-10-stable/include
/freebsd-10-stable/lib
/freebsd-10-stable/lib/libc
/freebsd-10-stable/lib/libc/stdtime
/freebsd-10-stable/lib/libc_nonshared
/freebsd-10-stable/lib/libfetch
/freebsd-10-stable/lib/libiconv_modules
/freebsd-10-stable/lib/libsmb
/freebsd-10-stable/lib/libthr
/freebsd-10-stable/lib/libutil
/freebsd-10-stable/lib/libvmmapi
/freebsd-10-stable/lib/libyaml
/freebsd-10-stable/lib/libz
/freebsd-10-stable/release
/freebsd-10-stable/release/doc
/freebsd-10-stable/sbin
/freebsd-10-stable/sbin/camcontrol
/freebsd-10-stable/sbin/dumpon
/freebsd-10-stable/sbin/hastd
/freebsd-10-stable/sbin/ifconfig
/freebsd-10-stable/sbin/ipfw
/freebsd-10-stable/sbin/nvmecontrol
/freebsd-10-stable/share
/freebsd-10-stable/share/examples/bhyve
/freebsd-10-stable/share/i18n/csmapper/JIS
/freebsd-10-stable/share/i18n/esdb/EUC
/freebsd-10-stable/share/man
/freebsd-10-stable/share/man/man4
/freebsd-10-stable/share/man/man4/bhyve.4
/freebsd-10-stable/share/man/man5
/freebsd-10-stable/share/man/man7
/freebsd-10-stable/share/man/man8
/freebsd-10-stable/share/misc
/freebsd-10-stable/share/mk
/freebsd-10-stable/share/mk/bsd.arch.inc.mk
/freebsd-10-stable/share/syscons
/freebsd-10-stable/share/zoneinfo
/freebsd-10-stable/sys
/freebsd-10-stable/sys/amd64/include/vmm.h
/freebsd-10-stable/sys/amd64/include/vmm_dev.h
/freebsd-10-stable/sys/amd64/include/vmm_instruction_emul.h
/freebsd-10-stable/sys/amd64/include/xen
/freebsd-10-stable/sys/amd64/vmm
/freebsd-10-stable/sys/boot
/freebsd-10-stable/sys/boot/i386/efi
/freebsd-10-stable/sys/boot/ia64/efi
/freebsd-10-stable/sys/boot/ia64/ski
/freebsd-10-stable/sys/boot/powerpc/boot1.chrp
/freebsd-10-stable/sys/boot/powerpc/ofw
/freebsd-10-stable/sys/cddl/contrib/opensolaris
/freebsd-10-stable/sys/conf
/freebsd-10-stable/sys/contrib/dev/acpica
/freebsd-10-stable/sys/contrib/dev/acpica/changes.txt
/freebsd-10-stable/sys/contrib/dev/acpica/common
/freebsd-10-stable/sys/contrib/dev/acpica/compiler
/freebsd-10-stable/sys/contrib/dev/acpica/components/debugger
/freebsd-10-stable/sys/contrib/dev/acpica/components/disassembler
/freebsd-10-stable/sys/contrib/dev/acpica/components/dispatcher
/freebsd-10-stable/sys/contrib/dev/acpica/components/events
/freebsd-10-stable/sys/contrib/dev/acpica/components/executer
/freebsd-10-stable/sys/contrib/dev/acpica/components/hardware
/freebsd-10-stable/sys/contrib/dev/acpica/components/namespace
/freebsd-10-stable/sys/contrib/dev/acpica/components/parser
/freebsd-10-stable/sys/contrib/dev/acpica/components/resources
/freebsd-10-stable/sys/contrib/dev/acpica/components/tables
/freebsd-10-stable/sys/contrib/dev/acpica/components/utilities
/freebsd-10-stable/sys/contrib/dev/acpica/include
/freebsd-10-stable/sys/contrib/dev/acpica/os_specific
/freebsd-10-stable/sys/contrib/ipfilter
/freebsd-10-stable/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c
/freebsd-10-stable/sys/contrib/ipfilter/netinet/ip_raudio_pxy.c
/freebsd-10-stable/sys/contrib/libfdt
/freebsd-10-stable/sys/contrib/octeon-sdk
/freebsd-10-stable/sys/contrib/x86emu
/freebsd-10-stable/sys/dev/bvm
/freebsd-10-stable/sys/dev/fdt/fdt_ic_if.m
/freebsd-10-stable/sys/dev/hyperv
/freebsd-10-stable/sys/modules/hyperv
/freebsd-10-stable/sys/modules/vmm
/freebsd-10-stable/sys/x86/include/acpica_machdep.h
/freebsd-10-stable/tools
/freebsd-10-stable/tools/build
/freebsd-10-stable/tools/build/options
atsectl
/freebsd-10-stable/usr.bin/calendar
/freebsd-10-stable/usr.bin/csup
/freebsd-10-stable/usr.bin/iscsictl
/freebsd-10-stable/usr.bin/procstat
/freebsd-10-stable/usr.sbin
/freebsd-10-stable/usr.sbin/bhyve
/freebsd-10-stable/usr.sbin/bhyvectl
/freebsd-10-stable/usr.sbin/bhyveload
/freebsd-10-stable/usr.sbin/bsdconfig
/freebsd-10-stable/usr.sbin/bsdinstall
/freebsd-10-stable/usr.sbin/ctladm
/freebsd-10-stable/usr.sbin/ctld
/freebsd-10-stable/usr.sbin/freebsd-update
/freebsd-10-stable/usr.sbin/jail
/freebsd-10-stable/usr.sbin/mergemaster
/freebsd-10-stable/usr.sbin/mount_smbfs
/freebsd-10-stable/usr.sbin/ndiscvt
/freebsd-10-stable/usr.sbin/pkg
/freebsd-10-stable/usr.sbin/rtadvctl
/freebsd-10-stable/usr.sbin/rtadvd
/freebsd-10-stable/usr.sbin/rtsold
/freebsd-10-stable/usr.sbin/zic
257447 31-Oct-2013 brooks

MFC r256752, r256946

MFP4: 221483, 221567, 221568, 221670, 221677, 221678, 221800, 221801,
221804, 221805, 222004, 222006, 222055, 222820, 1135077, 1135118,
1136259

Add atse(4), a driver for the Altera Triple Speed Ethernet MegaCore.

The current driver support gigabit Ethernet speeds only and works with
the MegaCore only in the internal FIFO configuration in the soon to be
open sourced BERI CPU configuration.

MFP4: 1187103, 222076, 222057, 222051, 221799

Add atsectl, a simple utility to read and update MAC addresses stored in

the default flash location on Altera DE4 boards. Typically used once
when setting up a board so leaving in tools rather than inflicting on
all users.

To build with world add LOCAL_DIRS=tools/tools/atsectl to the make
command line.

Submitted by: bz
Sponsored by: DARPA/AFRL
Approved by: re (glebius)

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


255637 17-Sep-2013 phk

Don't attempt to build ports with missing dependencies.

Approved by: re (gjb)


255487 12-Sep-2013 hiren

We are exceeding default limit (256) of bracket nesting and clang does not like
it. We should probably fix the code but appeasing clang with this fix for now.
gcc does not have such limit.

Reviewed by: jmg
Approved by: re (hrs), sbruno (mentor, implicit)


255122 01-Sep-2013 ian

Fix a compiler warning about signed vs unsigned compare.


254885 25-Aug-2013 dumbbell

drm/radeon: Import the Radeon KMS driver

This driver is based on Linux 3.8 and a previous effort by kan@.

More informations about this project can be found on the FreeBSD wiki:
https://wiki.freebsd.org/AMD_GPU

The driver is split into:

sys/dev/drm2:
The driver sources.

sys/modules/drm2/radeonkmw:
The driver main kernel module's Makefile.

sys/modules/drm2/radeonkmsfw:
All firmware kernel module Makefiles. There's one directory and one
Makefile for each firmware.

sys/contrib/dev/drm2/radeonkmsfw:
All firmware binary sources.

tools/tools/drm/radeon
Tools to update firmwares or regenerate some headers.

Merging the driver to FreeBSD 9.x may be possible but not a priority for
now.

Help from: kib@, kan@
Tested by: avg@, kwm@, ray@,
Alexander Yerenkow <yerenkow@gmail.com>,
Anders Bolt-Evensen <andersbo87@me.com>,
Denis Djubajlo <stdedjub@googlemail.com>,
J.R. Oldroyd <fbsd@opal.com>,
Mikaël Urankar <mikael.urankar@gmail.com>,
Pierre-Emmanuel Pédron <pepcitron@gmail.com>,
Sam Fourman Jr. <sfourman@gmail.com>,
Wade <wade-is-great@live.com>,
(probably other I forgot...)
HW donations: kyzh, Yakaz


254852 25-Aug-2013 dumbbell

drm: Update drm_pciids.h based on Linux 3.8

This header can be easily updated using the new "gen-drm_pciids" script,
available in tools/tools/drm. The script uses the Linux' drm_pciids.h
header for new IDs, the FreeBSD's one because we add the name of the
device to each IDs, and the PCI IDs database (misc/pciids port) to fill
this name automatically for new IDS.

To call the script:
tools/tools/drm/gen-drm_pciids \
/path/to/linux/drm_pciids.h \
/path/to/freebsd/drm_pciids.h \
/path/to/pciids/pci.ids


254570 20-Aug-2013 bz

Catch up with various changes to if_data and make this compile again
on HEAD. Seems to be one of the the only tools giving us access to
ifi_baudrate and ifi_baudrate_pf values.

MFC after: 3 days


254241 12-Aug-2013 hselasky

Fix some signed comparison compile warnings.


254159 09-Aug-2013 hselasky

Initial commit of my USB test code which can exercise connected USB
devices and the FreeBSD USB stack itself. This program can be used to
test compliance against well established usb.org standards, also
called chapter-9 tests. The host platform can act as either USB device
or USB host depending on the available hardware. The basic USB
communication happens through FreeBSD's own libusb v2, and some
sysctls are also used to invoke specific error conditions. This test
program can be used to verify correct operation of external USB
harddisks under heavy load and various other conditions. The software
is driven via a simple command line interface. Main supported USB host
classes are "USB mass storage" and "USB modems".


254147 09-Aug-2013 obrien

* Add random_adaptors.[ch] which is basically a store of random_adaptor's.
random_adaptor is basically an adapter that plugs in to random(4).
random_adaptor can only be plugged in to random(4) very early in bootup.
Unplugging random_adaptor from random(4) is not supported, and is probably a
bad idea anyway, due to potential loss of entropy pools.
We currently have 3 random_adaptors:
+ yarrow
+ rdrand (ivy.c)
+ nehemeiah

* Remove platform dependent logic from probe.c, and move it into
corresponding registration routines of each random_adaptor provider.
probe.c doesn't do anything other than picking a specific random_adaptor
from a list of registered ones.

* If the kernel doesn't have any random_adaptor adapters present then the
creation of /dev/random is postponed until next random_adaptor is kldload'ed.

* Fix randomdev_soft.c to refer to its own random_adaptor, instead of a
system wide one.

Submitted by: arthurmesh@gmail.com, obrien
Obtained from: Juniper Networks
Reviewed by: so (des)


254073 07-Aug-2013 obrien

Improve the sysctl symbol extraction from the kernel so that it find more
(all?) sysctl's. Previously some where missed, depending on how they were
defined.


253986 06-Aug-2013 ae

Fix formatting warning.

MFC after: 1 week


253870 01-Aug-2013 np

Teach cxgbetool to display T5 congestion manager context.


253845 31-Jul-2013 obrien

Back out r253779 & r253786.


253779 29-Jul-2013 obrien

Decouple yarrow from random(4) device.

* Make Yarrow an optional kernel component -- enabled by "YARROW_RNG" option.
The files sha2.c, hash.c, randomdev_soft.c and yarrow.c comprise yarrow.

* random(4) device doesn't really depend on rijndael-*. Yarrow, however, does.

* Add random_adaptors.[ch] which is basically a store of random_adaptor's.
random_adaptor is basically an adapter that plugs in to random(4).
random_adaptor can only be plugged in to random(4) very early in bootup.
Unplugging random_adaptor from random(4) is not supported, and is probably a
bad idea anyway, due to potential loss of entropy pools.
We currently have 3 random_adaptors:
+ yarrow
+ rdrand (ivy.c)
+ nehemeiah

* Remove platform dependent logic from probe.c, and move it into
corresponding registration routines of each random_adaptor provider.
probe.c doesn't do anything other than picking a specific random_adaptor
from a list of registered ones.

* If the kernel doesn't have any random_adaptor adapters present then the
creation of /dev/random is postponed until next random_adaptor is kldload'ed.

* Fix randomdev_soft.c to refer to its own random_adaptor, instead of a
system wide one.

Submitted by: arthurmesh@gmail.com, obrien
Obtained from: Juniper Networks
Reviewed by: obrien


253767 29-Jul-2013 ae

Include stdint.h to fix build.

Pointed by: Olivier Cochard-Labbé


253750 28-Jul-2013 avg

Revert r253748,253749

This WIP should not have been committed yet.

Pointyhat to: avg


253749 28-Jul-2013 avg

remove needless inclusion of machine/cpu.h in userland

MFC after: 21 days


253691 26-Jul-2013 np

Add support for packet-sniffing tracers to cxgbe(4). This works with
all T4 and T5 based cards and is useful for analyzing TSO, LRO, TOE, and
for general purpose monitoring without tapping any cxgbe or cxl ifnet
directly.

Tracers on the T4/T5 chips provide access to Ethernet frames exactly as
they were received from or transmitted on the wire. On transmit, a
tracer will capture a frame after TSO segmentation, hw VLAN tag
insertion, hw L3 & L4 checksum insertion, etc. It will also capture
frames generated by the TCP offload engine (TOE traffic is normally
invisible to the kernel). On receive, a tracer will capture a frame
before hw VLAN extraction, runt filtering, other badness filtering,
before the steering/drop/L2-rewrite filters or the TOE have had a go at
it, and of course before sw LRO in the driver.

There are 4 tracers on a chip. A tracer can trace only in one direction
(tx or rx). For now cxgbetool will set up tracers to capture the first
128B of every transmitted or received frame on a given port. This is a
small subset of what the hardware can do. A pseudo ifnet with the same
name as the nexus driver (t4nex0 or t5nex0) will be created for tracing.
The data delivered to this ifnet is an additional copy made inside the
chip. Normal delivery to cxgbe<n> or cxl<n> will be made as usual.

/* watch cxl0, which is the first port hanging off t5nex0. */
# cxgbetool t5nex0 tracer 0 tx0 (watch what cxl0 is transmitting)
# cxgbetool t5nex0 tracer 1 rx0 (watch what cxl0 is receiving)
# cxgbetool t5nex0 tracer list
# tcpdump -i t5nex0 <== all that cxl0 sees and puts on the wire

If you were doing TSO, a tcpdump on cxl0 may have shown you ~64K
"frames" with no L3/L4 checksum but this will show you the frames that
were actually transmitted.

/* all done */
# cxgbetool t5nex0 tracer 0 disable
# cxgbetool t5nex0 tracer 1 disable
# cxgbetool t5nex0 tracer list
# ifconfig t5nex0 destroy


253662 26-Jul-2013 zont

Remove define and documentation for vm_pageout_algorithm missed in r253587


253605 24-Jul-2013 avg

zfsboottest: remove explicit -Werror

Unfortunately sys/boot is compliled without -Werror at the moment.

MFC after: 7 days


253081 09-Jul-2013 ae

Prepare network statistics structures for migration to PCPU counters.
Use uint64_t as type for all fields of structures.

Changed structures: ahstat, arpstat, espstat, icmp6_ifstat, icmp6stat,
in6_ifstat, ip6stat, ipcompstat, ipipstat, ipsecstat, mrt6stat, mrtstat,
pfkeystat, pim6stat, pimstat, rip6stat, udpstat.

Discussed with: arch@


253068 09-Jul-2013 avg

zfsboottest.sh: remove checks for things that are not strictly required

MFC after: 10 days


253067 09-Jul-2013 avg

zfsboottest: sync with changes in zfs boot code

- spa status can not be called before spa init
- libzfs.h inclusion is now required
- fix alternative code for explicit root dataset lookup

MFC after: 10 days


252470 01-Jul-2013 np

Count the number of hits for a filter by default.

MFC after: 3 days


252207 25-Jun-2013 adrian

Add include path to the ar9300 HAL.


251794 15-Jun-2013 eadler

Remove CVS from the base system.

Discussed with: many
Reviewed by: peter, zi
Approved by: core


251739 14-Jun-2013 adrian

Link the AR9300 EEPROM dump tool into the build.


251738 14-Jun-2013 adrian

Begin fleshing out an AR9300 EEPROM dump helper utility.


251737 14-Jun-2013 adrian

Add missing formatting strings.

Thanks to: clang


251475 06-Jun-2013 emaste

Switch to 2-clause license and standard text

Approved by: bms@


251426 05-Jun-2013 luigi

new features (mostly for testing netmap capabilities)

+ pkt-gen -f rx now remains active even when traffic stops
Previous behaviour (exit after 1 second of silence) can be
restored with the -W option

+ the -X option does a hexdump of the content of a packet (both tx and rx).
This can be useful to check what goes in and out.

+ the -I option instructs the sender to use indirect buffers
(not really useful other than to test the kernel module in the
VALE switch)


251398 04-Jun-2013 adrian

Add RX STBC statistics.


251139 30-May-2013 luigi

Bring in a number of new features, mostly implemented by Michio Honda:

- the VALE switch now support up to 254 destinations per switch,
unicast or broadcast (multicast goes to all ports).

- we can attach hw interfaces and the host stack to a VALE switch,
which means we will be able to use it more or less as a native bridge
(minor tweaks still necessary).
A 'vale-ctl' program is supplied in tools/tools/netmap
to attach/detach ports the switch, and list current configuration.

- the lookup function in the VALE switch can be reassigned to
something else, similar to the pf hooks. This will enable
attaching the firewall, or other processing functions (e.g. in-kernel
openvswitch) directly on the netmap port.

The internal API used by device drivers does not change.

Userspace applications should be recompiled because we
bump NETMAP_API as we now use some fields in the struct nmreq
that were previously ignored -- otherwise, data structures
are the same.

Manpages will be committed separately.


251132 30-May-2013 luigi

add support for rate-limiting in the sender (-R ...)

Obtained from: Giuseppe Lettieri


251131 30-May-2013 luigi

add a compile-time option to copy packets instead of doing
the buffer swapping.


251130 30-May-2013 luigi

remove use of deprecated ioctl()


251056 28-May-2013 joel

mdoc: silence a few mandoc lint warnings.


250899 22-May-2013 adrian

Implement beacon event debugging in athalq.


250830 20-May-2013 brooks

Cleanups and markup improvements suggested by trociny and joel.


250717 16-May-2013 joel

Minor mdoc improvements.


250698 16-May-2013 brooks

Add a sample script to create filesystem images from an installed tree
created by installworld+distribution with the -DNO_ROOT option.


250659 15-May-2013 brooks

Add support for an external cross compiler. The cross compiler is
specified by passing the XCC, XCXX, and XCPP variables (corresponding to
CC, CXX, and CPP) to buildworld/buildkernel. The compiler must be clang
or be configured to target the appropriate architecture.

To speed build times, if XCC is an absolute path or
WITHOUT_CROSS_COMPILER is defined then no cross compiler will be built
during the cross-tools stage.

Limited documentation of this feature can currently be found at:

https://wiki.freebsd.org/ExternalToolchain

This functionality should be considered experimental and is subject to
change without notice.

Sponsored by: DARPA, AFRL
Discussed with: imp, sjg


250266 05-May-2013 adrian

Add the AR9300 descriptor decoding code.


250265 05-May-2013 adrian

This is a simple script to output the delta between each TX and TXSTATUS.

Useful for debugging TDMA.


250099 30-Apr-2013 luigi

sync with my local copy (this file may go away, eventually)


250036 28-Apr-2013 n_hibma

Replace a silly command sequence with a proper if-then-else.
Generate images sparsely. This saves space and time, especially when
generating images inside a VM (PR 173482).
Add a 'true' statement to last_orders to prevent some version of sh from
tripping over an empty function.


250034 28-Apr-2013 n_hibma

Doing a cpio from /var/empty if dir was not specified or non-existent
copies its mode to the destination. This is not desirable.
Rephrase this code to be more sensible.

PR: 173483
MFC after: 1 week


249959 26-Apr-2013 eadler

Remove the WITH_IDEA option and build it unconditionally.
The European version of the patent expired in 2011.
The US version of the patent expired in 2012 or prior.

Reviewed by: des
No objection from: cperciva, ehaupt


249587 17-Apr-2013 gabor

- Correct mispellings of word and

Submitted by: Christoph Mallon <christoph.mallon@gmx.de> (via private mail)


249430 12-Apr-2013 pluknet

Fix build.
- pass a format string to printf
- catch up with constifying uz_name

MFC after: 3 days


249368 11-Apr-2013 np

Set and display the IP fragment bit correctly when dealing with
the filter mode.

MFC after: 3 days.


248925 30-Mar-2013 np

cxgbe(4): Add support for Chelsio's Terminator 5 (aka T5) ASIC. This
includes support for the NIC and TOE features of the 40G, 10G, and
1G/100M cards based on the T5.

The ASIC is mostly backward compatible with the Terminator 4 so cxgbe(4)
has been updated instead of writing a brand new driver. T5 cards will
show up as cxl (short for cxlgb) ports attached to the t5nex bus driver.

Sponsored by: Chelsio


248798 27-Mar-2013 rene

Properly spell "Class Based Queueing"

PR: www/177412
Submitted by: Oliver Loch <grimeton@gmx.net>
Approved by: cognet


248693 25-Mar-2013 gleb

Add shlib-compat under tools.

shlib-compat is ABI compatibility checker for shared libraries with
symbol versioning.


248669 23-Mar-2013 adrian

More indentation fixes.


248668 23-Mar-2013 adrian

Expose the beacon miss counter.


248632 23-Mar-2013 adrian

Add AR9300 descriptor decoding.


248564 20-Mar-2013 neel

Set WARNS=3 so this actually compiles.


247854 05-Mar-2013 np

Fix compile warning by including ctype.h for isdigit().

MFC after: 1 day


246979 19-Feb-2013 adrian

Print out the RTS/CTS rate in the TX descriptor.


246935 18-Feb-2013 adrian

* Add initial debugging of the interrupt status entry
* Add in the TDMA debugging entries that I added a while ago


246934 18-Feb-2013 adrian

Make this output more terse.


246896 17-Feb-2013 luigi

update the netmap example programs merging some common code in nm_util.c

pkt-gen now implements several functions (unlimited transmit, receive,
ping-pong) and can operate on a 'tap' device.


246649 11-Feb-2013 adrian

Teach athalq about the recent if_ath_alq timestamp format change.


245804 22-Jan-2013 emaste

Restore Python 2.6+ compatibility

SVN r245536 ported this to Python 3. The major change was the use of the
print function. Unfortunately this is incompatible with Python 2, which
is still the default version in the ports tree.

Use a __future__ import to make this compatible with Python 2.6 and later.


245560 17-Jan-2013 adrian

Add extra debugging fields.


245536 17-Jan-2013 eadler

Convert to Python 3

Approved by: cperciva


245520 17-Jan-2013 np

Allow "ivlan" (inner VLAN) to be used as an alias for "vlan" when
specifying match criteria. "vlan" continues to be valid here, and it
continues to be valid when deleting, rewriting, inserting, or stacking
an 802.1q tag to a matching packet.

MFC after: 3 days


245231 09-Jan-2013 adrian

Add the "enable at reset" functionality to trigger spectral scan upon
a channel change/reset.


244970 02-Jan-2013 adrian

Disable clang for athstats for now.


244969 02-Jan-2013 adrian

Add missing err() format string.


244968 02-Jan-2013 adrian

Fix missing err() format string.


244967 02-Jan-2013 adrian

Fix some conversions to keep clang happy.


244966 02-Jan-2013 adrian

Fix some clang warnings!


244965 02-Jan-2013 adrian

Fix up some warnings from clang.

This still triggers a bug in clang..


244964 02-Jan-2013 adrian

Add missing err() format strings.

Thanks to: clang


244963 02-Jan-2013 adrian

* Add missing err() string formats;
* Fix up a printf() type mismatch.

Thanks to: clang


244962 02-Jan-2013 adrian

* Add missing format specifier for err()
* add missing exit(0)
* Fix some operator evaluation complaints.

Thanks to: clang


244961 02-Jan-2013 adrian

Fix some printf() formats.

Found by: clang


244960 02-Jan-2013 adrian

Fix incorrect format string.


244953 02-Jan-2013 adrian

Add a very skeletal spectral scan control application.

The main use for this is to manually trigger spectral scan operations
(athspectral -i athX start) whilst doing debugging.


244731 27-Dec-2012 luigi

use nanosecond resolution, make sure gettimeofday
is called at most every 100 packets.


244672 25-Dec-2012 luigi

various connections to last commit


244644 23-Dec-2012 luigi

small cleanup of the code, and add support for running multiple
threads on each socket.


244269 15-Dec-2012 phk

Update to the new and brighter pkg world


243593 27-Nov-2012 adrian

Add in a totally hacked up copy of the AR5416 descriptor decoding stuff,
as well as TDMA related things.

I used this to debug TDMA related issues in -HEAD.


243172 17-Nov-2012 adrian

Make this a flag.


243171 17-Nov-2012 adrian

Implement AR5210 descriptor decoding.


243170 17-Nov-2012 adrian

Add AR5211 descriptor decoding support.


243167 17-Nov-2012 adrian

Add AR5212 frame decoding support.


243166 17-Nov-2012 adrian

Implement a basic data decoder for the data produced by if_ath_alq.

This decodes the AR5416 family 11n TX and RX descriptors.


241828 22-Oct-2012 eadler

Finish migration of MAINTAINER entries

Approved by: cperciva
MFC after: 3 days


241464 11-Oct-2012 emaste

Make local function static.


241416 10-Oct-2012 np

Add a "clearstats" subcommand to cxgbetool that lets you clear the
MAC statistics for any port.

For example:
# cxgbetool t4nex0 clearstats 0

Submitted by: gnn@
MFC after: 3 days


241401 10-Oct-2012 np

Add an "i2c" subcommand to cxgbetool. You can use this to read
information from the transceivers connected to the ports of a
cxgbe(4) based card.

# cxgbetool t4nex0 i2c <port_id> <dev_addr> <addr> [<count>]

For example:
# cxgbetool t4nex0 i2c 0 0xa0 3
0x10 [16]

(As per SFF-8472 the SFP+ module is at 0xa0 and bit 4 in the value at
address 3 indicates it's a 10Gbase-SR module, which it is.)


241394 10-Oct-2012 kevlo

Revert previous commit...

Pointyhat to: kevlo (myself)


241370 09-Oct-2012 kevlo

Prefer NULL over 0 for pointers


241169 03-Oct-2012 emaste

Clean up compiler warnings.

More work is needed here but this now builds with WARNS=6.

Sponsored by: ADARA Networks
MFC after: 2 weeks


240470 13-Sep-2012 eadler

Remove scripts and tools which only functioned when src was using CVS

Approved by: cperciva
MFC after: 1 week


240298 10-Sep-2012 adrian

Add some colour to make it easy (well, easier) to see what the current
selected rates and current sample rates are.

(Note: when run under high traffic and with -s 0.1 the display becomes very
mesmerising. You've been warned.)


240223 08-Sep-2012 adrian

Add a '-s <timeout>' option which will display live rate control
statistics.


240184 07-Sep-2012 adrian

Tidy up the output quite substantially, making it fit well within
80 columns.

This makes it much easier to use in a shell script, to display a "top"
style output with live rate control data.


240183 07-Sep-2012 adrian

Make this build again!


240103 04-Sep-2012 emaste

Failure to open netmap device is unrecoverable.

There's no reason to "fail later" since there's nothing this tool can do in
netmap mode without /dev/netmap open.


239970 01-Sep-2012 joel

Minor mdoc fix.


239927 30-Aug-2012 des

The error syntax has changed.


239162 09-Aug-2012 adrian

Add a missing HAL_DMA_ADDR definition.


239161 09-Aug-2012 adrian

Add HAL_DMA_ADDR.


239145 08-Aug-2012 emaste

Be more descriptive about poll error / timeout when transmitting.


239139 08-Aug-2012 emaste

Round displayed pps (instead of truncating)


239087 06-Aug-2012 ae

Add to the debug output the offset from the parent partitioning scheme.


239070 05-Aug-2012 ae

Add simple test program that uses the partition tables handling code.
It is useful to test and debug how boot loader handles partition tables
metadata.


238893 30-Jul-2012 adrian

Break out the parsing code from main() and modularise things a little.

The eventual aim will be to support listing "one" and "all" stations for
the given ath device.


238704 22-Jul-2012 phk

Derive FREEBSD_PART from /etc/fstab, and make it full device name.

Give suggestion for next steps when done.

Inspired by patches from: Flemming "F3" Jacobsen


238702 22-Jul-2012 phk

Replace hardcoded /mnt with ${SBMNT} which defaults to /mnt.sysbuild

Submitted by: Flemming "F3" Jacobsen


238651 20-Jul-2012 adrian

Add a needed #include due to my recent change.


238650 20-Jul-2012 adrian

Add missing SRCS.


238648 20-Jul-2012 adrian

Add the new athratestats tool.


238646 20-Jul-2012 adrian

Tidy things up substantially:

* remove some debugging;
* introduce command line arguments;
* introduce support for non-ath0 interfaces.


238639 20-Jul-2012 adrian

Use the rate control table to display the rate rather than the rix,
making the output of this program much more meaningful.


238635 20-Jul-2012 adrian

Implement a first cut of the 'sample' rate statistics userland utility.

This outputs almost exactly the same information as the kernel sysctl does,
however the rix -> rate mapping isn't yet available as a TLV.


238175 06-Jul-2012 emaste

Allow continuous packet transmission (via -t 0)

Also add a missing check for the cancel flag while waiting for the first
packet in receive mode.


238170 06-Jul-2012 emaste

Also report tx bandwidth with Ethernet overhead


238165 06-Jul-2012 emaste

Allow threads to finish up when terminated by user

Set a flag and allow worker threads to finish upon ^C, instead of
immediately cancelling them, so that final packet count and rate
stats can be displayed.


238081 03-Jul-2012 emaste

Update comment to reflect function's actual operation


237830 30-Jun-2012 adrian

Bump this up - that way the AR9300 and later MACs get covered (for now)
by the AR5416 register map.


237729 28-Jun-2012 emaste

Fix ioctl type for compiling with clang


237546 25-Jun-2012 kevlo

Correct sizeof usage

Obtained from: DragonFly


237143 15-Jun-2012 adrian

Convert athdebug to use the 64 bit dev.ath.X.debug sysctl.


237129 15-Jun-2012 adrian

Add the AMPDU BAR TX statistics to the "ampdu" tag.


236835 10-Jun-2012 adrian

Add athaggrstats to the ath(4) tools build.


236834 10-Jun-2012 adrian

Flesh out 'athaggrstats', a utility which will display the aggregation
specific statistics for ath(4).


236707 07-Jun-2012 bz

TinyBSD now seems to be hosted elsewhere.


236690 06-Jun-2012 kib

Do not execute a needed statement with side-effect in assert().

MFC after: 3 days


236686 06-Jun-2012 kib

Add gettimeofday() test.

MFC after: 3 days


236645 05-Jun-2012 emax

Fix license

Pointed by: brueffer


236644 05-Jun-2012 emax

Add a very simple debug tool that would dump list of interfaces,
addresses on each interface, and, associated refcounter. I found
it handy to check for address refcounter leaks.


235392 13-May-2012 avg

zfsboottest: update for the recent zfs boot code changes

MFC after: 1 month


235130 07-May-2012 avg

zfsboottest.sh: correctly check and suggest value of vfs.root.mountfrom

... it was missing "zfs:" prefix.

Reported by: theraven
MFC after: 10 days


235129 07-May-2012 avg

zfsboottest.sh: gracefully handle default value of bootfs property

Reported by: theraven
MFC after: 10 days


234984 03-May-2012 luigi

indicate the time per packet in nanoseconds.


234975 03-May-2012 luigi

add support for pcap receive statistics (used by net-mgmt/darkstat)


234962 03-May-2012 luigi

add some performance data


234956 03-May-2012 luigi

- add code to run pkt-gen on top of libpcap so we can see the
difference from a native API

- add some testing options, such as conditional prefetching and
packet copy.


234955 03-May-2012 luigi

- correct a bug in pcap_dispatch(): a count of 0 means infinity.

- in pcap_dispatch(), issue a prefetch on the buffer before the
callback, this may save a little bit of time if the client
is very fast.

- in pcap_inject(), use a fast copy routine, which also helps
saving a few nanoseconds with fast clients.


234777 28-Apr-2012 adrian

Change cc -> bc : "bc" is "busy count", which is the % of time the channel
is considered "busy but not doing any active TX or frame RX."

Just keep in mind that "frame RX" is "decoding what looks like a wifi
signal", not necessarily "frame successfully decoded for this particular
device."


234751 28-Apr-2012 adrian

Add a tool to print out min, average and max channel survey information
from the current channel.

There seem to be some occasional issues with the extension channel
counters reporting more than 100% of use. I'll investigate that
soon.


234227 13-Apr-2012 luigi

A bit of cleanup in the names of fields of netmap-related structures.
Use the name 'ring' instead of 'queue' in all fields.
Bump NETMAP_API.


234168 12-Apr-2012 luigi

use getopt to parse options, add one option to set
the wait time for link-up events


234019 08-Apr-2012 adrian

Teach wlanstats about the new BAR TX statistics.


234015 08-Apr-2012 adrian

Add AR_ISR_S5 and AR_ISR_S5_S.


233947 06-Apr-2012 luigi

we need to specify a NETMAP_API version or the ioctl() will fail.


233887 04-Apr-2012 adrian

Add a threadid to the ah_decode API.

This adds the current thread ID to each logged register and mark entry,
allowing for easier debugging of concurrent/overlapping NIC operations.


233648 29-Mar-2012 eadler

Remove trailing whitespace per mdoc lint warning

Disussed with: gavin
No objection from: doc
Approved by: joel
MFC after: 3 days


233110 18-Mar-2012 hselasky

Use new -n option when executing kldload, to
not warn about already loaded module(s).

MFC after: 1 week


232940 13-Mar-2012 adrian

Add a BINDIR so "make install" works.


232807 11-Mar-2012 adrian

Stop some of the output from wrapping at 80 characters.


232245 28-Feb-2012 adrian

Add is_beacon_bad.

PR: kern/165517


232238 27-Feb-2012 luigi

A bunch of netmap fixes:

USERSPACE:
1. add support for devices with different number of rx and tx queues;

2. add better support for zero-copy operation, adding an extra field
to the netmap ring to indicate how many buffers we have already processed
but not yet released (with help from Eddie Kohler);

3. The two changes above unfortunately require an API change, so while
at it add a version field and some spares to the ioctl() argument
to help detect mismatches.

4. update the manual page for the two changes above;

5. update sample applications in tools/tools/netmap

KERNEL:

1. simplify the internal structures moving the global wait queues
to the 'struct netmap_adapter';

2. simplify the functions that map kring<->nic ring indexes

3. normalize device-specific code, helps mainteinance;

4. start exploring the impact of micro-optimizations (prefetch etc.)
in the ixgbe driver.
Use 'legacy' descriptors on the tx ring and prefetch slots gives
about 20% speedup at 900 MHz. Another 7-10% would come from removing
the explict calls to bus_dmamap* in the core (they are effectively
NOPs in this case, but it takes expensive load of the per-buffer
dma maps to figure out that they are all NULL.

Rx performance not investigated.

I am postponing the MFC so i can import a few more improvements
before merging.


231863 17-Feb-2012 adrian

Fix up this local copy of statfoo to support > 128 statistics.

This allows all of the athstats statistics to work again.

Specifics:

* The previous code used chars < 0x80 as printable, and chars >= 0x80
as "statistics"
* .. which meant any statistic above 127 would wrap around to 0;
* .. so once I added the 802.11n TX/RX statistics to athstats, the tail
end of the statistics list weren't accessible.

This patch:

* adds a define which represents the magic character, rather than a hard
coded one
* the statistic in question is little endian encoded after the magic
character.

Notes:

* statfoo is useful enough to possibly warrant turning into a library API.


231710 14-Feb-2012 adrian

Add some missing radar config parameters.


231198 08-Feb-2012 luigi

- change the buffer size from a constant to a
TUNABLE variable (hw.netmap.buf_size) so we can experiment
with values different from 2048 which may give better cache performance.

- rearrange the memory allocation code so it will be easier
to replace it with a different implementation. The current code
relies on a single large contiguous chunk of memory obtained through
contigmalloc.
The new implementation (not committed yet) uses multiple
smaller chunks which are easier to fit in a fragmented address
space.


231098 06-Feb-2012 ed

Add a `fix' for another whitespace bug.

If the sentence starts with a multiple of eight spaces, the sentence
should in almost all practical cases have started with tabs instead.
Replace these spaces by tabs.


231071 06-Feb-2012 ed

Add fixwhite(1).

This small utility can be used to `sanitize' the whitespace in source
code. It does the following things:

Global:
- Remove empty lines at the beginning and the end of a file.
- Merge successive empty lines into a single empty line.

Per-line:
- Remove trailing whitespace.
- Merge spaces preceeding tabs into the tabs.

It operated on stdin/stdout. This means that if you use vi(1), you can
just run :%!fixwhite to reorganize the file.


230923 02-Feb-2012 adrian

Add some missing radar config parameters to athradar.


230445 22-Jan-2012 adrian

Bring over the visibility control tool for Monthadar's wtap project.

This allows basic control over which wtap nodes can see which other
wtap nodes.


229972 11-Jan-2012 adrian

Bring over a tool to create and destroy wtap instances.

Submitted by: Monthadar Al Jaberi <monthadar@gmail.com>


229831 09-Jan-2012 eadler

X11BASE has been deprecated for a long time and will die soon

Approved by: x11 (eadler)
Approved by: brucec
MFC after: 1 week


229436 03-Jan-2012 pjd

Fix an obvious typo. We do want to specify file permission when we pass O_CREAT.


228975 30-Dec-2011 uqs

Spelling fixes for tools/

Add some $FreeBSD$ tags so svn will allow the commit.


228956 29-Dec-2011 rwatson

Fix typo in comment.

MFC after: 3 days


228953 29-Dec-2011 uqs

Reencode files from latin1 to UTF-8.


228927 28-Dec-2011 cognet

Oops, if we want to check from 0 to nsock, the test condition should be
< nsock, not >.

Pointy hat to: cognet
Submitted by: Olivier Cochard-Labbe <olivier AT cochard doT me>


228903 26-Dec-2011 adrian

Oops, my bad. Fix a broken thing I introduced earlier.


228831 23-Dec-2011 adrian

Add in ath_ee_9287_print.


228594 16-Dec-2011 np

Catch up with new driver ioctls in cxgbe.

MFC after: 1 month


228561 16-Dec-2011 np

Many updates to cxgbe(4)

- Device configuration via plain text config file. Also able to operate
when not attached to the chip as the master driver.

- Generic "work request" queue that serves as the base for both ctrl and
ofld tx queues.

- Generic interrupt handler routine that can process any event on any
kind of ingress queue (via a dispatch table).

- A couple of new driver ioctls. cxgbetool can now install a firmware
to the card ("loadfw" command) and can read the card's memory
("memdump" and "tcb" commands).

- Lots of assorted information within dev.t4nex.X.misc.* This is
primarily for debugging and won't show up in sysctl -a.

- Code to manage the L2 tables on the chip.

- Updates to cxgbe(4) man page to go with the tunables that have changed.

- Updates to the shared code in common/

- Updates to the driver-firmware interface (now at fw 1.4.16.0)

MFC after: 1 month


228276 05-Dec-2011 luigi

1. Fix the handling of link reset while in netmap more.
A link reset now is completely transparent for the netmap client:
even if the NIC resets its own ring (e.g. restarting from 0),
the client will not see any change in the current rx/tx positions,
because the driver will keep track of the offset between the two.

2. make the device-specific code more uniform across different drivers
There were some inconsistencies in the implementation of the netmap
support routines, now drivers have been aligned to a common
code structure.

3. import netmap support for ixgbe . This is implemented as a very
small patch for ixgbe.c (233 lines, 11 chunks, mostly comments:
in total the patch has only 54 lines of new code) , as most of
the code is in an external file sys/dev/netmap/ixgbe_netmap.h ,
following some initial comments from Jack Vogel about making
changes less intrusive.
(Note, i have emailed Jack multiple times asking if he had
comments on this structure of the code; i got no reply so
i assume he is fine with it).

Support for other drivers (em, lem, re, igb) will come later.

"ixgbe" is now the reference driver for netmap support. Both the
external file (sys/dev/netmap/ixgbe_netmap.h) and the device-specific
patches (in sys/dev/ixgbe/ixgbe.c) are heavily commented and should
serve as a reference for other device drivers.

Tested on i386 and amd64 with the pkt-gen program in tools/tools/netmap,
the sender does 14.88 Mpps at 1050 Mhz and 14.2 Mpps at 900 MHz
on an i7-860 with 4 cores and 82599 card. Haven't tried yet more
aggressive optimizations such as adding 'prefetch' instructions
in the time-critical parts of the code.


227870 23-Nov-2011 adrian

Tidy up the statistic documentation.

Sponsored by: Hobnob, Inc.


227869 23-Nov-2011 adrian

Add the new statistics introduced in r227868.

Sponsored by: Hobnob, Inc.


227614 17-Nov-2011 luigi

Bring in support for netmap, a framework for very efficient packet
I/O from userspace, capable of line rate at 10G, see

http://info.iet.unipi.it/~luigi/netmap/

At this time I am bringing in only the generic code (sys/dev/netmap/
plus two headers under sys/net/), and some sample applications in
tools/tools/netmap. There is also a manpage in share/man/man4 [1]

In order to make use of the framework you need to build a kernel
with "device netmap", and patch individual drivers with the code
that you can find in

sys/dev/netmap/head.diff

The file will go away as the relevant pieces are committed to
the various device drivers, which should happen in a few days
after talking to the driver maintainers.

Netmap support is available at the moment for Intel 10G and 1G
cards (ixgbe, em/lem/igb), and for the Realtek 1G card ("re").
I have partial patches for "bge" and am starting to work on "cxgbe".
Hopefully changes are trivial enough so interested third parties
can submit their patches. Interested people can contact me
for advice on how to add netmap support to specific devices.

CREDITS:
Netmap has been developed by Luigi Rizzo and other collaborators
at the Universita` di Pisa, and supported by EU project CHANGE
(http://www.change-project.eu/)
The code is distributed under a BSD Copyright.

[1] In my opinion is a bad idea to have all manpage in one directory.
We should place kernel documentation in the same dir that contains
the code, which would make it much simpler to keep doc and code
in sync, reduce the clutter in share/man/ and incidentally is
the policy used for all of userspace code.
Makefiles and doc tools can be trivially adjusted to find the
manpages in the relevant subdirs.


227345 08-Nov-2011 cognet

Add IPv6 support to netblast/netsend/netreceive

PR: bin/161368
Submitted by: Olivier Cochard-Labbe <olivier AT cochard doT me>


226799 26-Oct-2011 adrian

Bring over the new aggregate statistics from the 11n branch.

Some of these values are currently updated by the driver (the 11n
RX related statistics) so they are immediately useful.


226672 23-Oct-2011 phk

Add a "-P olddistfiles" facility to prefetch ports distfiles, using an
old distfile directory as primary source:

mkdir /freebsd/ports/distfiles.old
mv /freebsd/ports/distfiles/* /freebsd/ports/distfiles.old
sh sysbuild.sh -c $yourconfig -P /freebsd/ports/distfiles.old
rm -rf /freebsd/ports/distfiles.old

Unfortunately bsd.ports.mk does not attempt to use a hard-link so
while this runs you need diskspace for both your old and your "new"
distfiles.


226612 21-Oct-2011 pjd

Because ZFS boot code was very fragile in the past and real PITA to debug,
introduce zfsboottest.sh script that will verify if it will be possible to boot
from the given pool.

# zfsboottest.sh system

Where "system" is pool name of the pool we want to boot from.

What is being verified by the script:
- Does the pool exist?
- Does it have bootfs property configured?
- Is mountpoint property of the boot dataset set to 'legacy'?

Dataset configured in bootfs property has to be mounted to perform more
checks:
- Does the /boot directory in boot dataset exist?
- Is this dataset configured as root file system in /etc/fstab or set
in vfs.root.mountfrom variable in /boot/loader.conf?

By using zfsboottest tool the script will read all the files in /boot
directory using ZFS boot code and calculate their checksums.
Then, it will walk /boot directory using find(1) though regular file sytem
and also read all the files in /boot directory and calculate their checksums.
If any of the files cannot be looked up, read or checksum is invalid it will
be reported and booting off of this pool is probably not possible.

Some additional checks may be interesting as well. For example if the disks
contain proper pmbr and gptzfsboot code or if all expected files in /boot/
are present.

When upgrading FreeBSD, one should snapshot datasets that contain operating
system, upgrade (install new world and kernel) and use zfsboottest.sh to verify
if it will be possible to boot from new configuration. If all is good one
should upgrade boot blocks, by eg.:

# gpart -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada1

If something is wrong, one should rollback datasets and report the problems.

MFC after: 3 days


226611 21-Oct-2011 pjd

- Allow to specify multiple files to check, eg.

zfsboottest gpt/system0 gpt/system1 - /boot/kernel/kernel /boot/zfsloader

- Instead of printing file's content calculate MD5 hash of the file,
so it can be easly compared to the hash calculated via file system.
- Some other minor improvements.

MFC after: 3 days


226242 11-Oct-2011 thompsa

Fix build after TARGET_BIG_ENDIAN was nuked from orbit.


225609 16-Sep-2011 avg

zfsboottest: some additional enhancements

- redirect diagnostics printfs in the boot code to stderr
- do not read trailing garbage from a trailing block of a file

Also add my copyright to the file after making so many changes.

Approved by: re (kib)
MFC after: 1 week


225608 16-Sep-2011 avg

zfstest: rename to zfsboottest and move to tools

Approved by: re (kib)
MFC after: 1 week


225334 02-Sep-2011 marius

Fix alignment assumptions.

PR: 160289
Approved by: re (kib)
MFC after: 3 days


224768 10-Aug-2011 np

Move cxgbtool from usr.sbin to tools/tools.

Approved by: re (kib)
MFC after: 1 month


224528 30-Jul-2011 avg

update smp related documentation after recent changes

Remove references to machdep.hlt_logical_cpus and
machdep.hlt_cpus sysctls and tunables.
Document machdep.hyperthreading_allowed and
hint.lapic.X.disabled tunables.

Prompted by: ru
Proofreading: bf
Reviewed by: jhb
Approved by: re (kib)


224266 22-Jul-2011 adrian

Add athradar, an implementation of the radar parameter diagnostic
API.

This is a reimplementation from scratch.

Approved by: re (kib)


224103 16-Jul-2011 philip

Garbage-collect the tools for maintaining the previous PCI vendors list. The
sources this tool collates are no longer available and the format of the
current database is directly usable by pciconf(8) without needing any special
processing.


223535 25-Jun-2011 hselasky

- Need to respect the module name and the USB mode when accumulating device ID's.
- Be more verbose on file seek failures. Allow a file size of zero.
- Improve the wrapper shell.

MFC after: 14 days


223534 25-Jun-2011 hselasky

- Improve bus_autoconf tool.
- Implement simple and generic language which can
be used to describe any kind of device ID structures.
- Fix endian issues.
- Add an example format file.

Suggested by: imp @
MFC after: 14 days


223518 24-Jun-2011 hselasky

- We need to sort all USB device ID's together. Else the matching order will
be wrong. This is required because devd only executes one entry.

MFC after: 14 days


223490 24-Jun-2011 hselasky

- Make sure we don't match the wrong device by adding
a match for the bus the device belongs to.

PR: misc/157903
MFC after: 14 days


223489 24-Jun-2011 hselasky

- Add additional information to the PnP info of USB HUBs children which
is now required by bus_autoconf.
- Allow interface class matching even if device class is vendor specific.
- Update bus_autoconf tool to not generate system and subsystem match lines
for the nomatch event.

PR: misc/157903
MFC after: 14 days


223486 24-Jun-2011 hselasky

- Move all USB device ID arrays into so-called sections,
sorted according to the mode which they support:
host, device or dual mode
- Add generic tool to extract these data:
tools/bus_autoconf

Discussed with: imp
Suggested by: Robert Millan <rmh@debian.org>
PR: misc/157903
MFC after: 14 days


222974 11-Jun-2011 np

Add "context" subcommand to fetch and display SGE context.


222900 09-Jun-2011 np

cxgbetool: a tool for the cxgbe(4) driver.


222535 31-May-2011 imp

Don't need (and can't use) -L to copy links here.


222322 26-May-2011 adrian

Include an EEPROM dump program for the AR9287 EEPROM format.


222286 25-May-2011 ru

[mdoc] Fixed .Dt call.


222171 22-May-2011 uqs

Update URLs and fix regex to work with current version of the files.


221877 14-May-2011 imp

Restore BOOT2CFG, accidentally removed in r212938.

PR: 157020


221856 13-May-2011 imp

If there's no package directory, don't try to install packages from
it. Instead, report that 0 packages are reported.

PR: misc/140436


221852 13-May-2011 imp

Add ${} around variable dereference...

Submitted by: garrett coopper


221851 13-May-2011 imp

Implement -f to inhibit copying s1 partition out for speed.
(-z not taken from PR, it is no longer needed since we basically always
do that now)

PR: misc/151698
Submitted by: lev@


221850 13-May-2011 imp

Copy symbolic links as files rather than recreating the links.

PR: misc/151697
Submitted by: lev@
MFC after: 2 weeks


221691 09-May-2011 adrian

This is a full 32 bit field for kite.


221391 03-May-2011 gnn

Give some sort of message when the program is not run as root.
Root privileges are required to talk to the device.

Submitted by: Sriram Rapuru at Wipro for Exar Inc.
MFC after: 2 weeks


221175 28-Apr-2011 gnn

A diagnostic tool to go along with the vxge(4) 10GbE driver.
This tool can be used to print statistics, registers, and
other device specific information once the driver is loaded
into the kernel.

Submitted by: Sriram Rapuru from Exar
MFC after: 2 weeks


220534 11-Apr-2011 adrian

Generate opt_ah.h now for all ath tools, a recent HAL change of mine
now requires it.


220366 05-Apr-2011 adrian

* re-enable marker stuff, I accidentally disabled it during debugging
* correct arg check


220364 05-Apr-2011 adrian

Flesh out a simple tool to print the ALQ dump generated by the HAL.


220091 28-Mar-2011 mr

Use ${NANO_WORLDDIR}/var/empty as copy source since it has no schg flag set.
Copying over /var/empty's schg flag had unpleasant side effects (schg flag on /etc and /cfg)
during nanobsd boot before.


219901 23-Mar-2011 adrian

Oops, fix badness i must've introduced earlier.


219823 21-Mar-2011 mr

Delete all GPT partitions at once. (Suggested by Andrey V. Elsukov <bu7cher@yandex.ru>)
Fix amd64 merge script.


219799 20-Mar-2011 mr

Add a file with some remarks for setting up a zfs boot environment


219798 20-Mar-2011 mr

- Add script for preparing disks in GPT/ZFS boot environment
- Add merge script for integrating amd64 slice into i386 disk image


219760 18-Mar-2011 mr

- Build disk image (for USB sticks) and iso image
- Change name to reflect this
- Install all kernel modules
- Choose image size that i386 and amd64 can be combined into one image
- Mount tmpfs over /boot/zfs for zpool imports


219527 11-Mar-2011 brucec

Fix warnings and style(9) issues.
Set WARNS to 6.


219524 11-Mar-2011 brucec

Fix the build: we have snprintf(3).

MFC after: 1 week


219522 11-Mar-2011 brucec

Fix warnings and set WARNS to 6.

MFC after: 1 week


219521 11-Mar-2011 brucec

Fix warnings and set WARNS to 6.

MFC after: 1 week


219519 11-Mar-2011 brucec

mptable.h is now in include/x86.


219420 09-Mar-2011 adrian

The regdomain entries are 16 bits, not 8. Print out all 16 bits.


219398 08-Mar-2011 adrian

Update to keep in sync with the HAL


219355 06-Mar-2011 adrian

Add support for printing out the open-loop TX power control EEPROM fields.


218816 18-Feb-2011 delphij

Add a helper script that detects which partition we are on and update the
other.

MFC after: 1 month
Obtained from: FreeNAS
Sponsored by: iXsystems, Inc.


218766 17-Feb-2011 phk

Improve the check for ports which have gone missing, and just ignore
them. We want a run to perform as much work as possible before it
gives up.


218637 13-Feb-2011 adrian

* add in new EEPROM fields from later revisions
* add in printing futureBase


218528 10-Feb-2011 imp

Add 'generic' flash images. This is for projects producing generic
images that are of a certain size. The geometery is bogus, but that
doesn't matter since the new packet mode onviates the need to get the
geometry right.


218057 29-Jan-2011 adrian

Keep this in sync with the ar5212 power rate table size.
This doesn't yet know about the 802.11n radios or rates.


217810 25-Jan-2011 adrian

Fix this tool to use the updated (corrected) v4k eeprom definition introduced in a previous commit.


217770 24-Jan-2011 adrian

Add a simple tool to print the contents of a v4k EEPROM dump.


217739 22-Jan-2011 adrian

Add a new tool which takes a text hexdump of the current EEPROM contents.


217738 22-Jan-2011 adrian

Patch the athstats code/Makefile to cross-compile correctly.


217682 21-Jan-2011 adrian

Add in a new tool which prints a formatted v14 eeprom from an eeprom
hexdump.

This is a part replacement of the old athprom code, which tries
to both fetch and print the contents of an eeprom dump.

A tool to generate hexdumps from a running system will follow shortly.


217681 21-Jan-2011 adrian

Remove an un-needed trailing / after OBJDIR.

Nitpicked by: juli


217680 21-Jan-2011 adrian

Make the existing ath tools build again.

* add missing includes to quieten warnings
* fix an inline function decl to have a return type
* since .h files are created during the build (opt_ah.h, ah_osdep.h)
which modify the behaviour of the HAL include/source files,
include OBJDIR in the path so the #include's work.

The tools should now build when the directory is added to LOCAL_DIRS
during a make buildworld.


217559 18-Jan-2011 phk

Make sure the PKGDIR exists before we move stuff into it.


216930 03-Jan-2011 imp

Update gateworks exclusion list to match latest tree.


216929 03-Jan-2011 imp

Bump the media size from approx 600MB to approx 750MB. The great
hob-nailed tennis shoe of progress demands it!

Submitted by: phk


216928 03-Jan-2011 imp

Put in the other half of the SRCCONF patch.

Submitted by: phk


216145 03-Dec-2010 imp

o Mount the device async when we're doing the copy.
o Create a sparse file instead of a fully zerod one. This trades the
possibiltiy of running out of space during the build for the speed
gain not having do write all those zeros...

Submitted by: n_hibma


216144 03-Dec-2010 imp

_WITHOUT_SRCCONF has too much baggage. Instead, use the simpler
SRCCONF=/dev/null.


215770 23-Nov-2010 phk

Don't checksum distfiles twice if they match the first time.


215767 23-Nov-2010 phk

Optimize the ports recurser a bit more.


215765 23-Nov-2010 phk

Improve the ports-dependency resolver by truncating the recursion if
we already did the target port, and by leaving behind a /tmp/_.plist.dot
which documents which ports pulled in what other ports.


215409 16-Nov-2010 gnn

Fix an error in our results printing.


215081 10-Nov-2010 imp

Insulate the nanobsd build from the current system by opting out of
the SRCCONF processing.

Noted by: gcopper@


215070 10-Nov-2010 imp

Build make.conf when the world is not selected to build, but the
kernel is.

PR: 151696
Submitted by: lev@


215069 10-Nov-2010 imp

Document NANO_CFGDIR and NANO_DATADIR

Submitted by: n_hibma@


214955 07-Nov-2010 n_hibma

- Set -x flag when executing customisation scripts to aid in debugging them.
- Use KERNCONFDIR with KERNCONF instead of copying the kernel config into the source tree
so included kernel configs work.
- Put more stuff in the _.bk/_.ik log file, not just make statements.
- Add the kernel config name to the pprint during kernel installation.
- Add NANO_MODULES providing a list of modules to build and install.

Reviewed by: imp
MFC after: 2 weeks


214261 24-Oct-2010 rwatson

Add microbenchmark for create/unlink of a zero-byte file.

Sponsored by: Google, Inc.
MFC after: 2 weeks


214202 22-Oct-2010 rwatson

Validate syscall_timing test names before starting to provide earlier
feedback regarding user error.

Provide default loop and timing settings.

Add a new test that just times pread() without the open()/close().

Mark tests requiring a path argument so we can provide better feedback
to the user than EFAULT on (null).

Sponsored by: Google, Inc.
MFC after: 2 weeks


214185 21-Oct-2010 rwatson

Universally use uintmax_t in syscall_timing; rearrange arithmetic to
suffer fewer rounding errors with smaller numbers; fix argc validation
so multiple tests run on a single command line.

Sponsored by: Google, Inc.
MFC after: 2 weeks


214154 21-Oct-2010 rwatson

Add Cambridge/Google tag since the copyright has been updated.

MFC after: 2 weeks


214151 21-Oct-2010 rwatson

Further syscall_timing improvements: allow an arbitrary "path" string
argument to be passed on the command line, allowing file-related tests
to be pointed at wherever desired.

Sponsored by: Google, Inc.
MFC after: 2 weeks


214145 21-Oct-2010 rwatson

Fix bug in recent syscall_timing change: measure the number of iterations
each loop, rather than once up front. The distinction is unimportant
when doing a fix iteration count, but when using a timer, it should vary.

Sponsored by: Google, Inc.
MFC after: 2 weeks


214142 21-Oct-2010 rwatson

Further enhancements to syscall_timing:

- Use getopt rather than hand-parsed arguments
- Allow iterations to be specified and/or a new number of seconds bound
on the number of iterations
- Fix printout of timer resolution
- Add new tests, such as TCP and UDP socket creation, and open/read/close
of /dev/zero and /dev/null.

Sponsored by: Google, Inc.
MFC after: 2 weeks


214135 21-Oct-2010 rwatson

Improve the structure and implementation of the syscall_timing
microbenchmark suite:

- Use common benchmark_start/benchmark_stop routines to simplify
individual benchmarks.
- Add a central table of tests with names, where new tests can be
hooked in easily.
- Add new benchmarks for dup, shm_open, shm_open + fstat, fork,
vfork, vfork + exec, chroot, setuid.
- Accept a number of loops, not just a number of iterations.
- Report results more usefully in a table.

Sponsored by: Google, Inc.
MFC after: 2 weeks


213574 08-Oct-2010 pluknet

Clean up tools in tools/tools/netrate.

- tcpconnect incorrectly uses err() in usage() with errx() semantics [1]
That produces dirty error message:
tcpconnect: usage: tcpconnect [ip]: Unknown error: 0
- 64-bit aware fixes in printf() usage [2]
o netrate/juggle: time_t has arch-dependent size
o netrate/tcpconnect: don't assume %ll has always 64bit.

PR: 146088 [1], 146086 [2] (modified)
Approved by: kib (mentor)
MFC after: 1 week


213327 01-Oct-2010 gnn

Change the output of mctest to give a summary of the results instead
of printing a long list.

Add a default base port, and default mulitcast address to the
runner script.

Add support for specifying a different local and remote interface
in the runner script.

MFC after: 1 week


213324 01-Oct-2010 mr

- simplify by using one build script
- use label for mounting
- use GENERIC kernel
- create empty Pkg directory


212990 22-Sep-2010 imp

Make the labels match the device name that's mounted, not just the
slice they are on. When NANO_LABEL is not defined, the fstab
generates entries that specify /dev/ad0s1a. When NANO_LABEL is
defined, it generates /dev/usb/${NANO_LABEL}s1a. The prior code
created the file system with a label of ${NANO_LABEL}s1, leading to
problems on boot.

Pointy hat to: imp@


212949 21-Sep-2010 avg

tools/umastat: more cleanups

PR: misc/146119
Submitted by: pluknet <pluknet@gmail.com>
MFC after: 1 week


212938 20-Sep-2010 imp

Support new variable NANO_LABEL. When set to a non-null string,
nanobsd will build a system that uses this label (via
/dev/ufs/${NANO_LABEL}sX) in preference to NANO_DRIVE (well, it forces
NANO_DRIVE to be ufs/${NANO_LABEL}). This allows images that will
boot off usb stick or CF card easily well.

There is no change if you don't set this variable.


212932 20-Sep-2010 avg

tools/umastat: fix build on amd64

And perhaps other 64-bit platforms.

Submitted by: Fabian Keil <freebsd-listen@fabiankeil.de>
MFC after: 1 week


212173 03-Sep-2010 phk

We need to copy the ports config files before we launch the prefetch


212169 03-Sep-2010 imp

Allow / in the NANO_DEVICE

PR: 149729
Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>


211183 11-Aug-2010 mjacob

Consistently set us to be SPC3 for our inquiry data.

For mptest, add delays to I/O that simulate real disks better. This
also allows us to simulate what happens when a device goes away
with active transactions. It's pretty spectacular.

Sponsored by: Panasas
MFC after: 1 month


211088 09-Aug-2010 mjacob

Add a multipath oriented test.


209745 06-Jul-2010 emaste

Use canonical spelling of FreeBSD.org

Submitted by: Garrett Cooper


209733 06-Jul-2010 emaste

Switch to my @freebsd.org email address.


209429 22-Jun-2010 rwatson

Add TCP scalability testing wrapper scripts for tcpp.

Sponsored by: Juniper Networks
MFC after: 1 week


209428 22-Jun-2010 rwatson

Revised tuning advice for tcpp benchmarking: do it in loader.conf, and
tweak more TCP/stack parameters.

Sponsored by: Juniper Networks
MFC after: 1 week


209331 19-Jun-2010 brian

Remove vestiges of 'slip'.

PR: 145648
Submitted by: alexbestms at wwu dot de and spam at rm-rf dot kiev dot ua
MFC after: 1 week


209225 16-Jun-2010 imp

Allow boot.config to have different values than just -h.

Submitted by: bsdrp by way of freenas and olivier cochard-labbe
MFC after: 3 days


209210 15-Jun-2010 imp

Allow population of /cfg and /data. Begin the move to making all
slice creation overrideable too, but there's a few problems doing that
for the duplicated partitions (s1 and s2), so just comment that it
needs work.

MFC after: 3 days


209209 15-Jun-2010 imp

Create a make.conf. not needed for runtime, but some ports want to spam it
at compile or install time.

MFC after: 3 days


209207 15-Jun-2010 imp

make these convenience functions more convenient by accepting all
args, not just the first. makes mechanical conversion of old style
more forgiving.

MFC after: 3 days


208926 08-Jun-2010 mjacob

Add the VHBA package. It is here in tools because it's really a testbed.

Sponsored by: Panasas
MFC after: 1 month


208873 06-Jun-2010 rwatson

Rework tcpp output so that it generates a comma-delimited list of values,
optionally with a header if "-h" is passed. Toast CPU time measurement
in the server for now. Remove -C and -T, since we now always report
both connections/sec and Gb/sec.

MFC after: 1 week
Sponsored by: Juniper Networks


208859 05-Jun-2010 rwatson

Although we currently don't compile in CPU-pinning support by default,
add a -P to enable it if it were.

MFC after: 1 week
Sponsored by: Juniper Networks


208291 19-May-2010 uqs

mdoc: consistently spell our email addresses <foo@FreeBSD.org>

Reviewed by: ru


208027 13-May-2010 uqs

mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to the
bottom of the manpages and order them consistently.

GNU groff doesn't care about the ordering, and doesn't even mention
CAVEATS and SECURITY CONSIDERATIONS as common sections and where to put
them.

Found by: mdocml lint run
Reviewed by: ru


207436 30-Apr-2010 philip

Fix typo in usage message. Add -n to the list of valid arguments.

MFC after: 1 day


206972 21-Apr-2010 rwatson

Merge @176820, @176822, @177156 to tcpp from P4 to HEAD:

Improve accuracy of connection data transfer math.

Disable Nagle's algorithm to avoid delaying transfers of data --
will want to refine this to combine payload with header transfer,
however.

Now that we're running w/o Nagle, try to send the initial data
burst with the header in a single TCP segment.

Prefer %zu to %ju for size_t.

MFC after: 1 week
Sponsored by: Juniper, Inc.


206848 19-Apr-2010 rpaulo

Dump the AR_PHY_TURBO register on the AR5416. This register holds 11n
configurations.

Sponsored by: iXsystems, inc.


206276 06-Apr-2010 imp

Fix comment about NANO_ARCH. It can be set now. Also add a warning
about how it confuses TARGET and TARGET_ARCH and the need to separate
the two out into independent variables.


205994 31-Mar-2010 imp

Two fixes:

(1) We don't need a custom install_kernel. We can install without
symbols by adding INSTALL_NODEBUG (which likely should be
WITHOUT_KERNEL_SYMBOLS_FILE, or something shorter) to CONF_INSTALL
(2) for make buildenv stage, use NANO_MAKE_CONF_BUILD rather than the
non-existant NANO_MAKE_CONF.

MFC after: 7 days


205980 31-Mar-2010 imp

Stop hard coding i386 as the arch for the build. Instead, default to the
processor we're running on. Also, supply amd64 version of create_diskimage
that's the same as i386's.

# didn't fix the confusion between using the processor for this and using
# the machine (which would be more appropriate). NANO_ARCH smashes the two
# together right now.

MFC after: 7 days


205601 24-Mar-2010 ed

Prune empty directories.


205584 24-Mar-2010 phk

Use gpart(8) to set the active boot partition.


204585 02-Mar-2010 uqs

Always assign WARNS using ?=

- fix some nearby style bugs
- include Makefile.inc where it makes sense and reduces duplication

Approved by: ed (co-mentor)


204311 25-Feb-2010 ru

Fixed missing or broken library dependencies.


204310 25-Feb-2010 ru

Moved mcgrab(1) into a separate directory -- our .mk infrastructure
doesn't currently have support for building multiple programs in a
single makefile.

While here, fixed manpages and makefiles (missing dependencies).


203800 12-Feb-2010 ru

Fixed error checking of pthread(3) functions.

PR: 143807
Submitted by: pluknet (partly)


202161 12-Jan-2010 gavin

Spell "Hz" correctly wherever it is user-visible.

PR: bin/142566
Submitted by: N.J. Mann njm njm.me.uk
Approved by: ed (mentor)
MFC after: 2 weeks


200941 24-Dec-2009 jhb

Add a new tool which attempts to check for kernel configuration options that
are missing from NOTES files.


200096 04-Dec-2009 phk

Add disk-magic for amd64: same as i386.

Pass PORTS_OPTS wherever we invoke ports makefiles

Add a logfile where we can see the progress of distfile prefetching


199812 25-Nov-2009 julian

exit if "make distribition" fails

Submitted by: patrick tracanelli
MFC after: 1 week


199536 19-Nov-2009 mr

Add nanobsd example for the PC Engines ALIX board (serial console).


199291 15-Nov-2009 attilio

Collapse devinfo_state_t with device_state_t in order to avoid a
structure replication and improve manteneability.

Reviewed by: jhb, imp
Tested by: Riccardo Torrini <riccardo at torrini dot org>


199251 13-Nov-2009 ed

Convert {small prefix}BSD to TERM=xterm as well.

Clean up the ttys files shipped with PicoBSD, NanoBSD and TinyBSD. While
there, it seems one of them still had references to sio(4). Make it in
sync with what we do in the base system.


199243 13-Nov-2009 ed

Switch the default terminal emulation style to xterm for most platforms.

Right now syscons(4) uses a cons25-style terminal emulator. The
disadvantages of that are:

- Little compatibility with embedded devices with serial interfaces.
- Bad bandwidth efficiency, mainly because of the lack of scrolling
regions.
- A very hard transition path to support for modern character sets like
UTF-8.

Our terminal emulation library, libteken, has been supporting
xterm-style terminal emulation for months, so flip the switch and make
everyone use an xterm-style console driver.

I still have to enable this on i386. Right now pc98 and i386 share the
same /etc/ttys file. I'm not going to switch pc98, because it uses its
own Kanji-capable cons25 emulator.

IMPORTANT: What to do if things go wrong (i.e. graphical artifacts):

- Run the application inside script(1), try to reduce the problem and
send me the log file.
- In the mean time, you can run `vidcontrol -T cons25' and `export
TERM=cons25' so you can run applications the same way you did before.
You can also build your kernel with `options TEKEN_CONS25' to make all
virtual terminals use the cons25 emulator by default.

Discussed on: current@


199141 10-Nov-2009 jhb

Purge some useless mergeinfo.


198136 15-Oct-2009 luigi

Support the specification of a range of destination ports e.g.

netsend 127.0.0.1 6666-7777 [payloadsize] [packet_rate] [duration]

This is useful to test the behaviour of systems that do some kind
of flow classifications and so exhibit different behaviour depending
on the number of flows that hit them.
I plan to add a similar extension to sweep on a range of IP addresses,
so we can issue a single command to flood (obviously, for testing
purposes!) a number of different destinations.

When there is only one destination, we do a preliminary connect()
of the socket so we can use send() instead of sendto().
When we have multiple ports, the socket is not connect()'ed and we
do a sendto() instead. There is a performance hit in this case,
as the throughput on the loopback interface (with a firewall rule
that blocks the transmission) goes down from 900kpps to 490kpps on
my test machine.

If the number of different destinations is limited, one option to
explore is to have multiple connect()ed sockets.

MFC after: 1 month


198132 15-Oct-2009 luigi

A small change to avoid calling gettimeofday() too often
(hardwired to once every 20us at most).

I found out that on many machines round here, i could only get
300-400kpps with netsend even on loopback and a 'deny' rule in
the firewall, while reducing the number of calls to gettimeofday()
brings the value to 900kpps and more.

This code is just a quick fix for the problem. Of course it could be
done better, with proper getopt() parsing and the like, but since
this applies to the entire program i'll postpone that to when i have
more time.

Reviewed by: rwatson
MFC after: 1 month


197542 27-Sep-2009 simon

- When we run our trap cleanup handler, echo that we are running this
handler to make it more clear why we are 'suddenly' running df,
umount, and mdconfig.
- Remove trap handler again after we have unconfigured the memory
device etc. Before we could end up running the trap handler if a
later stage failed, which was a bit confusing and not really useful.

MFC after: 2 weeks


197454 24-Sep-2009 rpaulo

Update the includes to two more levels of subdirs.

MFC after: 1 week


196696 31-Aug-2009 jhb

Delete some empty mergeinfo.


196599 27-Aug-2009 sam

recognie invalid register names


196421 21-Aug-2009 zec

Bugfix: all requests for creating vnets via vimage -c were always
reported as failures, even if the actual library / system call
would succeed, because error message would be reported if the return
value from jail_setv() call was >= 0, and if not, then if that same
value was < 0, i.e. always. The correct behavior is to abort (only)
if jail_setv() returns < 0.

Approved by: re (rwatson), julian (mentor)


196409 20-Aug-2009 zec

vimage(8) is a legacy CLI interface for managing jails associated with
network stack instances, which is provided for compatibility with
older applications. This change brings it back to life in a followup
to the initial conversion of vimage to use the new jail(4)
userland-kernel API:

- when creating vimages via "vimage -c", by default turn on a few
options expected by legacy applications, such as allow operations on
raw sockets, FS mounts etc, and allow jail-related parameters to be
optionally configured.

- introduce the "-m" modifier which allows for configuring jail
parameters of existing vimages / vnet-jails.

- make "vimage name command ..." actually work.

- when reassigning ifnets to vnets using "vimage -i", attempt to rename
the ifnet as "ethXXX" on arrival in the target vnet. Several legacy
applications are known to depend heavily on such behavior.

- vimage -l lists only jails associated with vnets. The output is
sorted using vimage / jail names as keys.

- vimage -l by default searches only the current level in the jail
hierarchy. Recursive listing can be requested via -r switch.

- vimage -l by default prints only jail names on each line, making
such output suitable for pipelining to other commands. More verbose
output can be obtained via -v switch, and even more jail specific
information will be displayed if -j switch is turned on.

- there's no need to build vimage as statically linked, so update the
Makefile accordingly.

- update the vimage.8 man page.

Approved by: re (rwatson), julian (mentor)
MFC after: immediately


195848 24-Jul-2009 sam

Update for vaps:
o do not force monitor mode; the wlanX ifnet must be an ahdemo mode vap
o move channel change work before marking ifnet up to avoid churning
the state machine
o change default ifnet name to "wlan0"

Approved by: re (kensmith)


195811 21-Jul-2009 sam

update for recent mesh additions

Approved by: re (kib)


195741 17-Jul-2009 jamie

Remove the interim vimage containers, struct vimage and struct procg,
and the ioctl-based interface that supported them.

Approved by: re (kib), bz (mentor)


195618 11-Jul-2009 rpaulo

Implementation of the upcoming Wireless Mesh standard, 802.11s, on the
net80211 wireless stack. This work is based on the March 2009 D3.0 draft
standard. This standard is expected to become final next year.
This includes two main net80211 modules, ieee80211_mesh.c
which deals with peer link management, link metric calculation,
routing table control and mesh configuration and ieee80211_hwmp.c
which deals with the actually routing process on the mesh network.
HWMP is the mandatory routing protocol on by the mesh standard, but
others, such as RA-OLSR, can be implemented.

Authentication and encryption are not implemented.

There are several scripts under tools/tools/net80211/scripts that can be
used to test different mesh network topologies and they also teach you
how to setup a mesh vap (for the impatient: ifconfig wlan0 create
wlandev ... wlanmode mesh).

A new build option is available: IEEE80211_SUPPORT_MESH and it's enabled
by default on GENERIC kernels for i386, amd64, sparc64 and pc98.

Drivers that support mesh networks right now are: ath, ral and mwl.

More information at: http://wiki.freebsd.org/WifiMesh

Please note that this work is experimental. Also, please note that
bridging a mesh vap with another network interface is not yet supported.

Many thanks to the FreeBSD Foundation for sponsoring this project and to
Sam Leffler for his support.
Also, I would like to thank Gateworks Corporation for sending me a
Cambria board which was used during the development of this project.

Reviewed by: sam
Approved by: re (kensmith)
Obtained from: projects/mesh11s


194958 25-Jun-2009 n_hibma

- Make pprint print through fd 3, so it can be used in customisation
functions to print something to the screen.
- Prefix each line with the running time (bikeshed).

Submitted by: Rick van der Zwet (Wireless Leiden)


194873 24-Jun-2009 sam

add a link named athpeek since my fingers keep typing it


194872 24-Jun-2009 sam

read back the written value and display


194558 20-Jun-2009 remko

Add architecture support for TinyBSD

PR: 135301
Submitted by: Olivier Cochard-Labbe <olivier at cochard dot me>
Reviewed by: Jean Milanez Melo <jmelo at freebsdbrasil dot com dot br> (maintainer)
Approved by: imp (mentor, implicit)
MFC after: 1 week


194440 18-Jun-2009 n_hibma

- Don't hard code _.disk.full. Use the variable.
- _.bk should be created in MAKEOBJDIRPREFIX as well
- Remove a misplaced and unnecessary message.


194437 18-Jun-2009 n_hibma

Reverse some stuff I accidentally committed in the previous commit:

- creation of sparse files to speed up the build process. This was
discussed with phk 2 years ago and he disagreed with this change.
- handling of negative data partition sizes.

Can I have the ... green pointy hat, please?


194431 18-Jun-2009 n_hibma

Allow building world into a separate dir (for reuse in multiple images):
- buildworld and buildkernel are built into MAKEOBJDIRPREFIX
- installworld and installkernel are performed on NANO_OBJ.

No change of functionality if MAKEOBJDIRPREFIX is not set. If it is sea,t
clean_world deletes NANO_OBJ instead of NANO_WORLDDIR. By starting nanobsd.sh
with the -b option the existing world can be reused to build a new world
reducing time and disk space considerably.

While there:
- Fix two cases where (in comments) MAKEOBJDIRPREFIX should have been
NANO_DISKIMGDIR.
- Simplify an 'if (not wrong); then true; else action; fi' into
'if wrong; then action; fi'. 'if ! false; then echo hello; fi' produces hello.

Note: Make sure you use NANO_OBJ were you use MAKEOBJDIRPREFIX now in your
nanobsd.conf files if you want to split out.


194380 17-Jun-2009 sam

update usb config; the old stack is gone


194332 17-Jun-2009 edwin

When copy+paste goes wrong... Remove duplicate "expr".

Submitted by: danfe@


194310 16-Jun-2009 edwin

iiin -> in

Submitted by: "N.J. Mann" <njm@njm.me.uk>


194288 16-Jun-2009 edwin

Fix NanoBSD when the data partition size is defined as a negative
number.

It is possible to ask nanobsd.sh to create a 'data' partition,
separate from the system or configuration partitions, and
furthermore, by specifying a negative value for its size
to request that it use all space unused by those partitions
for its own size.

Because the two lines of code that calculate how much space
is available for this data partition are written in perl-like
syntax, the awk code that does the processing performs the
calculation incorrectly.
[note - this was already fixed by r174936]

Furthermore, a comparison later down fails to newfs the
partition when the size is negative.

PR: misc/127759
Submitted by: Cyrus Rahman <crahman@gmail.com>
MFC after: 1 week


194286 16-Jun-2009 edwin

Support for 64 Mb Kodak flash device.

PR: misc/115025
Submitted by: Michael W Lucas <mwlucas@freebsd.org>
MFC after: 1 week


194285 16-Jun-2009 edwin

Add support for 256MB Hitachi CF card and 256MB Silicon Systems CF card

This patch against RELENG_6 adds two more entries to
src/tools/tools/nanobsd/FlashDevice.sub - one for a 256MB
Hitachi CF card and one for a 256MB Silicon Systems CF card.

Both entries have been verified to work with a Soekris net4801.

PR: kern/101228
Submitted by: Henrik Brix Andersen <henrik@brixandersen.dk>
MFC after: 1 week


194192 14-Jun-2009 edwin

Instead of only being able to compare two terminal definitions, now
also be able to print information about...

- length of the terminal capabilties
- dump of one terminal definition
- relationship overview for a terminal definition


194191 14-Jun-2009 edwin

Rename since it has will have more capabilities than just comparing of
two termcap entries.


194144 14-Jun-2009 edwin

Tool to compare two (roughly similar) termcap entries (like rxvt-mono
and rxvt-unicode) so see which fields should don't need to be copied
if the :tc=xxx: option is used.


193585 06-Jun-2009 edwin

pciconf(8) removes characters after an #, therefor remove them.
Also remove \s used to escape 's.


193584 06-Jun-2009 edwin

When trying to see if we could update the share/misc/pci_vendors,
I found out that the input format of the Boemler list was different
than what the code expected: The last two fields were interpreted
as one. Checking the csv version of the list it showed that there
was sometimes a chipset number in the column before the card
description.

This is a rewrite to use the CSV format of the Boemler list. The
output is differently formatted: Instead of the "chip description",
it is now "description (chip)"


193583 06-Jun-2009 zec

Add an interim userland utility for managing vimages / virtualized
network stack infrastructure.

Requested by: julian (mentor)
Approved by: julian (mentor)


193242 01-Jun-2009 sam

tools for mwl driver


192662 23-May-2009 sam

add npe tools


192661 23-May-2009 sam

add npe tools; first is npestats which reports device statistics


192630 23-May-2009 edwin

Added two tools to check the contents of /usr/share/misc/iso* with
the data from the sources.

PR: misc/127430 and misc/misc/127428


192321 18-May-2009 sam

fix typo


191517 26-Apr-2009 ed

Remove empty directories from the HEAD.

Discussed with: developers, imp


191275 19-Apr-2009 phk

A script for plucking packages and their runtime dependencies for
nanobsd images.


191247 18-Apr-2009 sam

Cleanups to prepare this code for wider use (likely merged into hostapd):
o add (required) cmd line args to specify the set of ifnet's to monitor
for WDS discovery msgs; "any" is a wildcard
o change the default script run on wds vap create to the "null script"
o auto-daemonize; add -f option to force foreground operation
o add -P option for integration with rc.d (implementation missing, tba)
o use syslog; default to log up to LOG_INFO, -t (terse) gives you up to
LOG_ERR, and -v (verbose) gives you up to LOG_DEBUG
o scan for existing vaps on startup to recover existing state
o correct some types


191246 18-Apr-2009 sam

allow NANO_CFGDIR to be overridden


191128 15-Apr-2009 sam

no more need for -p option to wlanwds; it knows how to find the parent now


191127 15-Apr-2009 sam

o remove the -p option; use the %parent pointer sysctl to find the parent ifnet
o remove the -b option; users can just embed the bridge ifnet in the script
o add -j option to create wds vaps on join/rejoin ops


191024 13-Apr-2009 sam

switch usb setup to usb2; it still doesn't work right but the
old stuff is now removed and we want this to build


191023 13-Apr-2009 sam

catch up with removal of ATH_SUPPORT_TDMA


190748 05-Apr-2009 phk

Remember to clear the ports list before generation for prefetch


190209 21-Mar-2009 phk

Wrap a long line.

Save a copy of the CONFIGFILES before we spam them.


190100 19-Mar-2009 thompsa

Remove the uscanner(4) driver, this follows the removal of the kernel scanner
driver in Linux 2.6. uscanner was just a simple wrapper around a fifo and
contained no logic, the default interface is now libusb (supported by sane).

Reviewed by: HPS


189712 12-Mar-2009 sam

add more register bit defs


189705 11-Mar-2009 sam

move shared register support code to common


189704 11-Mar-2009 sam

add athpoke, a tool to peek/poke registers


189702 11-Mar-2009 sam

add athdecode, an app to decode register logs


189701 11-Mar-2009 sam

add %b format strings for use by athdecode


189623 10-Mar-2009 rwatson

Add tcpp -- TCP parallelism microbenchmark.

This tool creates large numbers of TCP connections, each of which will
transmit a fixed amount of data, between client and server hosts. tcpp can
use multiple workers (typically up to the number of hardware cores), and can
use multiple source IPs in order to use an expanded port/IP 4-tuple space to
avoid problems from reusing 4-tuples too quickly. Aggregate bandwidth use
will be reported after a client run.

While by no means a perfect tool, it has proven quite useful in generating
and optimizing TCP stack lock contention by easily generating high-intensity
workloads. It also proves surprisingly good at finding device driver bugs.


189331 04-Mar-2009 yongari

Make ifinfo build. The struct if_data members ifi_recvquota and
ifi_xmitquota were renamed to ifi_spare_char1 and ifi_spare_char2
respectively.


189274 02-Mar-2009 sam

add -b option to suppress the banner


189118 27-Feb-2009 sam

really enable usb1


189116 27-Feb-2009 sam

o enable PREEMPTION
o turn off a bunch of stuff that's unlikely to be used
o add flash support
o use mii instead of miibus to save space
o enable tdma support
o configure legacy usb as usb2 works only on 2348 w/ 64M configs


189115 27-Feb-2009 sam

o add -HEAD to avoid build conflicts
o switch to a more common flash config


189114 27-Feb-2009 sam

add -HEAD to avoid build conflicts


189098 27-Feb-2009 sam

fix build


189097 27-Feb-2009 sam

fix build


189085 26-Feb-2009 sam

use mii instead of miibus to not pull in useless phy code


189084 26-Feb-2009 sam

add updatep[12] that grok the partitioning we use and use gpart
instead of boot0cfg to switch the active partition


189059 26-Feb-2009 sam

add more gpio registers


188853 20-Feb-2009 mr

Delete files which serve no purpose in this environment.

Inspired by: simon@


188785 19-Feb-2009 sam

revamp after 1/2 and 1/4 rate changes


188560 13-Feb-2009 sam

add -z option to zero driver statistics (but note we don't yet zero
stats obtained from the hal)


188559 13-Feb-2009 sam

add stats no frags and missing stat for no dma buffers


188558 13-Feb-2009 sam

backout r188327, it broke summary printing


188482 11-Feb-2009 mr

Add files to build i386/amd64 bootable rescue ISO images using the
nanobsd framework.


188327 08-Feb-2009 sam

o use humanize_number to print totals
o shrink some fields now that we don't have to worry about overflow


188210 05-Feb-2009 sam

for adhoc and ahdemo modes try to find the "bss node": use the bssid
unless it's not setup or zero's; this may not work as the bssid of
the ibss isn't certain to the "right mac address" but for many cases
it is


188206 05-Feb-2009 sam

make -o handling like athstats


188205 05-Feb-2009 sam

unbreak -o


188196 05-Feb-2009 sam

add new stats and missing tx_raw stat


188187 05-Feb-2009 sam

o fix identification of ahdemo mode
o split out code to get the bssid for use in the future
o include more information in error diags when unable to collect sta info/stats


188157 05-Feb-2009 sam

add cfi test tool

Sponsored by: Carlson Wireless
Reviewed by: imp, Chris Andreson


188117 04-Feb-2009 phk

Get the right system makefiles for make distribution.


187905 29-Jan-2009 sam

track hal changes


187904 29-Jan-2009 sam

update for hal changes


187372 17-Jan-2009 phk

Fix typo

Spotted by: juli


187371 17-Jan-2009 phk

Release the evil twin of nanobsd.sh: sysbuild.sh

quoth the README:

I have been running -current on my laptop since before FreeBSD 2.0 was
released and along the way developed this little trick to making the
task easier.

sysbuild.sh is a way to build a new FreeBSD system on a computer from
a specification, while leaving the current installation intact.

sysbuild.sh assume you have two partitions that can hold your rootfs
and can be booted, and roughly speaking, all it does is build a new
system into the one you don't use, from the one you do use.

A partition named /freebsd is assumed to be part of your layout, and
that is where the sources and ports will be found.

If you know how nanobsd works, you will find a lot of similarity.


187322 15-Jan-2009 sam

add athrd tool that dumps ath hal regulatory info; note this is soon to
obsolete but commit now so it's available for anyone that's interested


187255 15-Jan-2009 sam

simple scripts to demonstrate tdma setup


187120 12-Jan-2009 sam

add tool to calculate air time for 802.11 packets


187107 12-Jan-2009 obrien

Vi got me in trouble in r187102 - fix typo of duplicate output filename.

Submitted by: several


187102 12-Jan-2009 obrien

Update fech URL.

Submitted by: Alexander Best <alexbestms@math.uni-muenster.de>


186979 09-Jan-2009 sam

example configurations for cross-building to Gateworks 2348 and 2358 boards;
probably needs cleanups to be less specific to my needs/uses

MFC after: 2 weeks


186904 08-Jan-2009 sam

TDMA support for long distance point-to-point links using ath devices:
o add net80211 support for a tdma vap that is built on top of the
existing adhoc-demo support
o add tdma scheduling of frame transmission to the ath driver; it's
conceivable other devices might be capable of this too in which case
they can make use of the 802.11 protocol additions etc.
o add minor bits to user tools that need to know: ifconfig to setup and
configure, new statistics in athstats, and new debug mask bits

While the architecture can support >2 slots in a TDMA BSS the current
design is intended (and tested) for only 2 slots.

Sponsored by: Intel


186457 23-Dec-2008 gnn

Add a new program, ether_reflect, which is useful in testing ethernet
devices and switches.


186456 23-Dec-2008 gnn

Fix a bug in the man page where we were not showing the correct flags
in the explanation. Several of the flags were -i, since it was a copy/paste
operation.


186453 23-Dec-2008 gnn

Add the mctest program and description to the README.


186284 18-Dec-2008 bms

Add new tool tionxcl to bring ttys out of exclusive mode when
left by e.g. legacy uucp or tip.


186181 16-Dec-2008 phk

Make it possible to cherry-pick packages out of a directory.


185743 07-Dec-2008 sam

bring in diagnostic tools that are useful now that we have hal source code


184453 29-Oct-2008 sam

o unbreak ani stat display
o improve some labels


184371 27-Oct-2008 sam

sync w/ driver updates; this also brings in ani stats


184370 27-Oct-2008 sam

add regdomain knob


184048 19-Oct-2008 sam

add -n option to suppress clearing the build tree and add -DNO_CLEAN
to buildworld and/or buildkernel


183727 09-Oct-2008 n_hibma

Avoid failing if the directory already exists (when restarting at customize).

MFC after: 2 days


183315 23-Sep-2008 simon

In cust_install_files() we ignore CVS directories. In a similar way now
also ignore .svn directories.


183314 23-Sep-2008 simon

- Change all "echo #..." into using a progress print function to make it
possible to make NanoBSD output more quite or verbose. The default
output should remain mostly unchanged. [1]
- Add missing shift for -i.
- Clean up usage() so it's now (mostly) sorted alphabetically.
- Make command line argument handling more consistent in the code and
remove redundant semicolons.

Reviwed by: phk [1]


183284 23-Sep-2008 bms

* Add USB boot support.
* Allow the image name to be renamed via NANO_IMGNAME.
* Propagate TARGET_ARCH into src top level make targets
explicitly to support cross-building.
* Increase the default size of NanoBSD media from 488MB to
584MB to accomodate a -CURRENT world.

Reviewed by: phk


183279 22-Sep-2008 bms

Mark the first slice of a NanoBSD image 'active' by default.
This fixes USB boot (not yet merged to HEAD) with 3 flavours
of BIOS I've seen.

Approved by: phk


183237 21-Sep-2008 simon

Include $NANO_NAME in the completed message. This is nice if you are
building multiple NanoBSD images at once to keep track of what is
running and what isn't.


183219 21-Sep-2008 sam

eliminate hardwired lists; use the media type to autoconfig


182845 07-Sep-2008 simon

Change space -> tab in printed usage output to make it look consistent.


182690 02-Sep-2008 thomas

Fix typo in comment.


182578 31-Aug-2008 rik

Add simple cd to dvd conversion script.


181965 21-Aug-2008 raj

Increase cryptotest tool initialization vector (IV) size.

This fixes potential out-of-bound accesses when testing ciphers with block size
greater than 8 bytes (e.g. AES).

Submitted by: Bartlomiej Sieka tur ! semihalf dot com
Discussed with: pjd, sam


181751 15-Aug-2008 phk

Accept tty[ud]0 for console device


181631 12-Aug-2008 antoine

Use expr -e instead of expr to compute NANO_MEDIASIZE for Flash devices
larger than 2GB to prevent an overflow [1].
Make case-insensitive comparison work for siliconsystems, soekris and
transcend devices.

PR: conf/126386 [1]
Submitted by: Mark A [1]
MFC after: 1 month


181481 09-Aug-2008 sam

fix syntax


181461 09-Aug-2008 phk

Add late customize hook

Submitted by: Patrick M. Hausen
Sat on for far too long: phk


181460 09-Aug-2008 phk

Add -i option to supress image building.

Submitted by: keramida


181459 09-Aug-2008 phk

Track /etc/ttys change to uart(4)


181195 02-Aug-2008 sam

use new sysctl to generate a fake radar event


181083 31-Jul-2008 sam

unset TARGET_CPUTYPE and TARGET_BIG_ENDIAN when building the kernel
to silence compiler complaints when cross-building

Reviewed by: phk
MFC after: 2 weeks


180986 30-Jul-2008 scf

style(9) specifies that case statements are not indented.


180394 09-Jul-2008 gnn

Add a new program to the multicast test suite. The mcgrab program
is used to grab and hold some number of multicast addresses in order
to test what happens when an interface goes over the number of multicast
addresses it can filter in hardware.


179528 03-Jun-2008 gnn

Update mctest and its associated script to have a base port to listen
on so that multiple copies can be run easily.

Update documentation with group and port arguments which are optional.


179122 19-May-2008 thompsa

Flush stdout after each line to make piping to another command easier.


178701 30-Apr-2008 scf

Enable autoflush of output to always show prompts. If piping the output
prior to this patch, the prompt would not appear due to buffering.

Approved by: flz


178699 30-Apr-2008 sam

o add indirect array for field indices as the # stats is > 127 and doesn't
fit in a signed char
o change default output to something more useful for sta mode
o futz w/ various field names and widths; need to do full pass over this stuff


178698 30-Apr-2008 sam

update for new events


178681 29-Apr-2008 rpaulo

Add new directories, scripts and wlanwds. Introduced with vap support.


178680 29-Apr-2008 rpaulo

Add missing 't'.

Approved by: sam


178456 24-Apr-2008 gnn

Updated the test to handle multiple sinks. The sinks cut their
transmissions by the number of them running so that they do not
overwhelm the source.

Added a simple shell script to kick off sinks on multiple hosts as
well as a source on the host where the shell script is run. The script
also collects the output of all the sinks and the source into files named
for the host on which the tests are run. A date is appended to each output
file to make it unique per run.


178369 21-Apr-2008 phk

Add a small script that will examine all files which exist on /cfg and
if they are different in /etc, copy them to /cfg.

Submitted by: mat


178361 20-Apr-2008 sam

test scripts for vaps and other 802.11 features

Supported by: Hobnob and Marvell


178360 20-Apr-2008 sam

add dwds test app

Supported by: Hobnob
Obtained from: Atheros (earlier version)


178359 20-Apr-2008 sam

update for vaps

Supported by: Hobnob


177936 05-Apr-2008 ceri

Correct typo.


177872 03-Apr-2008 gnn

Add a manual page and a Makefile.

Add code to reflect packets back from the sink so that we can measure
round trip at the source.


177504 22-Mar-2008 sam

sync w/ p4: minor cleanups to improve msgs


177453 20-Mar-2008 remko

Alert properly when we have stale mounts left after interupting
a tinybsd build. If we do not do this, we can accidentally remove
critical files from directories like /lib (if mounted).

PR: misc/121763
Submitted by: Richard Arends < richard at unixguru dot nl >
MFC after: 3 days


177448 20-Mar-2008 des

"track" is a script I've used for ages to track the progress of a build.
Unlike whereintheworld, it continuously monitors the log file; it also
produses less verbose output.


177388 19-Mar-2008 gnn

Add the correct license.


177387 19-Mar-2008 gnn

A multicast test. The mctest program acts as both a source and a sink
for multicast packets. Parameters for the interface, packet size,
number of packets, and interpacket gap may be given on the command line.
The sink records how many packets were missed, and at what time each
packet arrived.


177154 13-Mar-2008 obrien

Vim function to style(9).
Issue ':call FreeBSD_Style()' while editing a file.

Submitted by: scf


176934 08-Mar-2008 remko

Improve handling of the tinybsd application wrt ports. Ports that
have dependencies or need to install a new user/group, are not
problematic anymore.

PR: 121367
Submitted by: Richard Arends < richard at unixguru dot nl >
MFC after: 3 days


175979 05-Feb-2008 matteo

Add missing includes and correct argument to sysctlbyname

PR: misc/120274
MFC after: 1 week


175406 17-Jan-2008 emaste

Eliminate warnings by adding headers.


175258 12-Jan-2008 simon

- Add support for using swap backed md(4) devices for building the
disk image. In some cases this can be a significant speed-up, if
most of the image can be kept in RAM while being populated.

On the 2GB image I'm currently working with, the build time,
excluding buildworld/buildkernel, goes from ~17 minutes to ~6
minutes.

This is not enabled by default, as it might have the opposite effect
on low-memory systems.

- During the generation of the image file be a bit more verbose in the
log file so it is possible to see what's being done.

- Add a NANO_DISKIMGDIR variable which makes it possibly to place the
final images somewhere other than ${MAKEOBJDIRPREFIX}. The default
value for NANO_DISKIMGDIR is $MAKEOBJDIRPREFIX.

Go for it: phk


174936 27-Dec-2007 simon

- Fix calculation of data slice size when NANO_DATASIZE=-1.

Due to a typo, setting NANO_DATASIZE=-1 resulted in the data slice
being the same size as entire image instead of the size of the
remaining space on the image.

- Fix detection of overcommit of the slices.

This fix mainly result in a nicer error than when newfs etc. tries to
write beyond the end of the disk image.

MFC after: 2 weeks
X-MFC after: RELENG_7 is open again


174811 20-Dec-2007 phk

Ministat was repocopied to src/usr.bin/ministat


174571 13-Dec-2007 sam

use ATH environment variable (when set) as the default interface name


174570 13-Dec-2007 sam

Some overdue tlc:
o push include paths to the Makefile
o use the AFTER trick to simplify adding new items
o prepare stat blocks for additional data
o align values for verbose output
o fillin some missing stats

MFC after: 1 week


174245 04-Dec-2007 sam

update copyrights


174244 04-Dec-2007 sam

update copyright's


173306 03-Nov-2007 sam

o sync w/ net80211 changes
o redo numbering scheme to simplify changing the table


173305 03-Nov-2007 sam

align stats printed out w/o any args

MFC after: 1 week


173304 03-Nov-2007 sam

o add -o ampdu shorthand for viewing most useful ampdu stats
o remove noise from default stat list

MFC after: 1 week


173139 29-Oct-2007 rwatson

Merge Neterion if_nxge driver version 2.0.9.11230 with the following
changes:

01 - Enhanced LRO:
LRO feature is extended to support multi-buffer mode. Previously,
Ethernet frames received in contiguous buffers were offloaded.
Now, frames received in multiple non-contiguous buffers can be
offloaded, as well. The driver now supports LRO for jumbo frames.

02 - Locks Optimization:
The driver code was re-organized to limit the use of locks.
Moreover, lock contention was reduced by replacing wait locks
with try locks.

03 - Code Optimization:
The driver code was re-factored to eliminate some memcpy
operations. Fast path loops were optimized.

04 - Tag Creations:
Physical Buffer Tags are now optimized based upon frame size.
For better performance, Physical Memory Maps are now re-used.

05 - Configuration:
Features such as TSO, LRO, and Interrupt Mode can be configured
either at load or at run time. Rx buffer mode (mode 1 or mode 2)
can be configured at load time through kenv.

06 - Driver Statistics:
Run time statistics are enhanced to provide better visibility
into the driver performance.

07 - Bug Fixes:
The driver contains fixes for the problems discovered and
reported since last submission.

08 - MSI support:
Added Message Signaled Interrupt feature which currently uses 1
message.

09 Removed feature:
Rx 3 buffer mode feature has been removed. Driver now supports 1,
2 and 5 buffer modes of which 2 and 5 buffer modes can be used
for header separation.

10 Compiler warning:
Fixed compiler warning when compiled for 32 bit system.

11 Copyright notice:
Source files are updated with the proper copyright notice.

MFC after: 3 days
Submitted by: Alicia Pena <Alicia dot Pena at neterion dot com>,
Muhammad Shafiq <Muhammad dot Shafiq at neterion dot com>


172394 30-Sep-2007 marius

Make the PCI code aware of PCI domains (aka PCI segments) so we can
support machines having multiple independently numbered PCI domains
and don't support reenumeration without ambiguity amongst the
devices as seen by the OS and represented by PCI location strings.
This includes introducing a function pci_find_dbsf(9) which works
like pci_find_bsf(9) but additionally takes a domain number argument
and limiting pci_find_bsf(9) to only search devices in domain 0 (the
only domain in single-domain systems). Bge(4) and ofw_pcibus(4) are
changed to use pci_find_dbsf(9) instead of pci_find_bsf(9) in order
to no longer report false positives when searching for siblings and
dupe devices in the same domain respectively.
Along with this change the sole host-PCI bridge driver converted to
actually make use of PCI domain support is uninorth(4), the others
continue to use domain 0 only for now and need to be converted as
appropriate later on.
Note that this means that the format of the location strings as used
by pciconf(8) has been changed and that consumers of <sys/pciio.h>
potentially need to be recompiled.

Suggested by: jhb
Reviewed by: grehan, jhb, marcel
Approved by: re (kensmith), jhb (PCI maintainer hat)


172240 19-Sep-2007 gnn

Update structure name to follow the new IPsec code.

Reported by: phk
Approved by: re


171986 26-Aug-2007 phk

Add option to not fill second code image, this makes the full disk
image compress much better.

Respect pkg_add's internal 200 package limitation.

Approved by: re (bmah)
Spelling fixes by: bmah


171923 22-Aug-2007 remko

Bring in two fixes for TinyBSD:

- Add the bind mtree to the TinyBSD build so that files
can be installed there (else the build fails)
- Change GEOM_GPT to GEOM_PART_GPT since that had been
renamed in current. The kernel configuration provided
by TinyBSD will not build without these changes.

PR: misc/115484
PR: misc/115405
Submitted by: Richard Arends <richard at unixguru dot nl>
Approved by: re (bmah)
Approved by: imp (mentor)


171636 28-Jul-2007 thompsa

wlandebug has been moved to the base system.

Approved by: re (rwatson)


171344 10-Jul-2007 flz

Fix commit mail retrieval when using message-id.

Submitted by: novel
Approved by: re (hrs)


171131 01-Jul-2007 thompsa

Remove wicontrol(8) from the base system. Using wicontrol to configure an
interface has been deprecated since 5.1, wi(4) wireless interfaces are managed
via the net80211 stack and ifconfig.

Approved by: re (rwatson)


171095 29-Jun-2007 sam

Neterion Xframe 10GbE Server/Storage adapter driver.

The nxge driver provides support for Neterion Xframe-I and Xframe-II
adapters. The driver supports TCP Segmentation Offload (TSO/LSO),
Jumbo frames (5 buffer mode), Header separation (2 and 3 Receive
buffer modes), VLAN, and Promiscuous mode.

Submitted by: Neterion
Reviewed by: rwatson
Approved by: re (kensmith)


171023 25-Jun-2007 rafan

- Remove UMAP filesystem. It was disconnected from build three years ago,
and it is seriously broken.

Discussed on: freebsd-arch@
Approved by: re (mux)


170637 12-Jun-2007 phk

Recoverdisk is now part of the base system.


170607 12-Jun-2007 phk

Add cust_pkg() which iteratively tries to install packages.

Move /usr/local/etc to /etc/local so that installed packages can be frobbed.

Use a more compatible 512MB card geometry.


170535 11-Jun-2007 sam

add 11n stats


170534 11-Jun-2007 sam

o add 11n knob
o gcc42 stuff


170324 05-Jun-2007 phk

Default to R/O root filesystem


170322 05-Jun-2007 phk

Fix the fstab on the second image, just like updatep2.sh does.


168972 23-Apr-2007 phk

Improve reporting in recoverdisk a good deal.

Submitted by: Ulrich Spoerlein <uspoerlein@gmail.com>
PR: 111630


168966 23-Apr-2007 sam

o fix a buffer overflow in save_key() that occurs with 104-bit wep
o make some variables parameters (frequency of crack, and maximum channel)
o try to spoof mac if association fails

Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>


168894 20-Apr-2007 adrian

NanoBSD modifications:

* Break out the boot0 loader selection into a variable - NANO_BOOTLOADER -
so people like me with VGA consoles can override the default (which is
to use boot0sio)
* Put the boot0 configuration options in NANO_BOOT0CFG in case you want
to override the defaults.
* Modify nanobsd.8 to reflect the changes and hint the console default is
serial.

MFC after: 2 weeks


168538 09-Apr-2007 sam

correct copyright attribution; there was no copyright in the patches
from Andrea so I assigned him ownership; this corrects that

Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>


168502 08-Apr-2007 sam

Due to the recent "aircrack-ptw" WEP cracking discovery, I thought
that it might be worth fixing a couple of bugs in wesside and making
it use the new cracking technique. I think this enhancement makes
the tool quite usable. It is possible to recover keys in only a
couple of minutes.

* Fix ACKs. Firmware will ACK data [just set the MAC addr correctly].
* Fix RX routines. Process all packets read().
* Use aircrack-ptw [built-in] rather than external aircrack.
* Log data in pcap format so that it may be used by others [e.g. aircrack-ng].

Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>


167755 21-Mar-2007 sam

Overhaul driver/subsystem api's:
o make all crypto drivers have a device_t; pseudo drivers like the s/w
crypto driver synthesize one
o change the api between the crypto subsystem and drivers to use kobj;
cryptodev_if.m defines this api
o use the fact that all crypto drivers now have a device_t to add support
for specifying which of several potential devices to use when doing
crypto operations
o add new ioctls that allow user apps to select a specific crypto device
to use (previous ioctls maintained for compatibility)
o overhaul crypto subsystem code to eliminate lots of cruft and hide
implementation details from drivers
o bring in numerous fixes from Michale Richardson/hifn; mostly for
795x parts
o add an optional mechanism for mmap'ing the hifn 795x public key h/w
to user space for use by openssl (not enabled by default)
o update crypto test tools to use new ioctl's and add cmd line options
to specify a device to use for tests

These changes will also enable much future work on improving the core
crypto subsystem; including proper load balancing and interposing code
between the core and drivers to dispatch small operations to the s/w
driver as appropriate.

These changes were instigated by the work of Michael Richardson.

Reviewed by: pjd
Approved by: re


167167 02-Mar-2007 bms

Put this old tool for dumping PCI expansion ROM images somewhere useful.

WARNING: THIS IS NOT STABLE ON NON-I386 ARCHITECTURES, AND NEEDS SPECIFIC
KNOWLEDGE OF THE ADDRESS SPACE ON YOUR SYSTEM TO WORK.


166567 08-Feb-2007 rwatson

Add 's' after printing the send interval to make it clear it's a send
interval.


166539 06-Feb-2007 pjd

Allow to use umastat on coredumps.

Reviewed by: rwatson


166408 02-Feb-2007 sam

create empty opt_ah.h for compiling athstats.o; it just needs
the PHY definitions and not the descriptor so it doesn't matter
if it's correct relative to the hal.o


165970 12-Jan-2007 joel

Fix typos.


165964 12-Jan-2007 sam

add man page


165963 12-Jan-2007 sam

fix typo

MFC after: 1 week


165935 11-Jan-2007 imp

Remove 3rd clause, per email from bms


165729 02-Jan-2007 scottl

Expand a comment for clarity and fix a missed substitution.


165725 01-Jan-2007 scottl

Add a simple tool for checking the command queues in the MFI driver. Also add
a simple wrapper for running the MegaCLI tool.


164660 27-Nov-2006 n_hibma

Shorten the KERNCONF filename to the basename in the install target as
well as in the build target, although it is not used in this target.


164635 26-Nov-2006 sam

add rate knob for net80211 rate control modules

MFC after: 1 month


164489 22-Nov-2006 rodrigc

Remove references to mount_devfs, mount_fdescfs, mount_linprocfs,
mount_procfs, and mount_std.

Reminded by: ru


164331 16-Nov-2006 benno

Add the Transcend 2GB card specs.


164124 09-Nov-2006 bms

Update copyright date.

MFC after: 3 weeks


164123 09-Nov-2006 bms

Use C99 types.

MFC after: 3 weeks


164122 09-Nov-2006 bms

Rewrite the format of pirtool output to match what the kernel currently
prints out if bootverbose is set. This is to facilitate the code being
removed from the kernel at a later date.

While we're here, fix the __packed structures, and add some other
PCI interrupt router IDs.

Submitted by: jhb (with some tweaks)
MFC after: 3 weeks


163922 02-Nov-2006 n_hibma

Only use the filename part of the kernel configuration file as an argument to
KERNCONF after the file has been copied to the sys/${ARCH}/conf directory. This
allows the use of one kernel config file for multiple images. E.g.:

NANO_KERNEL=../../../../software/nanobsd/default/SOEKRIS

MFC: after 6.2


163854 01-Nov-2006 julian

Reworking of how to add ports.

submitted by: Jean Milanez Melo


163848 31-Oct-2006 pjd

Add fs_unrefs field to the super block structure.

Sponsored by: home.pl


163807 30-Oct-2006 julian

Add configuration stubs for adding package derived files to the various
sample configurations.
Submitted by Jeremie Le Hen and tested by Jean Milanez Melo.


163806 30-Oct-2006 julian

Add some code to support including files ffrom packages in the image.

Submitted by: Jeremie Le Hen and tested by Jean Milanez Melo.


163254 11-Oct-2006 julian

Might as well move to the right place if we are not there.
The whole question of how much to rely on teh sources being in /usr/src
needs visiting.


163253 11-Oct-2006 julian

let the user know what configurations are available when asking for it.


163017 04-Oct-2006 julian

Large rewrite of the tinybsd script.

This allows the user to specify that the root filoesystem should be
an MFS or teh actual medium itself.
Also a new command syntax, along with an interactive mode by default,
with crossinvocation memory of the last used values as defaults for the
current invocation.

Submitted by:jmeloatfreebsdbrasil,com-br


162883 30-Sep-2006 ru

Revise markup.


162720 28-Sep-2006 ru

Initializate "offset" variable to zero; otherwise, if not using
the -o option, it might contain garbage.

MFC after: 1 day


162535 21-Sep-2006 julian

Slight tunups to the config files.


162485 20-Sep-2006 julian

In the spirit of nanoBSD and PicoBSD, add TinyBSD.
Submitted by jmeloatfreebsdbrasil,com-br
(Jean Milanez Melo)
As PicoBSD becomes slightly less useful, TinyBSD fills the gap below nanoBSD.


161861 02-Sep-2006 rwatson

Enforce the compile-time threads limit at run-time, so that a high thread
count argument doesn't cause a segfault or memory corruption when the
compile-time array is overrun.


161692 28-Aug-2006 phk

Improve input parsing:

Add "-C <column>" and "-d <delims>" options to chop up input lines.

Make '#' a comment character, rest of line is ignored.

Submitted by: Dmitry Morozovsky <marck@rinet.ru>


161341 15-Aug-2006 simon

Move the setup of "diskless" /etc magic files from install_etc() to a
separate function which is called right after install_etc(). This makes
it simpler to (ab)use nanobsd.sh as a framework to build more normal
FreeBSD images where a normal /etc is used, since setup_nanobsd_etc()
can just be redefined.

OK'ed in principle by: phk
MFC after: 1 week


161200 10-Aug-2006 sam

checkpoint new version


161047 07-Aug-2006 keramida

Fix some minor nits in the README file of wesside

Reviewed by: sam, Andrea Bittau <a.bittau@cs.ucl.ac.uk>


161031 07-Aug-2006 sam

add wesside


161030 07-Aug-2006 sam

another tool that uses the raw tx api

Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>


161029 06-Aug-2006 sam

use proper tx series

Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>


161003 05-Aug-2006 sam

make it work after the api change

Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>


160997 05-Aug-2006 sam

hook packet injection tools up


160996 05-Aug-2006 sam

test programs for 802.11 packet injection

Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>


160995 05-Aug-2006 sam

802.11 packet injection test tool

Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>


160994 05-Aug-2006 sam

crude stumbler using raw packet api's

Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>


160993 05-Aug-2006 sam

raw tx stat


160783 28-Jul-2006 thomas

'make distribution' must be run from src, not src/etc, so that the proper
set of /usr/share/mk/* is available. This is necessary to build a 7.x
NanoBSD image on a 6.x host.

Reviewed by: phk


160779 28-Jul-2006 yar

Do not forget about INET6 and MK_INET6_SUPPORT.


160725 26-Jul-2006 simon

Add Memory Corp 512MB CF Flash.

MFC after: 3 days


160388 15-Jul-2006 thomas

When creating the NanoBSD disk image, install boot blocks from the
newly-built world, in preference to those from the host system.

Reviewed by: phk


160328 13-Jul-2006 phk

Create the diskless magic files in /etc during the install_etc() step
instead of setup_nanobsd(), because this gives customize tasks a chance
to fiddle the details.

Inspired & tested by: Jordan Coleman <jordan@JordanColeman.com>


160053 30-Jun-2006 sam

o fix join/rejoin format
o add netbsd portability glue

MFC after: 2 weeks


159895 23-Jun-2006 sam

dump new cabq stats


159829 21-Jun-2006 obrien

Fix type warnings on 64-bit machines.


159784 20-Jun-2006 sam

ipw statistics tool


159460 09-Jun-2006 flz

Tweak mfc.pl to generate backout patchsets.

Approved by: cperciva (mentor)


159076 30-May-2006 matteo

Make recoverdisk compile on amd64 and possibly other 64bit archs.
Bump WARNS to 6.

PR: amd64/97566
Reviewed by: phk@
MFC after: 3 days


159069 30-May-2006 des

The tinderbox has moved to projcvs.


159039 29-May-2006 des

Add RELENG_5_5 to the 5.x lineup.


158886 24-May-2006 mr

make cryptotest compile after the latest changes to cryptodev.h


158719 18-May-2006 pjd

Add missing stats.hst_nodesc statistics.


158526 13-May-2006 sobomax

o Add an option allowing to start search from some offset instead of offset 0;

o mesure distance between UFS1 and UFS2 superblocks independently.

MFC after: 1 week


158514 13-May-2006 des

Remove alpha from the HEAD lineup.


158496 12-May-2006 des

Forgot to add RELENG_6_1 here as well.


158405 10-May-2006 des

Add RELENG_6_1 to the lineup.


158356 08-May-2006 jmg

add a diff line so you can check your commit before hitting enter...


158337 06-May-2006 maxim

o Take an account a media sectorsize for medium and bigsize calculation.
o Introduce -r and -w keys which allow to load and save a worklist.
o Replace README by man page.

PR: bin/96677
Submitted by: Ulrich Spoerlein
Approved by: phk
MFC after: 1 month


158297 05-May-2006 sobomax

o Make it possible to compile find-sb on non-FreeBSD system (MacOS X in my
case). Can be useful for recovering in some cases;

o use SBLOCK_UFS2 instead of SBLOCK_UFS1 to calculate likely start of the UFS2
partition from the beginning of disk.


158246 02-May-2006 phk

Avoid coredumps if stddev cannot be computed (if all datapoints are identical)
Small cleanup of label printing.


157835 18-Apr-2006 ru

Fix an obvious bug.

Submitted by: Alex Lyashkov <umka@sevcity.net>


157579 07-Apr-2006 des

Don't select a default value for $machine until after we've examined $arch.

Noticed by: mjacob


157176 27-Mar-2006 des

Reflect progress in process title.


157149 26-Mar-2006 simon

Use tr(1) to lowercase strings in a way which works with all locales.

Approved by: cperciva (mentor)


157132 25-Mar-2006 phk

Get the MK_FOO column right


157118 25-Mar-2006 phk

Update build survey scripts


156933 21-Mar-2006 des

Open the lock file write-only.


156735 15-Mar-2006 ru

Style: NO_MAN doesn't need any value.


156496 09-Mar-2006 phk

In addition to -b (suppress builds) add -k (suppress kernel build) and
-w (suppress world).


156365 06-Mar-2006 wkoszek

Allocate proper amount of memory. Otherwise, we pass the end of a buffer,
thus having unpleasant warning. Was found by jemalloc redzone code.

Reviewed by: rwatson
Approved by: cognet (mentor)


156362 06-Mar-2006 sam

fixups

Submitted by: ru
MFC after: 3 days


156329 06-Mar-2006 sam

fix for non-i386/amd64 machines

Submitted by: marcel
MFC after: 3 days


156211 02-Mar-2006 des

Update copyright years and remove third clause.


156210 02-Mar-2006 des

Read site.rc after default.rc.


156209 02-Mar-2006 des

Ignore generated files.


156110 28-Feb-2006 sam

when acpi does not explicitly enumerate lapic/cpu's there should
only be 1

Reviewed by: jhb


155960 23-Feb-2006 wkoszek

Fix the way in which median is calculated. If the data source has even
number of data points, value should be calculated by adding two middle
elements and dividing them by 2.

Approved by: cognet (mentor)


155928 22-Feb-2006 sam

test program to check cpu counting

MFC after: 1 week


155894 22-Feb-2006 mdodd

Add option -w to specify graph width.
Use COLUMNS, terminal width for default graph width.

Reviewed by: rwatson


155892 22-Feb-2006 rwatson

Add multi-process support to simple http micro-benchmark, now the default.
Use -t for thread support. Also added are -n to specify number of threads
or process, and -s to set the length of the test.


155891 22-Feb-2006 rwatson

Add multi-process support to simple httpd micro-benchmark, which is now
the default. With -t, threads are used.


155246 03-Feb-2006 des

Use -O2 on RELENG_6 as well


155041 30-Jan-2006 des

Avoid triggering autovivification of %config entries, which would result in
an empty addenda section.

Handle kernel configs that lack a "machine" line by guessing at the location
of GENERIC (assuming that it is in the same directory as the config file)


154961 28-Jan-2006 rwatson

Use $FreeBSD$ for the juggle version, rather than $P4$. This is good for
two reasons:

(1) juggle is now maintained in CVS, not P4, so the CVS revision number is
the authoritative one.
(2) Apparently $P4$ requires special handling and juggle was not marked
as needing it, resulting in problems for the P4 importer.

Requested by: gordon


154830 25-Jan-2006 flz

- Fix infinite loop in strip_log().
- Remove useless variable.

Submitted by: jkim
Approved by: jkim


154466 17-Jan-2006 phk

Add two new variables:

# Size of the /etc ramdisk in 512 bytes sectors
NANO_RAM_ETCSIZE=10240

# Size of the /tmp+/var ramdisk in 512 bytes sectors
NANO_RAM_TMPVARSIZE=10240

And a last_orders() shell function which can be redefined to copy
finished images away, order peanuts or whatever else is appropriate


154385 15-Jan-2006 flz

I missed a whitespace in the generated commit message.

Approved by: ssouhlal (implicit)


154314 13-Jan-2006 flz

Bump version.

Approved by: ssouhlal (implicit)


154313 13-Jan-2006 flz

Now with multi-commit support.

Use: `./mfc.pl -m "msg-id-1 msg-id-2" -i hurray'
or `./mfc.pl -f - -i yippee' and copy/paste two commit logs

Approved by: ssouhlal (implicit)


154279 13-Jan-2006 flz

- Fix issue when X-FreeBSD-CVS-Branch is not HEAD.

Submitted by: jkim
Approved by: jkim


154231 11-Jan-2006 flz

Ok, I've created a test suite to avoid such regressions. Sorry for the noise.

Approved by: ssouhlal (implicit)


154229 11-Jan-2006 flz

- Fix another bug, it seems sometimes mail is sent to cvs-all but not cvs-ports.

Approved by: ssouhlal (implicit)


154228 11-Jan-2006 flz

- Fix search.
- Fix author matching.

Approved by: ssouhlal (implicit)


154208 11-Jan-2006 flz

- Remove netcat dependency by using fetch (not sure why i used nc
in the first place).
- Add some XXX lines as a TODO.
- Add a cvs diff command to the generated commit script.
- Add cdiff/colordiff to the list of optional dependencies.
- Fix a problem when giving the commit mail without the headers to
mfc.pl -f, it should now work correctly.
- Bump version.

Approved by: ssouhlal (implicit)


154187 10-Jan-2006 flz

- Add a new MFC script that takes a message-id, a commit mail or a query string and
generates a patchset along with a commit message and a commit script if the user has
commit rights.
- Add a README file to give a quick description of each script's purpose.

Approved by: netchild


154069 06-Jan-2006 phk

Add missing ' and '

Submitted by: simon


154068 06-Jan-2006 phk

Make this more readable and add more devices.

Partially from: mich@FreeBSD.org


154023 04-Jan-2006 harti

Add a new leaf to the net.link.generic.ifdata.%d sysctl to retrieve
the name and unit number assigned by the driver. This is needed by
SNMP to find interfaces after they have been renamed.

MFC after: 4 weeks


153790 28-Dec-2005 rwatson

Add 'juggle', a simple IPC micro-benchmark that uses various IPC types to
perform varying number of small IPC operations. It runs using a single
process and one thread, a single process and two threads, and using
multiple processes. Critical to its performance measure are the cost and
frequency of context switches, locking overhead, and threading
performance. The benchmark generates .csv output appropriate for reading
into a spreadsheet to generate summary statistics and perform statistical
tests easily.


153470 16-Dec-2005 scottl

Fix compiling on platforms with 64bit time_t.


153393 13-Dec-2005 des

Add a -c option to control caddr_t replacement (which was commented out in
the previous revision)


153392 13-Dec-2005 sam

fix include path


153391 13-Dec-2005 sam

update


153390 13-Dec-2005 sam

fix include pathnames


153389 13-Dec-2005 des

Add a script that converts K&R-style function definitions to ANSI style.


153381 13-Dec-2005 des

Print user, system and real time upon exit.


153318 11-Dec-2005 sam

this didn't make it in the last commit


153317 11-Dec-2005 sam

o move programs to separate directories and use stock Makefiles;
this simplifies including them in crunchgen images
o rename 80211* programs to wlan* as was originally intended


153314 11-Dec-2005 sam

remove cts burst extension stats


153235 08-Dec-2005 rwatson

After printing per-cpu cache contents, summarize total cached items and
entries across the caches.

Fix an off-by-one error in counting caches.


153233 08-Dec-2005 rwatson

Teach umastat about the variable-length array of per-CPU caches at the end
of struct uma_zone. It is declared as an array of size [1], but then
sized at run-time by UMA to include room for mp_maxid+1 CPUs. We have to
copy the uma_zone first at the declared structure size, then check to make
sure it's not an internal zone before copying the larger size (UMA
internal zones don't use per-CPU caches). This fixes umastat for SMP.


153114 05-Dec-2005 rwatson

Add a simple KVM tool to dump the kernel state of UMA, including walking
the keg/zone lists, summarizing cache state, and walking bucket lists in
each zone. I seem to get inconsistent results on SMP, possibly due to
local header problems, but it seems to work quite well on UP. This tool
requires sufficient privilege to read /dev/mem (or a core dump), and is
for debugging purposes rather than administrative monitoring purposes
(use vmstat instead).


153065 03-Dec-2005 ru

Move the 2->3 upgrade kit on the attic.


152458 15-Nov-2005 phk

Add geometry of SiliconSystems 4GB CF card


152414 14-Nov-2005 des

Use the new syntax for GENERIC.


152413 14-Nov-2005 des

Build a PAE kernel if a PAE config exists.


152412 14-Nov-2005 des

Add support for the += operator, which appends to a multiple-value variable.


152411 14-Nov-2005 des

Add support for building other kernels than LINT and GENERIC.


152121 06-Nov-2005 maxim

Fix the path to aac_ioctl.h in the comment and style includes.

MFC after: 1 week


152120 06-Nov-2005 maxim

Fix include: aac_ioctl.h was moved from sys/dev/aac/ to sys/sys.

PR: misc/88549
Submitted by: Sokolov Alexey
MFC after: 1 week


151705 26-Oct-2005 pjd

Change u_int64_t to uintmax_t and use %ju, so it compiles on 64bit archs.
I changed every u_int64_t to uintmax_t, as we should use eventually
uint64_t anyway those days.


151654 25-Oct-2005 rwatson

Updates and enhancements to the multi-threaded httpd performance test
tool:

- Use uname(3) to query the OS name to report in the HTTP headers.
This is probably more useful than hard-coding FreeBSD.

- If no path is specified, create a 1k temporary file and send that
instead. Pass a file descriptor into http_serve() rather than using
a global fd.

- Add more carriage returns to the HTTP headers to be a bit more
correct. (Suggested by: andre)

- Read to a buffer rather than a single character to reduce the number
of recv() system calls pulling in the HTTP request.

- Properly wait for two, not one, \n's on input.


151175 09-Oct-2005 des

Add RELENG_6_0.


151069 07-Oct-2005 damien

Import iwi-specific tools. Can help debug firmware or connection issues.


150997 06-Oct-2005 rwatson

Don't hard-code port numbers, let the user specify them.


150992 06-Oct-2005 rwatson

Improve realism of benchmark httpd: return some HTTP headers as part
of the sendfile() system call.


150990 06-Oct-2005 rwatson

Add basic simplified HTTP benchmark tools to the netrate suite:

- http is a lightweight, multithreaded HTTP query tool, which performs
a timed measurement of the rate at which it can download files using
single-fetch HTTP/1.0. Other than specifying the IP and a URL path,
it requires zero configuration.

- httpd is a lightweight, multithreaded HTTP server tool, which exports
a single file of choice to the HTTP client, and responds with it no
matter what the request. Other than specifying the file to export,
it requires zero configuration.

The goal of these tools is to measure the network costs associated with
HTTP serving, rather than file system, HTTP protocol parsing, error
handling, etc, and as such, parts relating to less interesting components
of HTTP testing are intentionally omitted. Both are linked against
libpthread by default.


150970 05-Oct-2005 rwatson

Add simple TCP connect and TCP receive benchmark components, intended to
measure the rate of TCP connection round trips supported by a host at
the socket layer.


150717 29-Sep-2005 phk

Fix a bug in disk geometry calculation.

Fix NANO_TOOLS usage in FlashDevice()


150572 26-Sep-2005 phk

This one goes as well.


150571 26-Sep-2005 phk

Remove the old Makefile based nanobsd build method, the new shell script
based is far better and the only one supported from now on.


150553 25-Sep-2005 phk

Correct filesystem mountpoint


150511 24-Sep-2005 simon

Make it possible to set the NANO_TOOLS variable to a directory outside
of $NANO_SRC, which can e.g. be used if the nanobsd scripts are not in
the source tree being built.

Improved by: phk
Approved by: phk


150416 21-Sep-2005 philip

Fix typo. MAILWRAPER -> MAILWRAPPER.

Spotted by: Andrea Campi <andrea+freebsd_cvs_all -at- webcom.it>
Pointy hat to: philip


150412 21-Sep-2005 phk

Update these scripts to be more userfriendly and usage safe.


150367 20-Sep-2005 phk

Add a convenience function to set NANO_MEDIASIZE, NANO_HEADS and NANO_SECTS
for commonly used flash devices by

FlashDevice Sandisk 256MB

in the config file.


150366 20-Sep-2005 phk

Create an /etc/nanobsd.conf in the built image and put the disk drive name
there for scripts to use.

Create a noauto fstab entry for the configuration partition (/cfg).

Add NANO_TOOLS env-var to point to the nanobsd sources relative to
NANO_SRC.

Add -h argument which prints a usage.

Add -b argument which skips build steps and goes directly to install steps.

Complain about extraneous arguments, it's usually a forgotten '-c'

Add convenience function to register customization function.

Add some sample customization functions:
cust_comconsole
cust_allow_ssh_root

Rename setup_diskless() to setup_nanobsd(), it makes more sense.

Add various comments etc.


150343 19-Sep-2005 phk

Dump the environment for reference.
Add a function to add customization commands.


150328 19-Sep-2005 phk

Create fstab before linking stuff into /conf


150321 19-Sep-2005 phk

Missing ')'


150263 17-Sep-2005 csjp

Remove reference to bpfstat, this no longer exists.


150092 13-Sep-2005 csjp

Garbage collect bpfstat. This is handled by netstat now.

Requested by: rwatson


149810 05-Sep-2005 csjp

Now that the PID is constantly refreshed, introduce a pidname function which
when given a PID consults the kern.proc.pid sysctl variable to pull out the
pcomm data.


149629 30-Aug-2005 sam

script to set ifs parameters based on distance; derived from program
of the same name by Gunter Burchardt

MFC after: 3 days


149605 29-Aug-2005 sobomax

Extend utility to allow recovering single file from the deffective
media.

MFC after: 2 weeks


149535 27-Aug-2005 simon

Correct a comment to match the configuration parameter it describes.

MFC after: 3 days


149381 23-Aug-2005 csjp

Add support for processing the "bd_locked" flag offered by the bpf
stats structure.


149120 16-Aug-2005 phk

Increase flexibility in disk-layout


149103 15-Aug-2005 phk

Put more stuff in logfiles instead of stdout


149082 15-Aug-2005 phk

Cleanup and polishing.


149073 15-Aug-2005 phk

After much experimentation, settle for the simplest model for customize
scripts.


149014 13-Aug-2005 phk

Prune empty directories in /usr

Move argv parsing.


148884 09-Aug-2005 phk

Update to latest version of this tool.

Takes about a week for a full run.


148800 06-Aug-2005 sam

sigh, sizeof the correct variable so we can match ifname's > 4 bytes


148681 03-Aug-2005 rwatson

Add a few more system call timing cases:

Rename current socket creation test to socket_stream.
Add new socket_dgram test.
Add new socketpair_stream test.
Add new socketpair_dgram test.


148665 03-Aug-2005 sam

simplify use with non-ath devices; search the wlan sysctl nodes to
locate the right one for the specified interface

MFC after: 3 days


148648 02-Aug-2005 phk

polish various bits.


148647 02-Aug-2005 phk

Ignore CVS directories


148614 01-Aug-2005 phk

typo


148604 31-Jul-2005 phk

Add stuff to HTML output.


148601 31-Jul-2005 phk

The beginnings of a tool to survey the build options (NO_THIS, NO_THAT etc)
for effect.


148513 29-Jul-2005 des

In realpath(), make sure each path component consists only of safe
characters, and untaint it.


148512 29-Jul-2005 des

Differentiate between empty and short reports, and raise the bar for what
we consider a short report to 128 characters. Canonicalize %%HOME%%.


148510 29-Jul-2005 des

Don't email reports that are empty or very short, as can happen if tbmaster
fails to exec the tinderbox script.


148473 28-Jul-2005 des

Shorten src / obj paths while capturing logs, making them both smaller and
easier to read.


148425 26-Jul-2005 csjp

Add a description for bpfstat


148424 26-Jul-2005 csjp

Introduce a bpfstat utility. This program can be used to retrieve
stats provided by bpf(4). This program will live in tools/ for now
until we figure out where it will live permanently. Based on some
discussions on developers@, it is likely that we will be adding
this functionality to netstat(1) at some point.


148422 26-Jul-2005 phk

Add the first snapshot at rewriting the nanobsd build to be a shellscript.

The overall idea is to get a single build script which will not need
editing, but instead overrides and changes happen by config files passed
as arguments.


148378 25-Jul-2005 philip

Add some more NO_FOO options. I'm not sure if they're correctly sorted in the
size-scheme. Also add commented NO_BIND_FOO options for people who want named
but not all of the bloat it likes to include by default.

While here, make a comment about BOOT_COMCONSOLE_SPEED.


148377 25-Jul-2005 philip

Add fstab entries for ALTROOTSLICE and CFGSLICE, allowing us to do away with
most of the hardcoding of device names in installed convenience scripts.

Provide a new script (root/updatep) to easily update the ALTROOTSLICE. It
does the same as updatep1/updatep2 without hardcoded device names. If noone
protests, I'd like to get rid of updatep1/updatep2 at some point.

As an extra bonus: turn on the error led while updating (on hardware with a
led).


148322 22-Jul-2005 sam

update for recent additions


148321 22-Jul-2005 sam

update with new msg classes


148224 21-Jul-2005 phk

In 2003, a -s flag was added to ministat to separate the
avg/median/stddev bars onto separate lines for readability if the
ranges overlapped. In 2005, ministat was extended to support more than
2 datasets, but the -s code was not updated. It will coredump if run
with -s and >2 sets.

PR: 82909
Submitted by: Dan Nelson <dnelson@allantgroup.com>


148209 20-Jul-2005 des

Catch up.


148208 20-Jul-2005 des

Remove redundant rc files.


148207 20-Jul-2005 des

CURRENT -> HEAD, and dump ia64 and powerpc.


148206 20-Jul-2005 des

Use 'HEAD' instead of 'CURRENT', while retaining backward compatibility.


148205 20-Jul-2005 des

Include RELENG_4_11 and RELENG_4.


148204 20-Jul-2005 des

Include RELENG_5_4 and RELENG_5. Chuck out ia64.


148203 20-Jul-2005 des

Add rc files for RELENG_6.


147985 14-Jul-2005 philip

Fix a minor buglet making the code match the comment. Fractional cylinders
confuse fdisk and break the NanoBSD build.

This is an MT5/6 candidate.

MFC after: 3 days


147035 06-Jun-2005 sobomax

Add entry for recoverdisk.


146689 27-May-2005 rwatson

dd a '-n' option to ministat, which causes it to display only summary
statistics, not graph and statistical test output. Useful for automated
processing.


146406 19-May-2005 phk

Make the path to make.conf a parameter which can be overridden.

NB: you have to use absolute path!


146405 19-May-2005 phk

Save space by using -b 4096 -f 512 for newfs.
Retain -i 8192 to avoid wasting inodes.


146404 19-May-2005 phk

Run the "files" customization script


146402 19-May-2005 phk

Add some runtime admin/tool scripts


146399 19-May-2005 phk

Add a couple of basic customization scripts.


146386 19-May-2005 phk

Explain the magic


145719 30-Apr-2005 des

Reduce diffs against actual production configuration.


145718 30-Apr-2005 des

Remove a line which merely echoed the builtin default.


145717 30-Apr-2005 des

Split the 'clean' command into 'cleansrc', 'cleanobj' and 'cleanroot'.
Specifying 'clean' is equivalent to specifying all three.


145716 30-Apr-2005 des

Add 'cleanobj' to the default target list.


145367 21-Apr-2005 mux

Fix printf() format string errors with 64-bit architectures.

Spotted by: pav


145282 19-Apr-2005 phk

Remove redundant line, add comment about termcap


145033 13-Apr-2005 phk

sort and expand the prunelist in a more or less generally sensibly
order. Put some strategic comments in about how much storage is
necessary and a longer explanation on the top.

It is now pretty trivial to put nanoBSD on as little as a 64MB CF card.

Sponsored by: Soekris Engineering.


145032 13-Apr-2005 phk

Introduce NANOBSD_PRUNE which can be used to zap out bits we don't
want to carry forward.


145031 13-Apr-2005 phk

Use df -i


145003 13-Apr-2005 phk

Add NO_DICT handle. Saves almost 3.5 MB installed.


144993 13-Apr-2005 mdodd

Add support for more than two datasets. Currently limited to 7 though
the limit is only the number of meaningful graph symbols available.

Statistical comparison is performed between the first dataset and
any further datasets.

No objection by: phk


144982 13-Apr-2005 mdodd

Save argv[0] and use it in usage message.


144944 12-Apr-2005 avatar

Adding a brief description for pirtool.

Reviewed by: sam (mentor)


144850 10-Apr-2005 rwatson

Centralize usage in usage(), and use in preference to fprintf().

List possible tests in usage().

When running a test, print the test name.


144349 30-Mar-2005 sam

print new stats for cts burst extension logic


144345 30-Mar-2005 sam

fix typo


144304 29-Mar-2005 sam

handle rejoin event


143763 17-Mar-2005 phk

I keep forgetting that I wanted the customize logs collected too.

Reminded by: Lennart Sorth, Andrea Campi and others.


143473 12-Mar-2005 phk

Add NO_GPIB


143472 12-Mar-2005 phk

DTRT with /var so that any packages installed are correctly recorded.


143471 12-Mar-2005 phk

Enable packet mode in boot0, this makes it unimportant if the
geometry is 100% correct on most hardware.


143096 03-Mar-2005 des

Markup nits.


143095 03-Mar-2005 des

Correct the default value for %%TINDERBOX%%.


142871 01-Mar-2005 trhodes

Add sysdoc, a small set of scripts which will parse a kernel binary and
modules to rip out the available sysctls. It will then produce a manual
page which may be installed with 'make install'. Currently typing 'make'
in the directory uses the default /boot/kernel files. To use a specific
directory, run sysdoc -k [location].


141762 12-Feb-2005 rwatson

Also build the netblast sub-directory, not just netreceive and netsend.

MFC after: 3 days


141761 12-Feb-2005 rwatson

Mark the signum argument to signal_handler() as __unused.

MFC after: 3 days


141640 10-Feb-2005 phk

Update a little bit.


141452 07-Feb-2005 obrien

Fix "to a file" example so it works (one must touch(1) the file first).


141438 07-Feb-2005 des

Sort branches in correct numeric order.


141392 06-Feb-2005 des

Replace RELENG_4_9 (no longer supported) with RELENG_4_11.


141053 30-Jan-2005 phk

Use awk to correctly calculate partioning, round things off to cylinders
and reserve first track etc.


140599 21-Jan-2005 ru

Fixed xrefs.


140589 21-Jan-2005 bms

Braino. Revert previous commit, NO_MAN was already corrected.

Noticed by: imp


140586 21-Jan-2005 bms

Catch up with NO_MAN->NOMAN change.


140585 21-Jan-2005 bms

If a device resides in physical slot 0, report it as being on-board as
per PIR specification.
Add the VIA VT82C686 PCI interrupt routing function as a known chipset.


140584 21-Jan-2005 bms

Fix a masking error. Update copyright.


140583 21-Jan-2005 bms

Do not treat an invalid PIR table checksum as a fatal error condition, but
do print a warning about it.
Correct a stupid logic error.
Update copyrights. Fix whitespace bug.

MFC after: 1 week


140407 18-Jan-2005 phk

ioctl(2) commands are u_long not int.
Pass zero for sysctl new argument length, not NULL);


139701 05-Jan-2005 arr

- Initial revamp of vop_table.tcl. This scripting is ugly and will be
cleaned up; just wanted to make a place holder. The biggest issue is
that it is an incomplete revamp; that is... the inconsistent naming
table generation is not done yet ... will be added soon with the clean
up. The purpose of this script is to handle the vop_vector changes that
phk@ did over the recent weeks.


139529 31-Dec-2004 sam

new stat


139121 21-Dec-2004 keramida

Fix the build of netrate/ with WARNS=5 and add a Makefile.inc to
make it the default for all the netrate test tools.

Approved by: rwatson


139119 21-Dec-2004 ru

NOHTML -> NO_HTML


139118 21-Dec-2004 ru

Overhaul ppp(8) build options so they are safe to use in
/etc/make.conf:

NOALIAS -> retired (support provided by PPP_NO_NAT)
NOATM -> PPP_NO_ATM (also subject to NO_ATM global)
NODES -> PPP_NO_DES (support was broken, now recovered)
NOI4B -> PPP_NO_I4B (also subject to NO_I4B global)
NOKLDLOAD -> PPP_NO_KLDLOAD
NONAT -> PPP_NO_NAT
NONETGRAPH -> PPP_NO_NETGRAPH
NOPAM -> PPP_NO_PAM (will be subject to NO_PAM global)
NORADIUS -> PPP_NO_RADIUS
NOSUID -> retired (support provided by PPP_NO_SUID)
PPP_NOSUID -> PPP_NO_SUID


139115 21-Dec-2004 ru

NOINET6 -> NO_INET6


139114 21-Dec-2004 ru

NOGAMES -> NO_GAMES


139106 21-Dec-2004 ru

NODOCCOMPRESS -> NO_DOCCOMPRESS
NOINFO -> NO_INFO
NOINFOCOMPRESS -> NO_INFOCOMPRESS
NOLINT -> NO_LINT
NOPIC -> NO_PIC
NOPROFILE -> NO_PROFILE


139105 21-Dec-2004 ru

NOATM -> NO_ATM


139104 21-Dec-2004 ru

NOLIBC_R -> NO_LIBC_R
NOLIBPTHREAD -> NO_LIBPTHREAD
NOLIBTHR -> NO_LIBTHR


139103 21-Dec-2004 ru

Start the dreaded NOFOO -> NO_FOO conversion.

OK'ed by: core


139017 18-Dec-2004 phk

Change terminal state, not terminal type


138822 13-Dec-2004 gallatin

Make kttcp work in -stable (and -current)

- Removed kttcp_sosend() and kttcp_soreceive() in favor of using
sosend() / soreceive() with UIO_NOCOPY. The locking changes in the
socket layer make merging the kttcp_so* and the so* routines a real
pain. It was a lot easier to just use the integrated routines.

- Eliminated KTTCP_MAX_XMIT restrictions on send and receive sizes
because I encountered no problems with streams larger than MAX_INT.
MAX_INT bytes is only good for a few seconds at 4Gb/sec ;)

- Removed Giant from send / recv routines.

- Fixed character device protos, cdevsw init, etc, to work in 5.x /
6.x

Reviewed by: sam
MFC after: 1 week


138576 08-Dec-2004 sam

o new tools for futzing with 80211 and ath debug masks symbolically
o update stats programs to reflect driver and net80211 changes


138513 07-Dec-2004 pjd

Raidtest is now in the ports collections.


138381 05-Dec-2004 obrien

Now as a full blown port.


138161 28-Nov-2004 phk

Change CUSTOMIZE example.


138160 28-Nov-2004 phk

Make it possible to specify a list of customize scripts.

Look for them in ./Customize first, then relative to . and then absolute.


138159 28-Nov-2004 phk

Add various customize scripts.


138158 28-Nov-2004 phk

Hardlink the generated /etc/fstab to /conf/base/etc/fstab


138152 28-Nov-2004 phk

don't mv(1) nonexistent directories.


138151 28-Nov-2004 phk

Reduce -j12 to -j3


137675 13-Nov-2004 bz

Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.
If turned on no NIS support and related programs will be built.

Lost parts rediscovered by: Danny Braniss <danny at cs.huji.ac.il>
PR: bin/68303
No objections: des, gshapiro, nectar
Reviewed by: ru
Approved by: rwatson (mentor)
MFC after: 2 weeks


137581 11-Nov-2004 des

RELENG_5 is now -STABLE (but without powerpc)


137330 07-Nov-2004 des

Install in /usr/local/bin.


137318 06-Nov-2004 pjd

Add description of all available options.


137317 06-Nov-2004 pjd

Allow to write random data while testing RAID device, so we can also
test data integrity.


137201 04-Nov-2004 phk

Remove references to NO_VINUM


136955 25-Oct-2004 blackend

Typo: s/Exampes/Examples


136912 24-Oct-2004 ru

For variables that are only checked with defined(), don't provide
any fake value.

While here, sort NO*'s in dictionary order to ease searching by a
human being.


136910 24-Oct-2004 ru

For variables that are only checked with defined(), don't provide
any fake value.


136815 23-Oct-2004 des

Use %zu to format size_t instead of %jd and an intmax_t cast.

Approved by: hamlet


136808 23-Oct-2004 phk

Stop amd64 warnings.


136768 22-Oct-2004 blackend

Add NO_BLUETOOTH and NO_AUTHPF variables. [1]
While I'm there use lowercase "yes" for consistency.

Approved by: phk [1]


136766 22-Oct-2004 blackend

Sort NO* variables.

Approved by: phk


136748 21-Oct-2004 blackend

Remove NOLIBPTHREAD=yes since BIND related binaries (dig etc.) require
LIBPTHREAD.

Approved by: phk


136639 18-Oct-2004 keramida

Typo fix.

PR: misc/72801
Submitted by: Hywel Mallett <circular@hmallett.co.uk>


136618 17-Oct-2004 maxim

Fix a typo: s/kerncruft/kernelcruft/.

PR: misc/72792
Submitted by: Hywel Mallett


136274 08-Oct-2004 rwatson

Add a version of netsend that uses the interval timer rather than
explicit clock reads to set an overall duration to the send, and
blasts rather than trying to clock output. The goal of netblast,
unlike netsend, is to send as many UDP packets as possible; the
cost is that there's no ability to control the rate, and there's
less accuracy in the timing as the interval timer granularity is
relatively low.


136259 08-Oct-2004 rwatson

Use int format string, not a long format string.


136257 08-Oct-2004 phk

Only print progress statistics once per second.


136157 05-Oct-2004 sam

add 80211watch program


136156 05-Oct-2004 sam

simple program to watch 802.11 events through a routing socket


135954 30-Sep-2004 rwatson

While calling perror() on send() failure was useful for debugging the
if_em "wedging" problem, large numbers of perror() calls impacts send
performance. As such, just count the error, don't print it.


135952 30-Sep-2004 rwatson

Add syscall_timing, a simple timing micro-benchmark for some
characteristic system calls. I've been sending this to people for
a while, and figured it would be more efficient to just put it in
CVS.


135911 28-Sep-2004 phk

This is a small tool which will read an entire disk(partition) using
1M blocks and optionally write the read data to a file or disk.

If a read error happens, the 1M block gets put on the end of the worklist
and will be retried with 64k blocksize.

If a read error happens again, the 64k block gets put at the end of the
worklist and will be retried with single sector reads.

The program keeps trying until you stop it.

You can refresh a disk:

recoverdisk /dev/ad1 /dev/ad1

or salvage a floppy:

recoverdisk /dev/fd0 myfloppy.flp


135760 24-Sep-2004 jmg

add my script that helps me handle MFC's. It takes in a commit message
and generates the proper (hopefully) update -j lines + commit line to do
the MFC... This has saved me a lot of time doing recent MFC's...

You still should use diff to verify the changes before doing the commit..


135750 24-Sep-2004 rwatson

Print number of "waits" per second during transmission, not just waits
per call to send().


135744 24-Sep-2004 des

Add mfc.


135743 24-Sep-2004 des

A simple shell script to help MFC an entire directory to a branch where it
does not already exist.


135551 21-Sep-2004 rwatson

Improve netsend timing logic in various ways:
- Centralize time comparison.
- Check clock resolution to make sure it has enough granularity to
implement the desired wait interval.
- Keep track of how many times the timing loop has to spin waiting
for the next send time; report statistics.
- Add commented out warning about deadlines being missed when
spinning.
- Improve statistics reporting generally to provide a more useful
summary of sender condition after a run.


135536 21-Sep-2004 rwatson

Set default socket size for netreceive to 128k to reduce the chances
of the buffer overflowing before netreceive can be scheduled to read
the packets from the socket.


135520 20-Sep-2004 des

Don't forget to check defined() before testing the value.


135518 20-Sep-2004 ru

Make this use a standard bsd.subdir.mk.


135485 19-Sep-2004 rwatson

netsend uses an arbitrary maximum send rate to reject bogus arguments.
It was previously 1mpps; raise to 10mpps. While here, get the error
message right.


135480 19-Sep-2004 des

Recognize options with values. If an option is present in both GENERIC
and the custom kernel, but its value has been modified, it will now be
kept in its correct spot instead of being moved to the bottom.


135278 15-Sep-2004 des

Comment lines may have leading whitespace.

PR: 71773
Submitted by: Antoine Brodin <antoine.brodin@laposte.net>


135042 10-Sep-2004 rwatson

Add netrate (netreceive, netsend), a tool for generating (and sinking)
UDP packets of specified size at a fixed rate. I've been using this for
netperf-related testing.


134956 08-Sep-2004 des

Make the output more suitable for use in a frameset.


134911 07-Sep-2004 sam

new version of cryptotest (w/ only code from me)

Reviewed by: imp


134494 29-Aug-2004 des

Add -c option to preserve comments from GENERIC in the output.


134439 28-Aug-2004 des

Add genericize, a Perl script that converts a kernel config into something
more easily diffable against GENERIC.


134133 21-Aug-2004 thomas

Fix positional parameter reference to ${10}.
Fix target location for generation of fstab.

PR: bin/70795


134087 20-Aug-2004 pjd

Add description of raidtest tool.


134078 20-Aug-2004 pjd

- fflush() standard output before fork()ing.
- Remove redundant 'break'.


134077 20-Aug-2004 pjd

Add the raidtest tool, which can be used for performance tests of storage devices.
It uses random offsets, random requests size and random operation type (READ or
WRITE). It also allows to run many processes to send I/O requests in parallel.


134075 20-Aug-2004 des

Remove a couple of warnings and tweak an error message.


134074 20-Aug-2004 des

Copy open_locked() from tinderbox.pl and use it to optionally acquire a
lock file upon startup. If this fails, tbmaster will simply terminate.


134005 19-Aug-2004 des

Print the patch file name in the warning message for missing patch files.


134004 19-Aug-2004 des

Clean up, add update_releng_[45].rc.


134003 19-Aug-2004 des

RELENG_5 is now available.


134002 19-Aug-2004 des

Branches of interest are RELENG_4_{8,9,10}.


134001 19-Aug-2004 des

Comment out the timeout setting; it doesn't work properly.


133900 16-Aug-2004 thomas

Example configuration files for customize.sh.

Approved by: re (scottl)


133895 16-Aug-2004 thomas

Add documentation of the newly-added user-configurable Makefile knobs.

Approved by: re (scottl)


133891 16-Aug-2004 thomas

Add example customization script, to be used through CUSTOMIZE Makefile knob.

Approved by: re (scottl)


133890 16-Aug-2004 thomas

Properly identify the root filesystem to be used in /etc/fstab in each
slice of the flash card, ensuring that the loader will mount the root fs
from the booted slice by default.

Allow usage of FFS volume labels instead of hardcoded device names through
WITH_GEOM_VOL Makefile knob.

Approved by: re (scottl)


133325 08-Aug-2004 thomas

Include the nanoBSD make.conf in the top-level nanoBSD Makefile, so
all configuration knobs (both system settings and nanoBSD-specific ones)
can be tuned by modifying a single file. Move KERNCONF default value
to make.conf.

Attempt to resolve CFGMASTER like CUSTOMIZE, first relative to ${.CURDIR},
then as an absolute path.

Allow optional additional arguments to be passed to the CUSTOMIZE script.


132679 27-Jul-2004 jmg

add a command to calculate the ratios of cnt_hold and cnt_lock to locks
from mutex profiling... This takes cnt_* and divides it by count, so
lower is better...

Sample command:
sh mtxpercent.sh | sort -rn +7 -8

SEE ALSO
MUTEX_PROFILING(9)


131873 09-Jul-2004 des

When cleaning house, don't try to remove what isn't there.


131233 28-Jun-2004 mux

Update the location of the Hart's database as well.


131230 28-Jun-2004 mux

The location of the Boemler's PCI database has moved. Update comments
to reflect reality.


130915 22-Jun-2004 des

Set up logging before trying to lock the sandbox; otherwise tbmaster(1)
will just log a mysterious "tinderbox returned exit code 35".


130849 21-Jun-2004 des

Initialize $timeout to 0.


130846 21-Jun-2004 des

Add a timeout after which tinderbox(1) will kill its children and exit.


130491 14-Jun-2004 rwatson

Update for so_state->sb_state, SB_* flag renames.

Submitted by: rik


130464 14-Jun-2004 des

Add a JOBS config keyword, which corresponds to the --jobs tinderbox(1)
command line option.


130463 14-Jun-2004 des

Update-only configs.


130376 12-Jun-2004 des

Group tinderbox results by config name. Skip configs whose names start
with "update_".


130375 12-Jun-2004 des

Include the config name in the log file name.


130120 05-Jun-2004 des

Log the config name in the history file.


129822 28-May-2004 thomas

Add trailing backslash missing from previous checkin.


129821 28-May-2004 thomas

Support for optional initialization of the configuration slice by
specifying the name of a directory to be copied there in Makefile
variable CFGMASTER.


129819 28-May-2004 thomas

Look up ${CUSTOMIZE} in ${.CURDIR} first, and then as a path name by itself,
assuming in the latter case that it is an absolute path name.


129257 15-May-2004 des

If asked to build a kernel without first building world, build the
kernel toolchain first.


128847 02-May-2004 thomas

Be consistent in using variable names instead of parameter numbers.


128687 27-Apr-2004 phk

More POLA handling of CUSTOMIZE variable


128675 27-Apr-2004 thomas

Take boot0sio from the newly-built world, both for consistency's sake and
to cater for host systems where it is not present.

Reviewed by: phk


128385 18-Apr-2004 obrien

Script for downloading and printing in hex, the offical vendor ID's from
USB.org.


127636 30-Mar-2004 des

Previous commit fixed one braino but left another in place.


127530 28-Mar-2004 phk

Tell fdisk(8) about our geometry.

Strictly speaking this is unnecessary, but it allows nanobsd to work
on systems from before the -x and -y arguments to mdconfig(8) worked
for vnode backing.

Submitted by: "Oivind H. Danielsen" <oivind.danielsen@kopek.net>


127527 28-Mar-2004 marcel

Add a simple tool that prints out a register offset table to map
from the gdb(1) register number to offsets within struct reg and
struct fpreg. The tool is useful only on selected platforms. On
ia64 the registers are all over the place to simplify handling of
them in various situations, but which makes creating or maintaining
such an offset table error prone to do by hand.
Since remote kernel debugging operates on the same register numbers,
it would be a natural choice to use an identical offset table in the
kernel. However, since the kernel does not operate on struct reg nor
struct fpreg in the remote gdb(1) case, such would not make sense.
Whether we want to use this tool to create offsets for use in the
kernel or duplicate the knowledge of which register number maps to
what register is something that will become clear soon.

Note: in order to build cross debuggers, one cannot use target
headers and/or target definitions. That's why offsets need to be
hardcoded in the first place. Unpleasant, but necessary.


127160 18-Mar-2004 des

Braino in previous commit.


127065 16-Mar-2004 des

Given the impact of CFLAGS and COPTFLAGS on the build, report them in
the log, even when not verbose.


127064 16-Mar-2004 des

Whitespace nit.


127049 16-Mar-2004 des

Set TZ to UTC so dates in the history file will match dates in the logs.


127048 16-Mar-2004 des

Build the tinderbox with -O2.


127047 16-Mar-2004 des

The documentation lists configuration variables in uppercase, so dump
them in uppercase.


127046 16-Mar-2004 des

Add configuration shortcuts for CFLAGS and COPTFLAGS.


127045 16-Mar-2004 des

Allow the user to override CFLAGS and COPTFLAGS on the command line.


126934 13-Mar-2004 phk

TMPDIR is magic, use TMPMNT

Spotted by: harold barker <hvb@fs0.sm.dsms.com>


126856 11-Mar-2004 simon

- Use variable names instead of numbers for the script arguments to
improve readability.
- Use mktemp to create the temporary files and directory.
- Mount temporary md(4) backed file system on a temporary directory,
instead of /mnt.

Approved by: phk


126807 10-Mar-2004 phk

We don't retain 'x' bits in CVS so explicity use sh to run script.


126805 10-Mar-2004 phk

Add first cut at "nanobsd":

Nanobsd should make it very simple for people to create (CF-)disk images
for embedded us of FreeBSD.

Currently only works for 256MB disks. More agrressive shaving of the
build image can reduce that much further.


126123 22-Feb-2004 des

Fix some cosmetic issues in warning and error messages.


125936 17-Feb-2004 des

Remove configurations which aren't used in production.


125799 14-Feb-2004 des

Cosmetic changes to the recipient addresses.


125731 12-Feb-2004 des

Add %%sender%% to the recipient list.


125730 12-Feb-2004 des

Set the default sender address to <tinderbox@freebsd.org>, and the
default recipient to %%sender%%.


125573 07-Feb-2004 ru

Convert to plain bsd.prog.mk makefile.

Reviewed by: scottl


125550 07-Feb-2004 scottl

Add a simple tool for checking the queue stats in the aac(4) driver. The
ioctl interface for this has been here for years, so it might as well get
used.


125500 05-Feb-2004 ru

Added missing DPADD.


125478 05-Feb-2004 des

Use more generic directories (most prominently, s|/home/des|%%HOME%%|)


125425 04-Feb-2004 des

Don't forget to install stable.rc.


125401 03-Feb-2004 des

Remove RELENG_4, leaving only security branches.


125400 03-Feb-2004 des

Add a "stable" config for 4-STABLE.


125399 03-Feb-2004 des

Allow multiple configs to be specified to a single tbmaster instance.


125305 01-Feb-2004 des

Untaint the hostname before trying to use it on a command line.


125291 01-Feb-2004 des

Use `uname -n` as default for the HOSTNAME configuration variable.


124983 25-Jan-2004 des

Fix the case where .OBJDIR != .CURDIR.


124981 25-Jan-2004 des

This setup was used for amd64 and powerpc before they reached the point
where a normal buildworld would succeed. It is no longer required.


124963 25-Jan-2004 des

I don't normally use my middle name, so remove it from attributions in
man pages (though not from copyright notices). While I'm here, add email
addresses where appropriate.


124920 24-Jan-2004 des

Include the hostname in the history file.


124918 24-Jan-2004 des

Bump the date.


124917 24-Jan-2004 des

Bump version number to reflect the addition of cvsup support.


124916 24-Jan-2004 des

Ignore incomplete logs when figuring out what branches and platforms
to display.


124915 24-Jan-2004 des

I won't be using stanley any more.


124914 24-Jan-2004 des

Drop RELENG_5_1 due to lack of resources.


124913 24-Jan-2004 des

Add powerpc, which should build cleanly now.


124891 23-Jan-2004 des

Document the CVSUP and REPOSITORY configuration variables.


124890 23-Jan-2004 des

Add support for tinderbox.pl's --cvsup and --repository options.
Sort %CONFIG.


124889 23-Jan-2004 des

Document cvsup support.


124888 23-Jan-2004 des

Add support for using cvsup instead of cvs to update the source tree.
Fix the "clean" command: don't try to rmdir symlinks, and run chflags
before trying to delete the chroot tree.
Tweak some error and info messages.


124826 22-Jan-2004 imp

Remove references to cryptotest


124799 21-Jan-2004 imp

Theo de Raadt has brought to our attention that he wrote at least part
file and that he has not released it under a free license. Until the
matter can be resolved, honor his claim and remove it.

PR: misc/61676


124384 11-Jan-2004 des

Add ${IMAGES} to CLEANFILES.


124383 11-Jan-2004 des

Store binary files in uuencoded form.


124196 06-Jan-2004 bms

Add pirtool, a tool for dumping the $PIR table on i386 machines at runtime.

Requested by: mdodd


123493 12-Dec-2003 des

Revert the last two commits. It seems that compat mode is actually faster
than non-compat (using -j1), though reading the make(1) sources suggests
that the opposite is true.


123457 11-Dec-2003 des

Don't pass -P option to make(1) as it confuses the error detection logic.


123456 11-Dec-2003 des

Always pass -j to make(1), even when we only want one job. It disables
compat mode and hopefully improves tinderbox performance.


123446 11-Dec-2003 des

PowerPC doesn't need NOLIBC_R and NOFORTH (and hasn't for quite a while now)


123444 11-Dec-2003 des

Install experimental.rc as well.


123261 07-Dec-2003 sam

add install rule


123260 07-Dec-2003 sam

o report 0 instead of -1 for xmit rate when in transition
o report rssi in running display
o futz with column widths in running display


123259 07-Dec-2003 sam

fix comment


123249 07-Dec-2003 des

Log all results to a history file in the log directory.


123143 04-Dec-2003 des

Merge in uncommitted changes from the running configuration.


123142 04-Dec-2003 des

RELENG_5_2 is right around the corner.


123022 28-Nov-2003 ru

Understand the old pseudo-device config(8) file directive, for 4.x.


122629 13-Nov-2003 sam

fixup include filenames; this stuff used to be in the kernel source tree


122628 13-Nov-2003 sam

honor environment settings of SYSDIR and BINDIR


122592 13-Nov-2003 sam

add in-kernel ttcp performance tool


122546 12-Nov-2003 des

Remove leftovers from old color determination scheme.
Tune the speed at which colors change.


122544 12-Nov-2003 des

braino in age computation


122543 12-Nov-2003 des

Use graded colors to more clearly indicate relative age.


122541 12-Nov-2003 des

Turn the table around: platforms across, branches down.
Also fix some bogus tabification in here documents.


122536 12-Nov-2003 des

Belatedly include RELENG_4_9 in the build, and rotate RELENG_4_7 out.


122275 08-Nov-2003 sam

add 802.11 layer stats dumper


122274 08-Nov-2003 sam

catchup with if_xname change


121795 31-Oct-2003 phk

Attached is a small patch to ministat that separates the
avg/median/stddev bars onto two lines. Useful for datasets that
overlap.

Submitted by: Dan Nelson <dnelson@allantgroup.com>


121669 29-Oct-2003 sheldonh

Update the location of the Hart list.


121094 14-Oct-2003 des

Add the "TB ---" prefix to error and warning messages so that early
failures (e.g. failure to lock the sandbox) don't result in empty failure
reports.


121002 11-Oct-2003 des

Tweak the colors for failed runs


121001 11-Oct-2003 des

Show stale results (8 hours old or more) in a paler color.


120991 10-Oct-2003 des

Cosmetic nits.


120990 10-Oct-2003 des

Collapse the Architecture and Machine columns to conserve screen space.


120987 10-Oct-2003 des

Discourage line breaks between the time of day and the time zone.


120986 10-Oct-2003 des

Add support for tinderbox(1)'s -h option.


120985 10-Oct-2003 des

There is no need for $have_logs since we determine what platforms and
branches to show from what logs are actually present on disk.


120984 10-Oct-2003 des

Document the -h option.


120982 10-Oct-2003 des

Report the version number and hostname at the top of the log. Allow the
user to override the hostname on the command line (for whatever reason).
Add a comment to explain why a particular piece of code is commented out.


120981 10-Oct-2003 des

s/GMT/UTC/


120962 10-Oct-2003 des

Allow wrapping between the date and the time. s/GMT/UTC/.


120961 10-Oct-2003 des

Build RELENG_5_1.


120923 09-Oct-2003 des

Instead of using hardcoded column and row headers, scan the log directory
to see what's of interest.


120922 09-Oct-2003 des

Build a couple of security branches.


120245 19-Sep-2003 sam

o the kernel sysctl uses 'avg' for a key; change to suit
o change header field widths to match the kernel so columns line up


120235 19-Sep-2003 sam

fix build


120228 19-Sep-2003 des

Add support for stop files, the existence of which signals tbmaster to
skip particular platforms or configs, or simply stop running.


120227 19-Sep-2003 des

Check that $verbose is defined before using it in a comparison.


119910 09-Sep-2003 des

Make char signed by default.

Submitted by: grehan


119067 18-Aug-2003 phk

In case of zero span data supress the histogram plot.


118856 13-Aug-2003 phk

A small statistics tool for gauging the statistical significance
of data from benchmarks etc. Implements "Student's t" for various
confidence levels, defaults to 95%.

If your benchmarks are not significant at the 95% confidence level,
we don't want to hear about it.


118506 05-Aug-2003 des

Add a comment about hcomp.


118447 04-Aug-2003 des

gif -> png


118425 04-Aug-2003 des

A Perl script which tries to "compress" headers by removing comments and
superfluous whitespace.


118329 01-Aug-2003 des

Parts of the patch have been committed.


118324 01-Aug-2003 des

powerpc patch.


118323 01-Aug-2003 des

Use a more generic patch name.


118322 01-Aug-2003 des

powerpc still needs a patch.


118321 01-Aug-2003 des

Re-add support for patches.


118298 01-Aug-2003 des

Use PNG instead of GIF; add WWWOWN and WWWGRP variables to the Makefile;
add a shortcut icon.


118297 01-Aug-2003 des

The rc files have been repo-copied to a separate subdirectory.


118252 31-Jul-2003 des

Braino in previous commit: lists are comma-separated.


118251 31-Jul-2003 des

Make the experimental platforms tinderbox extra verbose.


118129 28-Jul-2003 ru

A simple tool to sanity check the contents of release/*/dokern.sh
and release/*/drivers.conf.


118118 28-Jul-2003 des

DATE and PATCH are always defined, but may be empty.


118117 28-Jul-2003 des

Remove redundant "targets", add NOLIBC_R and NOFORTH to environment


118116 28-Jul-2003 des

Install experimental.rc


118115 28-Jul-2003 des

Document --dump


118114 28-Jul-2003 des

Revive the powerpc tinderbox that used to run on 9ball.


118113 28-Jul-2003 des

stanley uses a different sandbox.


118112 28-Jul-2003 des

Don't mail out failure reports from stanley.


118111 28-Jul-2003 des

- add a -d option which dumps the configuration and exits
- initialize single-valued configuration variables to '' rather than undef
- allow empty values in configuration files
- take care to untaint $etcdir


118032 25-Jul-2003 des

powerpc isn't tinderbox-ready yet.


117997 25-Jul-2003 des

Ready to go live.


117966 24-Jul-2003 des

Complain about extraneous command line arguments.


117936 23-Jul-2003 des

Install rc files from ${.CURDIR}, not ${.OBJDIR}.


117935 23-Jul-2003 des

Sample configuration files.


117934 23-Jul-2003 des

Rewrite tbmaster to use configuration files instead of a hard-coded hash.


117933 23-Jul-2003 des

Improve the markup a little.


117852 21-Jul-2003 sam

add stat dumper for the safenet driver


117719 18-Jul-2003 des

Look for logs in the directory where we place the output.


117718 18-Jul-2003 des

Fix taint bug in previous commit.


117717 18-Jul-2003 des

Generate index.html in the same directory.


116997 28-Jun-2003 sam

bring in ath-specific test tool; more to follow


116625 20-Jun-2003 des

amd64 is actually stable enough for the regular -CURRENT tinderbox now.


116332 14-Jun-2003 des

Set the precedence on failure reports to "bulk" so I don't get tons of
vacation notices every time the tree breaks.


115875 05-Jun-2003 des

Mail out -STABLE tinderbox failures as well.


115749 02-Jun-2003 sam

Merge from private version:

o add hash operations
o make AES operations useful: split into 3 ops based on key length (specify
aes for AES w/ 128 bit keys, aes192 for 192-bit keys, and aes256 for
256-bit keys
o add -c option to force encrypt->decrypt result to be compared against the
original plaintext (need to compare it against a known good implementation
like openssl)
o change multi-threaded test output to be more meaningingful
o fix default block size selection to consider algorithm's blocking needs


115318 26-May-2003 des

Remember to close the read end of the pipe.


115118 17-May-2003 des

Document the DATE configuration field.


115117 17-May-2003 des

Fix a bug in report() which prevented two failure reports today from
reaching the lists. Also add support for tinderbox.pl's --date option.


115098 17-May-2003 des

Make sure realinstall works when ${.OBJDIR} != ${.CURDIR}.


115097 17-May-2003 des

Make some spaces non-breakable.


115096 17-May-2003 des

Constrain the chekout date to ISO format (yyyy-mm-dd) and add a special
case, "today", which corresponds to 00:00 on the day the run starts.

Remove NO_CPU_CFLAGS and NO_CPU_COPTFLAGS. This should be safe since we
clear the environment and set __MAKE_CONF to /dev/null. NO_CPU_CFLAGS
actually breaks the Alpha release by preventing the inclusion of -mieee
in CFLAGS.

Do not set BUILDNAME as the release/Makefile already constructs a better
one than we do (though I wish there was a way to s/-SNAP/-TINDERBOX/)


115070 16-May-2003 des

More configuration tweaks. Rename %CONFIGS to %SETUPS to make the code
clearer (particularly to someone who has read the man page). Don't print
anything on stderr.


115068 16-May-2003 des

Document the fact that tinderbox(1) accepts environment variables on the
command line. Also sort the xrefs correctly.


115067 16-May-2003 des

More oats for the beggars' horses.


115066 16-May-2003 des

Be careful what you wish for - you might get it!

Wished for by: ru


115065 16-May-2003 des

Add a 'patch' command rather than apply the patch unconditionally.
Don't try to clean the release chroot, leave that to the release Makefile.


115064 16-May-2003 des

Don't be so sensitive; /\bStop\b/ can occur in normal output and trick
tbmaster into thinking the build failed. Look for /^Stop in / instead.


115062 16-May-2003 des

Overhaul the reporting code, making sender, recipient and subject fully
configurable.

Add support for tinderbox.pl's --patch.

-STABLE releases won't build with NOPERL (kernel builds use Perl).


115061 16-May-2003 des

Add support for local patches (which are also passed on to make release)

--verbose was a little too verbose, especially while cleaning the sandbox.


115039 15-May-2003 des

Explicitly set the sandbox directory (it defaults to ~/tinderbox which is
wrong when running a release tinderbox as root)

Use the setup's COMMENT field in the subject of the failure report, instead
of just "$branch tinderbox".

Tweak the test setups.


115038 15-May-2003 des

'make release' should run from src/release, not src.


115028 15-May-2003 des

Make 'clean' and 'update' commands rather than options. Invoke 'update'
(but not 'clean') in all setups. Bump tinderbox.pl version to 2.1, mostly
for the 'release' command added in the previous commit.


115027 15-May-2003 des

Make the ENV configuration variable a hash rather than an array.

Build LINT on -STABLE now that tinderbox.pl knows how. Also try to build
LINT on powerpc and amd64 (this is a formality as they don't have NOTES
so nothing will be built)

Add two setups for release testing, with plenty of NO* to speed things up.

If the config key was not specified on the command line, try to guess it
from the hostname.


115026 15-May-2003 des

Add a 'release' command which builds a release. It currently sets
NOCDROM, NODOC and NOPORTS to save time and space, but I may remove
those at a later date so we can use the results to populate a snapshot
server.

Document the --machine option.

Make $arch and $machine default to the correct values for the current
system. This shouldn't make any difference unless you run the
tinderbox on a pc98 machine, since for all other platforms, $arch and
$machine are the same.

Only set kernel-related variables if actually building a kernel or a
release.

Be paranoid and cd to the correct directory in each stage so we're
sure we invoke make(1) in the right place.

To support building LINT on -STABLE, don't try to 'make LINT' unless
NOTES exists, but build LINT if the config file exists even if there
is no NOTES.


115025 15-May-2003 des

use 5.006_001 (for new open() syntax)


115024 15-May-2003 des

Add a Makefile for the web bits.


115023 15-May-2003 des

Untabify string literals.


115022 15-May-2003 des

Don't show platforms for which we have no logs.


115021 15-May-2003 des

CSS uses C-style comments, not C++-style.


115020 15-May-2003 des

These are the sources for the tinderbox summary page.


114778 06-May-2003 des

Start mailing -CURRENT tinderbox failures to the lists.


114742 05-May-2003 des

Remove BOOT2_UFS=UFS1_ONLY from the -CURRENT tinderbox environment; it
should no longer be necessary.

Re-enable Kerberos 5 in the -STABLE tinderbox (incorrectly disabled in
the previous commit)

Prepare for, but do not actually enable, mailing reports to
appropriate FreeBSD mailing lists.


114709 05-May-2003 markm

Turn MAKE_KERBEROS5 into NO_KERBEROS by negating the logic. Some extra
cleanups were necessary in release/Makefile, and the tinderbox code
was syntax checked, not run checked.


114416 01-May-2003 des

Start running amd64 builds on 9ball.


112545 24-Mar-2003 sam

add missing %u to show mcr1full count


112394 19-Mar-2003 sam

o add missing copyright notices
o new hifnstats program to dump hifn driver statistics
o new ipsecstats program to dump fast ipsec statistics


112217 14-Mar-2003 des

Allow the configuration to specify environment variables (passed on
the command line to tinderbox.pl)
Build Kerberos V in all setups (this was previously taken care of by
tinderbox.pl).
Tweak the 9ball configuration to make powerpc builds work (with a
little help from a toolchain patch provided by grehan)


112216 14-Mar-2003 des

Support multiple verbosity levels.
Allow the user to specify environment variables on the command line.
Set the correct variables for cross-building.
Don't arbitrarily define MAKE_KERBEROS5 and BOOT_UFS.


112100 11-Mar-2003 sam

use relative pathname to driver-private file (instead of absolute)


112098 11-Mar-2003 sam

add simple program to dump ubsec driver statistics


111950 06-Mar-2003 des

Prepare for removal of KerberosIV from the tree.


111426 24-Feb-2003 des

Hacks to get i386 and pc98 building:
- TARGET=${TARGET_MACHINE}
- BOOT2_UFS=UFS1_ONLY


111417 24-Feb-2003 sam

o add -b option to enable batching
o add #ifdef __FreeBSD__'s around the profiling so the code compiles on openbsd
o update a comment about expected performance for Broadcom hardware


111364 23-Feb-2003 des

If more than one argument were given on the command line, interpret the
additional arguments as a series of architectures to build. This is
useful for running subsets of a particular configuration.


111304 23-Feb-2003 des

Add LINT to the target list for the test setup.


111303 23-Feb-2003 des

Add LINT to the taget list for CURRENT.


111302 23-Feb-2003 des

Don't try to build LINT if there is no NOTES file.


111208 21-Feb-2003 des

Don't omit --update on 9ball.


111081 18-Feb-2003 des

Properly terminate some warning messages.


111077 18-Feb-2003 des

Explicitly set TZ to GMT (including in the build environment)


111050 17-Feb-2003 des

- build powerpc world on 9ball
- log directly into two files: a full log and a summary
- set timezone to GMT before starting


110956 15-Feb-2003 des

Log to stdout if no file was specified.


110939 15-Feb-2003 des

Avoid an undef warning.


110851 14-Feb-2003 des

Decrease verbosity, fix some configuration problems.


110824 13-Feb-2003 des

Make the tinderbox log lines less obtrusive.


110823 13-Feb-2003 des

Pass KERNCONF on the command line rather than in the environment,
since the command line is included in the log.


110822 13-Feb-2003 des

Complete overhaul of the configuration system, allowing the user to
select one of multiple configurations at runtime.


110800 13-Feb-2003 des

GC the old tinderbox script.


110791 13-Feb-2003 des

Place the logs in the tinderbox directory rather than cwd.


110790 13-Feb-2003 des

Move away the old log file before starting the tinderbox so we don't
accidentally post the old log if the tinderbox script failed to start
altogether.


110788 13-Feb-2003 des

- run the tinderbox script in verbose mode
- use /\bStop\b/ instead of /^\*\*\* Error/ to identify errors


110773 12-Feb-2003 des

Simplify the log accumulation code. It turns out that the trick of
looking for ^===> can give quite annoying false positives, especially
when building kernels, so drop it; the context can be inferred from
make's "Stop in /foo/bar/baz" messages anyway.

Also add a case that I'd missed the first time around (which happens
to be the common case, not the exception...)


110772 12-Feb-2003 des

NO_KERNELCLEAN was a booboo.


110771 12-Feb-2003 des

Welcome tbmaster, TinderboxNG's better half.


110770 12-Feb-2003 des

Slight cleanup; adjust verbosity; unlink the logfile before opening it
to tickle 'tail -F'.


110760 12-Feb-2003 des

Teach whereintheworld to preserve TinderboxNG log messages.


110758 12-Feb-2003 des

Make "CURRENT" the default branch, and special-case it in the update
code so it results in -A rather than -rCURRENT.


110735 11-Feb-2003 des

Say hello to Tinderbox 2.0, the choice of a new generation!


110160 31-Jan-2003 seanc

Add a getopt-ified version of an old tool that I've been using for ages:
backout_commit.rb. Tool can be used to automate the
process of backing out either small or large commits based off of
one or more commit messages. The result of the script is a shell
script which can be edited or run as needed. New and dead files
are taken into consideration. See the program's usage statement for
more configuration details. Here's an example usage:

<programlisting>
$ mutt
[find commit message, save to disk as cvsmsg.txt]
$ backout_commit.rb ~/cvsmsg.txt
Backout directory: /usr
Backout script: backout-2003-01-31-14-04.sh

Scanning through cvsmsg.txt...done.

Change to /usr and run this script. Please look through this script and
make changes as necessary. There are commented out commands available
in the script.

Example script usage:
mv backout-2003-01-31-14-04.sh /usr
cd /usr
less backout-2003-01-31-14-04.sh
/bin/sh backout-2003-01-31-14-04.sh
rm -f backout-2003-01-31-14-04.sh
</programlisting>


109485 18-Jan-2003 des

Don't truncate lines if an error occurred.


109484 18-Jan-2003 des

Indentation cleanup.


109317 15-Jan-2003 phk

Make sure we find all vnode method vectors in /sys.


109024 09-Jan-2003 schweikh

Fix a useless use of cat. Save a process today.


109007 09-Jan-2003 des

Document tinderbox and whereintheworld, and move diffburst in its
alphabetical place.


109006 09-Jan-2003 des

My version of fenner's "make world" log summarizer.


109005 09-Jan-2003 des

Sample tinderbox script & build settings.


108833 06-Jan-2003 sam

more crypto test stuff:

o cryptotest can now run multiple threads with -t option
o cryptotest can now "profile" time spent doing symmetric ops with -p
o cryptostats dumps the crypto statistics block
o cryptokeystat is an openbsd app that tests public key ops


108605 03-Jan-2003 phk

Add various command line options, most notably sort order.

Submitted by: "Matthew Emmerton" <matt@gsicomp.on.ca>
Sat on for far too long: phk


108470 30-Dec-2002 schweikh

Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
Add FreeBSD Id tag where missing.


107852 14-Dec-2002 sam

add program used to exercise/test /dev/crypto symmetric crypto functionality

Obtained from: openbsd (originally)


105334 17-Oct-2002 joe

Fix a bug that showed up when trying to produce a database for
subdirectories, and ended up making us loop forever.

Add the username to the md5 of the commit to make it slightly more
unique.

Make the 'cvs' run quietly.


104442 04-Oct-2002 wollman

Yesterday, FreeBSD-current ate my disklabel.
Today, I wrote a program to tell me where the partitions used to be.
Now I have my /media filesystem back.


104288 01-Oct-2002 ru

test -h is deprecated; use -L instead.

PR: bin/40846


103436 17-Sep-2002 peter

Initiate deorbit burn for the i386-only a.out related support. Moves are
under way to move the remnants of the a.out toolchain to ports. As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL. It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha


103392 16-Sep-2002 phk

Pick up modules from the compile directory instead of /boot/kernel.

Allow the script to operate on any convenient kernel.

Submitted by: "Matthew Emmerton" <matt@gsicomp.on.ca>


101677 11-Aug-2002 schweikh

Fix typos; each file has at least one s/seperat/separat/
(I skipped those in contrib/, gnu/ and crypto/)
While I was at it, fixed a lot more found by ispell that I
could identify with certainty to be errors. All of these
were in comments or text, not in actual code.

Suggested by: bde
MFC after: 3 days


100354 19-Jul-2002 phk

Update to current reality: change COMPILEDIR and work on "R"ead-only-data
symbols as well.


97303 26-May-2002 des

Mutex statistics script.


95950 02-May-2002 phk

Modernize


95935 02-May-2002 phk

Un-rot the VOP_ table generator.


94738 15-Apr-2002 des

Long-forgotten patch: warn if a closed PR has no "closed by"


94737 15-Apr-2002 des

Long-forgotten patch: list prstats


93556 01-Apr-2002 joe

We might as well show the log message if we're going to produce the patch.


93545 01-Apr-2002 joe

Take an option flag to specify that we'd like a patch generated too.


93151 25-Mar-2002 phk

Modernize my email address.


91501 28-Feb-2002 joe

Add a tool that I've written to help with finding what other
files/revisions were changed with a particular commit.


87163 01-Dec-2001 sheldonh

Correct misattribution of the Hart list, which I had mistakenly
attributed to Heckenbach.


86781 22-Nov-2001 sheldonh

Add the script that will be used to maintain src/share/misc/pci_vendors.
The script written and used originally by msmith has been lost.

This version takes the Boemler and Heckenbach lists and produces merged
output. It defaults to ignoring any entries from Heckenbach already
found in Boemler but the -l option causes it to take the entry with the
longest description where an entry appears in both lists.

If this script is replaced, care should be taken to

1) Always use upper-case hexidecimal tokens in device ids.

2) Always keep device lists sorted within vendor lists, which must also
be sorted.

3) Do not try to include input from the previous pci_vendors file, since
bogus ids seem to be removed from both the Boemler and Heckenbach
lists from time to time.


86312 13-Nov-2001 des

Now it gets interesting...


86310 13-Nov-2001 des

Use a slightly less predictable temp file name, remove a stale list of PRs
with corrupted submission dates (they were fixed on freefall a while ago),
and uncomment the code that removes the temp file when we're done.


86309 12-Nov-2001 des

This is a PR statistics-gathering script I wrote a while ago. It currently
doesn't do much of interest except produce graphs similar to phk's.


86113 05-Nov-2001 phk

Update.


86112 05-Nov-2001 phk

This is long since unused.


86111 05-Nov-2001 phk

This simple shell-script tries to find *.c files under /sys
which are not in some way used or referenced somewhere.


85040 17-Oct-2001 fenner

The interface index space may be sparsely populated (e.g. when an
interface in the middle is if_detach()'d). Return (and handle)
ENOENT when the ifmib(4) is accessed for a nonexistent interface.

MFC after: 14 days


75872 23-Apr-2001 phk

Update this to reflect changes in config(8) usage.

It finds 639 hits on kernel source from before the <sys/mount.h>
change earlier today.


72645 18-Feb-2001 asmodai

Preceed/preceeding are not english words. Use precede and preceding.


71226 18-Jan-2001 phk

Look for modules in /boot/kernel these days.


67812 28-Oct-2000 phk

The latest & greatest unused #include spotter. Faster, one-pass and
more precise than ever.

1230 hits on the current kernel.


67063 13-Oct-2000 phk

Teach kerninclude to check <machine/*> #includes as well.

Currently it finds 2072 supposedly unneeded #includes in the first pass.


66353 25-Sep-2000 phk

Use "make LINT" to create our LINT config


65824 13-Sep-2000 wollman

Fix compilation problems and bounds-checking bug in `ifinfo'.

PR: 21177
Submitted by: Craig Leres <leres@ee.lbl.gov>


64894 21-Aug-2000 phk

Make this work with current makefiles again.


59706 27-Apr-2000 phk

Use profiling on LINT.
cosmetics.


52139 11-Oct-1999 phk

Add the machine that goes "BINGO" every time an potentially
unused #include is spotted in the kernel sources.

(This commit message celebrates Monty Pythons 30year aniversary)


51579 22-Sep-1999 archie

Remove the "diffburst" tool, because equivalent functionality is now available
via "split -p". Leave a note to this effect in the README file.


50939 05-Sep-1999 phantom

mdoc(7) style fixes.

PR: docs/13408
Reviewed by: mpp


50533 28-Aug-1999 mpp

Add $FreeBSD$ lines to man pages that are missing them to make it
easier for translation teams.

PR: docs/13418
Submitted by: Alexey Zelkin <phantom@cris.net>


50477 28-Aug-1999 peter

$Id$ -> $FreeBSD$


49205 29-Jul-1999 bde

Look for symbols in /modules/*.ko, not in /lkm/*.o.


45348 05-Apr-1999 jkh

Move the proper set of libraries.


44035 15-Feb-1999 jkh

Do a better job of finding the default root device.


43495 01-Feb-1999 jkh

Make directories unconditionally to deal with the empty directory
case.

Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>


43261 27-Jan-1999 jkh

Make building the kernel conditional.


43215 26-Jan-1999 jkh

1. Properly chflags libraries before moving (otherwise they don't).
2. Add my helper script for upgrades; not enabled yet.


42375 07-Jan-1999 archie

Add the 'diffburst' tool, which does the following:
Reads the output of 'diff -r' and splits it into separate
patch files, one per file. The files are named 'patch-XX'
where XX is aa, ab, ac, ... Useful when creating ports.


41896 17-Dec-1998 cracauer

Actually document my last addition.
General cosmetics.
Add a note that scsi-defects has not been ported to CAM.
Submitted by: BDE


41826 15-Dec-1998 cracauer

Add some emacs code to make cc-mode almost compatible to style(9).
Sort entries in toplevel README.


41594 08-Dec-1998 archie

Automatically detect a.out vs. elf kernel


41566 06-Dec-1998 archie

Add "-aout" flag to nm until the kernel is ELF'd.


41372 27-Nov-1998 bde

Ignore objects used to build utilities (*aicasm*.o and *genassym*.o).


40589 22-Oct-1998 bde

Removed all `vector xxxintr' specifications. Interrupt handlers are now
configured in drivers.


40467 17-Oct-1998 peter

3.0-RELEASE and now the post-release 3.0-CURRENT were being declared
'too old' to run ELF. Check the kernel version properly.


39369 16-Sep-1998 phk

Prevent ldconfig from choking by creating any missing directories.


38973 09-Sep-1998 jb

Add a note about the upgrade tool directory.


38972 09-Sep-1998 jb

A script for use when upgrading an installed system from aout to
elf.


36252 20-May-1998 wosch

Add mid scripts. Mid is a tool which create a Message-ID database
for mailing lists.


35770 06-May-1998 msmith

Updates to support adding driver files outside the i386 area.
Submitted by: Daniel O'Connor <doconnor@gsoft.com.au>


34819 23-Mar-1998 bde

Install tclAppInit.c in the installhdrs step so that it isn't necessary
to build libtcl twice in `make world'.


32591 17-Jan-1998 bde

Don't install the tcl implementation headers. The tcl distribution
makefile doesn't install them, and they couldn't be used without
lots of undocumented -I's in CFLAGS. tcl.h is still installed in
/usr/include/tcl/. Note that rev.1.24 of tcl_bmake/mkMakefile.sh
broke all the section 3 tcl man pages by putting it there instead
of in /usr/include.


32590 17-Jan-1998 bde

Updated shlib version to 80.4 in the correct place.

Regenerated libtcl/Makefile. This adds -DHAVE_ST_BLKSIZE=1 to CFLAGS.
It was broken by direct editing in rev.1.25.


31067 09-Nov-1997 wosch

Add html-mv script. Html-mv rename HTML generated filenames to
human readable filenames. E.g.:

$ cd FAQ
$ make FORMATS=html
$ html-mv FAQ
$ ls
FAQ_ACKNOWLEDGMENTS.html
FAQ_Any_restrictions_on_how_I_divide_the_disk_up_.html
FAQ_Are_there_any_Database_systems_for_FreeBSD_.html
FAQ_Are_there_any_commercial_high-performance_X_servers_.html
FAQ_Books_on_FreeBSD.html
FAQ_Can_FreeBSD_handle_multiport_serial_cards_sharing_irqs_.html
[...]


30746 26-Oct-1997 phk

Update this little gadet to latest version.


30477 16-Oct-1997 phk

Makes html table with all VOPs in it.


30104 04-Oct-1997 wosch

Do not suppress the first 5 lines of updated ports.

Detected by: Ville Eerola <ville@vlsi.fi>


30041 01-Oct-1997 phk

New shlib is 80.3


29987 29-Sep-1997 wosch

Add introduction. Add updated ports.


28977 01-Sep-1997 bde

Made this compile again (getopt moved to <unistd.h>).

Fixed usage message.


28534 21-Aug-1997 bde

Split beforeinstall target so that headers can be installed without
installing data files.


28253 16-Aug-1997 peter

Install tcl.h into /usr/include/tcl/ so that there's less chance of it
conflicting.


28122 12-Aug-1997 peter

Remove the original tweaks to make tcl75 work with the ports system
before we make the same mistake with tcl8.0. This _should_ no longer
conflict with a not-yet-imported tcl8.0 port and should allow the
system and ports versions to be updated independently of each other
(and tk) without the sky falling.


27830 01-Aug-1997 phk

Move tcl packages to libdata/pkg


27681 25-Jul-1997 phk

The thing to do the trick to tcl.


27216 05-Jul-1997 wosch

Support message of last database update.


26532 10-Jun-1997 msmith

Some helpful improvements :

- be smarter about locating driver description files.
- be smarter about whether we are really looking at a kernel tree
- fix option handling


25137 25-Apr-1997 wosch

Add portsinfo, which generate list of new ports for last two weeks.


22988 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


22205 02-Feb-1997 joerg

Add a tools to get at the primary or grown defect list of a SCSI disk.

Submitted by: dufault


21914 21-Jan-1997 msmith

Add KernelDriver.


21913 21-Jan-1997 msmith

This commit was generated by cvs2svn to compensate for changes in r21912,
which included commits to RCS files with non-trunk default branches.


21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


20974 28-Dec-1996 wosch

epfe - extract printing filter examples from printing.sgml

usage:
$ cd /usr/share/examples/printing
$ epfe < printing.sgml


20973 28-Dec-1996 wosch

add epfe and tcl_bmake


20585 17-Dec-1996 peter

Fix the 'info sharedlibextention' output in tclsh which was caused by a
missing define during the libtcl build. This is needed to get Tclmidi 3.1
to work.

This should close PR#2006

This should also go into 2.2, like the previous commit.

Submitted by: A JOSEPH KOSHY <koshy@india.hp.com>


20546 16-Dec-1996 peter

Reverse the tcl configure's decision to "disable" the use of ranlib since
it's wrong. It "knows" that ranlib is not used on shared libraries, this
is not a valid assumption since it exports this definition to the world
via tclConfig.sh. :-( Hence, things like expect (to be updated) fall over
because they were using ":" instead of "ranlib" on their static libraries.


19292 31-Oct-1996 peter

Back out a little more of the previous changes. No longer change
TCL_SHLIB_SUFFIX, since some tools use it for generating the name of
shared objects for dlopen(), which do not have version numbers. This
setting is back to "as distributed".


19263 30-Oct-1996 peter

Argh, I hate the tcl build/config environment. :-(

It seems that some tools (eg: expect-5.21) use TCL_LIB_SPEC to generate
their shared library suffix. This should be .so.1.0, not .so as ld can't
use it.

Revert part of the previous change here, it did too much. libtcl75.so.1.1
was bumped, but the rules to generate library names for _other_ packages
were not supposed to be. Sigh.


19243 29-Oct-1996 peter

Along the way, the minor version number has been bumped (newer version
of tcl with new functions in the library), but the ports-compatable
link name wasn't bumped as it should have been.

Minor cleanups while here (including preserving the $Id: line)


19205 27-Oct-1996 wosch

(reverse) sync with src/lib/libtcl/Makefile rev 1.9

>Do not make symbolic links from obj directory into source tree,
>it may break `make reinstall'. Use cp(1).
>
>Simplify Makefile.

Requested by: Peter


18871 11-Oct-1996 wollman

Actually tell people what ifinfo is.


18870 11-Oct-1996 wollman

Add my little `ifinfo' program. This is sort of a cross between a
diagnostic program for debugging the interface MIB and an example of
how to use same. Someday, netstat should be updated to print this
information in a prettier form.


18422 20-Sep-1996 bde

Fixed CLEANFILES. The *.3 links were missing.
Removed ugly newlines.


18355 18-Sep-1996 phk

Bump minor number to 1


18056 05-Sep-1996 peter

Oops, two tiny typos. Serves me right for making a "Just a tiny change!"
without testing right before committing...
Also, get rid of some extra slashes in beforeinstall.


18055 05-Sep-1996 peter

Sigh. That darn tcl source tree is damn strange. I missed the fact that
the *.3 man pages are not installed with their distributed names, so all
the links were messed up. :-(


17895 29-Aug-1996 peter

Fix the sed rule that I used to hammer out the TCL_BUILD_LIB_SPEC entry
from tclConfig.sh.. It needs to be valid for the tk41 port to use...


17889 29-Aug-1996 chuckr

Cause libtcl to install 5 include files for compibility with ports.
Also repair a small install bogon causing install of libtcl.so.0.0.
Reviewed by: Peter Wemm


17884 29-Aug-1996 peter

More cleanup:
- don't install nroff tcl.macros in /usr/include.... :-]
- set $MAN3 and $MANn in one go rather than a string of MAN3+= ...
- cosmetic tweaks to make it more readable
- no longer copy tcl.macros to the obj dir, install it from source dir


17883 29-Aug-1996 peter

Arrange to have libtcl automatically pull in libm since it's dependent
on it.


17856 28-Aug-1996 peter

Revamp the generated libtcl Makefile :-
Use the MANFILTER rather than generate rules for each page
Use .PATH to source the man pages rather than copy them for build
Install a tclConfig.sh with build params, may need more tweeks yet.
Install libtcl.so.75.0 *and* libtcl75.so.1.0 for ports compat.


17669 19-Aug-1996 peter

delete a mkdir of /usr/libdata/tcl, this is mtree's job.


16856 30-Jun-1996 phk

Update to use modern make meta-variables. Fix the $Id$ both.


16773 26-Jun-1996 phk

This script will help bmake tcl.


13094 29-Dec-1995 bde

Don't look in libkern, it went away.


12875 15-Dec-1995 bde

The unref and undef counts in the summary were swapped.


12870 15-Dec-1995 phk

Make this a real cross-ref listing.
This is now a handy tool for finding symbols in the kernel.


12814 13-Dec-1995 phk

Report common symbols with one reference as UNREF too.


12132 06-Nov-1995 phk

Fix two nits.


11497 15-Oct-1995 phk

Add kernxref, a shellscript to crossreference the symbols of the LINT kernel.


11496 15-Oct-1995 phk

README reads:
This directory is for tools.

A tool is something which is sometimes useful, and doesn't fit any of the
other categories.

Please make a subdir per program, and add a brief description to this file.