New FreeBSD snapshots and virtual machine disk images (20130804 r253930)
Glen Barber
gjb at FreeBSD.org
Mon Aug 5 12:00:21 UTC 2013
New FreeBSD development branch installation ISOs and virtual machine
disk images have been uploaded to the FTP mirrors.
Subversion logs since the last set of snapshots attached to this
email.
As with any development branch, the installation snapshots are not
intended for use on production systems. We do, however, encourage
testing on non-production systems as much as possible.
If tracking the stable/9 branch or planning to upgrade systems to
9.2-RELEASE, testing the stable/9 snapshots is strongly encouraged
so that potential problems may be found and fixed before the release.
These may be found in the normal releases/ directory of FTP:
ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/ISO-IMAGES/
Important note: non-x86 snapshots are generated in a cross-build
environment, not natively built on their respective architectures.
Checksums for the installation ISOs and the VM disk images follow at
the end of this email.
=== Installation ISOs ===
bootonly.iso, disc1.iso, and memstick.img images are available for:
o 10.0-CURRENT amd64
o 10.0-CURRENT i386
o 10.0-CURRENT ia64
o 10.0-CURRENT powerpc
o 10.0-CURRENT powepc64
o 10.0-CURRENT sparc64
Snapshots may be downloaded from the corresponding architecture
directory from:
ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/
Please be patient if your local FTP mirror has not yet caught
up with the changes.
Problems, bug reports, or regression reports should be reported
through the GNATS PR system or the appropriate mailing list, such
as -current@ or -stable@ .
=== Virtual Machine Disk Images ===
VM disk images are available for the following FreeBSD branches for
the amd64 and i386 architectures:
o 10.0-CURRENT amd64
o 10.0-CURRENT i386
Disk images may be downloaded from the following URL (or any of the
FreeBSD FTP mirrors):
ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/Latest/
Images are available in the following disk image formats:
- QCOW2
- VMDK
The partition layout is:
- 512k - freebsd-boot GPT partition type (bootfs GPT label)
- 1GB - freebsd-swap GPT partition type (swapfs GPT label)
- ~8GB - freebsd-ufs GPT partition type (rootfs UFS label)
Checksums for the current set of snapshots and images:
=== Installation ISOs ===
o 10.0-CURRENT amd64:
SHA256 (FreeBSD-10.0-CURRENT-amd64-20130804-r253930-bootonly.iso) = 4e55b85385aa538d406fe321e98265d7555b5f922b4e81f01b762a011df69325
SHA256 (FreeBSD-10.0-CURRENT-amd64-20130804-r253930-disc1.iso) = 2179d00bad27b2371639ec9eb0b31f6f78b788a45f95b149921b923d76c12e44
SHA256 (FreeBSD-10.0-CURRENT-amd64-20130804-r253930-memstick.img) = 278089eb9673da7f53faf81c8cf08734d69971de40b1654d4c42a5614fbb0a38
MD5 (FreeBSD-10.0-CURRENT-amd64-20130804-r253930-bootonly.iso) = 8963440cf3b7d95c7940aa97124dc3a4
MD5 (FreeBSD-10.0-CURRENT-amd64-20130804-r253930-disc1.iso) = cf0fe2b857977ec2b4aa326dc1658d6b
MD5 (FreeBSD-10.0-CURRENT-amd64-20130804-r253930-memstick.img) = 23a370ade6cc7d21a7526d5db9026ca4
o 10.0-CURRENT i386:
SHA256 (FreeBSD-10.0-CURRENT-i386-20130804-r253930-bootonly.iso) = 0521db76633b1a553142a7f69c5c47359bc073c5c3e3a748edd72ad7674aa5ee
SHA256 (FreeBSD-10.0-CURRENT-i386-20130804-r253930-disc1.iso) = bd3683dfcb9e3e06f3b4b3eb4ca2e7282c62de09403bee662364bcac0d441f85
SHA256 (FreeBSD-10.0-CURRENT-i386-20130804-r253930-memstick.img) = a181a2d21ef187a5be250f9d28e2e0bb9358d6de3e07ed8f4eaee6b8034582c7
MD5 (FreeBSD-10.0-CURRENT-i386-20130804-r253930-bootonly.iso) = 8aaceb44b50f08a62296ab6b2e421237
MD5 (FreeBSD-10.0-CURRENT-i386-20130804-r253930-disc1.iso) = 8846ac493508ca6b2295c81f93cd447c
MD5 (FreeBSD-10.0-CURRENT-i386-20130804-r253930-memstick.img) = bfcd2cda2cb32bc36baf7abc8fd34700
o 10.0-CURRENT ia64:
SHA256 (FreeBSD-10.0-CURRENT-ia64-20130804-r253930-bootonly.iso) = 9d40bea645054eaf04fb61edf00030da265838eb6a7e03148e68e92a7444a673
SHA256 (FreeBSD-10.0-CURRENT-ia64-20130804-r253930-disc1.iso) = cc9ad9cb2db61af6a870a8f5f356df76ef07e2ef609948d038a8141add6a6e13
SHA256 (FreeBSD-10.0-CURRENT-ia64-20130804-r253930-memstick.img) = 8ff34f52b59f591436bad0a92d337b1e8d5bada63068eb8393dde255758d848c
MD5 (FreeBSD-10.0-CURRENT-ia64-20130804-r253930-bootonly.iso) = a99c8a113f3b444b00f4cf40c1cdcb99
MD5 (FreeBSD-10.0-CURRENT-ia64-20130804-r253930-disc1.iso) = d1e04adb568df07ca14748cf0adf634d
MD5 (FreeBSD-10.0-CURRENT-ia64-20130804-r253930-memstick.img) = 0ab723e684d35b4336c965c7849eceb6
o 10.0-CURRENT powerpc:
SHA256 (FreeBSD-10.0-CURRENT-powerpc-20130804-r253930-bootonly.iso) = cd5392b7839254ed954fbcae61afcdf64fd0d496e3bb96c9bad0ff0df62bb27b
SHA256 (FreeBSD-10.0-CURRENT-powerpc-20130804-r253930-disc1.iso) = 40d71f09cb5e04083eee9b8be5720d905a628a74258614ed3dc375eb769b6f4c
SHA256 (FreeBSD-10.0-CURRENT-powerpc-20130804-r253930-memstick.img) = 6333597c026c2076e72f8c21dbfb553e692a69ee653cefdab1610bbc12b44b97
MD5 (FreeBSD-10.0-CURRENT-powerpc-20130804-r253930-bootonly.iso) = 56a970624b1675cd8a3ad791acc5239b
MD5 (FreeBSD-10.0-CURRENT-powerpc-20130804-r253930-disc1.iso) = e27e37f79f468db23467cc926eda7398
MD5 (FreeBSD-10.0-CURRENT-powerpc-20130804-r253930-memstick.img) = 4fc1992562992f5ffe2d3a77eaf4a182
o 10.0-CURRENT powepc64:
SHA256 (FreeBSD-10.0-CURRENT-powerpc64-20130804-r253930-bootonly.iso) = f1202fa7c18484d4f4676393f4e22553b56b10bf9515319b2dc2b26cd8a76601
SHA256 (FreeBSD-10.0-CURRENT-powerpc64-20130804-r253930-disc1.iso) = 3e83a2eca93f32533ef0288962452a528f4930cdd85bccae519033046fa5202c
SHA256 (FreeBSD-10.0-CURRENT-powerpc64-20130804-r253930-memstick.img) = a122c5d4ecc33174eecdbe6bbe6740986a1fd9cd6b42e53dbc58a0bbb5fce7d7
MD5 (FreeBSD-10.0-CURRENT-powerpc64-20130804-r253930-bootonly.iso) = e9cedaa7696e313c353c91c15c85bc10
MD5 (FreeBSD-10.0-CURRENT-powerpc64-20130804-r253930-disc1.iso) = 27eb004726d257a14f9ace1f5f2e5fee
MD5 (FreeBSD-10.0-CURRENT-powerpc64-20130804-r253930-memstick.img) = 1cb6e4e09b004e95d274c5b29dfea5c5
o 10.0-CURRENT sparc64:
SHA256 (FreeBSD-10.0-CURRENT-sparc64-20130804-r253930-bootonly.iso) = 6abe7e84b363b339244cfba27e640e3419f79df5cb590e88c3d9c26e7d79cd40
SHA256 (FreeBSD-10.0-CURRENT-sparc64-20130804-r253930-disc1.iso) = 7548c9c965abb9edad767d911f09b11b2606c1f0a46a260580b7f6fcad0d816a
MD5 (FreeBSD-10.0-CURRENT-sparc64-20130804-r253930-bootonly.iso) = 500ba26756dd7949ed3819f728b7a35e
MD5 (FreeBSD-10.0-CURRENT-sparc64-20130804-r253930-disc1.iso) = 3cf6a7ec35c0090e66e2570c2b52a129
=== Virtual Machine Disk Images ===
o 10.0-CURRENT amd64:
SHA256 (FreeBSD-10.0-CURRENT-amd64-20130804-r253930.qcow2.xz) = 22451de44092d9e2d0eb82551a6b16fce5d94a14ac167c57cfc0cfbe65349767
SHA256 (FreeBSD-10.0-CURRENT-amd64-20130804-r253930.vmdk.xz) = 130def943a43890582e93da1833cb8ce2d21ae158875c6de23a701342d57fe01
MD5 (FreeBSD-10.0-CURRENT-amd64-20130804-r253930.qcow2.xz) = 75152e721a146bb91d5aee55dc86f53a
MD5 (FreeBSD-10.0-CURRENT-amd64-20130804-r253930.vmdk.xz) = 11adbdf476c3c510454b751a7d4fe239
o 10.0-CURRENT i386:
SHA256 (FreeBSD-10.0-CURRENT-i386-20130804-r253930.qcow2.xz) = c5396191b0a13f55ef07d4bff0ce1a364d8afbfe69251b6c7ee3f420e89585c4
SHA256 (FreeBSD-10.0-CURRENT-i386-20130804-r253930.vmdk.xz) = 480da0975a4d441a07eb41e5d8497ac4d19e613c29b3d62edcb7f1a33398cb9f
MD5 (FreeBSD-10.0-CURRENT-i386-20130804-r253930.qcow2.xz) = 9a3ee4525ac42870cdac4a40adf99b42
MD5 (FreeBSD-10.0-CURRENT-i386-20130804-r253930.vmdk.xz) = 0dc06defdb5c4d6fc82b374aecdfd2bb
Regards,
Glen
-------------- next part --------------
------------------------------------------------------------------------
r253513 | gjb | 2013-07-21 05:23:34 +0000 (Sun, 21 Jul 2013) | 7 lines
Create memstick images with the '.img' filename extension.
Requested by: many
Approved by: kib (mentor)
MFC after: 3 days
X-MFC-To: stable/9 only
------------------------------------------------------------------------
r253514 | des | 2013-07-21 06:59:56 +0000 (Sun, 21 Jul 2013) | 5 lines
Use the correct request syntax for proxied (tunneled) HTTPS requests.
PR: bin/180666
MFC after: 3 days
------------------------------------------------------------------------
r253515 | des | 2013-07-21 07:24:25 +0000 (Sun, 21 Jul 2013) | 2 lines
mdoc nit
------------------------------------------------------------------------
r253517 | hrs | 2013-07-21 11:59:41 +0000 (Sun, 21 Jul 2013) | 6 lines
- Fix nflag in routename().
- Display a AF_LINK address in #linkN when sdl_{nlen,alen,slen) == 0 and
sdl_index != 0.
- Reduce unnecessary loop in pmsg_addrs().
- Remove iso_ntoa(). This is not used.
------------------------------------------------------------------------
r253518 | andrew | 2013-07-21 12:47:33 +0000 (Sun, 21 Jul 2013) | 5 lines
Teach siglongjmp about the VFP version of the setjmp buffer.
This fixes a bug where a call to sigsetjmp followed by siglongjmp may fail
when run on a machine with VFP enabled.
------------------------------------------------------------------------
r253519 | hrs | 2013-07-21 14:27:07 +0000 (Sun, 21 Jul 2013) | 3 lines
- Use getnameinfo() for both of AF_INET and AF_INET6 in routename().
- Add missing "static".
------------------------------------------------------------------------
r253520 | hrs | 2013-07-21 15:26:25 +0000 (Sun, 21 Jul 2013) | 5 lines
Do not set ND6_IFF_ACCEPT_RTADV on if_bridge(4) interfaces when
ipv6_enable=yes.
MFC after: 3 days
------------------------------------------------------------------------
r253525 | kib | 2013-07-21 19:17:46 +0000 (Sun, 21 Jul 2013) | 7 lines
Cosmetic change, use the same union name on the left and right sides
of the conversion.
Tested by: Petr Salinger <Petr.Salinger at seznam.cz>
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
------------------------------------------------------------------------
r253526 | kib | 2013-07-21 19:21:18 +0000 (Sun, 21 Jul 2013) | 7 lines
Fix several warnings.
Fix crash in aio_pty_cleanup() by initializing the pointer before
dereferencing.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
------------------------------------------------------------------------
r253527 | kib | 2013-07-21 19:33:48 +0000 (Sun, 21 Jul 2013) | 11 lines
Move the convert_sigevent32() utility function into freebsd32_misc.c
for consumption outside the vfs_aio.c.
For SIGEV_THREAD_ID and SIGEV_SIGNAL notification delivery methods,
also copy in the sigev_value, since librt event pumping loop compares
note generation number with the value passed through sigev_value.
Tested by: Petr Salinger <Petr.Salinger at seznam.cz>
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
------------------------------------------------------------------------
r253528 | kib | 2013-07-21 19:36:53 +0000 (Sun, 21 Jul 2013) | 5 lines
The freebsd32_lio_listio() compat syscall takes the struct sigevent32.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
------------------------------------------------------------------------
r253529 | kib | 2013-07-21 19:40:30 +0000 (Sun, 21 Jul 2013) | 7 lines
Wrap kmq_notify(2) for compat32 to properly consume struct sigevent32
argument.
Reviewed and tested by: Petr Salinger <Petr.Salinger at seznam.cz>
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
------------------------------------------------------------------------
r253530 | kib | 2013-07-21 19:43:52 +0000 (Sun, 21 Jul 2013) | 6 lines
Implement compat32 wrappers for the ktimer_* syscalls.
Reported, reviewed and tested by: Petr Salinger <Petr.Salinger at seznam.cz>
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
------------------------------------------------------------------------
r253531 | kib | 2013-07-21 19:44:53 +0000 (Sun, 21 Jul 2013) | 2 lines
Regenerate.
------------------------------------------------------------------------
r253532 | hselasky | 2013-07-21 20:45:23 +0000 (Sun, 21 Jul 2013) | 13 lines
Fix an XHCI regression:
The Block Event Interrupts, BEI, feature does not
work like expected with the Renesas XHCI chipsets.
Revert feature.
While at it correct the TD SIZE computation in
case of Zero Length Packet, ZLP, in the end of a
multi frame USB transfer.
MFC after: 1 week
PR: usb/180726
------------------------------------------------------------------------
r253537 | mjg | 2013-07-22 00:44:37 +0000 (Mon, 22 Jul 2013) | 4 lines
Remove duplicate assertion from tdsendsignal.
MFC after: 2 weeks
------------------------------------------------------------------------
r253538 | mjg | 2013-07-22 02:07:15 +0000 (Mon, 22 Jul 2013) | 6 lines
Remove cr_prison NULL check from proc_to_reap.
Userspace processes always have a prison.
MFC after: 2 weeks
------------------------------------------------------------------------
r253539 | imp | 2013-07-22 03:55:15 +0000 (Mon, 22 Jul 2013) | 3 lines
This file isn't derived from anything delivered by Berkeley, so remove
this statement.
------------------------------------------------------------------------
r253540 | yongari | 2013-07-22 05:45:54 +0000 (Mon, 22 Jul 2013) | 6 lines
5725 family of devices corrupts TSO packets when TSO DMA buffers
cross into regions which are within MSS bytes of a 4GB boundary.
If we encounter the condition, drop the packet.
Reviewed by: Geans Pin geanspin at Broacom
------------------------------------------------------------------------
r253541 | cperciva | 2013-07-22 08:46:15 +0000 (Mon, 22 Jul 2013) | 8 lines
Remove weirdly-named autofoo file. This is not needed for the (FreeBSD)
build, and freebsd-update chokes on it.
9.2-RELEASE candidate.
Approved by: rwatson
MFC after: 3 days
------------------------------------------------------------------------
r253542 | gjb | 2013-07-22 12:07:57 +0000 (Mon, 22 Jul 2013) | 8 lines
For consistency with previous releases, name the cdrom install
cd 'disc1.iso'.
Discussed with: re@ team
Approved by: kib (mentor)
MFC after: 3 days
X-MFC-To: stable/9 only
------------------------------------------------------------------------
r253543 | gavin | 2013-07-22 12:56:50 +0000 (Mon, 22 Jul 2013) | 5 lines
Update mirror list to more closely match
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html
MFC after: 1 week
------------------------------------------------------------------------
r253544 | hselasky | 2013-07-22 13:39:33 +0000 (Mon, 22 Jul 2013) | 5 lines
Add some USB gadget example drivers for USB audio, USB keyboard,
USB mouse and USB modem classes. Hopefully someone will find
these examples useful when implementing USB device side drivers
using the FreeBSD USB stack.
------------------------------------------------------------------------
r253545 | dteske | 2013-07-22 13:56:35 +0000 (Mon, 22 Jul 2013) | 29 lines
Sync-up with bsdinstall(8) FTP mirrorselect changes.
SVN r224656:
Add back ftp4, a new machine has taken its place. ftp2 and ftp8 are both
IPv6 capable mirrors. cvsup4/ftp4 have already been added to the handbook.
NOTE: Except put IPv6 entries in IPv6 section at the top of the list
SVN r225467:
Add ftp4.se.freebsd.org to the IPv4 and IPv6 mirror lists.
SVN r235228:
Add the IPv6 tag to ftp4.fr.freebsd.org.
NOTE: Except dup entry into IPv6 section.
SVN r243832:
- Remove snapshots.se.freebsd.org [1]
- Add ftp6.se.freebsd.org
SVN r243854:
Remove snapshots.jp.freebsd.org. It stopped working years ago.
SVN r253543:
Update mirror list to more closely match
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html
MFC after: 1 week
------------------------------------------------------------------------
r253546 | glebius | 2013-07-22 14:23:46 +0000 (Mon, 22 Jul 2013) | 2 lines
Fix build.
------------------------------------------------------------------------
r253548 | emaste | 2013-07-22 18:18:21 +0000 (Mon, 22 Jul 2013) | 2 lines
Document EINVAL error return from PT_LWPINFO
------------------------------------------------------------------------
r253549 | ken | 2013-07-22 18:37:07 +0000 (Mon, 22 Jul 2013) | 57 lines
CAM and mps(4) driver scanning changes.
Add a PIM_NOSCAN flag to the CAM path inquiry CCB. This tells CAM
not to perform a rescan on a bus when it is registered.
We now use this flag in the mps(4) driver. Since it knows what
devices it has attached, it is more efficient for it to just issue
a target rescan on the targets that are attached.
Also, remove the private rescan thread from the mps(4) driver in
favor of the rescan thread already built into CAM. Without this
change, but with the change above, the MPS scanner could run before
or during CAM's initial setup, which would cause duplicate device
reprobes and announcements.
sys/param.h:
Bump __FreeBSD_version to 1000039 for the inclusion of the
PIM_RESCAN CAM path inquiry flag.
sys/cam/cam_ccb.h:
sys/cam/cam_xpt.c:
Added a PIM_NOSCAN flag. If a SIM sets this in the path
inquiry ccb, then CAM won't rescan the bus in
xpt_bus_regsister.
sys/dev/mps/mps_sas.c
For versions of FreeBSD that have the PIM_NOSCAN path
inquiry flag, don't freeze the sim queue during scanning,
because CAM won't be scanning this bus. Instead, hold
up the boot. Don't call mpssas_rescan_target in
mpssas_startup_decrement; it's redundant and I don't
know why it was in there.
Set PIM_NOSCAN in path inquiry CCBs.
Remove methods related to the internal rescan daemon.
Always use async events to trigger a probe for EEDP support.
In older versions of FreeBSD where AC_ADVINFO_CHANGED is
not available, use AC_FOUND_DEVICE and issue the
necessary READ CAPACITY manually.
Provide a path to xpt_register_async() so that we only
receive events for our own SCSI domain.
Improve error reporting in cases where setup for EEDP
detection fails.
sys/dev/mps/mps_sas.h:
Remove softc flags and data related to the scanner thread.
sys/dev/mps/mps_sas_lsi.c:
Unconditionally rescan the target whenever a device is added.
Sponsored by: Spectra Logic
MFC after: 1 week
------------------------------------------------------------------------
r253550 | ken | 2013-07-22 18:41:53 +0000 (Mon, 22 Jul 2013) | 93 lines
Merge in phase 14+ -> 16 mps driver fixes from LSI:
---------------------------------------------------------------
System panics during a Port reset with ouststanding I/O
---------------------------------------------------------------
It is possible to call mps_mapping_free_memory after this
memory is already freed, causing a panic. Removed this extra
call to mps_mappiing_free_memory and call mps_mapping_exit
in place of the mps_mapping_free_memory call so that any
outstanding mapping items can be flushed before memory is
freed.
---------------------------------------------------------------
Correct memory leak during a Port reset with ouststanding I/O
---------------------------------------------------------------
In mps_reinit function, the mapping memory was not being
freed before being re-allocated. Added line to call the
memory free function for mapping memory.
---------------------------------------------------------------
Use CAM_SIM_QUEUED flag in Driver IO path.
---------------------------------------------------------------
This flag informs the XPT that successful abort of a CCB
requires an abort ccb to be issued to the SIM. While
processing SCSI IO's, set the CAM_SIM_QUEUED flag in the
status for the IO. When the command completes, clear this
flag.
---------------------------------------------------------------
Check for CAM_REQ_INPROG in I/O path.
---------------------------------------------------------------
Added a check in mpssas_action_scsiio for the In Progress
status for the IO. If this flag is set, the IO has already
been aborted by the upper layer (before CAM_SIM_QUEUED was
set) and there is no need to send the IO. The request will
be completed without error.
---------------------------------------------------------------
Improve "doorbell handshake method" for mps_get_iocfacts
---------------------------------------------------------------
Removed call to get Port Facts since this information is
not used currently.
Added mps_iocfacts_allocate function to allocate memory
that is based on IOC Facts data. Added mps_iocfacts_free
function to free memory that is based on IOC Facts data.
Both of the functions are used when a Diag Reset is performed
or when the driver is attached/detached. This is needed in
case IOC Facts changes after a Diag Reset, which could
happen if FW is upgraded.
Moved call of mps_bases_static_config_pages from the attach
routine to after the IOC is ready to process accesses based
on the new memory allocations (instead of polling through
the Doorbell).
---------------------------------------------------------------
Set TimeStamp in INIT message in millisecond format Set the IOC
---------------------------------------------------------------
---------------------------------------------------------------
Prefer mps_wait_command to mps_request_polled
---------------------------------------------------------------
Instead of using mps_request_polled, call mps_wait_command
whenever possible. Change the mps_wait_command function to
check the current context and either use interrupt context
or poll if required by using the pause or DELAY function.
Added a check after waiting 50mSecs to see if the command
has timed out. This is only done if polliing, the msleep
command will automatically timeout if the command has taken
too long to complete.
---------------------------------------------------------------
Integrated RAID: Volume Activation Failed error message is
displayed though the volume has been activated.
---------------------------------------------------------------
Instead of failing an IOCTL request that does not have a
large enough buffer to hold the complete reply, copy as
much data from the reply as possible into the user's buffer
and log a message saying that the user's buffer was smaller
than the returned data.
---------------------------------------------------------------
mapping_add_new_device failure due to persistent table FULL
---------------------------------------------------------------
When a new device is added, if it is determined that the
device persistent table is being used and is full, instead
of displaying a message for this condition every time, only
log a message if the MPS_INFO bit is set in the debug_flags.
Submitted by: LSI
MFC after: 1 week
------------------------------------------------------------------------
r253551 | pluknet | 2013-07-22 19:21:28 +0000 (Mon, 22 Jul 2013) | 6 lines
Update chipset support list for ath_hal.
This adds "device ath_ar9300".
PR: docs/180743
Reviewed by: adrian
------------------------------------------------------------------------
r253552 | pluknet | 2013-07-22 19:32:42 +0000 (Mon, 22 Jul 2013) | 5 lines
Add TP-LINK TL-WDN4800.
PR: docs/180743
Reviewed by: adrian
------------------------------------------------------------------------
r253554 | jlh | 2013-07-22 21:47:14 +0000 (Mon, 22 Jul 2013) | 15 lines
Fix a panic in the racct code when munlock(2) is called with incorrect values.
The racct code in sys_munlock() assumed that the boundaries provided by the
userland were correct as long as vm_map_unwire() returned successfully.
However the latter contains its own logic and sometimes manages to do something
out of those boundaries, even if they are buggy. This change makes the racct
code to use the accounting done by the vm layer, as it is done in other places
such as vm_mlock().
Despite fixing the panic, Alan Cox pointed that this code is still race-y
though: two simultaneous callers will produce incorrect values.
Reviewed by: alc
MFC after: 7 days
------------------------------------------------------------------------
r253556 | jlh | 2013-07-22 22:16:47 +0000 (Mon, 22 Jul 2013) | 4 lines
Fix previous commit when option RACCT is not used.
MFC after: 7 days
------------------------------------------------------------------------
r253558 | marcel | 2013-07-23 02:11:22 +0000 (Tue, 23 Jul 2013) | 7 lines
In pmap_mapdev(), if the physical memory range is not covered by an EFI
memory descriptor, don't return NULL as the virtual address, return the
direct-mapped uncacheable virtual address for it. At first, this was
needed only for the Altix 350, but now even some high-end HP machines
have devices mapped to physical addresses that aren't covered by the
EFI memory map.
------------------------------------------------------------------------
r253559 | marcel | 2013-07-23 02:38:23 +0000 (Tue, 23 Jul 2013) | 15 lines
In ia64_mca_init(), don't limit the allocation of the info block to
fall within the first 256MB of memory. The origin/reason for that
limitation is not known, but it's not believed to be required for
proper initialization. What is known is that the Altix 350 does not
have physical memory at that address (by virtue of the address space
bits).
Keep the boundary at 256MB so that the info block will be covered
by a single direct-mapped translation.
While here, change the flags to M_NOWAIT to eliminate confusion. It
does not change the behaviour of contigmalloc(). What is does is
makes the flags argument explicitly say what the actual behaviour
is.
------------------------------------------------------------------------
r253560 | marcel | 2013-07-23 03:03:17 +0000 (Tue, 23 Jul 2013) | 14 lines
In pci_cfgregread() and pci_cfgregwrite(), multiplex the domain and
bus number into the bus argument. The bus number occupies the least
significant 8 bits. The PCI domain occupies the most significant 24
bits.
On the Altix 350, the PCI domain is a required parameter, but
changing the prototype of the pci_cfgreg*() functions to include a
separate domain argument has wide-spread consequences across the
supported architectures. We'd be changing a known interface.
Multiplexing is an acceptable kluge to give us what we need with
manageable impact. Note that the PCI bus number fits in 8 bits,
so the multiplexing of the domain is a backward compatible change.
------------------------------------------------------------------------
r253563 | theraven | 2013-07-23 10:23:43 +0000 (Tue, 23 Jul 2013) | 10 lines
Add isnan() and isinf() to the global namespace in libstdc++'s <cmath>.
The standard (n3242, section 17.6.1.1, paragraph 4) says that, because these are
declared as macros in the C specification (even though they are
implemented as functions in the C++ library) they should be in the global
namespace.
A surprising number of configure checks rely on this. It was broken by recent
cleanups to math.h.
------------------------------------------------------------------------
r253564 | glebius | 2013-07-23 10:25:34 +0000 (Tue, 23 Jul 2013) | 4 lines
Add constant for PPP-Max-PayLoad tag.
Submitted by: Dmitry Luhtionov <dmitryluhtionov gmail.com>
------------------------------------------------------------------------
r253565 | glebius | 2013-07-23 11:16:40 +0000 (Tue, 23 Jul 2013) | 6 lines
Revert r249590 and in case if mp_ncpus isn't initialized use MAXCPU. This
allows us to init counter zone at early stage of boot.
Reviewed by: kib
Tested by: Lytochkin Boris <lytboris gmail.com>
------------------------------------------------------------------------
r253566 | gavin | 2013-07-23 12:20:27 +0000 (Tue, 23 Jul 2013) | 4 lines
Remove ftp2.tr.freebsd.org, it is out of date.
MFC after: 3 days
------------------------------------------------------------------------
r253568 | loos | 2013-07-23 13:40:26 +0000 (Tue, 23 Jul 2013) | 4 lines
Fix the usage error message. The valid range is up to max. vlan - 1 since vlangroups starts at 0.
Approved by: adrian (mentor)
------------------------------------------------------------------------
r253569 | loos | 2013-07-23 13:56:38 +0000 (Tue, 23 Jul 2013) | 13 lines
Add a new flag (ETHERSWITCH_VID_VALID) to say what vlangroups are in use.
This fix the case when etherswitch is printing the information of port 0
vlan group (in port based vlan mode) with no member ports.
Add the ETHERSWITCH_VID_VALID support to ip17x driver.
Add the ETHERSWITCH_VID_VALID support to rt8366 driver.
arswitch doesn't need to be updated as it doesn't support vlans management
yet.
Approved by: adrian (mentor)
------------------------------------------------------------------------
r253570 | loos | 2013-07-23 14:02:38 +0000 (Tue, 23 Jul 2013) | 13 lines
Fix the arswitch instability problem. It turns out that the
arswitch_writereg() routine was writing the registers in the wrong order.
Revert -r241918 as the root problem is now fixed. Remove another workaround
from arswitch_ar7240.c.
Simplify and fix the code on arswitch_writephy() by using
arswitch_writereg().
While here remove a redundant declaration from arswitchvar.h.
Approved by: adrian (mentor)
------------------------------------------------------------------------
r253571 | ae | 2013-07-23 14:14:24 +0000 (Tue, 23 Jul 2013) | 10 lines
Remove the large part of struct ipsecstat. Only few fields of this
structure is used, but they already have equal fields in the struct
newipsecstat, that was introduced with FAST_IPSEC and then was merged
together with old ipsecstat structure.
This fixes kernel stack overflow on some architectures after migration
ipsecstat to PCPU counters.
Reported by: Taku YAMAMOTO, Maciej Milewski
------------------------------------------------------------------------
r253572 | loos | 2013-07-23 14:24:22 +0000 (Tue, 23 Jul 2013) | 8 lines
Add the support for 802.1q and port based vlans for arswitch.
Tested on: RB450G (standalone ar8316), RSPRO (standalone ar8316) and
TPLink MR-3220 (ar724x integrated switch).
Approved by: adrian (mentor)
Obtained from: zrouter
------------------------------------------------------------------------
r253573 | nwhitehorn | 2013-07-23 14:48:37 +0000 (Tue, 23 Jul 2013) | 3 lines
tmpfs works perfectly fine with -o union -- there is no reason to exclude it
from the list of options.
------------------------------------------------------------------------
r253580 | emaste | 2013-07-23 19:34:09 +0000 (Tue, 23 Jul 2013) | 8 lines
Generate debug data release dist sets
If WITH_DEBUG_FILES is set the standalone debug data will be excluded
from each ${dist}.txz and placed in a ${dist}.debug.txz.
Submitted by: gjb
Reviewed by: brooks
------------------------------------------------------------------------
r253581 | jilles | 2013-07-23 21:09:26 +0000 (Tue, 23 Jul 2013) | 2 lines
wordexp(): Fix syntax validation for backslashes in single-quotes.
------------------------------------------------------------------------
r253582 | neel | 2013-07-23 22:17:00 +0000 (Tue, 23 Jul 2013) | 11 lines
Fix a bug introduced in r252646 that causes a page with the PG_PTE_PAT bit set
to be interpreted as a superpage. This is because PG_PTE_PAT is at the same
bit position in PTE as PG_PS is in a PDE.
This caused a number of regressions on amd64 systems: panic when starting
X applications, freeze during shutdown etc.
Pointy hat to: me
Tested by: gperez at entel.upc.edu, joel, dumbbell
Reviewed by: kib
------------------------------------------------------------------------
r253583 | jeff | 2013-07-23 22:52:38 +0000 (Tue, 23 Jul 2013) | 6 lines
- Correct a stale comment. We don't have vclean() anymore. The work is
done by vgonel() and destroy_vobject() should only be called once from
VOP_INACTIVE().
Sponsored by: EMC / Isilon Storage Division
------------------------------------------------------------------------
r253585 | neel | 2013-07-23 23:43:00 +0000 (Tue, 23 Jul 2013) | 5 lines
Add support for emulation of the "or r/m, imm8" instruction.
Submitted by: Zhixiang Yu (zxyu.core at gmail.com)
Obtained from: GSoC 2013 (AHCI device emulation for bhyve)
------------------------------------------------------------------------
r253587 | jeff | 2013-07-24 01:25:56 +0000 (Wed, 24 Jul 2013) | 5 lines
- Remove the long obsolete 'vm_pageout_algorithm' experiment.
Discussed with: alc
Sponsored by: EMC / Isilon Storage Division
------------------------------------------------------------------------
r253588 | jhibbits | 2013-07-24 02:01:01 +0000 (Wed, 24 Jul 2013) | 5 lines
Increase the size of the OFW bounce buffer to 4 pages. With this I can now run
'ofwdump -ap' on my quad G5.
MFC after: 9.2 branch
------------------------------------------------------------------------
r253589 | hrs | 2013-07-24 04:05:48 +0000 (Wed, 24 Jul 2013) | 5 lines
Fix a bug in cp += SA_SIZE() in RTA_* loop. This could prevent
RTA_IFP from displaying correctly in route get subcommand.
Spotted by: dim
------------------------------------------------------------------------
r253590 | marcel | 2013-07-24 04:24:21 +0000 (Wed, 24 Jul 2013) | 20 lines
Decouple the UUID generator from network interfaces by having MAC
addresses added to the UUID generator using uuid_ether_add(). The
UUID generator keeps an arbitrary number of MAC addresses, under
the assumption that they are rarely removed (= uuid_ether_del()).
This achieves the following:
1. It brings up closer to having the network stack as a loadable
module.
2. It allows the UUID generator to filter MAC addresses for best
results (= highest chance of uniqeness).
3. MAC addresses can come from anywhere, irrespactive of whether
it's used for an interface or not.
A side-effect of the change is that when no MAC addresses have been
added, a random multicast MAC address is created once and re-used if
needed. Previusly, when a random MAC address was needed, it was
created for every call. Thus, a change in behaviour is introduced
for when no MAC addresses exist.
Obtained from: Juniper Networks, Inc.
------------------------------------------------------------------------
r253591 | glebius | 2013-07-24 06:13:00 +0000 (Wed, 24 Jul 2013) | 5 lines
Since r251709 a slab no longer use 8-bit indicies to manage items,
thus remove a stale comment.
Reviewed by: jeff
------------------------------------------------------------------------
r253596 | glebius | 2013-07-24 08:02:56 +0000 (Wed, 24 Jul 2013) | 4 lines
Remove unused argument from vmem_add1().
Reviewed by: jeff
------------------------------------------------------------------------
r253597 | se | 2013-07-24 08:36:29 +0000 (Wed, 24 Jul 2013) | 4 lines
Remove duplicated parapgraph.
MFC after: 3 days
------------------------------------------------------------------------
r253601 | avg | 2013-07-24 09:05:04 +0000 (Wed, 24 Jul 2013) | 5 lines
newvers.sh: fix the fallback case of git-svn detection
MFC after: 5 days
Sponsored by: HybridCluster
------------------------------------------------------------------------
r253602 | avg | 2013-07-24 09:06:50 +0000 (Wed, 24 Jul 2013) | 8 lines
newvers.sh: add another git-svn fallback
This time it is for a git mirror that stores svn revisions as
git notes, e.g. https://github.com/freebsd/freebsd
MFC after: 10 days
Sponsored by: HybridCluster
------------------------------------------------------------------------
r253603 | avg | 2013-07-24 09:15:59 +0000 (Wed, 24 Jul 2013) | 18 lines
zfs: move vnode creation from zfs_znode_cache_constructor to zfs_znode_alloc
All other places where a znode is allocated do not need z_vnode at all.
These are:
- zfs_create_share_dir
- zfs_create_fs
This chnage ensures two things:
- VN_LOCK_ASHARE is not erroneously called for VFIFO vnodes
- vn_lock is called on a fully constructed vnode with correct v_ops
The change also allows to make zfs_znode_cache_constructor a normal
kmem_cache constructor again (as it is in upstream).
This allows to avoid a problem where zfs_znode_cache_destructor
may be called on un-constructed znodes.
MFC after: 17 days
------------------------------------------------------------------------
r253604 | avg | 2013-07-24 09:45:31 +0000 (Wed, 24 Jul 2013) | 16 lines
rename scheduler->swapper and SI_SUB_RUN_SCHEDULER->SI_SUB_LAST
Also directly call swapper() at the end of mi_startup instead of
relying on swapper being the last thing in sysinits order.
Rationale:
- "RUN_SCHEDULER" was misleading, scheduling already takes place at that stage
- "scheduler" was misleading, the function swaps in the swapped out processes
- another SYSINIT(SI_SUB_RUN_SCHEDULER, SI_ORDER_ANY) could never be
invoked depending on its relative order with scheduler; this was not obvious
and the bug actually used to exist
Reviewed by: kib (ealier version)
MFC after: 14 days
------------------------------------------------------------------------
r253605 | avg | 2013-07-24 09:50:44 +0000 (Wed, 24 Jul 2013) | 6 lines
zfsboottest: remove explicit -Werror
Unfortunately sys/boot is compliled without -Werror at the moment.
MFC after: 7 days
------------------------------------------------------------------------
r253606 | avg | 2013-07-24 09:59:16 +0000 (Wed, 24 Jul 2013) | 10 lines
zfs module: perform cleanup during shutdown in addition to module unload
- move init and fini code into separate functions (like it is done upstream)
- invoke fini code via shutdown_post_sync event hook
This should make zfs close its underlying devices during shutdown,
which may be important for their drivers.
MFC after: 20 days
------------------------------------------------------------------------
r253611 | adrian | 2013-07-24 13:20:45 +0000 (Wed, 24 Jul 2013) | 4 lines
Add new IDs for The Intel 2230 wireless NIC.
Submitted by: Cedric GROSS <cg at cgross.info>
------------------------------------------------------------------------
r253612 | adrian | 2013-07-24 13:31:31 +0000 (Wed, 24 Jul 2013) | 5 lines
Support setting up the iwn debug flags during probe/attach by
checking "hint.iwn.X.debug".
Submitted by: Cedric GROSS <cg at cgross.info>
------------------------------------------------------------------------
r253614 | pfg | 2013-07-24 15:46:49 +0000 (Wed, 24 Jul 2013) | 4 lines
patch: style fix
Submitted by: gogolok
------------------------------------------------------------------------
r253615 | marcel | 2013-07-24 16:22:27 +0000 (Wed, 24 Jul 2013) | 6 lines
In uuid_ether_add(), avoid false positives due to the limited type
used to hold the sum of the bytes of the MAC address. While here,
rename the variable that holds the sum from 'c' to 'sum'.
Pointed out by: thompsa@
------------------------------------------------------------------------
r253616 | sjg | 2013-07-24 17:55:08 +0000 (Wed, 24 Jul 2013) | 8 lines
Fix bug in universe where if upgrade_checks wants a new make,
it gets built 16 times in parallel in the same location.
While we are at it, until we finish getting rid of fmake,
be explicit about the make we want to use, thus avoid the problem
of the temp make being the wrong version.
Reviewed by: obrien
------------------------------------------------------------------------
r253617 | marcel | 2013-07-24 18:13:43 +0000 (Wed, 24 Jul 2013) | 13 lines
Further restrict the MAC addresses that we use for UUID generation
to those that are universally administered. While it is possible to
add locally administered MAC addresses, it's unclear whether those
are (expected) to be more unique than random multicast MAC addresses
or not.
With many U-Boot configurations assigning fixed and non-official MAC
addresses to ethernet ports and without setting the 'X' flag, this
change may have very little value in the embedded (development)
space. Uniqueness of the universally administered addresses is non-
existent on the (H/W) bench and questionable under the (S/W) desk.
In short: this change is aimed at production environments...
------------------------------------------------------------------------
r253618 | obrien | 2013-07-24 18:32:15 +0000 (Wed, 24 Jul 2013) | 5 lines
per style(9):
Kernel include files (i.e. sys/*.h) come first; normally, include
<sys/types.h> OR <sys/param.h>, but not both. <sys/types.h> includes
<sys/cdefs.h>, and it is okay to depend on that.
------------------------------------------------------------------------
r253619 | pfg | 2013-07-24 20:21:29 +0000 (Wed, 24 Jul 2013) | 7 lines
fuse: revert kernel_header update.
It seems to be causing problems due to the lack of the new features.
Found by: bapt
Pointed hat: pfg
------------------------------------------------------------------------
r253620 | jhb | 2013-07-24 20:34:25 +0000 (Wed, 24 Jul 2013) | 2 lines
Use VMFS_OPTIMAL_SPACE instead of VMFS_ALIGNED_SPACE in shm_map().
------------------------------------------------------------------------
r253634 | rpaulo | 2013-07-25 03:31:27 +0000 (Thu, 25 Jul 2013) | 2 lines
Enable modules for the BeagleBone and for the Raspberry Pi.
------------------------------------------------------------------------
r253635 | rpaulo | 2013-07-25 03:44:12 +0000 (Thu, 25 Jul 2013) | 2 lines
Revert ROOTDEVNAME change from previous commit.
------------------------------------------------------------------------
r253636 | kientzle | 2013-07-25 03:48:37 +0000 (Thu, 25 Jul 2013) | 11 lines
Clear entire map structure including locks so that the
locks don't accidentally appear to have been already
initialized.
In particular, this fixes a consistent kernel crash on
armv6 with:
panic: lock "vm map (user)" 0xc09cc050 already initialized
that appeared with r251709.
PR: arm/180820
------------------------------------------------------------------------
r253637 | rpaulo | 2013-07-25 03:54:08 +0000 (Thu, 25 Jul 2013) | 4 lines
Add pkgconf files for libusb.
Reviewed by: hselasky
------------------------------------------------------------------------
r253638 | rpaulo | 2013-07-25 03:55:50 +0000 (Thu, 25 Jul 2013) | 2 lines
Bump __FreeBSD_version for the addition of libusb's pkgconf files.
------------------------------------------------------------------------
r253639 | rpaulo | 2013-07-25 06:23:26 +0000 (Thu, 25 Jul 2013) | 5 lines
Add ieee80211_add_{qos,wpa,rsn}() functions since they are needed by an
OpenBSD driver that is being ported to FreeBSD.
Reviewed by: adrian
------------------------------------------------------------------------
r253643 | mav | 2013-07-25 08:41:22 +0000 (Thu, 25 Jul 2013) | 3 lines
Following r222950, revert unintentional change cls -> class in argument name
in r245264. Aside from non-uniformity, that again confused C++ compilers.
------------------------------------------------------------------------
r253644 | mav | 2013-07-25 09:12:46 +0000 (Thu, 25 Jul 2013) | 4 lines
Add missing NULL check after malloc(M_NOWAIT).
Submitted by: Dmitry Luhtionov <dmitryluhtionov at gmail.com>
------------------------------------------------------------------------
r253645 | uqs | 2013-07-25 09:29:48 +0000 (Thu, 25 Jul 2013) | 10 lines
snd_ds1(4): Fix order of arguments for stereo/16bit mode
This function is called 4 times in this file, with swapped parameter
ordering. Fix the function definition instead of all the call sites.
16bit/stereo or 8bit/mono playback is unaffected and was probably
working fine before, this should fix 16bit/mono and 8bit/stereo
playback.
Found by: Coverity Scan, CID 1006688
------------------------------------------------------------------------
r253646 | uqs | 2013-07-25 09:30:00 +0000 (Thu, 25 Jul 2013) | 9 lines
Match function definition to declaration and call-site.
SVN r95378 refactored ahc_9005_subdevinfo_valid out into a separate
function but swapped the vendor/subvendor and device/subdevice pairs of
the parameters.
Found by: Coverity Prevent, CID 744931
Reviewed by: gibbs
------------------------------------------------------------------------
r253647 | mav | 2013-07-25 10:29:40 +0000 (Thu, 25 Jul 2013) | 5 lines
Decode some bits defined in AHCI 1.3.1 Device Sleep Technical Proposal.
For now this is only conmetics to report HBA capabilities (Haswell?).
Submitted by: Dmitry Luhtionov <dmitryluhtionov at gmail.com>
------------------------------------------------------------------------
r253649 | jilles | 2013-07-25 13:09:17 +0000 (Thu, 25 Jul 2013) | 5 lines
sh: Remove output.c's reset() handler.
These cleanup operations are not needed because they are already performed
after an optimized command substitution (whether there was an error or not).
------------------------------------------------------------------------
r253650 | jilles | 2013-07-25 15:08:41 +0000 (Thu, 25 Jul 2013) | 14 lines
sh: Remove mkinit.
Replace the RESET blocks with regular functions and a reset() function that
calls them all.
This code generation tool is unusual and does not appear to provide much
benefit. I do not think isolating the knowledge about which modules need to
be reset is worth an almost 500-line build tool and wider scope for
variables used by the reset functions.
Also, relying on reset functions is often wrong: the cleanup should be done
in exception handlers so that no stale state remains after 'command eval'
and the like.
------------------------------------------------------------------------
r253651 | pfg | 2013-07-25 15:34:20 +0000 (Thu, 25 Jul 2013) | 19 lines
ext2fs: Don't assume that on-disk format of a directory is the same
as in <sys/dirent.h>
ext2_readdir() has always been very fs specific and different
with respect to its ufs_ counterpart. Recent changes from UFS
have made it possible to share more closely the implementation.
MFUFS r252438:
Always start parsing at DIRBLKSIZ aligned offset, skip first entries if
uio_offset is not DIRBLKSIZ aligned. Return EINVAL if buffer is too
small for single entry.
Preallocate buffer for cookies.
Skip entries with zero inode number.
Reviewed by: gleb, Zheng Liu
MFC after: 1 month
------------------------------------------------------------------------
r253652 | pfg | 2013-07-25 16:04:55 +0000 (Thu, 25 Jul 2013) | 4 lines
ext2fs: Drop a check that wan't supposed to be in r253651.
MFC after: 1 month
------------------------------------------------------------------------
r253653 | jhb | 2013-07-25 16:34:34 +0000 (Thu, 25 Jul 2013) | 8 lines
Avoid trashing IP fragments:
- Only enable UDP/TCP hardware checksums if CSUM_UDP or CSUM_TCP is set.
- Only enable IP hardware checksums if CSUM_IP is set.
PR: kern/180430
Submitted by: Meny Yossefi <menyy at mellanox.com>
MFC after: 1 week
------------------------------------------------------------------------
r253654 | marcel | 2013-07-25 16:57:27 +0000 (Thu, 25 Jul 2013) | 8 lines
Set the device description after we call uart_probe(). In uart_probe()
we call device-specific probe functions, which can (and typically will)
set the device description based on low-level device probe information.
In the end we never actually used the device description that we so
carefully maintained in the PCI match table. By setting the device
description after we call uart_probe(), we'll print the more user-
friendly description by default.
------------------------------------------------------------------------
r253655 | adrian | 2013-07-25 19:10:23 +0000 (Thu, 25 Jul 2013) | 4 lines
Fix typo.
Sponsored by: Netflix
------------------------------------------------------------------------
r253656 | jhb | 2013-07-25 19:34:24 +0000 (Thu, 25 Jul 2013) | 13 lines
Enhance the description of NOTE_TRACK:
- NOTE_TRACK has never triggered a NOTE_TRACK event from the parent pid.
If NOTE_FORK is set, the listener will get a NOTE_FORK event from
the parent pid, but not a separate NOTE_TRACK event.
- Explicitly note that the event added to monitor the child process
preserves the fflags from the original event.
- Move the description of NOTE_TRACKERR under NOTE_TRACK as it is not a
bit for the user to set (which is what this list pupports to be).
Also, explicitly note that if an error occurs, the NOTE_CHILD event
will not be generated.
MFC after: 1 week
------------------------------------------------------------------------
r253657 | pfg | 2013-07-25 19:37:49 +0000 (Thu, 25 Jul 2013) | 7 lines
ext2fs: Return EINVAL for negative uio_offset as in UFS.
While here drop old comment that doesn't really apply.
MFC after: 1 month
Discussed with: gleb
------------------------------------------------------------------------
r253658 | jilles | 2013-07-25 19:48:15 +0000 (Thu, 25 Jul 2013) | 4 lines
sh: Remove #define MKINIT.
MKINIT only served for the removed mkinit. Many variables can be static now.
------------------------------------------------------------------------
r253659 | jilles | 2013-07-25 20:50:35 +0000 (Thu, 25 Jul 2013) | 2 lines
sh: Remove an incorrect comment.
------------------------------------------------------------------------
r253660 | brooks | 2013-07-25 20:53:15 +0000 (Thu, 25 Jul 2013) | 5 lines
Document the sbinuptime() and getsbinuptime() functions introduced in
r247452.
Sponsored by: DARPA, AFRL
------------------------------------------------------------------------
r253661 | pfg | 2013-07-26 00:28:19 +0000 (Fri, 26 Jul 2013) | 13 lines
Fix a segfault in ctfmerge due to a bug in gcc.
GCC can generate bogus dwarf attributes with DW_AT_byte_size
set to 0xFFFFFFFF.
The issue was originaly detected in NetBSD but it has been
adapted for portability and to avoid compiler warnings.
Reference:
https://www.illumos.org/issues/3776
Obtained from: NetBSD
MFC after: 1 month
------------------------------------------------------------------------
r253662 | zont | 2013-07-26 02:00:06 +0000 (Fri, 26 Jul 2013) | 2 lines
Remove define and documentation for vm_pageout_algorithm missed in r253587
------------------------------------------------------------------------
r253670 | hselasky | 2013-07-26 09:58:56 +0000 (Fri, 26 Jul 2013) | 7 lines
Assume that all Apple products using interface class 255, subclass 253
and protocol 1 are USB ethernet adapters. This avoids keeping and updating
the product list every now and then. This patch will add support for the
USB ethernet interface found in the IPAD.
MFC after: 1 week
------------------------------------------------------------------------
r253672 | hselasky | 2013-07-26 10:25:18 +0000 (Fri, 26 Jul 2013) | 4 lines
Regenerate usb.conf
MFC after: 1 week
------------------------------------------------------------------------
r253675 | marius | 2013-07-26 14:22:03 +0000 (Fri, 26 Jul 2013) | 6 lines
Ensure that makefs.h is included when using ufs_bswap.h so the FFS_EI macro
is picked up when defined. Previously, ffs_subr.c was always built without
support for opposite endianess as it doesn't include makefs.h on its own.
MFC after: 3 days
------------------------------------------------------------------------
r253676 | marius | 2013-07-26 14:23:25 +0000 (Fri, 26 Jul 2013) | 9 lines
- Once we have shifted arguments thrice, base-bits-dir is $1 rather than $4.
Introduce $BASEBITSDIR for clarity and in order to avoid repeating this
mistake in the future. Fixing this ensures that we pick up the newly built
boot code and loader native to the target, which is especially relevant
when cross-building release images.
- It is pointless to specify an endianess for ISO 9660 images so strip that.
MFC after: 3 days
------------------------------------------------------------------------
r253677 | avg | 2013-07-26 14:25:58 +0000 (Fri, 26 Jul 2013) | 26 lines
make path matching in devfs rules consistent and sane (and safer)
Before this change path matching had the following features:
- for device nodes the patterns were matched against full path
- in the above case '/' in a path could be matched by a wildcard
- for directories and links only the last component was matched
So, for example, a pattern like 're*' could match the following entries:
- re0 device
- responder/u0 device
- zvol/recpool directory
Although it was possible to work around this behavior (once it was spotted
and understood), it was very confusing and contrary to documentation.
Now we always match a full path for all types of devfs entries (devices,
directories, links) and a '/' has to be matched explicitly.
This behavior follows the shell globbing rules.
This change is originally developed by Jaakko Heinonen.
Many thanks!
PR: kern/122838
Submitted by: jh
MFC after: 4 weeks
------------------------------------------------------------------------
r253678 | pfg | 2013-07-26 14:37:23 +0000 (Fri, 26 Jul 2013) | 5 lines
Style issue in r253661.
Pointed out by: avg
MFC after: 1 month
------------------------------------------------------------------------
r253679 | avg | 2013-07-26 14:43:38 +0000 (Fri, 26 Jul 2013) | 5 lines
fix UPDATING entry in r253677
MFC after: 3 weeks
X-MFC with: r253677
------------------------------------------------------------------------
r253680 | des | 2013-07-26 15:53:43 +0000 (Fri, 26 Jul 2013) | 7 lines
Implement certificate verification, and many other SSL-related
imrovements; complete details in the PR.
PR: kern/175514
Submitted by: Michael Gmelin <freebsd at grem.de>
MFC after: 1 week
------------------------------------------------------------------------
r253685 | jeff | 2013-07-26 19:06:14 +0000 (Fri, 26 Jul 2013) | 8 lines
- Use kmem_malloc rather than kmem_alloc() for GDT/LDT/tss allocations etc.
This eliminates some unusual uses of that API in favor of more typical
uses of kmem_malloc().
Discussed with: kib/alc
Tested by: pho
Sponsored by: EMC / Isilon Storage Division
------------------------------------------------------------------------
r253687 | adrian | 2013-07-26 19:41:13 +0000 (Fri, 26 Jul 2013) | 14 lines
Break out the static, global LACP debug options into a per-lagg unit
sysctl tree.
* Create a net.link.lagg.X.lacp node
* Add a debug node under that for tx_test and rx_test
* Add lacp_strict_mode, defaulting to 1
tx_test and rx_test are still a bitmap of unit numbers for now.
At some point it would be nice to create child nodes of the lagg bundle
for each sub-interface, and then populate those with various knobs
and statistics.
Sponsored by: Netflix
------------------------------------------------------------------------
r253688 | np | 2013-07-26 20:54:33 +0000 (Fri, 26 Jul 2013) | 2 lines
Reserve room for ioctls that aren't in this copy of the driver yet.
------------------------------------------------------------------------
r253689 | pfg | 2013-07-26 21:25:18 +0000 (Fri, 26 Jul 2013) | 15 lines
Make the BSD-licensed patch the default.
The BSD-licensed patch(1) command has matured and it's behaviour
can be considered equivalent to the older version of GNU patch
in the tree.
The switch has been extensively tested [1] and only two ports
presented regressions, which have since been fixed.
For convenience a new WITH_GNU_PATCH option is available,
but it will likely be removed in the near future.
PR: 176313
Approved by: portmgr
------------------------------------------------------------------------
r253690 | jkim | 2013-07-26 21:34:09 +0000 (Fri, 26 Jul 2013) | 2 lines
Merge ACPICA 20130725.
------------------------------------------------------------------------
r253691 | np | 2013-07-26 22:04:11 +0000 (Fri, 26 Jul 2013) | 39 lines
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
------------------------------------------------------------------------
r253692 | delphij | 2013-07-26 22:40:17 +0000 (Fri, 26 Jul 2013) | 6 lines
Fix Denial of Service vulnerability in named(8). [13:07]
Security: CVE-2013-4854
Security: FreeBSD-SA-13:07.bind
Approved by: so
------------------------------------------------------------------------
r253697 | jeff | 2013-07-26 23:22:05 +0000 (Fri, 26 Jul 2013) | 13 lines
Improve page LRU quality and simplify the logic.
- Don't short-circuit aging tests for unmapped objects. This biases
against unmapped file pages and transient mappings.
- Always honor PGA_REFERENCED. We can now use this after soft busying
to lazily restart the LRU.
- Don't transition directly from active to cached bypassing the inactive
queue. This frees recently used data much too early.
- Rename actcount to act_delta to be more consistent with use and meaning.
Reviewed by: kib, alc
Sponsored by: EMC / Isilon Storage Division
------------------------------------------------------------------------
r253699 | np | 2013-07-27 00:53:07 +0000 (Sat, 27 Jul 2013) | 2 lines
Expand the list of devices claimed by cxgbe(4).
------------------------------------------------------------------------
r253701 | np | 2013-07-27 07:43:43 +0000 (Sat, 27 Jul 2013) | 4 lines
Display a string instead of a numeric code in the linkdnrc sysctl.
Submitted by: gnn@
------------------------------------------------------------------------
r253705 | adrian | 2013-07-27 14:58:23 +0000 (Sat, 27 Jul 2013) | 4 lines
Implement some function tracing.
Submitted by: Cedric GROSS <cg at cgross.info>
------------------------------------------------------------------------
r253706 | mav | 2013-07-27 15:02:19 +0000 (Sat, 27 Jul 2013) | 4 lines
Introduce 3 seconds timeout on `graid stop` command (mostly with -f flag).
Since completion waiting goes in g_event thread, it may cause GEOM deadlock
if consumer on top (for example, ZFS) uses g_event thread for closing.
------------------------------------------------------------------------
r253707 | marius | 2013-07-27 15:28:31 +0000 (Sat, 27 Jul 2013) | 16 lines
- Set the System Identifier in the Primary Volume Descriptor to FreeBSD
rather than NetBSD.
- Correctly set the Expiration Time in the Primary Volume Descriptor;
according to ISO 9660 8.4.26.1 unspecified date and time are denoted
by the digit 0 in RBP 1 to 16 but the number 0 in RBP 17. [1]
- Merge iso9660_rrip.c rev. 1.11 from NetBSD: name_len should be read
as unsigned byte. [2]
Note: This is according to ISO 9660 9.1.10.
- Rock Ridge TF entries should use a length of 5, because after the 4
bytes of generic SUSP header there is one byte of flags. See typedef
of ISO_RRIP_TF in iso9660_rrip.h. [1]
Submitted by: Thomas Schmitt [1]
Obtained from: NetBSD [2]
MFC after: 3 days
------------------------------------------------------------------------
r253708 | sbruno | 2013-07-27 16:32:34 +0000 (Sat, 27 Jul 2013) | 23 lines
At some point after stable/7 the ACPI and ISA interfaces to the IPMI controller
no longer have the parent in the device tree. This causes the identify
function in ipmi_isa.c to attempt to probe and poke at the ISA IPMI interface
Move the check for ipmi_attached out of the ipmi_isa_attach function and into
the ipmi_isa_identify function. Remove the check of the device tree for
ipmi devices attached.
This probing appears to make Broadcom management firmware on Dell machines
crash and emit NMI EISA warnings at various times requiring power cycles
of the machines to restore.
Bump MAX_TIMEOUT to 6 seconds as a hack for super slow IPMI interfaces that
need longer to respond to our intial probes on startup.
Tested on Dell R410, R510, R815, HP DL160G6
This is MFC candidate for 9.2R
Reviewed by: peter
MFC after: 2 weeks
Sponsored by: Yahoo! Inc.
------------------------------------------------------------------------
r253709 | kib | 2013-07-27 16:42:29 +0000 (Sat, 27 Jul 2013) | 6 lines
The pmap_qenter() and pmap_qremove() perform TLB invalidation on its
own, no need to call pmap_invalidate_range() one more time.
Noted by: alc
MFC after: 1 week
------------------------------------------------------------------------
r253710 | kib | 2013-07-27 16:44:37 +0000 (Sat, 27 Jul 2013) | 7 lines
MFgem r251960: re-check the mgt device object for the requested page
after the object was relocked.
Tested by: dumbbell
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
------------------------------------------------------------------------
r253712 | sbruno | 2013-07-27 17:20:43 +0000 (Sat, 27 Jul 2013) | 8 lines
update ciss debugger command to iterate over multiple raid controllers up to
max controllers supported
PR: kern/179932
Reviewed by: Markus Gebert <markus.gebert at hostpoint.ch>
MFC after: 2 weeks
Sponsored by: Yahoo! Inc.
------------------------------------------------------------------------
r253714 | kientzle | 2013-07-27 18:18:46 +0000 (Sat, 27 Jul 2013) | 5 lines
Install Forth infrastructure along with ubldr.
Note: loader.rc is installed as loader.rc.sample
so that by default, none of this is actually used.
------------------------------------------------------------------------
r253715 | kientzle | 2013-07-27 18:19:28 +0000 (Sat, 27 Jul 2013) | 3 lines
Put in commented-out version of beastie menu commands
so that non-i386 users can easily experiment with this.
------------------------------------------------------------------------
r253719 | alfred | 2013-07-27 20:47:01 +0000 (Sat, 27 Jul 2013) | 8 lines
Fix watchdog pretimeout.
The original API calls for pow2ns, however the new APIs from
Linux call for seconds.
We need to be able to convert to/from 2^Nns to seconds in both
userland and kernel to fix this and properly compare units.
------------------------------------------------------------------------
r253720 | markj | 2013-07-27 21:31:48 +0000 (Sat, 27 Jul 2013) | 3 lines
Use kern_ioctl() rather than ioctl() for testing the FBT provider, since the
latter doesn't exist in FreeBSD. All the tests under fbtprovider pass now.
------------------------------------------------------------------------
r253721 | mav | 2013-07-27 22:19:34 +0000 (Sat, 27 Jul 2013) | 3 lines
Detect unsupported PREVENT ALLOW MEDIUM REMOVAL and SYNCHRONIZE CACHE(10)
to not spam devices with useless commands and logs with errors.
------------------------------------------------------------------------
r253722 | mav | 2013-07-27 22:21:10 +0000 (Sat, 27 Jul 2013) | 2 lines
Oops, revert unwanted part of r253721.
------------------------------------------------------------------------
r253723 | alfred | 2013-07-27 22:23:32 +0000 (Sat, 27 Jul 2013) | 2 lines
Provide some examples for watchdogd usage.
------------------------------------------------------------------------
r253724 | mav | 2013-07-27 22:44:55 +0000 (Sat, 27 Jul 2013) | 5 lines
Synchronize device cache on close only if there were some write operations.
While these operations are not really needed otherwise, at least for SCSI
they may cause extra errors if some other initiator holds write exclusive
reservation on the LUN (SYNCHRONIZE CACHE handled as "write" operation).
------------------------------------------------------------------------
r253725 | pfg | 2013-07-28 00:45:20 +0000 (Sun, 28 Jul 2013) | 23 lines
DTrace: re-merge remainder of r249367 (original from Illumos).
Bring back some important fixes from Illumos:
3022 DTrace: keys should not affect the sort order when sorting by value
3023 it should be possible to dereference dynamic variables
3024 D integer narrowing needs some work
We particularly avoid the LD_NOLAZYLOAD changes that Illumos made
as those don't apply to FreeBSD and were causing problems in
interactive mode.
Illumos Revision: 13758:23432da34147
Reference:
https://www.illumos.org/issues/3022
https://www.illumos.org/issues/3023
https://www.illumos.org/issues/3024
MFC after: 1 month
Tested by: markj
------------------------------------------------------------------------
r253726 | pfg | 2013-07-28 01:02:17 +0000 (Sun, 28 Jul 2013) | 20 lines
DTrace: re-apply r249426 now that the underlying issues have been solved.
Merge change from illumos:
3519 DTrace fails to resolve const types from fbt
3520 dtrace internal error -- token type 316 is not a valid D
compilation token
3521 clean up dtrace unit tests
Illumos Revision: e98f46c
Reference:
https://www.illumos.org/issues/3519
https://www.illumos.org/issues/3520
https://www.illumos.org/issues/3521
Tested by: Fabian Keil
Obtained from: Illumos
MFC after: 1 month
------------------------------------------------------------------------
r253727 | adrian | 2013-07-28 04:53:00 +0000 (Sun, 28 Jul 2013) | 9 lines
Refactor the VAP transmit path code into a utility function that both
the normal and the mesh transmit paths can use.
The API is a bit horrible because it both consumes the mbuf and frees
the node reference regardless of whether it succeeds or not.
It's a hold-over from how the code behaves; it'd be nice to have it
not free the node reference / mbuf if TX fails and let the caller
decide what to do.
------------------------------------------------------------------------
r253734 | peter | 2013-07-28 06:02:40 +0000 (Sun, 28 Jul 2013) | 6 lines
Update subversion-1.8.0 -> 1.8.1. Update supporting
components: apr-1.4.6 -> 1.4.8 and apr-util-1.4.1 -> 1.5.2.
This is a post point-zero bug-fix / fix-sharp-edges release, including
some workarounds for UTF-8 for people who haven't yet turned on WITH_ICONV.
------------------------------------------------------------------------
r253735 | joel | 2013-07-28 06:15:25 +0000 (Sun, 28 Jul 2013) | 2 lines
mdoc and language improvements.
------------------------------------------------------------------------
r253736 | joel | 2013-07-28 06:16:12 +0000 (Sun, 28 Jul 2013) | 2 lines
Remove EOL whitespace.
------------------------------------------------------------------------
r253737 | kib | 2013-07-28 06:59:29 +0000 (Sun, 28 Jul 2013) | 13 lines
When creation of the v_pollinfo raced and our instance of vpollinfo
must be destroyed, knlist_clear() and seldrain() calls could be
avoided, since vpollinfo was not used. More, the knlist_clear()
calling protocol requires the knlist locked, which is not true at the
call site.
Split the destruction into the helper destroy_vpollinfo_free(), and
call it when raced, instead of destroy_vpollinfo().
Reported and tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
------------------------------------------------------------------------
r253742 | marius | 2013-07-28 12:29:10 +0000 (Sun, 28 Jul 2013) | 4 lines
- Add const-qualifiers to the arguments of isonum_*().
- According to ISO 9660 7.1.2, isonum_712() should return a signed value.
- Try to get isonum_*() closer to style(9).
------------------------------------------------------------------------
r253743 | adrian | 2013-07-28 16:50:45 +0000 (Sun, 28 Jul 2013) | 2 lines
Commit the missing header change.
------------------------------------------------------------------------
r253744 | ian | 2013-07-28 16:56:31 +0000 (Sun, 28 Jul 2013) | 2 lines
Fix printf of seconds for systems where time_t is 64 bits.
------------------------------------------------------------------------
r253745 | adrian | 2013-07-28 17:35:19 +0000 (Sun, 28 Jul 2013) | 2 lines
Fix compilation when debugging is disabled.
------------------------------------------------------------------------
r253746 | ian | 2013-07-28 17:37:30 +0000 (Sun, 28 Jul 2013) | 3 lines
Rename the existing std.imx and imx.files to std.imx51 and files.imx51, to
pave the way for adding imx6 support.
------------------------------------------------------------------------
r253747 | avg | 2013-07-28 17:54:42 +0000 (Sun, 28 Jul 2013) | 5 lines
x86: detect mwait capabilities and extensions, when present
Reviewed by: kib (earlier amd64-only version)
MFC after: 2 weeks
------------------------------------------------------------------------
r253748 | avg | 2013-07-28 18:32:27 +0000 (Sun, 28 Jul 2013) | 6 lines
put contents of cpu.h under _KERNEL
no userland-serviceable parts inside
MFC after: 20 days
------------------------------------------------------------------------
r253749 | avg | 2013-07-28 18:35:43 +0000 (Sun, 28 Jul 2013) | 4 lines
remove needless inclusion of machine/cpu.h in userland
MFC after: 21 days
------------------------------------------------------------------------
r253750 | avg | 2013-07-28 18:44:17 +0000 (Sun, 28 Jul 2013) | 6 lines
Revert r253748,253749
This WIP should not have been committed yet.
Pointyhat to: avg
------------------------------------------------------------------------
r253751 | hrs | 2013-07-28 19:49:39 +0000 (Sun, 28 Jul 2013) | 10 lines
- Relax the restriction on the member interfaces with LLAs. Two or more
LLAs on the member interfaces are actually harmless when the parent
interface does not have a LLA.
- Add net.link.bridge.allow_llz_overlap. This is a knob to allow LLAs on
a bridge and the member interfaces at the same time. The default is 0.
Pointed out by: ume
MFC after: 3 days
------------------------------------------------------------------------
r253752 | mav | 2013-07-28 19:56:08 +0000 (Sun, 28 Jul 2013) | 4 lines
Fix returning incorrect bio_resid value with failed BIO_DELETE requests.
Neither residual length reported for ATA/SCSI command nor one from another
BIO_DELETE request are in any way related to the value to be returned.
------------------------------------------------------------------------
r253753 | hrs | 2013-07-28 20:02:41 +0000 (Sun, 28 Jul 2013) | 2 lines
sin6 should be assigned before the loop.
------------------------------------------------------------------------
r253754 | mav | 2013-07-28 20:07:34 +0000 (Sun, 28 Jul 2013) | 4 lines
Partially close race between calls of orphan() method from GEOM and close()
method from ZFS core, that reliably causes use-after-free panic if SSD vdev
detached during inititial erase.
------------------------------------------------------------------------
r253755 | bapt | 2013-07-28 20:11:31 +0000 (Sun, 28 Jul 2013) | 5 lines
Fix detection of arm ABIs
Submitted by: andrew
Obtained from: pkg git
------------------------------------------------------------------------
r253756 | jhibbits | 2013-07-29 05:39:20 +0000 (Mon, 29 Jul 2013) | 7 lines
Use the streaming functions for reading/writing the BAP fields on wi(4). This
fixes wi(4) device access on big endian architectures.
PR: kern/164499
Reviewed by: adrian
Obtained from: NetBSD
------------------------------------------------------------------------
r253757 | hselasky | 2013-07-29 05:54:13 +0000 (Mon, 29 Jul 2013) | 6 lines
Fix alignment of USB WLAN radiotap headers. This makes USB WLAN adapters
work on ARM, MIPS and similar platforms, where alignment matters.
MFC after: 1 week
Reported by: XiaoQI Ge <ghw at 7axu.com>
------------------------------------------------------------------------
r253759 | rpaulo | 2013-07-29 06:53:42 +0000 (Mon, 29 Jul 2013) | 2 lines
Realtek's RTL8712 firmware blob needed by the upcoming rsu(4) driver.
------------------------------------------------------------------------
r253760 | rpaulo | 2013-07-29 06:55:28 +0000 (Mon, 29 Jul 2013) | 2 lines
Firmware module for the upcoming rsu(4) driver.
------------------------------------------------------------------------
r253761 | rpaulo | 2013-07-29 06:57:45 +0000 (Mon, 29 Jul 2013) | 2 lines
Fix a debugging hack that snuck in.
------------------------------------------------------------------------
r253762 | cognet | 2013-07-29 08:07:35 +0000 (Mon, 29 Jul 2013) | 3 lines
Define KDB_STOPPEDPCB, so that we can access the backtraces of threads running
on other cores.
------------------------------------------------------------------------
r253764 | theraven | 2013-07-29 08:32:13 +0000 (Mon, 29 Jul 2013) | 2 lines
Reenable the isnan(double) / isinf(double) declarations when targeting C89 + SUSv2 mode.
------------------------------------------------------------------------
r253766 | theraven | 2013-07-29 12:33:03 +0000 (Mon, 29 Jul 2013) | 2 lines
Restore the longer form of the _Generic. The short form does not work in C++.
------------------------------------------------------------------------
r253767 | ae | 2013-07-29 12:49:32 +0000 (Mon, 29 Jul 2013) | 4 lines
Include stdint.h to fix build.
Pointed by: Olivier Cochard-Labb?\195?\169
------------------------------------------------------------------------
r253768 | cognet | 2013-07-29 12:55:37 +0000 (Mon, 29 Jul 2013) | 6 lines
Explicitely include <machine/pcb.h>, so that we get the definition of
struct pcb.
Submitted by: Zbyszek Bodek <zbb at semihalf.com>
Pointy hat to: cognet
------------------------------------------------------------------------
r253769 | ae | 2013-07-29 13:17:18 +0000 (Mon, 29 Jul 2013) | 4 lines
Fix a possible NULL-pointer dereference on the pfsync(4) reconfiguration.
Reported by: Eugene M. Zheganin
------------------------------------------------------------------------
r253772 | avg | 2013-07-29 16:56:38 +0000 (Mon, 29 Jul 2013) | 11 lines
dtrace disassembler: take the latest/last CDDL code from OpenSolaris
OpenSolaris version is:
13108:33bb8a0301ab
6762020 Disassembly support for Intel Advanced Vector Extensions (AVX)
This corresponds to Illumos-gate (github) version
ab47273fedff893c8ae22ec39ffc666d4fa6fc8b
MFC after: 3 weeks
------------------------------------------------------------------------
r253773 | avg | 2013-07-29 17:03:42 +0000 (Mon, 29 Jul 2013) | 5 lines
[fixup] add Makefile changes that should have been committed in r253772
MFC after: 3 weeks
X-MFC with: r253772
------------------------------------------------------------------------
r253774 | jhb | 2013-07-29 18:44:52 +0000 (Mon, 29 Jul 2013) | 13 lines
Various fixes to the mlxen(4) driver:
- Remove an incorrect assertion that can trigger when downing an interface.
- Stop the interface during detach to avoid panics when unloading the
driver.
- A few locking fixes to be more consistent with other FreeBSD drivers:
- Protect if_drv_flags with the driver lock, not atomic ops
- Hold the driver lock when adjusting multicast state.
- Hold the driver lock while adjusting if_capenable.
PR: kern/180791 [1,2]
Submitted by: Shakar Klein @ Mellanox [1,2]
MFC after: 3 days
------------------------------------------------------------------------
r253775 | zont | 2013-07-29 18:48:51 +0000 (Mon, 29 Jul 2013) | 4 lines
Unbreak sysctl ABI changes introduced in r253662
Requested by: bde
------------------------------------------------------------------------
r253779 | obrien | 2013-07-29 20:26:27 +0000 (Mon, 29 Jul 2013) | 32 lines
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 at gmail.com, obrien
Obtained from: Juniper Networks
Reviewed by: obrien
------------------------------------------------------------------------
r253785 | jhb | 2013-07-29 20:48:10 +0000 (Mon, 29 Jul 2013) | 4 lines
Add a missing prototype.
Pointy hat: me
------------------------------------------------------------------------
r253786 | obrien | 2013-07-29 20:58:09 +0000 (Mon, 29 Jul 2013) | 32 lines
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 at gmail.com, obrien
Obtained from: Juniper Networks
Reviewed by: obrien
------------------------------------------------------------------------
r253787 | cognet | 2013-07-29 21:32:57 +0000 (Mon, 29 Jul 2013) | 2 lines
Remove useless cache operations.
------------------------------------------------------------------------
r253788 | cognet | 2013-07-29 21:45:39 +0000 (Mon, 29 Jul 2013) | 3 lines
The errata 727915 requires a different workaround for r2p0, we have to
explicitely clean/invalidate every cache line using way/set operations.
------------------------------------------------------------------------
r253789 | rpaulo | 2013-07-30 02:07:57 +0000 (Tue, 30 Jul 2013) | 10 lines
Import OpenBSD's rsu(4) WLAN driver.
Support chipsets are the Realtek RTL8188SU, RTL8191SU, and RTL8192SU.
Many thanks to Idwer Vollering for porting/writing the man page and for
testing.
Reviewed by: adrian, hselasky
Obtained from: OpenBSD
Tested by: kevlo, Idwer Vollering <vidwer at gmail.com>
------------------------------------------------------------------------
r253790 | rpaulo | 2013-07-30 02:26:06 +0000 (Tue, 30 Jul 2013) | 5 lines
Move runfw to modules/usb.
While there, respect MK_SOURCELESS_UCODE.
Discussed with: kevlo
------------------------------------------------------------------------
r253795 | pluknet | 2013-07-30 08:09:48 +0000 (Tue, 30 Jul 2013) | 5 lines
Fix up paths after r253790.
While here, use $? contraction.
Reported by: O. Hartmann
------------------------------------------------------------------------
r253802 | dim | 2013-07-30 12:33:21 +0000 (Tue, 30 Jul 2013) | 17 lines
Pull in r186696 from upstream clang trunk:
This patch implements __get_cpuid_max() as an inline and __cpuid()
and __cpuid_count() as macros to be compatible with GCC's cpuid.h.
It also adds bit_<foo> constants for the various feature bits as
described in version 039 (May 2011) of Intel's SDM Volume 2 in the
description of the CPUID instruction. The list of bit_<foo>
constants is a bit exhaustive (GCC doesn't do near this many). More
bits could be added from a newer version of SDM if desired.
Patch by John Baldwin!
This should fix several ports which depend on this functionality being
available.
MFC after: 1 week
------------------------------------------------------------------------
r253803 | mav | 2013-07-30 13:00:09 +0000 (Tue, 30 Jul 2013) | 4 lines
Add NO_RC16 quirk to make da driver avoid using READ CAPACITY(16) command
if possible. Use it for Kingston JetFlash USB sticks, that are known to
return garbage in response to that command.
------------------------------------------------------------------------
r253804 | des | 2013-07-30 13:05:51 +0000 (Tue, 30 Jul 2013) | 2 lines
Add Michael Gmelin's name to the copyright statement.
------------------------------------------------------------------------
r253805 | des | 2013-07-30 13:07:55 +0000 (Tue, 30 Jul 2013) | 5 lines
Include an Accept header in requests.
PR: kern/180917
MFC after: 1 week
------------------------------------------------------------------------
r253806 | mav | 2013-07-30 14:50:44 +0000 (Tue, 30 Jul 2013) | 11 lines
Allow three IOCTLs to be used on suspended pool, restoring state that
existed before IOCTL code refactoring merged change 4445fffb from illumos
at r248571.
This change allows `zpool clear` to be used again to recover suspended pool.
It seems the only was supposed by the code to restore pool operation after
reconnecting lost disks that were required for data completeness. There
are still cases where `zpool clear` command can just safely stuck due to
deadlocks inside ZFS kernel part, but probably that is better then having
no chances to recover at all.
------------------------------------------------------------------------
r253807 | rpaulo | 2013-07-30 16:17:30 +0000 (Tue, 30 Jul 2013) | 2 lines
Unbreak sparc64 LINT. Need to fix this correctly at some point in the future.
------------------------------------------------------------------------
r253808 | jhb | 2013-07-30 16:20:54 +0000 (Tue, 30 Jul 2013) | 4 lines
Apply a casting sledgehammer.
Submitted by: dhw
------------------------------------------------------------------------
r253809 | scottl | 2013-07-30 17:35:06 +0000 (Tue, 30 Jul 2013) | 4 lines
Fix a printf typo.
Obtained from: LSI
------------------------------------------------------------------------
r253810 | ache | 2013-07-30 18:16:43 +0000 (Tue, 30 Jul 2013) | 6 lines
grep -i does not work for simple patterns and single byte locales, like
LANG=ru_RU.KOI8-R grep -i <some single KOI8-R letter>
Fix it.
MFC after: 3 days
------------------------------------------------------------------------
r253811 | sbruno | 2013-07-30 18:41:36 +0000 (Tue, 30 Jul 2013) | 7 lines
After discussions, revert svn r253708.
Changelog for 253708 was completely wrong and the code implemented something
non-standard for the wrong reasons.
Sponsored by: Yahoo! Inc.
------------------------------------------------------------------------
r253812 | sbruno | 2013-07-30 18:44:29 +0000 (Tue, 30 Jul 2013) | 8 lines
empirical testing showed that 3 seconds is just too slow for GET_DEVICE_ID
to return on newer Dell hardware. Bump to 6 second timeouts until someone
has a better idea on how to handle this
Reviewed by: jhb@
MFC after: 2 weeks
Sponsored by: Yahoo! Inc.
------------------------------------------------------------------------
r253813 | sbruno | 2013-07-30 18:54:24 +0000 (Tue, 30 Jul 2013) | 7 lines
Check for ipmi_attached in ipmi_isa_probe as a suggested alternative to
ipmi_isa_attach. This keeps unintended but harmless noise about "ipmi1"
from appearing in the boot up sequence.
Submitted by: jbh@ (suggested by)
Sponsored by: Yahoo! Inc.
------------------------------------------------------------------------
r253814 | obrien | 2013-07-30 19:21:36 +0000 (Tue, 30 Jul 2013) | 2 lines
MFC'ing to 9.2.
------------------------------------------------------------------------
r253816 | delphij | 2013-07-30 20:37:32 +0000 (Tue, 30 Jul 2013) | 17 lines
MFV r253780:
To quote Illumos #3875:
The problem here is that if we ever end up in the error
path, we drop the locks protecting access to the zfsvfs_t
prior to forcibly unmounting the filesystem. Because z_os
is NULL, any thread that had already picked up the zfsvfs_t
and was sitting in ZFS_ENTER() when we dropped our locks
in zfs_resume_fs() will now acquire the lock, attempt to
use z_os, and panic.
Illumos ZFS issues:
3875 panic in zfs_root() after failed rollback
MFC after: 2 weeks
------------------------------------------------------------------------
r253818 | smh | 2013-07-30 20:45:27 +0000 (Tue, 30 Jul 2013) | 12 lines
MFV r253784:
Fix zfs send -D hang after processing requiring a CTRL+C to interrupt due to
pthread_join prior to fd close.
This was introduced by r251646 (MFV r251644)
Illumos ZFS issue:
3909 "zfs send -D" does not work
MFC after: 1 day
------------------------------------------------------------------------
r253819 | delphij | 2013-07-30 21:02:09 +0000 (Tue, 30 Jul 2013) | 7 lines
MFV r253781 + r253871:
Illumos ZFS issues:
3894 zfs should not allow snapshot of inconsistent dataset
MFC after: 2 weeks
------------------------------------------------------------------------
r253820 | delphij | 2013-07-30 21:20:12 +0000 (Tue, 30 Jul 2013) | 24 lines
MFV r253782:
To quote Illumos issue #3888:
When 'zfs recv -F' is used with an incremental recv it rolls
back any changes made since the last snapshot in case new
changes were made to the file system while the recv is in
progress (without -F the recv would fail when it does it's
final check to commit the recv-ed data as the recv-ed data
conflicts with the newly written data).
However, if there is a snapshot taken after the recv began
rolling back to the 'latest' snapshot will not help and the
recv will still fail. 'zfs recv -F' should be extended to
destroy any snapshots created since the source snapshot when
finishing the recv (effectively rolling back through all
snapshots, instead of just to the latest snapshot).
Illumos ZFS issues:
3888 zfs recv -F should destroy any snapshots created since the
incremental source
MFC after: 2 weeks
------------------------------------------------------------------------
r253821 | delphij | 2013-07-30 21:35:02 +0000 (Tue, 30 Jul 2013) | 11 lines
MFV r253783:
Skip eviction step of processing free records when doing ZFS
receive to avoid the expensive search operation of non-existent
dbufs in dn_dbufs.
Illumos ZFS issues:
3834 incremental replication of 'holey' file systems is slow
MFC after: 2 weeks
------------------------------------------------------------------------
r253822 | scottl | 2013-07-30 22:57:12 +0000 (Tue, 30 Jul 2013) | 7 lines
Add a 'surrender' mode to fsck_ffs. With the -S flag, once hard read errors
are encountered, the fsck will stop instead of wasting time chewing through
possibly other errors.
Obtained from: Netflix
MFC after: 3 days
------------------------------------------------------------------------
r253823 | scottl | 2013-07-30 23:26:05 +0000 (Tue, 30 Jul 2013) | 6 lines
Create a knob, kern.ipc.sfreadahead, that allows one to tune the amount of
readahead that sendfile() will do. Default remains the same.
Obtained from: Netflix
MFC after: 3 days
------------------------------------------------------------------------
r253824 | scottl | 2013-07-30 23:50:09 +0000 (Tue, 30 Jul 2013) | 4 lines
Fix r253823. Some WIP patches snuck in.
Submitted by: zont
------------------------------------------------------------------------
r253825 | jhibbits | 2013-07-31 01:13:29 +0000 (Wed, 31 Jul 2013) | 5 lines
Add the macio attachment for wi(4). Partially obtained from NetBSD.
Reviewed by: adrian
Obtained from: NetBSD (partially)
------------------------------------------------------------------------
r253826 | jhibbits | 2013-07-31 01:42:59 +0000 (Wed, 31 Jul 2013) | 2 lines
Remove duplicate SRCS include block. Spotted by jmallett.
------------------------------------------------------------------------
r253827 | rpaulo | 2013-07-31 02:13:18 +0000 (Wed, 31 Jul 2013) | 5 lines
When using tcpdump -I -i wlanN and wlanN is not a monitor mode VAP,
tcpdump will print an error message saying rfmon is not supported.
Give a concise explanation as to how one might solve this problem by
creating a monitor mode VAP.
------------------------------------------------------------------------
r253828 | scottl | 2013-07-31 04:51:12 +0000 (Wed, 31 Jul 2013) | 4 lines
Document the -S flag to fsck_ffs
Obtained from: Netflix
------------------------------------------------------------------------
r253829 | np | 2013-07-31 05:12:51 +0000 (Wed, 31 Jul 2013) | 9 lines
Display SGE tunables in the sysctl tree.
dev.t5nex.0.fl_pktshift: payload DMA offset in rx buffer (bytes)
dev.t5nex.0.fl_pad: payload pad boundary (bytes)
dev.t5nex.0.spg_len: status page size (bytes)
dev.t5nex.0.cong_drop: congestion drop setting
Discussed with: scottl
------------------------------------------------------------------------
r253830 | rpaulo | 2013-07-31 05:52:03 +0000 (Wed, 31 Jul 2013) | 2 lines
Initialisation routines for the mailbox, spinlock and PRU-ICSS clocks.
------------------------------------------------------------------------
r253831 | rpaulo | 2013-07-31 06:05:34 +0000 (Wed, 31 Jul 2013) | 2 lines
Cleanup the allocations when the attachment fails.
------------------------------------------------------------------------
r253832 | rpaulo | 2013-07-31 06:23:10 +0000 (Wed, 31 Jul 2013) | 2 lines
Add definitions for the Mailbox, Spinlock and PRU-ICSS devices.
------------------------------------------------------------------------
r253833 | delphij | 2013-07-31 07:06:58 +0000 (Wed, 31 Jul 2013) | 4 lines
Resolve fflag with realpath().
MFC after: 2 weeks
------------------------------------------------------------------------
r253834 | delphij | 2013-07-31 07:09:35 +0000 (Wed, 31 Jul 2013) | 5 lines
Make two buffer variables static for now. It is not safe to
reference stack memory after return.
MFC after: 2 weeks
------------------------------------------------------------------------
r253839 | bapt | 2013-07-31 12:35:06 +0000 (Wed, 31 Jul 2013) | 5 lines
Change default behaviour of ld(1) to not recursively copy DT_NEEDED
This is the default behaviour of the newer binutils as well as most alternative linkers.
All the ports tree has been fixed to be able to link properly with this new behaviour.
------------------------------------------------------------------------
r253840 | scottl | 2013-07-31 15:55:01 +0000 (Wed, 31 Jul 2013) | 6 lines
Another fix for r253823; retain the default of 1 readahead block for sendfile.
Submitted by: glebius
Obtained from: Netflix
MFC after: 3 days
------------------------------------------------------------------------
r253841 | hrs | 2013-07-31 16:24:49 +0000 (Wed, 31 Jul 2013) | 6 lines
Allocate in6_ifextra (ifp->if_afdata[AF_INET6]) only for IPv6-capable
interfaces. This eliminates unnecessary IPv6 processing for non-IPv6
interfaces.
MFC after: 3 days
------------------------------------------------------------------------
r253842 | sbruno | 2013-07-31 16:26:34 +0000 (Wed, 31 Jul 2013) | 2 lines
device if_bridge gets me a bridge device
------------------------------------------------------------------------
r253843 | hrs | 2013-07-31 16:26:41 +0000 (Wed, 31 Jul 2013) | 2 lines
Document net.link.bridge.allow_llz_overlap.
------------------------------------------------------------------------
r253844 | sbruno | 2013-07-31 16:27:56 +0000 (Wed, 31 Jul 2013) | 2 lines
Adjust magic numbers to allow attachment of ath(4) modules.
------------------------------------------------------------------------
r253845 | obrien | 2013-07-31 17:21:18 +0000 (Wed, 31 Jul 2013) | 2 lines
Back out r253779 & r253786.
------------------------------------------------------------------------
r253846 | jimharris | 2013-07-31 18:18:02 +0000 (Wed, 31 Jul 2013) | 2 lines
Add myself as maintainer for nvme(4), nvd(4) and nvmecontrol(8).
------------------------------------------------------------------------
r253847 | ian | 2013-07-31 19:14:00 +0000 (Wed, 31 Jul 2013) | 43 lines
Changes to allow using BOOTP_NFSROOT and mounting an nfs root filesystem
other than the one specified by the BOOTP server. This configures NFS
using the BOOTP protocol while also respecting other root-path options such
as setting vfs.root.mountfrom in the environment or using the RB_DFLTROOT
boot option. It allows you to override the root path provided by the
server, or to supply a root path when the server provides IP configuration
but no root path info.
This maintains the historical BOOTP_NFSROOT behavior of panicking on a
failure to mount the root path provided by the server, unless you've
provided an alternative via the ROOTDEVNAME kernel option or by setting
vfs.root.mountfrom. The behavior of panicking when given no other options
is preserved because it amounts to a bit of a retry loop that could
eventually recover from a transient network or server problem.
The user can now override the root path from loader(8) even if the
kernel is compiled with BOOTP_NFSROOT. If vfs.root.mountfrom is set in
the environment it is used unconditionally -- it always overrides the
BOOTP info. If it begins with [old]nfs: then the BOOTP code uses it
instead of the server-provided info. If it specifies some other
filesystem then the bootp code will not panic like it used to and the code
in vfs_mountroot.c will invoke the right filesystem to do the mount.
If the kernel is compiled with the ROOTDEVNAME option, then that name is
used by the BOOTP code if either
* The server doesn't provide a pathname.
* The boothowto flags include RB_DFLTROOT.
The latter allows the user to compile in alternate path in ROOTDEVNAME
such as ufs:/dev/da0s1a and boot from that path by setting
boot_dftlroot=1 in loader(8) or using the '-r' option in boot(8).
The one thing not provided here is automatic failover from a
server-provided path to a compiled-in one without the user manually
requesting that. The code just isn't currently structured in a way that
makes that possible with a lot of rewrite. I think the ability to set
vfs.root.mountfrom and to use ROOTDEVNAME automatically when the server
doesn't provide a name covers the most common needs.
A set of patches submitted by Lars Eggert provided the part I couldn't
figure out by myself when I tried to do this last year; many thanks.
Reviewed by: rodrigc
------------------------------------------------------------------------
r253849 | grehan | 2013-08-01 01:18:51 +0000 (Thu, 01 Aug 2013) | 14 lines
Correctly maintain the CR0/CR4 shadow registers.
This was exposed with AP spinup of Linux, and
booting OpenBSD, where the CR0 register is unconditionally
written to prior to the longjump to enter protected
mode. The CR-vmexit handling was not updating CPU state which
resulted in a vmentry failure with invalid guest state.
A follow-on submit will fix the CPU state issue, but this
fix prevents the CR-vmexit prior to entering protected
mode by properly initializing and maintaining CR* state.
Reviewed by: neel
Reported by: Gopakumar.T @ netapp
------------------------------------------------------------------------
r253850 | markj | 2013-08-01 02:57:04 +0000 (Thu, 01 Aug 2013) | 6 lines
Properly print arguments to vfork(2) and rfork(2).
PR: 180976
Submitted by: Yuri <yuri at tsoft.com> (original patch)
MFC after: 1 week
------------------------------------------------------------------------
r253852 | hrs | 2013-08-01 04:50:46 +0000 (Thu, 01 Aug 2013) | 4 lines
Fix boundary check of sockaddr array.
Reported by: uqs
------------------------------------------------------------------------
r253853 | jlh | 2013-08-01 05:50:42 +0000 (Thu, 01 Aug 2013) | 7 lines
Include /usr/local/etc/libmap.d/ by default.
PR: 180568
Reviewed by: bapt
Obtained from: kib
MFC after: 3 days
------------------------------------------------------------------------
r253854 | grehan | 2013-08-01 05:59:28 +0000 (Thu, 01 Aug 2013) | 9 lines
Moved clearing of vmm_initialized to avoid the case
of unloading the module while VMs existed. This would
result in EBUSY, but would prevent further operations
on VMs resulting in the module being impossible to
unload.
Submitted by: Tycho Nightingale (tycho.nightingale <at> plurisbusnetworks.com)
Reviewed by: grehan, neel
------------------------------------------------------------------------
r253857 | ganbold | 2013-08-01 10:06:19 +0000 (Thu, 01 Aug 2013) | 4 lines
Add identification for Cortex-A7 (R0) cores.
Reviewed by: cognet@
------------------------------------------------------------------------
r253858 | tuexen | 2013-08-01 12:05:23 +0000 (Thu, 01 Aug 2013) | 6 lines
Micro-optimization suggested in
https://bugzilla.mozilla.org/show_bug.cgi?id=898234
by pchang9. While there simplify the code.
MFC after: 1 week
------------------------------------------------------------------------
r253859 | kib | 2013-08-01 12:55:41 +0000 (Thu, 01 Aug 2013) | 5 lines
Remove unused malloc type.
Requested by: alc
MFC after: 1 week
------------------------------------------------------------------------
r253861 | pfg | 2013-08-01 16:04:48 +0000 (Thu, 01 Aug 2013) | 10 lines
Add license for the half MD4 algorithm used in ext2_half_md4().
The htree implementation uses code derived from the
RSA Data Security, Inc. MD4 Message-Digest Algorithm.
Add a proper licensing statement for the code and clarify
the corresponding comments.
Approved by: core (hrs)
------------------------------------------------------------------------
r253862 | marcel | 2013-08-01 18:06:58 +0000 (Thu, 01 Aug 2013) | 13 lines
Fix the build of the testmain target. This target compiles a Forth
interpreter that can be run on the system and as such cannot be
compiled against libbstand. On the one hand this means we need to
include the usual headers for system interfaces that we use and
on the the other hand we can only use standard system interfaces.
While here, define local variables only when needed to make this
WARNS=2 clean on amd64.
PR: 172542
Obtained from: peterj@
Pointed out by: Jan Beich <jbeich at tormail.org>
------------------------------------------------------------------------
r253865 | jfv | 2013-08-01 20:10:16 +0000 (Thu, 01 Aug 2013) | 26 lines
A number of important fixes:
- mbuf reused after an RX_COPY optimized operation can sometimes have
a bogus cached address, resulting in TCP hangs. Add critical save points
to the cached address. Thanks to Michael and the team at Verisign for
finding this problem.
- A couple more spots where the rxbuf->flags member should be cleared just
to be sure no incorrect RX_COPY state is left around. Thanks to Adrian
for tracking these down.
- Remove the rearm_queues function from the driver, this was found to be
responsible for some out-of-order packets by Verisign, and was always a
bandaid, with the other fixes in this delta the bandaid can finally be
removed.
- In the other/link interrupt handler the entire state of the EICS register
was being writen back into EICR (which clears causes and thus re-enables
those interrupts), this was wrong, so now mask off the queue portion of
the register value, so we only clear the other/link interrupt we intend.
Marc from Verisign found this.
- Make the SFP+ unsupported option tuneable now, by customer request.
- Finally, just a couple of minor DEBUG string fixes.
I want to call out and thank all the participants in the 10G community/Intel
calls for helping track down these problems and make the driver better for
everyone!
MFC after: 3 days, these are critical fixes for 9.2!
------------------------------------------------------------------------
r253866 | adrian | 2013-08-01 21:45:30 +0000 (Thu, 01 Aug 2013) | 8 lines
iwn(4) debugging improvements.
* Add in some new register debugging under IWN_DEBUG_REGISTER
* Make IWN_DEBUG an option now for building. I'll chase this up
with a commit to 'options' soon.
Submitted by: Cedric GROSS <cg at cgross.info>
------------------------------------------------------------------------
r253867 | adrian | 2013-08-01 21:50:13 +0000 (Thu, 01 Aug 2013) | 2 lines
Add IWN_DEBUG as an option for if_iwn.
------------------------------------------------------------------------
r253868 | adrian | 2013-08-01 21:50:50 +0000 (Thu, 01 Aug 2013) | 5 lines
Now that conf/options knows about if_iwn.h, add it to if_iwn.c.
This allows for IWN_DEBUG (and maybe more stuff later) to be a build
time configure option.
------------------------------------------------------------------------
r253870 | np | 2013-08-01 22:48:17 +0000 (Thu, 01 Aug 2013) | 2 lines
Teach cxgbetool to display T5 congestion manager context.
------------------------------------------------------------------------
r253873 | np | 2013-08-01 23:38:30 +0000 (Thu, 01 Aug 2013) | 4 lines
Set up congestion manager context properly for T5 based cards.
MFC after: 3 days (will check with re@)
------------------------------------------------------------------------
r253883 | sjg | 2013-08-02 06:25:28 +0000 (Fri, 02 Aug 2013) | 4 lines
Merge bmake-20130730
Main feature of interest is .MAKE.JOB.PREFIX=
to suppress --- job --- tokens.
------------------------------------------------------------------------
r253885 | glebius | 2013-08-02 13:06:49 +0000 (Fri, 02 Aug 2013) | 2 lines
Remove extra zeroing after M_ZERO allocation.
------------------------------------------------------------------------
r253886 | jilles | 2013-08-02 14:14:23 +0000 (Fri, 02 Aug 2013) | 26 lines
find: Allow -delete to delete files given as arguments.
Formerly, a command like find dir1/dir2 -delete would delete everything
under dir1/dir2 but not dir1/dir2 itself.
When -L is not specified and "." can be opened, the fts(3) code underlying
find(1) is careful to avoid following symlinks or being dropped in different
locations by moving the directory fts is currently traversing. If a
problematic concurrent modification is detected, fts will not enter the
directory or abort. Files found in the search are returned via the current
working directory and a pathname not containing a slash.
For paranoia, find(1) verifies this when -delete is used. However, it is too
paranoid about the root of the traversal. It is already assumed that the
initial pathname does not refer to directories or symlinks that might be
replaced by untrusted users; otherwise, the whole traversal would be unsafe.
Therefore, it is not necessary to do the check for fts_level ==
FTS_ROOTLEVEL.
Deleting the pathnames given as arguments can be prevented without error
messages using -mindepth 1 or by changing directory and passing "." as
argument to find. This works in the old as well as the new version of find.
Tested by: Kurt Lidl
Reviewed by: jhb
------------------------------------------------------------------------
r253887 | hrs | 2013-08-02 14:44:11 +0000 (Fri, 02 Aug 2013) | 5 lines
Add p_candebug() check to FILEMON_SET_PID ioctl.
Discussed with: sjg
MFC after: 3 days
------------------------------------------------------------------------
r253889 | np | 2013-08-02 17:44:19 +0000 (Fri, 02 Aug 2013) | 4 lines
Fix previous commit (r253873). "cong" has one bit per channel but the
congestion channel map has 1 nibble per channel. So bits wxyz need to
be blown up into 000w000x000y000z.
------------------------------------------------------------------------
r253890 | np | 2013-08-02 18:05:42 +0000 (Fri, 02 Aug 2013) | 6 lines
Display temperature sensor data. Shows -1 if sensor not
available on the card.
# sysctl dev.t4nex.0.temperature
# sysctl dev.t5nex.0.temperature
------------------------------------------------------------------------
r253895 | peter | 2013-08-02 19:21:46 +0000 (Fri, 02 Aug 2013) | 2 lines
Update serf 1.2.1 -> 1.3.0 for svn
------------------------------------------------------------------------
r253896 | cognet | 2013-08-02 20:32:26 +0000 (Fri, 02 Aug 2013) | 2 lines
Only receive the interrupts on the first core, to avoid duplicate interrupts.
------------------------------------------------------------------------
r253897 | adrian | 2013-08-02 21:23:28 +0000 (Fri, 02 Aug 2013) | 17 lines
Break out the iwn(4) device IDs into if_iwn_devid.h, as well as add
IDs for new devices.
* Add new device IDs
* Extend the ID probe code to include the newer range of bits used
by later model devices
Tested:
* Intel 5100, STA mode
TODO:
* Test on Intel 4965, just to be sure
Submitted by: Cedric GROSS <cg at gross.info>
------------------------------------------------------------------------
r253898 | adrian | 2013-08-02 21:28:36 +0000 (Fri, 02 Aug 2013) | 10 lines
Add in some definitions required for later iwn(4) device support.
This also clarifies a few existing fields.
Tested:
* Intel 5100
Submitted by: Cedric GROSS <cg at gross.info>
------------------------------------------------------------------------
r253899 | marius | 2013-08-02 23:28:49 +0000 (Fri, 02 Aug 2013) | 23 lines
- Implement iclear methods for QUICC and SAB 82532. With r253161 in place,
this is is crucial at least for the latter.
What happens is that attaching uart(4) to scc(4) causes the SAB 82532 to
"receive" something and trigger a SER_INT_RXREADY interrupt, given that
at least fast/filter interrupts are already enabled. Prior to r253161,
uart_bus_ihand() was set up at this point and handled that condition,
i. e. read the RX FIFO and issued a Receive Message Complete.
Now, uart_bus_ihand() and uart_intr() are setup after attaching uart(4),
leaving the SER_INT_RXREADY interrupt triggered during the latter to
be handled by the iclear method. However, with that method not implement,
this in turn causes SAB 82532 to not issue any further SER_INT_RXREADY
interrupts until the RX FIFO is full again. Thus, 15 received bytes go
to nowhere, given that "the other half" of the RX FIFO is used for status
information. Hence, implementing sab82532_bfe_iclear() fixes things again.
Potentially, the same problem exists for QUICC.
- Remove unnecessary __RMAN_RESOURCE_VISIBLE.
- Remove a superfluous header.
- Use KOBJMETHOD_END.
- Mark unused arguments as such.
- Remove variables unused after initialization.
Reviewed by: marcel (earlier version)
------------------------------------------------------------------------
r253900 | marius | 2013-08-02 23:30:32 +0000 (Fri, 02 Aug 2013) | 3 lines
- Use NULL instead of 0 for pointers.
- Remove unnecessary __RMAN_RESOURCE_VISIBLE.
------------------------------------------------------------------------
r253902 | marius | 2013-08-02 23:31:51 +0000 (Fri, 02 Aug 2013) | 2 lines
Const'ify scc_driver_name.
------------------------------------------------------------------------
r253909 | grehan | 2013-08-03 03:16:42 +0000 (Sat, 03 Aug 2013) | 7 lines
Follow-up commit to fix CR0 issues. Maintain
architectural state on CR vmexits by guaranteeing
that EFER, CR0 and the VMCS entry controls are
all in sync when transitioning to IA-32e mode.
Submitted by: Tycho Nightingale (tycho.nightingale <at> plurisbusnetworks.com)
------------------------------------------------------------------------
r253910 | marcel | 2013-08-03 04:25:25 +0000 (Sat, 03 Aug 2013) | 2 lines
Add a tunable for the default timeout.
------------------------------------------------------------------------
r253911 | uqs | 2013-08-03 08:21:35 +0000 (Sat, 03 Aug 2013) | 2 lines
Add missing depend.
------------------------------------------------------------------------
r253914 | ian | 2013-08-03 13:31:10 +0000 (Sat, 03 Aug 2013) | 7 lines
Tweak the imx debug console code so that it works with multiple SoCs.
Instead of hard-coding the uart register addresses for the imx51, use
a variable that defaults to the imx51 address. When debugging another
imx-family SoC, the variable can be set early in initarm() to provide
full console/printf support for debugging early boot.
------------------------------------------------------------------------
r253915 | trasz | 2013-08-03 13:38:56 +0000 (Sat, 03 Aug 2013) | 2 lines
Fix typo.
------------------------------------------------------------------------
r253917 | dim | 2013-08-03 16:23:43 +0000 (Sat, 03 Aug 2013) | 6 lines
After r253839, which modifies ld's behaviour to not automatically pull
in needed libraries, change libc++.so into a linker script, so it can
automatically pull in libcxxrt.so.
MFC after: 1 week
------------------------------------------------------------------------
r253918 | jhibbits | 2013-08-03 18:05:12 +0000 (Sat, 03 Aug 2013) | 4 lines
Remove duplicate definition of SPR MMCR0.
MFC after: 3 days
------------------------------------------------------------------------
r253919 | marcel | 2013-08-03 20:14:29 +0000 (Sat, 03 Aug 2013) | 8 lines
Fix the bootable CD:
o We need wait a bit before attempting the root mount. The CD drives
on HP machines (typical) go through the management controller so
that it can be virtualized. In practice what this means is that it
is slow to detect and attach.
o Tell the kernel what to use as the root file system. The /etc/fstab
trick doesn't work, because we're on the EFI-compatble file system.
------------------------------------------------------------------------
r253920 | marius | 2013-08-03 21:24:52 +0000 (Sat, 03 Aug 2013) | 2 lines
Make r253899 compile.
------------------------------------------------------------------------
r253924 | hrs | 2013-08-04 06:36:17 +0000 (Sun, 04 Aug 2013) | 17 lines
- Reimplement $gif_interfaces as a variant of $cloned_interfaces.
Newly-configured systems should use $cloned_interfaces.
- Call clone_{up,down}() and ifnet_rename() in rc.d/netif {start,stop}.
ifnet_rename() now accepts an interface name list as its argument.
- Add rc.d/netif clear. The "clear" subcommand is basically equivalent to
"stop" but it does not call clone_down().
- Add "ifname:sticky" keyword into $cloned_interfaces. If :sticky is
specified, the interface will not be destroyed in rc.d/netif stop.
- Add cloned_interfaces_sticky={YES,NO}. This variable globally sets
:sticky keyword above for all interfaces. The default value is NO.
When cloned_interfaces_sticky=YES, :nosticky keyword can be used to
override it on per interface basis.
------------------------------------------------------------------------
r253925 | sjg | 2013-08-04 07:10:16 +0000 (Sun, 04 Aug 2013) | 3 lines
Move the call to Job_SetPrefix() to Job_Init() so that
makefiles have had a chance to set .MAKE.JOB.PREFIX
------------------------------------------------------------------------
r253926 | smh | 2013-08-04 11:38:08 +0000 (Sun, 04 Aug 2013) | 5 lines
zfs_ioc_rename should not leave the value of zc_name passed in via zc altered
on return.
MFC after: 1 week
------------------------------------------------------------------------
r253927 | attilio | 2013-08-04 15:56:19 +0000 (Sun, 04 Aug 2013) | 11 lines
Remove unnecessary soft busy of the page before to do vn_rdwr() in
kern_sendfile() which is unnecessary.
The page is already wired so it will not be subjected to pagefault.
The content cannot be effectively protected as it is full of races
already.
Multiple accesses to the same indexes are serialized through vn_rdwr().
Sponsored by: EMC / Isilon storage division
Reviewed by: alc, jeff
Tested by: pho
------------------------------------------------------------------------
r253930 | rmh | 2013-08-04 16:25:46 +0000 (Sun, 04 Aug 2013) | 2 lines
Fix implicit declaration of warnx().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-snapshots/attachments/20130805/0b0423e0/attachment.sig>
More information about the freebsd-snapshots
mailing list