ƒ°T224000 187 171 209 264 160 284 177 1723 162 171 158 180 213 216 125 131 153 454 381 109 262 532 115 145 414 165 185 124 604 138 165 126 277 293 1487 301 193 146 390 390 246 209 306 264 125 320 314 244 476 136 167 194 314 166 219 172 134 520 244 278 247 149 528 229 179 151 175 411 242 128 994 333 154 431 136 175 118 143 332 251 318 246 313 320 326 229 324 720 690 116 129 125 119 205 559 118 217 186 125 237 145 142 105 421 337 181 439 457 251 182 165 365 221 345 495 651 532 662 761 117 217 317 241 245 234 177 215 446 241 132 161 161 479 416 180 110 180 111 364 117 223 175 182 163 263 942 158 132 234 136 599 813 431 271 207 208 190 1232 430 198 897 118 166 104 138 126 221 116 152 138 427 755 523 162 321 273 157 136 528 231 401 290 438 203 132 195 159 136 K 10 svn:author V 8 jchandra K 8 svn:date V 27 2011-07-14T07:19:29.695111Z K 7 svn:log V 74 Add XLP platform files. Processor, UART, PIC and Messaging Network code END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-07-14T07:28:49.818581Z K 7 svn:log V 112 Use prototype. While I'm there, add a pair of parenthesis to mark an if statment's border. MFC after: 1 month END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-07-14T07:33:53.005577Z K 7 svn:log V 167 Add a new option, -N to disable the default and recommended syslogd(8) behavior, which binds to the well known UDP port. This option implies -s. MFC after: 2 months END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-07-14T07:35:28.566333Z K 7 svn:log V 64 Use calloc() instead of an explicit memset. MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-07-14T08:06:03.310979Z K 7 svn:log V 187 Add a -l option to show file system's corresponding /dev/ufsid path. This is useful for scripts that converts existing system's fstab to use their /dev/ufsid devices. MFC after: 2 weeks END K 10 svn:author V 3 ray K 8 svn:date V 27 2011-07-14T10:05:28.349828Z K 7 svn:log V 85 Include device rt in RT305X config and little cleanup. Approved by: adrian (mentor) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-07-14T10:09:58.806467Z K 7 svn:log V 1629 - Refactoring the interface list. It now supports dynamically added/removed interfaces in a more consistent manner and reloading the configuration file. - Add initial support for control socket. RA information in the daemon can be obtained by rtadvctl(8) instead of SIGUSR1 in a similar manner to ifconfig(8). The information dump has been removed in favor of it. (reload the configuration file) # rtadvctl reload (show RA messages being sent on each interfaces) # rtadvctl show em0: flags= status= mtu 1280 DefaultLifetime: 30m MinAdvInterval/MaxAdvInterval: 3m20s/3m20s AdvLinkMTU: , Flags: O, Preference: medium ReachableTime: 0s, RetransTimer: 0s, CurHopLimit: 64 AdvIfPrefixes: yes (show RA messages being sent only on em0) # rtadvctl show em0 (rtadvctl -v show provides additional information) # rtadvctl -v show em0 em0: flags= status= mtu 1280 DefaultLifetime: 30m MinAdvInterval/MaxAdvInterval: 3m20s/3m20s AdvLinkMTU: , Flags: O, Preference: medium ReachableTime: 0s, RetransTimer: 0s, CurHopLimit: 64 AdvIfPrefixes: yes Prefixes (1): 2001:db8:1::/64 (CONFIG, vltime=30d, pltime=7d, flags=LA) RDNSS entries: 2001:db8:1::128 (ltime=2m40s) (stop rtadvd) # rtadvctl shutdown A remaining issue when reloading the configuration file is that during that period rtadvd cannot communicate with rtadvctl due to some additional RA sending for graceful shutdown. This will be fixed later. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2011-07-14T10:31:38.940133Z K 7 svn:log V 65 MIPS changes and conf files for XLP CPU_NLM added to XLP family END K 10 svn:author V 3 ray K 8 svn:date V 27 2011-07-14T11:09:37.881287Z K 7 svn:log V 79 Revert it back. Too many changes for one commit. Approved by: adrian (mentor) END K 10 svn:author V 3 ray K 8 svn:date V 27 2011-07-14T11:53:23.216800Z K 7 svn:log V 66 Include device rt in RT305X config. Approved by: adrian (mentor) END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-07-14T13:44:48.521868Z K 7 svn:log V 89 Unbreak no-INET kernels after r223839 adding the needed #ifdef INET. MFC after: 4 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-07-14T13:47:42.371858Z K 7 svn:log V 121 Fix indentation. Obtained from: Ed Maste at Sandvine Incorporated Sponsored by: Sandvine Incorporated MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-07-14T13:57:13.442309Z K 7 svn:log V 115 Import dialog 1.1-20110707. This adds support for several features (e.g. --hline) found in the old FreeBSD dialog. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-07-14T13:58:02.310423Z K 7 svn:log V 25 Tag dialog 1.1-20110707. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-07-14T14:01:36.910622Z K 7 svn:log V 31 Update dialog to 1.1-20110707. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-07-14T14:15:21.839507Z K 7 svn:log V 61 Remove ROUTEINFO and HAVE_POLL_H ifdefs to make things easy. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-07-14T14:18:14.076662Z K 7 svn:log V 362 Remove semaphore map entry count "semmap" field and its tuning option that is highly recommended to be adjusted in too much documentation while doing nothing in FreeBSD since r2729 (rev 1.1). ipcs(1) needs to be recompiled as it is accessing _KERNEL private variables. Reviewed by: jhb (before comment change on linux code) Sponsored by: Sandvine Incorporated END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-07-14T14:23:48.624695Z K 7 svn:log V 289 Backport SSSE3 instruction set support to base binutils and update VIA PadLock instruction set support. This has turned out to be necessary for some cases to catch up with gcc update in r221274 (MFC of r219639). This is direct commit to stable/8 Obtained from: GNU binutils CVS (GPLv2) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-07-14T14:24:20.132750Z K 7 svn:log V 17 Fix memory leak. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-07-14T15:35:43.384553Z K 7 svn:log V 161 Enable PREEMPTION for PowerPC/AIM generic kernels. The last known PREEMPTION bug on PowerPC was resolved by r223485, and it appears to run stably at this point. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-07-14T17:19:00.655893Z K 7 svn:log V 435 Add initial support for AX88772B USB Fast Ethernet. AX88772B supports IPv4/IPv6 checksum offloading and VLAN tag insertion/ stripping as well as WOL. Because uether does not provide a way to announce driver specific offload capabilities to upper stack, checksum offloading support needs more work and will be done in future. Special thanks to ASIX for donating sample hardware. H/W donated by: ASIX Electronics Reviewed by: hselasky END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-07-14T17:33:08.981612Z K 7 svn:log V 21 - Add more BRE tests END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-07-14T17:34:56.245574Z K 7 svn:log V 51 - Rename test file to have a more descriptive name END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-07-14T17:34:59.929726Z K 7 svn:log V 317 Document AX88772B and AX88760. AX88760 is treated as AX88772A in driver. Mention all ASIX USB controllers that are supported by axe(4). Reword media types and explicly mention AX88178 is the only controller that supports gigabit link. While I'm here use shorten model instead of showing all controller model numbers. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-07-14T17:43:18.788332Z K 7 svn:log V 68 Restore USB MIDI transmit buffer size to 1Kbyte. MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-07-14T17:43:23.411149Z K 7 svn:log V 89 Use _PATH_DEV and make the format more consistent with GEOM_LABEL. Submitted by: ivoras END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-07-14T17:50:16.049210Z K 7 svn:log V 30 - Run all tests with LC_ALL=C END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2011-07-14T18:06:13.678544Z K 7 svn:log V 506 Consistently check mount flag (MNTK_SUJ) rather than superblock flag (FS_SUJ) when determining whether to do journaling-based operations. The mount flag is set only when journaling is active while the superblock flag is set to indicate that journaling is to be used. For example, when the filesystem is mounted read-only, the journaling may be present (FS_SUJ) but not active (MNTK_SUJ). Inappropriate checking of the FS_SUJ flag was causing some journaling actions to be attempted at inappropriate times. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-07-14T18:11:51.814119Z K 7 svn:log V 44 - Add tests for some more special BRE cases END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-07-14T18:35:59.263901Z K 7 svn:log V 71 - Shift one character forward after matching "" to avoid infinite loop END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-07-14T18:37:10.671954Z K 7 svn:log V 32 - Add conventional license text END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-07-14T18:38:10.834324Z K 7 svn:log V 180 In ng_attach_cntl() first allocate things that may fail, and then do the rest of initialization. This simplifies code and fixes a double free in failure scenario. Reviewed by: bz END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-07-14T18:49:23.338914Z K 7 svn:log V 200 MFC 223091: Add location and pnpinfo strings for puc device ports. The location is announced during boot and contains the port number. The pnpinfo string lists the port type (PUC_TYPE_* constants). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-07-14T18:58:18.710621Z K 7 svn:log V 1393 MFC 223477,223597,223611: - The recent change to increase the zfsboot size to 64k made a few BIOSes unhappy (probably they don't handle crossing the 64k boundary, etc.). Fix this by changing zfsldr to use a loop reading from the disk one sector at a time. To avoid trashing the saved copy of the MBR which is used for disk I/O, read zfsboot2 at address 0x9000. This has the advantage that BTX no longer needs to be relocated as it is read into the correct location. However, the loop to relocate zfsboot2.bin can now cross a 64k boundary, so change it to use relative segments instead. (This will need further work if zfsboot2.bin ever exceeds 64k.) While here, stop storing a relocated copy of zfsldr at 0x700. This was only used by the xread hack which has recently been removed (and even that use was dubious). Also, include the BIOS error code as hex when reporting read errors to aid in debugging. - Remove the fake BPB from zfsldr. zfsldr doesn't support booting from floppies, so it will not be used as the start of an emulated floppy image on a bootable CD which is what the fake BPB was used for. - Only check that EDD packet mode is available once at the start of zfsldr rather than for each disk sector now that we read data in one sector at a time. As a result, collapse the remaining bits of read up into nread and rename nread to read. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-07-14T19:05:48.369020Z K 7 svn:log V 208 MFC 223510: Don't die if either of INET or INET6 aren't in the running kernel. Instead, report "protocol not supported" errors at runtime if a user attempts to use a protocol that the kernel doesn't support. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-07-14T19:09:48.819218Z K 7 svn:log V 100 MFC 223841: Always skip the kernel idle process if requested, it is not specific to the 'CPU' mode. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-07-14T19:18:17.611772Z K 7 svn:log V 52 Rename resource names to match these in login.conf. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-07-14T19:25:30.167982Z K 7 svn:log V 297 MFC 223870,223937: - Note that -a, -C, -H, -j, and -z are also toggles. - Add a leading space to the status messages output after toggling the 'C' and 'H' flags at runtime. This matches messages output for other toggles which leave the first column in the message blank to hold the cursor. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-07-14T19:25:42.566560Z K 7 svn:log V 297 MFC 223870,223937: - Note that -a, -C, -H, -j, and -z are also toggles. - Add a leading space to the status messages output after toggling the 'C' and 'H' flags at runtime. This matches messages output for other toggles which leave the first column in the message blank to hold the cursor. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-07-14T20:11:27.598879Z K 7 svn:log V 153 Use MFI_STAT_* constants for cmd_status field values rather than magic numbers in a few places. PR: bin/145960 Submitted by: gcooper MFC after: 1 week END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2011-07-14T20:17:05.960967Z K 7 svn:log V 111 When using -A option (unmount all mounted filesystems), do not attempt to unmount /dev as it will always fail. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-07-14T20:20:33.500205Z K 7 svn:log V 213 Support controllers whose option ROM is disabled in the BIOS by kicking the firmware so that it boots. PR: kern/154978 Submitted by: Andrew Boyer aboyer of averesystems com Obtained from: LSI MFC after: 1 week END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-07-14T21:00:26.658397Z K 7 svn:log V 170 If TSC stops ticking in C3, disable deep sleep when the user forcefully select TSC as timecounter hardware. Tested by: Fabian Keil (freebsd-listen at fabiankeil dot de) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-07-14T21:02:15.340432Z K 7 svn:log V 32 Prefer uint64_t over u_int64_t. END K 10 svn:author V 2 mp K 8 svn:date V 27 2011-07-14T21:06:22.776197Z K 7 svn:log V 228 Clear the filter memory area before using it. Leaving it uninitialized may leak previous kernel stack contents through a malicioius BPF filter. PR: kern/158880 Submitted by: Guy Harris Obtained from: OpenBSD MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-07-14T23:30:30.431514Z K 7 svn:log V 218 Add a missing check for the global ath_hal_debug. This was removed accidentally when the per HAL instance code was added, and not reverted when I added back the global debug variable (for early chip setup debugging.) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2011-07-15T00:36:47.908217Z K 7 svn:log V 148 Improve portability #defines for compiling aicasm on other systems. Submitted by: Robert Millan rmh debian.org Obtained from: Debian GNU/kFreeBSD END K 10 svn:author V 6 emaste K 8 svn:date V 27 2011-07-15T01:50:40.712093Z K 7 svn:log V 380 Remove note that claims pthread_set_name_np is for debugging only. As Garrett points out, It is no more a debugging interface than setproctitle(3), and has not been since the name started getting stuffed into the kernel. This statement may have made sense when the name was only visible in thread state dumps and the debugger. PR: threads/158815 Submitted by: wollman@ END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2011-07-15T01:59:08.947769Z K 7 svn:log V 42 Remove "-n" from echo Reviewed by: dougb END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-07-15T02:11:26.774733Z K 7 svn:log V 72 In pmap_protect(), don't call vm_page_dirty() if the page is unmanaged. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-07-15T02:16:13.081808Z K 7 svn:log V 99 Set preload_addr_relocate accordingly so that preloaded modules and images are properly relocated. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-07-15T02:29:10.862424Z K 7 svn:log V 218 Do not call platform_gpio_init() early. It doesn't work because we do not have enough information to reliably setup GPIO pins. Do it when we attach the gpio driver. This prevents hangs and the need to fake up a softc. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-07-15T04:31:50.272273Z K 7 svn:log V 74 Add conditions to accept or send RAs on 8.X and prior to make MFC easier. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-07-15T04:49:30.683525Z K 7 svn:log V 126 - Use the exact-width integer type for a member that need an exact-width in the data structure. - s/u_int[0-9]*_t/uint$1_t/ END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-07-15T05:57:09.645598Z K 7 svn:log V 80 - Fix grammatical errors. - Add AUTHOURS section. Suggested by: Benjamin Kaduk END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-07-15T06:54:21.455322Z K 7 svn:log V 42 Implement enable and disable subcommands. END K 10 svn:author V 8 jonathan K 8 svn:date V 27 2011-07-15T09:37:14.688684Z K 7 svn:log V 422 Add implementation for capabilities. Code to actually implement Capsicum capabilities, including fileops and kern_capwrap(), which creates a capability to wrap an existing file descriptor. We also modify kern_close() and closef() to handle capabilities. Finally, remove cap_filelist from struct capability, since we don't actually need it. Approved by: mentor (rwatson), re (Capsicum blanket) Sponsored by: Google Inc END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-07-15T11:30:41.711545Z K 7 svn:log V 151 pmcstat, pmccontrol: catch up with removal of machdep.hlt_cpus sysctl Reported by: Pan Tsu Reviewed by: attilio No objections: gnn END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-07-15T11:46:54.736296Z K 7 svn:log V 181 Fix logical_cpus_mask retrieving by using, correctly, cpuset_t. This fix also a bug where pmccontrol uses a 32 static type rather than old cpumask_t. Reported and reviewed by: avg END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2011-07-15T15:43:40.732853Z K 7 svn:log V 149 Break out the pass 5 inode and block map updating into a separate function so that the function can be used by the journaling soft updates recovery. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-07-15T15:56:23.971447Z K 7 svn:log V 57 Remove an extra '.It' from axe(4). Reported by: manlint END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2011-07-15T16:20:33.080179Z K 7 svn:log V 430 Add an FFS specific mount option to allow a filesystem checker (typically fsck_ffs) to register that it wishes to use FFS specific sysctl's to update the filesystem. This ensures that two checkers cannot run on a given filesystem at the same time and that no other process accidentally or maliciously uses the filesystem updating sysctls inappropriately. This functionality is needed by the journaling soft-updates recovery code. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-07-15T17:23:45.588109Z K 7 svn:log V 136 Revert 130163 and let top use KERN_PROC_PROC when individual threads are not displayed. The KERN_PROC_PROC sysctl was fixed in 188764. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2011-07-15T17:27:26.838894Z K 7 svn:log V 82 Delete duplicate tags entry I introduced in -r223901. Submitted-by: John Baldwin END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-07-15T17:36:11.687844Z K 7 svn:log V 59 The prefixlen() function requires unsigned char arguments. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-07-15T18:10:59.370089Z K 7 svn:log V 79 MFC r223115: Don't attempt to create the base directory when -d is specified. END K 10 svn:author V 8 jonathan K 8 svn:date V 27 2011-07-15T18:26:19.155122Z K 7 svn:log V 313 Add cap_new() and cap_getrights() system calls. Implement two previously-reserved Capsicum system calls: - cap_new() creates a capability to wrap an existing file descriptor - cap_getrights() queries the rights mask of a capability. Approved by: mentor (rwatson), re (Capsicum blanket) Sponsored by: Google Inc END K 10 svn:author V 8 jonathan K 8 svn:date V 27 2011-07-15T18:33:12.496979Z K 7 svn:log V 144 Auto-generated system call code with cap_new(), cap_getrights(). Approved by: mentor (rwatson), re (Capsicum blanket) Sponsored by: Google Inc END K 10 svn:author V 4 joel K 8 svn:date V 27 2011-07-15T19:02:44.296911Z K 7 svn:log V 35 Sort snd_* entries alphabetically. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-07-15T21:08:58.443316Z K 7 svn:log V 901 Respect the BIOS/firmware's notion of acceptable address ranges for PCI resource allocation on x86 platforms: - Add a new helper API that Host-PCI bridge drivers can use to restrict resource allocation requests to a set of address ranges for different resource types. - For the ACPI Host-PCI bridge driver, use Producer address range resources in _CRS to enumerate valid address ranges for a given Host-PCI bridge. This can be disabled by including "hostres" in the debug.acpi.disabled tunable. - For the MPTable Host-PCI bridge driver, use entries in the extended MPTable to determine the valid address ranges for a given Host-PCI bridge. This required adding code to parse extended table entries. Similar to the new PCI-PCI bridge driver, these changes are only enabled if the NEW_PCIB kernel option is enabled (which is enabled by default on amd64 and i386). Approved by: re (kib) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2011-07-15T21:30:50.948548Z K 7 svn:log V 237 MFC of 197332: Remember to unlock the peripheral prior to notifying the user. Make some allocations M_NOWAIT so that we don't try and sleep with a nested non-sleepable lock. This makes the userland scsi_target begin to function again. END K 10 svn:author V 2 zi K 8 svn:date V 27 2011-07-15T21:37:13.813710Z K 7 svn:log V 63 Add myself to committers-ports.dot Approved by: wxs@ (mentor) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-07-16T00:30:23.543668Z K 7 svn:log V 335 The i8259 controller is initialized incorrectly on MALTA. It writes mask bits to control register and control bits to mask register. The former causes ICW1_RESET|ICW1_LTIM combination to be written to control register, which on QEMU results in "level sensitive irq not supported" error. Submitted by: Robert Millan END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-07-16T01:49:38.516181Z K 7 svn:log V 42 Minor typo fix, s/config.in/configure.in/ END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-07-16T01:55:51.454215Z K 7 svn:log V 81 Fork the vendor branch to allow for continued support of BIND 9.6.x for RELENG_8 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-07-16T02:13:03.388915Z K 7 svn:log V 24 Update dist -> dist-9.6 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-07-16T07:12:02.699575Z K 7 svn:log V 49 Handle the MK_BIND_XML option more intelligently END K 10 svn:author V 4 zack K 8 svn:date V 27 2011-07-16T08:04:57.469138Z K 7 svn:log V 238 Small acl patch to return the aclerror that comes back from nfsrv_dissectacl(). This fixes a problem where ATTRNOTSUPP was being returned instead of BADOWNER. Reviewed by: rmacklem Approved by: zml (mentor) MFC after: 2 weeks END K 10 svn:author V 4 zack K 8 svn:date V 27 2011-07-16T08:05:17.023666Z K 7 svn:log V 157 Move nfsvno_pathconf to be accessible to sys/fs/nfs; no functionality change. Reviewed by: rmacklem Approved by: zml (mentor) MFC after: 2 weeks END K 10 svn:author V 4 zack K 8 svn:date V 27 2011-07-16T08:05:21.564827Z K 7 svn:log V 224 Change loadattr and fillattr to ask the file system for the pathconf variable. Small modification where VOP_PATHCONF was being called directly. Reviewed by: rmacklem Approved by: zml (mentor) MFC after: 2 weeks END K 10 svn:author V 4 zack K 8 svn:date V 27 2011-07-16T08:05:26.214225Z K 7 svn:log V 152 Remove unnecessary thread pointer from VOPLOCK macros and current users. Reviewed by: rmacklem Approved by: zml (mentor) MFC after: 2 weeks END K 10 svn:author V 4 zack K 8 svn:date V 27 2011-07-16T08:05:31.044998Z K 7 svn:log V 219 Simple find/replace of vn_lock -> NFSVOPLOCK. This is done so that NFSVOPLOCK can be modified later to add enhanced logging and assertions. Reviewed by: rmacklem Approved by: zml (mentor) MFC after: 2 weeks END K 10 svn:author V 4 zack K 8 svn:date V 27 2011-07-16T08:05:36.236088Z K 7 svn:log V 226 Simple find/replace of VOP_UNLOCK -> NFSVOPUNLOCK. This is done so that NFSVOPUNLOCK can be modified later to add enhanced logging and assertions. Reviewed by: rmacklem Approved by: zml (mentor) MFC after: 2 weeks END K 10 svn:author V 4 zack K 8 svn:date V 27 2011-07-16T08:05:41.732700Z K 7 svn:log V 232 Simple find/replace of VOP_ISLOCKED -> NFSVOPISLOCKED. This is done so that NFSVOPISLOCKED can be modified later to add enhanced logging and assertions. Reviewed by: rmacklem Approved by: zml (mentor) MFC after: 2 weeks END K 10 svn:author V 4 zack K 8 svn:date V 27 2011-07-16T08:05:49.002287Z K 7 svn:log V 135 Add a small comment about unloading the kgsappi module. Reviewed by: rmacklem Approved by: zml (mentor) MFC after: 2 weeks END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-07-16T08:29:12.422187Z K 7 svn:log V 226 - Add two missing functions to the LibUSB v0.1 API. - Clamp the string length to 255 bytes when getting the interface description. - Clamp data request length to 65535 bytes when doing control requests. MFC after: 3 days END K 10 svn:author V 4 zack K 8 svn:date V 27 2011-07-16T08:51:09.982029Z K 7 svn:log V 626 Add DEXITCODE plumbing to NFS. Isilon has the concept of an in-memory exit-code ring that saves the last exit code of a function and allows for stack tracing. This is very helpful when debugging tough issues. This patch is essentially a no-op for BSD at this point, until we upstream the dexitcode logic itself. The patch adds DEXITCODE calls to every NFS function that returns an errno error code. A number of code paths were also reorganized to have single exit paths, to reduce code duplication. Submitted by: David Kwan Reviewed by: rmacklem Approved by: zml (mentor) MFC after: 2 weeks END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-07-16T09:20:22.871071Z K 7 svn:log V 597 - Implement burst unsolicited RA sending by using the ra_timer framework when AdvSendAdvertisements and/or configuration entries are changed as described in RFC 4861 6.2.4. This fixes issues that make termination of the rtadvd daemon take very long time and rtadvctl(8) utility become unresponsive after reloading the configuration file. An interface now has three states, UNCONFIGURED, TRANSITIVE, or CONFIGURED, and the burst unsolicited sending happens only in TRANSITIVE. See rtadvd.h for the details. - Remove extra make_packet(). - rtadvctl(8) now displays the RA timers. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-07-16T10:41:09.496663Z K 7 svn:log V 22 Update for BIND 9.8.x END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-07-16T10:47:53.731346Z K 7 svn:log V 35 Add myself for the BIND 9.8 import END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-07-16T10:49:33.486589Z K 7 svn:log V 31 Vendor import of BIND 9.8.0-P4 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-07-16T10:51:12.251025Z K 7 svn:log V 25 Tag the 9.8.0-P4 release END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-07-16T11:12:09.146580Z K 7 svn:log V 110 Upgrade to version 9.8.0-P4 This version has many new features, see /usr/share/doc/bind9/README for details. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-07-16T11:20:54.872083Z K 7 svn:log V 464 bmake and other updates necessary for the BIND 9.8.x upgrade. This includes a structural change regarding atomic ops. Previously they were enabled on all platforms unless we had knowledge that they did not work. However both work performed by marius@ on sparc64 and the fact that the 9.8.x branch is fussier in this area has demonstrated that this is not a safe approach. So I've modified a patch provided by marius to enable them for i386, amd64, and ia64 only. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-07-16T11:34:38.547440Z K 7 svn:log V 24 BIND 9.8 import is done END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-07-16T12:50:30.880655Z K 7 svn:log V 119 Fix for VirtualBox 4.x and other virtual machines that fail to generate a port reset change event. MFC after: 1 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-07-16T14:05:34.743092Z K 7 svn:log V 94 Fix build when NEW_PCIB is not defined. Submitted by: gcooper (partially) Pointy hat to: jhb END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-07-16T14:06:02.479716Z K 7 svn:log V 33 Fix build with NEW_PCIB defined. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-07-16T14:07:44.228288Z K 7 svn:log V 144 Enable the new PCI-PCI bridge driver on pc98 by default. I missed this in 221394 when I had meant to enable it on all i386 systems by default. END K 10 svn:author V 6 philip K 8 svn:date V 27 2011-07-16T14:49:57.006671Z K 7 svn:log V 50 Import today's snapshot of the PCI ID Repository. END K 10 svn:author V 6 philip K 8 svn:date V 27 2011-07-16T14:51:28.019069Z K 7 svn:log V 47 Tag today's snapshot of the PCI ID Repository. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-07-16T15:10:43.121847Z K 7 svn:log V 13 Fix fd leak. END K 10 svn:author V 6 philip K 8 svn:date V 27 2011-07-16T15:40:26.173386Z K 7 svn:log V 325 MFV pciids-20110716, r224099 Update to use the latest version of the PCI IDs Repository. As discussed on -current@ in May, this brings in a new source of the database, which is also used by other operating systems. Our previous sources no longer exist and this database is actively maintained and more complete in general. END K 10 svn:author V 6 philip K 8 svn:date V 27 2011-07-16T15:43:14.232024Z K 7 svn:log V 241 Garbage-collect the tools for maintaining the previous PCI vendors list. The sources this tool collates are no longer available and the format of the current database is directly usable by pciconf(8) without needing any special processing. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-07-16T16:14:14.881584Z K 7 svn:log V 86 sh: Add a test for a fairly obscure case with aliases. This also passes on stable/8. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2011-07-16T17:22:01.655858Z K 7 svn:log V 341 Support compiling MIPS elf trampoline with a different ABI. Allow changing the trampoline ABI with makeoptions, this will allow us to have a trampoline with a different ABI from the kernel. Useful in cases where we have to boot a 64 bit kernel from a bootloader which supports only 32 bit or vice versa. Approved by: bz(re), jmallett, imp END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-07-16T19:01:09.604648Z K 7 svn:log V 356 Add support for booting PS3s from disk. This is still a little hackish until we can find a way to get the information from petitboot or to guess it, so the current algorithm is: 1. See if ps3disk3p1 (first GPT slice on OtherOS partition) exists, and if so try to boot it. 2. Otherwise, netboot. Submitted by: glevand END K 10 svn:author V 3 zec K 8 svn:date V 27 2011-07-16T19:11:45.428085Z K 7 svn:log V 158 Clear pending ifnet events, in an attempt at preventing ng_ether_link_state() from being dispatched after we have cleared our IFP2NG(ifp). MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-07-16T19:25:47.176627Z K 7 svn:log V 82 Add PS3 partitioning (and framework for future pseries support) to the installer. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-07-16T19:28:43.335827Z K 7 svn:log V 73 MFC r223884: Implement bitcount16. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2011-07-16T19:35:44.128369Z K 7 svn:log V 267 Add MIPS platform files for Netlogic XLP SoC. Processor, UART, PIC and Messaging Network code. Also add sys/mips/nlm/hal for on-chip device registers. In collaboration with: Prabhath Raman Approved by: bz(re), jmallett, imp(mips) END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-07-16T19:38:08.860780Z K 7 svn:log V 128 MFC r223885: Implement pci_find_class(9), the function to find a pci device by its class. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-07-16T19:56:07.321895Z K 7 svn:log V 249 Add a few more helper functions for working with memory descriptors: o efi_md_find() - returns the md that covers the given address o efi_md_last() - returns the last md in the list o efi_md_prev() - returns the md that preceeds the given md. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-07-16T20:03:23.304638Z K 7 svn:log V 402 MFC r223886: Implement a helper functions to locally set thread-private flag, and restore it to the previous state. Note that only setting a flag locally is supported. MFC r223887: Use helper functions instead of manually managing TDP_INBDFLUSH. MFC r223888: Use 'curthread_pflags' instead of 'thread_pflags' to signify that only curthread can be operated upon. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-07-16T20:16:49.862595Z K 7 svn:log V 555 Don't send EOI to the CPU before we handled the interrupt. This could potentially trigger multiple pending interrupts for level-sensitive interrupts. However, the event timer interrupt does need EOI before being handled to avoid missing clock events. These conflicting requirements are handled by having the XIV handler inform the dispatch code whether or not it send EOI to the CPU. If not, the dispatch code will do it. This allows handlers to send EOI before doing potentially long-running activities, while still have a sensible default behaviour. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2011-07-16T20:31:29.520224Z K 7 svn:log V 434 MIPS changes for Netlogic XLP support. This patch adds support for the Netlogic XLP mips64 processors in the common MIPS code. The changes are : - Add CPU_NLM processor type - Add cases for CPU_NLM, mostly were CPU_RMI is used. - Update cache flush changes for CPU_NLM - Add kernel build configuration files for xLP. In collaboration with: Prabhath Raman Approved by: bz(re), jmallett, imp(mips) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-07-16T20:34:02.265971Z K 7 svn:log V 566 Don't assume pmap_mapdev() gets called only for memory mapped I/O addresses (i.e. uncacheable). ACPI in particular uses pmap_mapdev() rather excessively (number of calls) just to get a valid KVA. To that end, have pmap_mapdev(): 1. cache the last result so that we don't waste time for multiple consecutive invocations with the same PA/SZ. 2. find the memory descriptor that covers the PA and return NULL if none was found or when the PA is for a common DRAM address. 3. Use either a region 6 or region 7 KVA, in accordance with the memory attribute. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-07-16T20:53:27.972740Z K 7 svn:log V 663 The new NFSv4 client handled NFSERR_GRACE as a fatal error for the remove and rename operations. Some NFSv4 servers will report NFSERR_GRACE for these operations. This patch changes the behaviour of the client so that it handles NFSERR_GRACE like NFSERR_DELAY for non-state related operations like remove and rename. It also exempts the delegreturn operation from handling within newnfs_request() for NFSERR_DELAY/NFSERR_GRACE so that it can handle NFSERR_GRACE in the same manner as before. This problem was resolved thanks to discussion with bfields at fieldses.org. The problem was identified at the recent NFSv4 ineroperability bakeathon. MFC after: 2 weeks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-07-16T21:14:29.104123Z K 7 svn:log V 22 Sync with head@224117 END K 10 svn:author V 7 linimon K 8 svn:date V 27 2011-07-16T22:01:18.540117Z K 7 svn:log V 120 For some reason, INDEX is not building with -j6. Temporarily revert to -j1 until someone has some time to investigate. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-07-17T01:23:50.294399Z K 7 svn:log V 224 Don't include mptable_pci.c in Xen kernels. It is only meant for systems that truly have an MPTable. The MPTable code in Xen is really a Xen specific CPU enumerator and probably shouldn't be using the mptable name at all. END K 10 svn:author V 4 zack K 8 svn:date V 27 2011-07-17T03:44:05.709223Z K 7 svn:log V 147 Revert revision 224079 as Rick pointed out that I would be calling VOP_PATHCONF without the vnode lock held. Implicitly approved by: zml (mentor) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-07-17T04:10:00.145043Z K 7 svn:log V 150 Fix the location of the default pid file in named.8 Problem pointed out in the PR PR: conf/155006 Submitted by: Helmut Schneider END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-07-17T05:33:22.350485Z K 7 svn:log V 142 Remove the 'either' from the comment as it'll be less obvious that we removed semmap in a bit of time from now. Re-wrap. Suggested by: jhb END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-07-17T06:05:44.788210Z K 7 svn:log V 83 Pick up the 2011-06-08 update to this file, the addition of an IPv6 address for D. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-07-17T06:20:47.931493Z K 7 svn:log V 120 Commemorate the release of RFC 6303 by updating the comments regarding our default empty zones. No functional changes. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-07-17T08:19:19.498833Z K 7 svn:log V 354 Restore binary compatibility for GIO_KEYMAP and PIO_KEYMAP. Back in 2009 I changed the ABI of the GIO_KEYMAP and PIO_KEYMAP ioctls to support wide characters. I created a patch to add ABI compatibility for the old calls, but I didn't get any feedback to that. It seems now people are upgrading from 8 to 9 they experience this issue, so add it anyway. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-07-17T10:13:33.734444Z K 7 svn:log V 148 MFC r223914: Extract the code to translate VM error into errno, into an exported function vm_mmap_to_errno(). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-07-17T11:24:34.341204Z K 7 svn:log V 40 Comment out a not-yet-implemented part. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-07-17T12:07:22.225955Z K 7 svn:log V 67 Fixes to make the WITH_BIND_LIBS option functional with BIND 9.8.x END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-07-17T12:42:51.047461Z K 7 svn:log V 69 Don't ignore negatively decoded address ranges. Reported by: scottl END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-07-17T13:50:21.666595Z K 7 svn:log V 386 When building some of the boot loaders with clang, and DEBUG_FLAGS or CFLAGS having '-g' in it, clang outputs several assembly directives that are too new for our version of binutils. Therefore, assemble the resulting .s files with clang instead. A more general solution can be implemented when a GNU as-compatible driver for clang's integrated assembler appears. Reported by: dougb END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-07-17T14:52:55.990484Z K 7 svn:log V 320 rc.d/routing: Fix ugly output with additional routing options. Print a separate "Additional routing options" line for each address family which has additional options, so that it does not get mixed up with the output from adding routes. This also reverts r224048 which added newlines to two arbitrary routing options. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-07-17T15:36:56.723048Z K 7 svn:log V 88 Vendor import of llvm trunk r135360: http://llvm.org/svn/llvm-project/llvm/trunk@135360 END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-07-17T15:38:20.020054Z K 7 svn:log V 18 Tag llvm r135360. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-07-17T15:40:56.000871Z K 7 svn:log V 88 Vendor import of clang trunk r135360: http://llvm.org/svn/llvm-project/cfe/trunk@135360 END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-07-17T15:41:32.330589Z K 7 svn:log V 19 Tag clang r135360. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-07-17T16:21:16.359214Z K 7 svn:log V 268 On head I made pmap_mapdev() strict. This is not good for the Altix, as we have I/O memory translation on top of address spaces. None of that is covered by memory descriptors. So, restore the old behavior of returning a region 6 VA if there's no MD describing the PA. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-07-17T16:30:57.808216Z K 7 svn:log V 22 Sync with head@224137 END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-07-17T16:50:12.799422Z K 7 svn:log V 131 Fix compilation of mips kernels adding apropriate #ifdefs after r224115. Pointed out by: Luiz Otavio O Souza (lists.br gmail.com) END K 10 svn:author V 5 marck K 8 svn:date V 27 2011-07-17T17:12:17.077121Z K 7 svn:log V 81 Correct small typo in a do{}while(0) define Approved by: kib MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-07-17T17:33:39.212157Z K 7 svn:log V 91 Correct the description of struct pfioc_state_kill. PR: kern/158997 Submitted by: ohauer END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2011-07-17T18:24:05.350073Z K 7 svn:log V 69 Integrate from Head into ZFSD feature branch as of revision r224141. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2011-07-17T18:51:51.377645Z K 7 svn:log V 165 Comment out KDB/DDB related options for N32 kernel. DDB files have warnings in this ABI which will break the kernel build unless Werror is ignored Reported by: bz END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-07-17T19:24:54.052488Z K 7 svn:log V 849 - Improve interface list handling. The rtadvd(8) now supports dynamically- added/removed interfaces in a more consistent manner and reloading the configuration file. - Implement burst unsolicited RA sending into the internal RA timer framework when AdvSendAdvertisements and/or configuration entries are changed as described in RFC 4861 6.2.4. This fixes issues that make termination of the rtadvd(8) daemon take very long time. An interface now has three internal states, UNCONFIGURED, TRANSITIVE, or CONFIGURED, and the burst unsolicited sending happens in TRANSITIVE. See rtadvd.h for the details. - rtadvd(8) now accepts non-existent interfaces as well in the command line. - Add control socket support and rtadvctl(8) utility to show the RA information in rtadvd(8). Dumping by SIGUSR1 has been removed in favor of it. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-07-17T19:51:40.433122Z K 7 svn:log V 66 Upgrade our copy of llvm/clang to r135360, from upstream's trunk. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-07-17T20:02:29.201398Z K 7 svn:log V 40 Fix svn:mergeinfo for merge of r216057. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-07-17T20:35:30.753560Z K 7 svn:log V 141 Add some spare fields to the g_class and g_geom structures needed to implement direct I/O handling and provider's property changes handling. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-07-17T20:47:34.872285Z K 7 svn:log V 44 Add a closing '.El' tag. Found by: manlint END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-07-17T20:49:38.880478Z K 7 svn:log V 501 MFC: r223747 Modify the new NFSv4 client so that it appends a file handle to the lock_owner4 string that goes on the wire. Also, add code to do a ReleaseLockOwner Op on the lock_owner4 string before a Close. Apparently not all NFSv4 servers handle multiple instances of the same lock_owner4 string, at least not in a compatible way. This patch avoids having multiple instances, except for one unusual case, which will be fixed by a future commit. Found at the recent NFSv4 interoperability Bakeathon. END K 10 svn:author V 6 rstone K 8 svn:date V 27 2011-07-17T21:08:16.458549Z K 7 svn:log V 717 The MBR uses a 32-bit unsigned integer to store the size of a slice, but fdisk(1) internally uses a signed int. Should a user attempt to specify a slice containing more than 2^31 - 1 sectors, an error will be reported on systems with sizeof(long) == 4 and the slice size will be silently truncated on systems with sizeof(long) > 4. Instead use an unsigned long to store the slice size in fdisk(1). This allows the user to specify a slice size up to the maximum permitted by the MBR on-disk format and does not have any problems with silent truncation should the use specify an slice size larger than 2^32 on systems with sizeof(long) > 4. Submitted by: Mark Johnston (markjdb AT gmail DOT com) MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-07-17T21:15:20.853275Z K 7 svn:log V 339 Add spares to the network stack for FreeBSD-9: - TCP keep* timers - TCP UTO (adjust from what was there already) - netmap - route caching - user cookie (temporary to allow for the real fix) Slightly re-shuffle struct ifnet moving fields out of the middle of spares and to better align. Discussed with: rwatson (slightly earlier version) END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-07-17T21:27:38.320706Z K 7 svn:log V 179 - Update libarchive to 2.8.4 - Add support for extracting xar and rpm archives - Add libarchive_fe subdir (common code for tar and cpio) Approved by: kientzle MFC after: 2 weeks END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-07-17T21:33:15.517722Z K 7 svn:log V 115 Update bsdtar to 2.8.4 Use common code from lib/libarchive/libarchive_fe Approved by: kientzle MFC after: 2 weeks END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-07-17T21:42:22.298399Z K 7 svn:log V 116 Update bsdcpio to 2.8.4 Use common code from lib/libarchive/libarchive_fe Approved by: kientzle MFC after: 2 weeks END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-07-17T21:52:55.655509Z K 7 svn:log V 99 Append to CPIO_SRCS instead of using TAR_SRCS, the variable name is misleading MFC after: 2 weeks END K 10 svn:author V 6 rstone K 8 svn:date V 27 2011-07-17T21:53:42.730121Z K 7 svn:log V 1135 Fix a LOR between hwpmc and the kernel linker. When a system-wide sampling mode PMC is allocated, hwpmc calls linker_hwpmc_list_objects() while already holding an exclusive lock on pmc-sx lock. list_objects() tries to acquire an exclusive lock on the kld_sx lock. When a KLD module is loaded or unloaded successfully, kern_kld(un)load calls into the pmc hook while already holding an exclusive lock on the kld_sx lock. Calling the pmc hook requires acquiring a shared lock on the pmc-sx lock. Fix this by only acquiring a shared lock on the kld_sx lock in linker_hwpmc_list_objects(), and also downgrading to a shared lock on the kld_sx lock in kern_kld(un)load before calling into the pmc hook. In kern_kldload this required moving some modifications of the linker_file_t to happen before calling into the pmc hook. This fixes the deadlock by ensuring that the hwpmc -> list_objects() case is always able to proceed. Without this patch, I was able to deadlock a multicore system within minutes by constantly loading and unloading an KLD module while I simultaneously started a sampling mode PMC in a loop. MFC after: 1 month END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-07-17T21:54:51.030623Z K 7 svn:log V 333 Revert r222135 by allowing controller reinitialization. Due to unknown reason Apple UniNorth2 gem(4) device required manual interface down/up operation after r222135. Even though this is not correct thing and I don't like to revert it but it would be better than breaking gem(4) on PPC. This should be revisited. PR: kern/157405 END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-07-17T21:57:10.566235Z K 7 svn:log V 106 Fix accidential commit part: Include "bsdtar_platform.h" instead of "lafe_platform.h" MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-07-17T23:05:24.646905Z K 7 svn:log V 800 Define two new sysctl node flags: CTLFLAG_CAPRD and CTLFLAG_CAPRW, which may be jointly referenced via the mask CTLFLAG_CAPRW. Sysctls with these flags are available in Capsicum's capability mode; other sysctl nodes are not. Flag several useful sysctls as available in capability mode, such as memory layout sysctls required by the run-time linker and malloc(3). Also expose access to randomness and available kernel features. A few sysctls are enabled to support name->MIB conversion; these may leak information to capability mode by virtue of providing resolution on names not flagged for access in capability mode. This is, generally, not a huge problem, but might be something to resolve in the future. Flag these cases with XXX comments. Submitted by: jonathan Sponsored by: Google, Inc. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-07-17T23:11:25.932883Z K 7 svn:log V 26 Merge from HEAD @ 224158. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2011-07-17T23:39:54.654862Z K 7 svn:log V 72 Integrate from head into the ZFSD feature branch as of revision 224147. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2011-07-18T00:49:35.894382Z K 7 svn:log V 9 Unbreak. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2011-07-18T01:01:44.205505Z K 7 svn:log V 42 Also clean up /tmp/${buildid}/ when done. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2011-07-18T01:02:44.248914Z K 7 svn:log V 30 Add some more error checking. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2011-07-18T01:04:19.462354Z K 7 svn:log V 124 Modernize the check for "enough disk space in /tmp". This seems to cut down on the "truncated dependent packages" problem. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2011-07-18T01:05:50.076321Z K 7 svn:log V 20 Add some debugging. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2011-07-18T01:07:49.893418Z K 7 svn:log V 56 Add some debugging, and put it under conditional flags. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2011-07-18T01:09:43.432256Z K 7 svn:log V 42 Add some debugging (disabled by default). END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2011-07-18T02:13:21.737741Z K 7 svn:log V 332 cddl/contrib/opensolaris/lib/libzfs/common/libzfs.h: cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c: o Add zpool_pool_state_to_name() API to libzfs which converts a pool_state_t into a user consumable string. o While here, correct constness of make zpool_state_to_name() and zpool_label_disk(). MFD after: 1 week END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2011-07-18T03:00:59.237913Z K 7 svn:log V 660 Correct reporting of missing leaf vdevs so that the GUID required to perform pool actions is always displayed. cddl/contrib/opensolaris/cmd/zpool/zpool_main.c: The "zpool status" command reports the "last seen at" device node path when the vdev name is being reported by GUID. Augment this code to assume a GUID is reported when a device goes missing after initial boot in addition to the previous behavior of doing this for devices that aren't seen at boot. cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c: In zpool_vdev_name(), report recently missing devices by GUID. There is no guarantee they will return at their previous location. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2011-07-18T03:18:06.831887Z K 7 svn:log V 428 cddl/contrib/opensolaris/cmd/zpool/zpool_main.c: cddl/contrib/opensolaris/cmd/zpool/zpool.8: cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c: Add the "zpool labelclear" command. This command can be used to wipe the label data from a drive that is not active in a pool. The optional "-f" argument can be used to treat an exported or foreign vdev as "inactive" thus allowing its label information to be cleared. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2011-07-18T03:40:49.315944Z K 7 svn:log V 68 Integrate from head into ZFSD feature branch as of revision 224171. END K 10 svn:author V 6 avatar K 8 svn:date V 27 2011-07-18T04:54:12.944661Z K 7 svn:log V 225 MFC r223035: Using statfs.f_fstypename rather than statfs.f_type whilst performing fstype comparsion as nullfs will copy f_type from underlayer FS. PR: bin/156258 Submitted by: Marcin Wisnicki END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-07-18T07:16:44.301215Z K 7 svn:log V 181 Resurrect the ZFS "aclmode" property Change default of "aclmode" to "discard". Illumos-gate changeset: 13370:8c04143bd318 Obtained from: Illumos (Feature #742) MFC after: 2 weeks END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-07-18T08:10:49.659789Z K 7 svn:log V 63 The named.reload script is no longer useful in the age of rc.d END K 10 svn:author V 7 linimon K 8 svn:date V 27 2011-07-18T08:27:40.124449Z K 7 svn:log V 40 Remove false positives for assumes_gcc. END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-07-18T08:29:49.182550Z K 7 svn:log V 436 ZFS tries to allocate blocks evenly across all devices. This means when devices are imbalanced zfs will lots of CPU searching for space on devices which tend to be pretty full. It should instead fail quickly on the full devices and move onto devices which have more availability. New loader tunable: vfs.zfs.mg_alloc_failures (min = 8) Illumos-gate changeset: 13379:4df42cc92254 Obtained from: Illumos (Bug #1051) MFC after: 2 weeks END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-07-18T08:38:08.584593Z K 7 svn:log V 133 MFC r223755: - Make the USB keyboard driver more HID compliant. - Try to auto-detect keyboards which should use the BOOT protocol. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-07-18T10:29:16.117677Z K 7 svn:log V 309 If compiling RESCUE always ignore feature_present(3) calls so that a /rescue/ifconfig more modern than the kernel could still configure IPv4 or IPv6 addresses. Reported by: Andrzej Tobola (ato iem.pw.edu.pl) Reported by: gcooper MFC after: 1 day X-MFC: will not MFC any time soon, just reminder for r222527 END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-07-18T12:03:58.440977Z K 7 svn:log V 192 Only the USB root HUB thread is allowed to attach and detach drivers to and from USB devices. Remove related DEVMETHOD() lines from USB drivers. Reported by: YongHyeon PYUN MFC after: 3 days END K 10 svn:author V 8 jonathan K 8 svn:date V 27 2011-07-18T12:58:18.322864Z K 7 svn:log V 340 Provide ability to audit cap_rights_t arguments. We wish to be able to audit capability rights arguments; this code provides the necessary infrastructure. This commit does not, of itself, turn on such auditing for any system call; that should follow shortly. Approved by: mentor (rwatson), re (Capsicum blanket) Sponsored by: Google Inc END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2011-07-18T12:59:31.719851Z K 7 svn:log V 105 Turn on commit approval for head as part of the 9.0-RELEASE release cycle. Approved by: core (implicit) END K 10 svn:author V 3 flz K 8 svn:date V 27 2011-07-18T13:49:59.864260Z K 7 svn:log V 40 portbuild: various pkgng related fixes. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-07-18T14:04:37.539322Z K 7 svn:log V 102 Implement bus_adjust_resource() for the ia64 nexus driver. Reviewed by: marcel Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-07-18T14:05:14.954730Z K 7 svn:log V 67 Enable NEW_PCIB by default on ia64. Approved by: re (kib), marcel END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-07-18T14:41:08.611026Z K 7 svn:log V 42 - Add support for extended regex matching END