ƒ°x171774 155 1384 251 228 165 140 466 214 155 148 150 542 298 183 184 183 238 197 348 345 288 280 178 301 319 150 476 385 197 586 267 142 1226 639 303 162 211 198 918 1636 236 176 129 586 692 265 365 337 273 357 247 806 111 237 157 237 144 237 143 237 192 231 180 163 278 545 146 194 379 220 122 232 359 237 220 216 734 265 250 762 237 629 548 712 314 586 253 210 135 215 246 165 998 306 195 225 292 179 792 800 311 267 448 264 205 127 135 228 425 164 209 1044 327 199 605 225 179 280 521 1097 156 134 270 355 185 312 362 445 320 423 573 1517 572 518 573 283 256 256 295 190 201 260 163 176 493 205 278 245 315 137 536 265 280 150 441 763 K 10 svn:author V 3 bde K 8 svn:date V 27 2007-08-07T10:35:27.000000Z K 7 svn:log V 1290 In msdosfs_read() and msdosfs_write(), don't check explicitly for (uio_offset < 0) since this can't happen. If this happens, then the general code handles the problem safely (better than before for reading, returning 0 (EOF) instead of the bogus errno EINVAL, and the same as before for writing, returning EFBIG). In msdosfs_read(), don't check for (uio_resid < 0). msdosfs_write() already didn't check. In msdosfs_read(), document in a comment our assumptions that the caller passed a valid uio_offset and uio_resid. ffs checks using KASSERT(), and that is enough sanity checking. In the same comment, partly document there is no need to check for the EOVERFLOW case, unlike in ffs where this case can happen at least in theory. In msdosfs_write(), add a comment about why the checking of (uio_resid == 0) is explicit, unlike in ffs. In msdosfs_write(), check for impossibly large final offsets before checking if the file size rlimit would be exceeded, so that we don't have an overflow bug in the rlimit check and are consistent with ffs. We now return EFBIG instead of EFBIG plus a SIGXFSZ signal if the final offset would be impossibly large but not so large as to cause overflow. Overflow normally gave the benign behaviour of no signal. Approved by: re (kensmith) (blanket) END K 10 svn:author V 6 avatar K 8 svn:date V 27 2007-08-07T12:26:19.000000Z K 7 svn:log V 155 MFP4(123687): Closing another LOR by dropping the driver lock around calls to if_input(). Reviewed by: ambrisko Tested by: dhw Approved by: re (kensmith) END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-08-07T12:42:03.000000Z K 7 svn:log V 130 Use ioctl() to get correct media size so that we can locate ZFS labels in the tail of the media. Approved by: re (kensmith), pjd END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-08-07T15:34:24.000000Z K 7 svn:log V 71 o DragonFlyBSD 1.10.0 added. Approved by: re (bmah) MFC after: 1 week END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-08-07T15:35:24.000000Z K 7 svn:log V 46 o Indent "DragonFly". Approved by: re (bmah) END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-08-07T15:36:25.000000Z K 7 svn:log V 373 Protect the creation of the device pager with the dev_pager_mtx. Lookup of device pager in the pagers list by handle is now synchronized with its removal from the list, and dev_pager_mtx is put before vm object lock in lock order. Dispose the dev_pager_sx lock, since dev_pager_mtx now covers the same block. Noted by: kensmith Reviewed by: alc Approved by: re (kensmith) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-08-07T18:20:55.000000Z K 7 svn:log V 118 Use the third argument of cpu_switch(), as done for i386/amd63, as it is required for ULE. Approved by: re (blanket) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-08-07T18:37:21.000000Z K 7 svn:log V 60 Add cast to silent gcc warnings. Approved by: re (blanket) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-08-07T18:39:28.000000Z K 7 svn:log V 53 Add prototype for trap(). Approved by: re (blanket) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-08-07T18:40:02.000000Z K 7 svn:log V 55 Remove redundant prototype. Approved by: re (blanket) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-08-07T19:33:46.000000Z K 7 svn:log V 444 When storing old versions of files for use in generating new files via patching and for rolling back updates, don't copy a file if it has already been stored. This provides a significant speedup to the "Preparing to download files" stage of "freebsd-update fetch" if many updates have already been applied or if a file being updated is linked many times (such as /rescue/*). Reported by: Paul Dekkers MFC after: 1 week Approved by: re (bmah) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-08-07T23:33:35.000000Z K 7 svn:log V 202 Eliminate as it has only a single prototype. In the future that prototype will not be needed at all anyway, but for now it's moved to intr_machdep.h. Approved by: re (blanket) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-08-07T23:48:30.000000Z K 7 svn:log V 88 The PowerPC specific header interruptvar.h has been removed. Approved by: re (blanket) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-08-08T01:19:12.000000Z K 7 svn:log V 89 Re-enable external interrupts for faults, traps and syscalls. Approved by: re (blanket) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-08-08T09:27:52.000000Z K 7 svn:log V 88 Ooops, we need to define TD_LOCK here. Approved by: re (blanket) Pointy hat to: cognet END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-08-08T16:42:47.000000Z K 7 svn:log V 145 MFC 1.87: Avoid manipulating semu_list outside of the scope of SEMUNDO_LOCK(). This would lead to an occasional hang with a cycle in semu_list. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-08-08T19:12:06.000000Z K 7 svn:log V 101 Re-enable -Werror for PowerPC. This should really be unconditional again. Approved by: re (blanket) END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2007-08-08T19:27:50.000000Z K 7 svn:log V 252 Keep the snmp_bridge(3) module up to date with if_bridge(4) and add an object to control the value of the new 'PRIVATE' bridge members' flag. While here, remove stale '__unused' compiler directives. Reviewed by: bz Approved by: re (bmah), bz (mentor) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-08-09T01:11:21.000000Z K 7 svn:log V 249 Compile ipfilter:ip_lookup.c without -Werror. The file contains a test that assumes that char is signed by default and causes a warning with GCC 4.2 on PowerPC. A patch has been sent to the maintainer that addresses this. Approved by: re (blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-08-09T04:40:07.000000Z K 7 svn:log V 195 Merge in the AX88178 and AX88772 register definions (along with rename) from OpenBSD. This also dribbles in a few fields from OpenBSD as well. Approved by: re@ (blanket) Obtained from: OpenBSD END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-08-09T05:16:55.000000Z K 7 svn:log V 187 Use the .S version for now. I have a version optimized for size p4, but I'm unsure of its provenance, so rather than add it here, revert the migration to it. Approved by: re@ (blanket) END K 10 svn:author V 7 bushman K 8 svn:date V 27 2007-08-09T13:06:12.000000Z K 7 svn:log V 82 - Renaming repocopied cached to nscd Approved by: re (kensmith), brooks (mentor) END K 10 svn:author V 6 avatar K 8 svn:date V 27 2007-08-09T13:29:26.000000Z K 7 svn:log V 205 MFP4(123963): Fixing a possible NULL pointer dereference by making the actual assignment after the NULL check. Found by: Coverity Prevent(tm) CID: 2303 (run 4156) Reviewed by: sam Approved by: re (bmah) END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-08-09T20:14:35.000000Z K 7 svn:log V 226 Add "show sysregs" command to ddb. On i386, this gives gdt, idt, ldt, cr0-4, etc. Support should be added for other platforms that have a different set of registers for system use. Loosely based on: OpenBSD Approved by: re END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-08-09T21:09:56.000000Z K 7 svn:log V 55 Corrections and clarifications Approved by: re (bmah) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-08-10T05:24:49.000000Z K 7 svn:log V 379 MFp4: - Respect cnflag and don't lock vnode always as LK_EXCLUSIVE [1] - Properly lock around tn_vnode to avoid NULL deference - Be more careful handling vnodes (*) (*) This is a WIP [1] by pjd via howardsu Thanks kib@ for his valuable VFS related comments. Tested with: fsx, fstest, tmpfs regression test set Found by: pho's stress2 suite Approved by: re (tmpfs blanket) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-08-10T06:29:54.000000Z K 7 svn:log V 292 Fix fscking gjournaled root file system: root file system is already mounted read-only, so we can't simply exit right after calling gjournal_check(), instead we need to ask about super block reload. Submitted by: Niki Denev PR: misc/113889 Approved by: re (kensmith) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-08-10T10:08:43.000000Z K 7 svn:log V 100 New regression test updates for rename, etc. Obtained from: NetBSD Approved by: re (tmpfs blanket) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-08-10T11:00:30.000000Z K 7 svn:log V 489 MFp4: - LK_RETRY prohibits vget() and vn_lock() to return error. Remove associated code. [1] - Properly use vhold() and vdrop() instead of their unlocked versions, we are guaranteed to have the vnode's interlock unheld. [1] - Fix a pseudo-infinite loop caused by 64/32-bit arithmetic with the same way used in modern NetBSD versions. [2] - Reorganize tmpfs_readdir to reduce duplicated code. Submitted by: kib [1] Obtained from: NetBSD [2] Approved by: re (tmpfs blanket) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-08-10T23:33:34.000000Z K 7 svn:log V 172 - In all structures other than port info port is a pointer to a port info, make the code less confusing by renaming the port number to port_id Approved by: re (blanket) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-08-10T23:47:39.000000Z K 7 svn:log V 48 White space cleanups Approved by: re (blanket) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-08-11T19:25:32.000000Z K 7 svn:log V 1129 Revamp the interrupt handling in support of INTR_FILTER. This includes: o Revamp the PIC I/F to only abstract the PIC hardware. The resource handling has been moved to nexus, where it belongs. o Include EOI and MASK+EOI methods to the PIC I/F in support of INTR_FILTER. o With the allocation of interrupt resources and setup of interrupt handlers in the common platform code we can delay talking to the PIC hardware after enumeration of all devices. Introduce a call to powerpc_intr_enable() in configure_final() to achieve that and have powerpc_setup_intr() only program the PIC when !cold. o As a consequence of the above, remove all early_attach() glue from the OpenPIC and Heathrow PIC drivers and have them register themselves when they're found during enumeration. o Decouple the interrupt vector from the interrupt request line. Allocate vectors increasingly so that they can be used for the intrcnt index as well. Extend the Heathrow PIC driver to translate between IRQ and vector. The OpenPIC driver already has the support for vectors in hardware. Approved by: re (blanket) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-08-12T01:16:19.000000Z K 7 svn:log V 541 Update the tests for reading the various GNU tar sparse formats. In particular: * Include a second entry in all of the test archives (to catch errors with intermediate padding) * Test the GNU tar 1.17 version of "posix sparse format 1.0" instead of the GNU tar 1.16 version (the latter is no longer supported by GNU tar). Right now, libarchive fails this test because I originally implemented the GNU tar 1.16 version of "posix sparse format 1.0". I'll fix libarchive shortly. Approved by: re (blanket, libarchive testing) END K 10 svn:author V 8 truckman K 8 svn:date V 27 2007-08-12T01:46:19.000000Z K 7 svn:log V 205 MFC statd.c 1.15 - The call to init_file() needs to be moved outside the loop in statd.c, otherwise mmap() gets called multiple times, which eventually fails due to address space exhaustion on i386. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-08-12T15:44:18.000000Z K 7 svn:log V 69 Collapse some short sections together. Approved by: re (implicitly) END K 10 svn:author V 6 danger K 8 svn:date V 27 2007-08-12T16:02:30.000000Z K 7 svn:log V 115 Sync with the source code: NGM_FEC_MODE_(MAC|INET) should be NGM_FEC_SET_MODE_(MAC|INET). Approved by: re@ (bmah) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-08-12T17:13:06.000000Z K 7 svn:log V 102 Use ttyu instead of ttyd for arm, since we will probably never use sio(4). Approved by: re (blanket) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-08-12T17:35:05.000000Z K 7 svn:log V 820 Make suid/sgid restore be "opportunistic" if owner restore is not requested. If you ask for permissions to be restored but not owner, you will now get no error if suid/sgid bits cannot be set. (It's a security hole to restore suid/sgid bits if the owner/group aren't restored.) This fixes an obscure problem where a simple "tar -xf" with no other options will sometimes fail gratuitously because of suid/sgid bits. This is causing occasional problems for people using bsdtar as a drop-in replacement for "that other tar program." ;-) Note: If you do ask for owner restore, then suid/sgid restore failures still issue an error. This only suppresses the error in the case where an suid/sgid bit restore fails because of an owner mismatch and owner restore was not requested. Approved by: re (bmah) MFC after: 7 days END K 10 svn:author V 8 truckman K 8 svn:date V 27 2007-08-12T18:45:24.000000Z K 7 svn:log V 1537 Replace three copies of the host controller reset sequence that differ in their details with calls to a new function, ehci_hcreset(), that performs the reset. The original sequences either had no delay or a 1ms delay between telling the controller to stop and asserting the controller reset bit. One instance of the original reset sequence waited for the controller to indicate that its reset was complete before continuing, but the other two immediately let the subsequent code execute. The latter is a problem on some hardware, because a read of the HCCPARAMS register returns an incorrect value while the reset is in progress, which triggers an infinite loop in ehci_pci_givecontroller(), which hangs the system on shutdown. The reset sequence in ehci_hcreset() starts with the most complete instance from the original code, which contains a loop to wait for the controller to indicate that its reset is complete. This appears to be the correct thing to do according to "Enhanced Host Controller Interface Specification for Universal Serial Bus" revision 1.0, section 2.3.1. Add another loop to wait for the controller to indicate that it has stopped before setting the HCRESET bit. This is required by the section 2.3.1 in the specification, which says that setting HCRESET before the controller has halted "will result in undefined behaviour". Reviewed by: imp (previous patch version without the extra wait loop) Tested by: se (previous patch version without the extra wait loop) Approved by: re (bmah) MFC after: 1 week END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-08-12T20:08:07.000000Z K 7 svn:log V 141 o You have to reboot the system after tuning softupdates on the root filesystem on to make SU work. Approved by: re (hrs) MFC after: 1 week END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-08-12T21:08:39.000000Z K 7 svn:log V 83 Coalesce another very short section into its parent. Approved by: re (implicitly) END K 10 svn:author V 6 danger K 8 svn:date V 27 2007-08-12T22:21:09.000000Z K 7 svn:log V 34 - sync with HEAD PR: docs/114259 END K 10 svn:author V 8 truckman K 8 svn:date V 27 2007-08-13T15:04:39.000000Z K 7 svn:log V 488 If the mmap() call in rpc.statd fails, rpc.statd prints a warning message and then dumps core because the subsequent code assumes that mmap() succeeded. Since rpc.statd does not have fallback code to implement the functionality needed to operate on the status file if it is not memory mapped, rpc.statd should use err() to force the process to exit if the mmap() call fails. PR: bin/115430 (mmap() failure previously fixed in statd.c 1.15) Approved by: re (kensmith) MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-08-13T16:15:26.000000Z K 7 svn:log V 595 Be more careful handling no_init flag. It should be enforced in *all* less_is_more cases, On the other hand, quit_if_one_screen should apply iff less_is_more *and* -e. This change revises the previous change further, which tried to make less(1) not to send @ti:@te before and after view of one file in more(1) mode, but affected less -e behavior by accident. This is essentially the same patch desichen@ has posted on -current@. I have adjusted it a bit in order to minimize difference between our version and the vendor branch. Approved by: re (bmah, earlier logically equivalent version) END K 10 svn:author V 4 emax K 8 svn:date V 27 2007-08-13T17:19:28.000000Z K 7 svn:log V 171 Make ng_h4(4) MPSAFE. Use similar to ng_tty(4) locking strategy. Reconnect ng_h(4) back to the build. Reviewed by: kensmith Approved by: re (kensmith) MFC after: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-08-13T18:46:31.000000Z K 7 svn:log V 272 Expand the data structure returned by the ATA RAID status ioctl to include detailed status on each of the backing subdisks. This allows userland to see which subdisks are online, failed, missing, or a hot spare. MFC after: 1 week Approved by: re (bmah) Reviewed by: sos END K 10 svn:author V 3 des K 8 svn:date V 27 2007-08-13T18:52:37.000000Z K 7 svn:log V 244 Update to support ICH[678] chipsets (based on a patch by Takeharu KATO) Fix a resource allocation bug (explained by jhb on -acpi) Thanks for Mike Tancsa for testing and helping track down the bug. Approved by: re (kensmith) MFC after: 3 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-08-13T19:29:17.000000Z K 7 svn:log V 180 Teach the mfi(4) driver to handle requests from userland management applications to add and remove volumes. MFC after: 1 week Approved by: re (bmah) Reviewed by: ambrisko, scottl END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-08-13T21:14:16.000000Z K 7 svn:log V 264 Fix a few nits relative to the previous changes: - Don't leak the config lock if detach() fails due to the controller char dev being open. - Close a race between detach() and a process opening the controller char dev. MFC after: 1 week Approved by: re (bmah) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-08-13T21:23:30.000000Z K 7 svn:log V 154 Improve vn_printf() by: - adding missing vnode flags, - printing unknown flags as numbers, - using strlcat() instead of strcat(). Approved by: re (bmah) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-08-14T02:00:04.000000Z K 7 svn:log V 709 Make sure to take PHY out of power down mode in device attach. Without this the PHY wouldn't work as expected. This should fix dual-boot Windows XP machine where RealTek Windows drivers put the PHY in power down mode during shutdown. The magic PHY register accesses come from RealTek driver. No datasheets mention the magic PHY registers. In general, the PHY wakeup code should go into PHY driver. However it seems that it only apply to RTL8169S single chip and it would be another hack if we have rgephy(4) check what parent driver/chip model is attached. Reported by: lofi, Laurens Timmermans ( laurens AT timkapel DOT nl ) Tested by: lofi Obtained from: RealTek FreeBSD driver Approved by: re (Ken Smith) END K 10 svn:author V 3 kan K 8 svn:date V 27 2007-08-14T02:45:23.000000Z K 7 svn:log V 19 GCC 4.2.1 release. END K 10 svn:author V 3 kan K 8 svn:date V 27 2007-08-14T02:45:23.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r171825, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 kan K 8 svn:date V 27 2007-08-14T02:49:11.000000Z K 7 svn:log V 65 GCC 4.2.1 release C++ standard library and runtime support code. END K 10 svn:author V 3 kan K 8 svn:date V 27 2007-08-14T02:49:11.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r171827, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 kan K 8 svn:date V 27 2007-08-14T02:51:20.000000Z K 7 svn:log V 52 GCC 4.2.1 release Objective C runtime support code. END K 10 svn:author V 3 kan K 8 svn:date V 27 2007-08-14T02:51:20.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r171829, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 kan K 8 svn:date V 27 2007-08-14T02:52:47.000000Z K 7 svn:log V 51 GCC 4.2.1 release miscellaneous support libraries. END K 10 svn:author V 3 kan K 8 svn:date V 27 2007-08-14T02:52:47.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r171831, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-08-14T02:52:48.000000Z K 7 svn:log V 96 This commit was manufactured by cvs2svn to create tag 'gcc-vendor-gcc_4_2_1_20070718_SVN126787'. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-08-14T02:58:33.000000Z K 7 svn:log V 137 Disconnect the soon-to-be removed installation notes from sysinstall(8) menus. Approved by: re (blanket for installation notes removal) END K 10 svn:author V 3 kan K 8 svn:date V 27 2007-08-14T03:02:26.000000Z K 7 svn:log V 88 Merge files that are no longer carry FreeBSD local changes. Approved by: re (kensmith) END K 10 svn:author V 3 kan K 8 svn:date V 27 2007-08-14T03:04:42.000000Z K 7 svn:log V 71 Update locally changed files to GCC 4.2.1. Approved by: re (kensmith) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-08-14T13:44:08.000000Z K 7 svn:log V 181 Restore -O2 optimization after gcc 4.2.1 import, which has fixed the issue raised by gcc 4.2.0. Tested with: test case found in gcc bug 32500 Approved by: re (kensmith), ache, kan END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-08-14T14:48:46.000000Z K 7 svn:log V 447 Change the time of the first "EoL is coming soon, you should upgrade" warning from EoL minus 6 months to EoL minus 3 months, in order to increase the odds of there actually being a more recent release to which users can upgrade. (In particular, for releases which are only supported for 12 months, it's quite likely that the next release will occur between 6 and 9 months later.) Discussed with: kensmith Approved by: re (bmah) MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-08-14T14:49:46.000000Z K 7 svn:log V 50 Mention gcc 4.2.1 import. Approved by: re (bmah) END K 10 svn:author V 6 danger K 8 svn:date V 27 2007-08-14T15:25:32.000000Z K 7 svn:log V 99 Add the boot.config.5 manual page. Reviewed by: keramida Approved by: re@ (bmah) PR: docs/112307 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-08-14T15:46:35.000000Z K 7 svn:log V 286 Don't abuse tf_err to pass the faulting virtual address to signal handlers on i386. Instead, add a new field to 'struct mdthread' to hold the address and preserve the tf_err value. This corrects the 'sc_err' value in signal frames which wine needs. Tested by: wine-freebsd @ hub org END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-08-14T19:17:35.000000Z K 7 svn:log V 124 Move callout initialization to the proper spot. This prevents panics during error recovery. Approved by: re Found by: kan END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-08-14T19:38:02.000000Z K 7 svn:log V 30 MFC 1.24: Require 'cleanvar'. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-08-14T19:42:52.000000Z K 7 svn:log V 139 MFC: Handle negative trap numbers (due to a corrupted trapframe) by not triggering a nested page fault when indexing the trap_msg[] array. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-08-14T20:02:55.000000Z K 7 svn:log V 265 Don't copy the installation guide to the release media (i.e. floppies or ISO images). We retain the concept of MD release documentation for now, although it's fairly unlikely that we'll ever do this again. Approved by: re (blanket for installation guide removal) END K 10 svn:author V 3 kan K 8 svn:date V 27 2007-08-14T20:49:57.000000Z K 7 svn:log V 144 Remove comment that was added by mistakes and which prevented _eprintf and gcc_bcmp to be added to static libgcc.a. Approved by: re (kensmith) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-08-15T03:02:22.000000Z K 7 svn:log V 126 Disconnect installation notes from the release documentation build. Approved by: re (blanket for installation notes removal) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-08-15T03:05:17.000000Z K 7 svn:log V 122 Modified release note: ng_h4(4) has been restored to the build after MPSAFE modifications. Approved by: re (implicitly) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-08-15T03:14:43.000000Z K 7 svn:log V 640 Remove the installation notes, which have not truly been maintained for quite some time. All relevant content has been moved to the installation chapter of the FreeBSD Handbook, which will be the single source of FreeBSD installation instructions. In addition to removing redundancy, this change also removes the last of the machine-dependent documents in the release documentation set (the release notes and hardware notes were unified to produce machine-independent documents). Approved by: re (blanket for installation notes removal) Nods from: blackend, brueffer, simon, trhodes No objections on: doc@ Helpful hints from: blackend END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-08-15T04:46:04.000000Z K 7 svn:log V 171 Autogenerate hardware notes entities for ath(4) for all platforms on which it's included in the GENERIC kernel. PR 115403 Approved by: re (implicitly) MFC after: 5 days END K 10 svn:author V 6 danger K 8 svn:date V 27 2007-08-15T06:41:08.000000Z K 7 svn:log V 154 The /boot.config file is available only on i386 and amd64, so install boot.config.5 only those architectures. Approved by: re@ (bmah) Reported by: simon END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-08-15T17:40:09.000000Z K 7 svn:log V 669 On 6.x this works: % mount | grep home /dev/ad4s1e on /home (ufs, local, noatime, soft-updates) % mount -u -o atime /home % mount | grep home /dev/ad4s1e on /home (ufs, local, soft-updates) Restore this behavior for on 7.x for the following mount options: noatime, noclusterr, noclusterw, noexec, nosuid, nosymfollow In addition, on 7.x, the following are equivalent: mount -u -o atime /home mount -u -o nonoatime /home Ideally, when we introduce new mount options, we should avoid options starting with "no". :) Requested by: jhb Reported by: Karol Kwiat , Scott Hetzel Approved by: re (bmah) Proxy commit for: rodrigc END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-08-15T18:09:08.000000Z K 7 svn:log V 143 Cleanup of old hardware notes source files. Somehow these didn't get removed in the hardware notes refactoring. Approved by: re (implicitly) END K 10 svn:author V 3 des K 8 svn:date V 27 2007-08-15T19:26:03.000000Z K 7 svn:log V 536 Add a driver for the on-die digital thermal sensor found on Intel Core and newer CPUs (including Core 2 and Core / Core 2 based Xeons). The driver attaches to each cpu device and creates a sysctl node in that device's sysctl context (dev.cpu.N.temperature). When invoked, the handler binds to the appropriate CPU to ensure a correct reading. Submitted by: Rui Paulo Sponsored by: Google Summer of Code 2007 Tested by: des, marcus, Constantine A. Murenin, Ian FREISLICH Approved by: re (kensmith) MFC after: 3 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-08-15T20:56:10.000000Z K 7 svn:log V 455 MFC: Revamp the MSI/MSI-X code a bit to achieve two main goals: - Simplify the amount of work that has be done for each architecture by pushing more of the truly MI code down into the PCI bus driver. - Don't bind MSI-X indicies to IRQs so that we can allow a driver to map multiple MSI-X messages into a single IRQ when handling a message shortage. Note that as with the previous MSI MFC, this does not yet include the 'pci_remap_msix()' function. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-08-15T21:12:08.000000Z K 7 svn:log V 619 MFC: Partial MFC of earlier minor fixes and tweaks to x86 interrupt code: - Add a new nexus hook: nexus_add_irq() to ask the nexus driver to add an IRQ to its irq_rman. The MSI code uses this when it creates new interrupt sources to let the nexus know about newly valid IRQs. Previously the msi_alloc() and msix_alloc() passed some extra stuff back to the nexus methods which then added the IRQs. This approach is a bit cleaner. - Change the MSI sx lock to a mutex. If we need to create new sources, drop the lock, create the required number of sources, then get the lock and try the allocation again. END K 10 svn:author V 6 qingli K 8 svn:date V 27 2007-08-16T01:35:55.000000Z K 7 svn:log V 218 Use the sequence number comparison macro to compare projected_offset against isn_offset to account for wrap around. Reviewed by: gnn, kmacy, silby Submitted by: yusheng.huang@bluecoat.com Approved by: re MFC: 3 days END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-08-16T01:51:22.000000Z K 7 svn:log V 493 - Remove extra comment for 7.0 (no GIANT here). - Remove unneeded WLOCK/UNLOCK of inp for getting TCB lock. - Fix panic that may occur when freeing an assoc that has partial delivery in progress (may dereference null socket pointer when queuing partial delivery aborted notification) - Some spacing and comment fixes. - Fix address add handling to clear cached routes and source addresses when peer acks the add in case the routing table changes. Approved by: re@freebsd.org (Bruce Mah) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2007-08-16T05:26:42.000000Z K 7 svn:log V 156 Add thr_kill2 syscall which sends a signal to a thread in another process. Submitted by: Tijl Coosemans tijl at ulyssis dot org Approved by: re (kensmith) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2007-08-16T05:30:04.000000Z K 7 svn:log V 113 Add thr_kill2 compat32 syscall. Submitted by: Tijl Coosemans tijl at ulyssis dot org Approved by: re (kensmith) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2007-08-16T05:32:26.000000Z K 7 svn:log V 39 Regenerate. Approved by: re(kensmith) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-08-16T11:00:07.000000Z K 7 svn:log V 118 MFp4: rework tmpfs_readdir() logic in terms of correctness. Approved by: re (tmpfs blanket) Tested with: fstest, fsx END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-08-16T20:33:20.000000Z K 7 svn:log V 153 Some ZFS threads needs stack larger than the default 8kB, so use 16kB of alternate stack if the default is smaller than 16kB. Approved by: re (rwatson) END K 10 svn:author V 3 kan K 8 svn:date V 27 2007-08-16T23:02:00.000000Z K 7 svn:log V 73 Install etx/numeric_traits.h. PR: gnu/115250 Approved by: re (blanket) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2007-08-17T04:37:02.000000Z K 7 svn:log V 903 1. Remove root name servers from the list of possible masters in the commented out example who have either not responded, or specifically asked not to participate because they do not view AXFR as "a production service." 2. Add f.root-servers.net to the example after confirmation from Paul Vixie. 3. Add a warning to the commented out "root zone slave" example to the effect that it requires more attention than a hints file, and provides more benefit to larger sites than individual hosts. 4. Correct a typo copied from RFC 2544 which was corrected in a later errata, and confirmed in RFC 3330. Update the comment to reflect that RFC 3330 got it right and to avoid confusion down the road. 3330 also contains a reference back to 2544 for anyone interested in pursuing the history. [1] PR: conf/115573 [1] Submitted by: Oliver Fromme [1] Approved by: re (kensmith) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2007-08-17T04:39:15.000000Z K 7 svn:log V 211 MFC 1.26: Update root zone slave example, and correct typo copied from RFC 2544. Since this change entails only comments and a fix to something that is actually broken, I'm MFC'ing it sooner rather than later. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-08-17T05:32:39.000000Z K 7 svn:log V 98 We don't need to call dcons_poll event handlers if KDB is not active. Approved by: re (kensmith) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-08-17T05:57:04.000000Z K 7 svn:log V 130 forward port signedness fixes from RELENG_6 fix compile error for case where MSI_SUPPORTED not defined Approved by: re (blanket) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-08-17T06:34:36.000000Z K 7 svn:log V 194 MFC revisions 1.7, 1.8: Speed up "preparing to download files" stage of "freebsd-update fetch", change time of first "upcoming EoL" warning to EoL minute 3 months instead of EoL minus 6 months. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2007-08-17T07:41:36.000000Z K 7 svn:log V 87 Repo-copy from rc.d/nfslocking ver. 1.11. PR: conf/107316 Approved by: re (bmah) END K 10 svn:author V 3 mtm K 8 svn:date V 27 2007-08-17T07:58:26.000000Z K 7 svn:log V 699 The rc.d/nfslocking file controls two servers: rpc.statd and rpc.lockd. It worked well in most cases, except one. The 'restart' case was not working as expected. Specifically, it would stop both lockd and statd, but it would restart only statd (which appears first in the script). This is because rc.subr(8) contains code to guard against infinite recursion in the 'restart' casae. To fix this use the traditional approach of controlling only one server from one script by breaking out rc.d/nfslocking into its contituent parts: rc.d/lockd and rc.d/statd. Keep rc.d/nfslocking around but don't include it in the boot rcorder(8)ing. PR: conf/107316 Approved by: re (bmah) MFC after: 2 weeks END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-08-17T11:28:25.000000Z K 7 svn:log V 707 MFC with compatibility shims: pam_nologin(8) starts to provide an account management function in addition to the existing authentication function so that sshd(8) can respect nologin(5) while the rest of PAM consumers work as earlier. In turn, sshd(8) starts to use the new account management function in pam_nologin(8) and thus respect nologin(5) even when doing public key authentication with sshd's internal routines (PAM authentication isn't called at all in that case). Based on: 1.12 +2 -10 src/lib/libpam/modules/pam_nologin/pam_nologin.c 1.6 +10 -11 src/lib/libpam/modules/pam_nologin/pam_nologin.8 1.16 +1 -1 src/etc/pam.d/sshd Approved by: des PR: bin/112574 END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-08-17T12:00:33.000000Z K 7 svn:log V 218 MFC: src/etc/rc.subr 1.72 src/share/man/man8/rc.subr.8 1.17 Eliminate a number of inconsistencies in handling pre- and post-commands as well as required_* conditions. Introduce required_modules. PR: conf/98734 END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-08-17T14:13:39.000000Z K 7 svn:log V 173 Remove one more reference to the installation notes, this time in the floppies directory. Pointed out by: kensmith Approved by: re (blanket for installation notes removal) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-08-17T14:16:59.000000Z K 7 svn:log V 354 Fix the order in which we build subdirectories in a "make all" from the top-level release/doc directory. We were building in share/sgml first, which caused us to autogenerate hardware notes entities in the wrong format (we want to build these via ${RELNOTES_LANG}/hardware/Makefile, in order to get the HWNOTES_MI variable). Approved by: re (kensmith) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-08-17T18:22:31.000000Z K 7 svn:log V 171 Don't pass RB_BOOTINFO to the kernel. There's no bootinfo actually passed into the kernel, and the kernel will soon grow that ability on arm. Approved by: re@ (blanket) END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-08-17T18:59:37.000000Z K 7 svn:log V 110 MFC revs. 1.111 - 1.115: DragonFly 1.8.0, OpenBSD 4.1, FreeBSD 1.0.2 from November 1993, DragonFlyBSD 1.10.0. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-08-17T19:01:17.000000Z K 7 svn:log V 33 MFC rev. 1.23: Iomage -> Iomega. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-08-17T19:03:26.000000Z K 7 svn:log V 41 MFC rev. 1.25: round-type -> round-trip. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-08-17T19:09:00.000000Z K 7 svn:log V 133 MFC rev. 1.36: with -x switch do not pay attention at the hardcoded limit of 3 devices and dump stats for all devices in the system. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2007-08-18T04:08:53.000000Z K 7 svn:log V 332 My forced commit to note the repo-copy (naturally) changed the $FreeBSD$ keyword line, so that when I applied the patch to my check-in tree the top half of my patch failed to apply. Off course I saw what I *expected* to see (the bottom half succeeded) and didn't notice that it had failed to apply cleanly. Approved by: re (bmah) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-08-18T04:08:54.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. END K 10 svn:author V 6 danger K 8 svn:date V 27 2007-08-18T07:58:36.000000Z K 7 svn:log V 113 - Sweep the boot(8) man page after addition of boot.config(5). Reviewed by: keramida Approved by: re (kensmith) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-08-18T09:10:26.000000Z K 7 svn:log V 949 Aggregate recent fixes to cxgb in HEAD into MFC: - integrate most recent changes from vendor branch and upgrade to firmware revision 4.5.5 - add filter support - further improvements for T304 - recover gracefully from spurious immediate packets - Increase descriptors per call to start - enqueue per-txq task - fix per-txq task initialization - reduce cpu usage by as much as 25% (40% -> 30) by doing txq reclaim more efficiently - use mtx_trylock when trying to grab the lock to avoid spinning during long encap loop - add per-txq reclaim task - if mbufs were successfully re-claimed try another pass - track txq overruns with sysctl - In all structures other than port info port is a pointer to a port info, make the code less confusing by renaming the port number to port_id RELENG_6 only fix: - set cluster refcnt to 1 if it isn't otherwise set to fix memory leak Supported by: Chelsio END K 10 svn:author V 3 mav K 8 svn:date V 27 2007-08-18T11:59:17.000000Z K 7 svn:log V 234 Add ng_send_fn() error handeling inside ng_con_nodes(). Without it some errors may left unnoticed and unhandeled that will lead to hooks left in half-connected state. Reviewed by: julian@ Approved by: re (kensmith), glebius (mentor) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-08-18T12:06:13.000000Z K 7 svn:log V 102 If the STP state machine is stopped then clear the bridge-id and root-id. Approved by: re (kensmith) END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-08-18T16:40:33.000000Z K 7 svn:log V 512 Fix the phys_pager in the way similar to the rev. 1.83 of the sys/vm/device_pager.c: Protect the creation of the phys pager with non-NULL handle with the phys_pager_mtx. Lookup of phys pager in the pagers list by handle is now synchronized with its removal from the list, and phys_pager_mtx is put before vm object lock in lock order. Dispose the phys_pager_alloc_lock and tsleep calls, together with acquiring Giant, since phys_pager_mtx now covers the same block. Reviewed by: alc Approved by: re (kensmith) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-08-18T16:40:37.000000Z K 7 svn:log V 131 Factor out arch.* entities so we don't need to include them with every one of the release documents. Approved by: re (implicitly) END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-08-18T16:41:31.000000Z K 7 svn:log V 87 Remove comment that is no longer quite true. Noted by: alc Approved by: re (kensmith) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-08-18T16:47:28.000000Z K 7 svn:log V 184 Just wbinv if both PREREAD and PREWRITE are set. In PREREAD, just invalidate the cache lines, and do not write back them, if the buffer is properly aligned. Approved by: re (blanket) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-08-18T17:11:14.000000Z K 7 svn:log V 427 Remove references to the now-deleted installation notes and add a pointer to the installation chapter of the Handbook (it might be a good idea to sprinkle a few more through this article). De-emphasize the floppy disk part of installation media; it's generally believed that most users install from CDROM or DVD nowadays. Use &arch.* entities where appropriate. Bump copyright date while here. Approved by: re (implicitly) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-08-18T21:53:25.000000Z K 7 svn:log V 999 This commit updates libarchive to be compatible with GNU tar 1.17's implementation of --posix --sparse, at the cost of losing compatibility with GNU tar 1.16. Fortunately, the 1.17 implementation actually makes sense, so the libarchive code is now a bit more straightforward than before. Background: GNU tar 1.16 defined a new way to store sparse files in --posix archives. Unfortunately, the implementation incorrectly inserted several blocks of null padding after each such entry. As a result, non-GNU tar implementations saw the archive as truncated after any sparse entry. This was fixed in GNU tar 1.17 at the cost of losing compatibility with GNU tar 1.16 for this new format (which is not the default, so hopefully rarely used). Libarchive recently gained support for reading the GNU tar 1.16 formats; this commit updates it to read the GNU tar 1.17 variant instead. Approved by: re (ksmith for libarchive portion) Approved by: re (blanket for libarchive_test portion) MFC after: 5 days END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-08-19T08:13:00.000000Z K 7 svn:log V 62 m_sanity and SA_LOCKED are not defined in RELENG6 - don't use END K 10 svn:author V 2 se K 8 svn:date V 27 2007-08-19T10:51:03.000000Z K 7 svn:log V 43 MFC of rev. 1.67: Fix sym driver on amd64. END K 10 svn:author V 3 mav K 8 svn:date V 27 2007-08-19T19:36:46.000000Z K 7 svn:log V 177 MFC rev. 1.135 Add ng_send_fn() error handeling inside ng_con_nodes(). Without it some errors may left unnoticed and unhandeled that lead to hooks left in half-connected state. END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-08-19T20:34:13.000000Z K 7 svn:log V 262 Use a different loop variable for the inner loop. This previous reuse could have caused a hang, but we got lucky with the available multi-CPU states on actual hardware. Submitted by: Bjorn Koenig Approved by: re MFC after: 3 days END K 10 svn:author V 4 ache K 8 svn:date V 27 2007-08-19T20:53:50.000000Z K 7 svn:log V 92 Increase MAX_LEN to 4096 It fix core dump with latest ghostscript-gpl port (too many items) END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-08-20T06:28:26.000000Z K 7 svn:log V 219 Always call sched_bind(), even if on the CPU in question. It is wrong to check if we're already on that cpu and skip the bind since the thread could be migrated off in the meantime. Suggested by: jeff Approved by: re END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-08-20T06:34:20.000000Z K 7 svn:log V 268 - Set steal_thresh to log2(ncpus). This improves idle-time load balancing on 2cpu machines by reducing it to 1 by default. This improves loaded operation on 8cpu machines by increasing it to 3 where the extra idle time is not as critical. Approved by: re END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-08-20T06:36:12.000000Z K 7 svn:log V 351 - Improve runq_findbit_from() which is used by ULE's circular queue. Mask of the bits we want to ignore on the first pass rather than doing a linear scan. This puts us within a few instructions of the cost of runq_findbit() and removes this function from the top of profiling output for context switch heavy workloads. Approved by: re END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-08-20T11:53:26.000000Z K 7 svn:log V 227 Destroy the kaio_mtx on the freeing the struct kaioinfo in the aio_proc_rundown. Do not allow for zero-length read to be passed to the fo_read file method by aio. Reported and tested by: Peter Holm Approved by: re (kensmith) END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-08-20T12:05:45.000000Z K 7 svn:log V 330 Do not drop vm_map lock between doing vm_map_remove() and vm_map_insert(). For this, introduce vm_map_fixed() that does that for MAP_FIXED case. Dropping the lock allowed for parallel thread to occupy the freed space. Reported by: Tijl Coosemans Reviewed by: alc Approved by: re (kensmith) MFC after: 2 weeks END K 10 svn:author V 8 truckman K 8 svn:date V 27 2007-08-20T13:00:48.000000Z K 7 svn:log V 475 MFC file.c 1.8 If the mmap() call in rpc.statd fails, rpc.statd prints a warning message and then dumps core because the subsequent code assumes that mmap() succeeded. Since rpc.statd does not have fallback code to implement the functionality needed to operate on the status file if it is not memory mapped, rpc.statd should use err() to force the process to exit if the mmap() call fails. PR: bin/115430 (mmap() failure previously fixed in statd.c 1.12.8.2) END K 10 svn:author V 8 truckman K 8 svn:date V 27 2007-08-20T13:04:04.000000Z K 7 svn:log V 1418 MFC ehci.c 1.56 Replace three copies of the host controller reset sequence that differ in their details with calls to a new function, ehci_hcreset(), that performs the reset. The original sequences either had no delay or a 1ms delay between telling the controller to stop and asserting the controller reset bit. One instance of the original reset sequence waited for the controller to indicate that its reset was complete before continuing, but the other two immediately let the subsequent code execute. The latter is a problem on some hardware, because a read of the HCCPARAMS register returns an incorrect value while the reset is in progress, which triggers an infinite loop in ehci_pci_givecontroller(), which hangs the system on shutdown. The reset sequence in ehci_hcreset() starts with the most complete instance from the original code, which contains a loop to wait for the controller to indicate that its reset is complete. This appears to be the correct thing to do according to "Enhanced Host Controller Interface Specification for Universal Serial Bus" revision 1.0, section 2.3.1. Add another loop to wait for the controller to indicate that it has stopped before setting the HCRESET bit. This is required by the section 2.3.1 in the specification, which says that setting HCRESET before the controller has halted "will result in undefined behaviour". END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-08-20T15:33:22.000000Z K 7 svn:log V 476 Some times ago, vfs_getopts() was changed, so that it would set error to ENOENT if the option wasn't provided, instead of setting it to 0. xfs however didn't catch up on this, so it assumed something went bad if vfs_getopts() sets the error to non-zero, and just returns the error. Unbreak xfs mount by just ignoring the error if vfs_getopts() sets the error to ENOENT, as we should have sane defaults. Reviewed by: kan Approved by: re (rwatson) Tested by: rpaulo END K 10 svn:author V 7 davidch K 8 svn:date V 27 2007-08-20T21:47:49.000000Z K 7 svn:log V 421 - Fixed a problem that would cause kernel panics and "bce0: discard frame .." errors (especially when jumbo frames are enabled or in low memory systems) because the RX chain was corrupted when an mbuf was mapped to an unexpected number of buffers. - Fixed a problem that would cause kernel panics when an excessively fragmented TX mbuf couldn't be defragmented and was released by bce_tx_encap(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-08-21T04:59:34.000000Z K 7 svn:log V 480 In general, when we map a page into the kernel's address space, we no longer create a pv entry for that mapping. (The two exceptions are mappings into the kernel's exec and pipe submaps.) Consequently, there is no reason for get_pv_entry() to dig deep into the free page queues, i.e., use VM_ALLOC_SYSTEM, by default. This revision changes get_pv_entry() to use VM_ALLOC_NORMAL by default, i.e., before calling pmap_collect() to reclaim pv entries. Approved by: re (kensmith) END K 10 svn:author V 2 hm K 8 svn:date V 27 2007-08-21T08:58:22.000000Z K 7 svn:log V 191 PR: kern/115414 Submitted by: Eugene Grosbein The fix for PR kern/111480 was incomplete, "make MODULES_WITH_WORLD=true buildworld" stopped with an error. END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-08-21T12:52:57.000000Z K 7 svn:log V 163 Properly initialize the dev_priv before calling the i915_dma_cleanup(). This fixes my rev. 1.5. Reviewed by: anholt Approved by: re (kensmith) MFC after: 2 weeks END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2007-08-21T13:20:13.000000Z K 7 svn:log V 160 Add a HARDWARE section which lists supported devices. Kyocera AH-K3001V Mobile Phone(WILLCOM) Kyocera WX320K Mobile Phone(WILLCOM) Approved by: re (bmah) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2007-08-21T16:33:55.000000Z K 7 svn:log V 199 MFC aac.c 1.119: The return value of aac_alloc_command() was misinterpreted in aac_ioctl_event(). Once triggered this would leak away all available commands and starve the rest of the driver. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2007-08-21T20:31:49.000000Z K 7 svn:log V 95 MFC aac.c 1.118: Rearrange locking in the alloc_commands and ioctl paths to avoid problems. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2007-08-22T01:56:35.000000Z K 7 svn:log V 104 Add thr_kill2 syscall. Submitted by: Tijl Coosemans tijl at ulyssis dot org Approved by: re (kensmith) END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2007-08-22T04:26:07.000000Z K 7 svn:log V 164 Define an END() macro for use in i386 and amd64 assembly code, akin to the one available on the ia64, sparc64, and sun4v architectures. Approved by: re (kensmith) END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-08-22T04:55:05.000000Z K 7 svn:log V 71 MFC 1.26 and 1.27: use proper loop variables and sched_bind() behavior END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2007-08-22T05:06:14.000000Z K 7 svn:log V 81 Assign sizes to assembly language support functions. Approved by: re (kensmith) END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2007-08-22T13:22:12.000000Z K 7 svn:log V 395 - Fix a bug which could cause a panic when enabling LRO on an down mxge interface - Fix a bug where mxge reported the link state as active when it wasn't (after ifconfig down). - Prevent spurious watchdog resets when link partner is not consuming - Add support for CX4 and popular XFP media detection - Update the firmware and associated header files to 1.4.25 Approved by: re (kensmith) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2007-08-22T14:46:27.000000Z K 7 svn:log V 109 MFC aac_cam.c 1.26: Add a missing mutex unlock to an error path. Submitted by: Yuxiang Luo PR: 107943 END K 10 svn:author V 5 gabor K 8 svn:date V 27 2007-08-22T18:02:01.000000Z K 7 svn:log V 183 - Fix a copy-paste bug in the list of supported chips PR: docs/115151 Submitted by: O. Hartmann Approved by: re (bmah), keramida (mentor) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2007-08-22T18:04:08.000000Z K 7 svn:log V 150 - Use mount -t msdosfs instead of mount_msdosfs PR: docs/115571 Submitted by: rodrigc Approved by: re (bmah), keramida (mentor) MFC after: 1 week END K 10 svn:author V 5 gabor K 8 svn:date V 27 2007-08-22T18:07:41.000000Z K 7 svn:log V 220 - Fix origin of the portcheckout port as we have it in the port-mgmt category now PR: docs/115193 Submitted by: Tomas Mozes Approved by: re (bmah), keramida (mentor) MFC after: 0 days END K 10 svn:author V 5 gabor K 8 svn:date V 27 2007-08-22T18:11:26.000000Z K 7 svn:log V 43 MFC: r1.61 Approved by: keramida (mentor) END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-08-22T18:45:00.000000Z K 7 svn:log V 441 Bring in two fixes for TinyBSD: - Add the bind mtree to the TinyBSD build so that files can be installed there (else the build fails) - Change GEOM_GPT to GEOM_PART_GPT since that had been renamed in current. The kernel configuration provided by TinyBSD will not build without these changes. PR: misc/115484 PR: misc/115405 Submitted by: Richard Arends Approved by: re (bmah) Approved by: imp (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-08-22T20:28:13.000000Z K 7 svn:log V 172 NMIs now come from 'nmi_calltrap' rather than 'calltrap', so teach 'kgdb' to treat the frame under 'nmi_calltrap' as a trapframe. MFC after: 3 days Approved by: re (bmah) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2007-08-22T21:08:30.000000Z K 7 svn:log V 184 MFC elimination of compiler warnings: sha2.c 1.8: GCC 3.4.6 gets confused on this file and produces bogus warning. Shut it up. sha2.c 1.9: Initialize T1 to silent gcc warning. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2007-08-22T21:17:44.000000Z K 7 svn:log V 55 MFC sha2.c 1.9: Initialize T1 to silent gcc warning. END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-08-23T05:09:31.000000Z K 7 svn:log V 348 Forced commit to note repo-copy: These files have been repo-copied from src/include/fts.h and src/lib/libc/gen/fts.c to serve as a base for 4.4BSD compatible versions of fts(3) functions to be preserved through libc symbol versioning while the default versions undergo ABI-breaking extension to support big file trees. Approved by: re (kensmith) END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2007-08-23T08:19:09.000000Z K 7 svn:log V 667 MFC: src/usr.sbin/bsnmpd/modules/snmp_bridge/BEGEMOT-BRIDGE-MIB.txt, Revision 1.3 src/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_port.c, Revision 1.6 src/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_snmp.h, Revision 1.5 src/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c, Revision 1.7 src/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_tree.def, Revision 1.3 src/usr.sbin/bsnmpd/modules/snmp_bridge/snmp_bridge.3, Revision 1.4 Keep the snmp_bridge(3) module up to date with if_bridge(4) and add an object to control the value of the new 'PRIVATE' bridge members' flag. While here, remove stale '__unused' compiler directives. Reviewed by: bz Approved by: bz (mentor) END