ƒ°"159568 170 114 107 1740 332 165 132 359 970 1707 175 281 170 180 469 282 658 393 183 143 298 328 124 493 218 130 175 134 415 293 209 134 322 160 107 226 189 220 267 155 284 311 157 242 176 1219 143 128 150 127 128 198 168 603 212 194 375 175 635 225 369 463 366 394 163 488 157 266 177 728 717 266 449 172 264 1590 1667 163 1023 253 373 313 206 143 1013 137 150 441 163 147 359 214 277 123 125 301 182 151 228 163 181 338 365 371 206 173 205 154 209 128 127 142 398 153 182 204 158 142 124 396 437 396 1841 137 133 159 144 116 930 252 175 240 281 597 136 255 293 455 352 637 120 392 156 285 224 120 131 137 229 243 396 135 212 732 200 221 760 118 260 430 228 134 189 150 175 435 241 179 202 311 212 K 10 svn:author V 3 phk K 8 svn:date V 27 2006-06-13T12:23:22.000000Z K 7 svn:log V 22 Add xref to statfs(2) END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-06-13T12:49:14.000000Z K 7 svn:log V 13 o Sort .Xrs. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-06-13T13:12:56.000000Z K 7 svn:log V 1642 Add scheduler CORE, the work I have done half a year ago, recent, I picked it up again. The scheduler is forked from ULE, but the algorithm to detect an interactive process is almost completely different with ULE, it comes from Linux paper "Understanding the Linux 2.6.8.1 CPU Scheduler", although I still use same word "score" as a priority boost in ULE scheduler. Briefly, the scheduler has following characteristic: 1. Timesharing process's nice value is seriously respected, timeslice and interaction detecting algorithm are based on nice value. 2. per-cpu scheduling queue and load balancing. 3. O(1) scheduling. 4. Some cpu affinity code in wakeup path. 5. Support POSIX SCHED_FIFO and SCHED_RR. Unlike scheduler 4BSD and ULE which using fuzzy RQ_PPQ, the scheduler uses 256 priority queues. Unlike ULE which using pull and push, the scheduelr uses pull method, the main reason is to let relative idle cpu do the work, but current the whole scheduler is protected by the big sched_lock, so the benefit is not visible, it really can be worse than nothing because all other cpu are locked out when we are doing balancing work, which the 4BSD scheduelr does not have this problem. The scheduler does not support hyperthreading very well, in fact, the scheduler does not make the difference between physical CPU and logical CPU, this should be improved in feature. The scheduler has priority inversion problem on MP machine, it is not good for realtime scheduling, it can cause realtime process starving. As a result, it seems the MySQL super-smack runs better on my Pentium-D machine when using libthr, despite on UP or SMP kernel. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2006-06-13T13:53:52.000000Z K 7 svn:log V 234 - Complete the myri10ge -> mxge name change by doing a mechanical s/myri10ge/mxge/g replacement in the myri10ge files. A few contuation lines were joined because of the regained columns. - Hook the mxge driver back to the build. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-06-13T14:09:48.000000Z K 7 svn:log V 68 MFC: rev. 1.27 Be explicit about which chips support jumbo frames. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-06-13T14:23:13.000000Z K 7 svn:log V 35 s/MYRI10GE/MXGE/ and a typo fixed. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2006-06-13T14:27:52.000000Z K 7 svn:log V 261 Fix missing \n and when there are no arg's that means just print out the description so we don't have to do any more queries. Disable the event query code until it figured out since but it is similar to the AEN detail so we should be able to get that working. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-06-13T14:33:35.000000Z K 7 svn:log V 875 o There are two methods to get a process credentials over the unix sockets: 1) A sender sends SCM_CREDS message to a reciever, struct cmsgcred; 2) A reciever sets LOCAL_CREDS socket option and gets sender credentials in control message, struct sockcred. Both methods use the same control message type SCM_CREDS with the same control message level SOL_SOCKET, so they are indistinguishable for the receiver. A difference in struct cmsgcred and struct sockcred layouts may lead to unwanted effects. Now for sockets with LOCAL_CREDS option remove all previous linked SCM_CREDS control messages and then add a control message with struct sockcred so the process specifically asked for the peer credentials by LOCAL_CREDS option always gets struct sockcred. PR: kern/90800 Submitted by: Andrey Simonenko Regres. tests: tools/regression/sockets/unix_cmsg/ MFC after: 1 month END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2006-06-13T14:59:07.000000Z K 7 svn:log V 1608 Make traceroute decode all the ICMP unreachable messages defined in http://www.iana.org/assignments/icmp-parameters. Thankfully IANA's list aggrees with . I've tried to do this in a way which is mostly consistent with tcptraceroute and Debian's version of traceroute. However, sometimes a letter is used twice by these versions, so I've gone with: LBL tcptr Debian (chosen) ICMP_UNREACH_NET !N !N !N !N ICMP_UNREACH_HOST !H !H !H !H ICMP_UNREACH_PROTOCOL !P !P !P !P ICMP_UNREACH_PORT ! !p ! ! ICMP_UNREACH_NEEDFRAG !F-%d !F !F-<%d> !F-<%d> ICMP_UNREACH_SRCFAIL !S !S !S !S ICMP_UNREACH_NET_UNKNOWN !<%d> !U !<%d> !U ICMP_UNREACH_HOST_UNKNOWN !<%d> !U !<%d> !W ICMP_UNREACH_ISOLATED !<%d> !I !I !I ICMP_UNREACH_NET_PROHIB !<%d> !A !A !A ICMP_UNREACH_HOST_PROHIB !<%d> !C !C !Z ICMP_UNREACH_TOSNET !<%d> !T !T !Q ICMP_UNREACH_TOSHOST !<%d> !T !T !T ICMP_UNREACH_FILTER_PROHIB !X !A !A !X ICMP_UNREACH_HOST_PRECEDENCE !V !<%d> !V !V ICMP_UNREACH_PRECEDENCE_CUTOFF !C !<%d> !C !C Graham Wilson is planning to use the same codes in Debian's version. MFC after: 3 weeks END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-06-13T15:25:32.000000Z K 7 svn:log V 80 MFC 1.24- add ability to reset individual targets and negotiate specific rates. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-06-13T17:49:33.000000Z K 7 svn:log V 187 FreeBSD/sparc64 supports the Ultra1 (with a serial console) on (at least) 6.1-RELEASE, so move it to the "supported" list. Submitted by: Gheorghe Ardelean ardelean at ww.uni-erlangen.de END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-06-13T17:54:33.000000Z K 7 svn:log V 77 MFC: FreeBSD/sparc64 supports the Ultra 1, so move to the "supported" list. END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-06-13T18:40:39.000000Z K 7 svn:log V 85 Correct transposed digits in device names which were added in the previous revision. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-06-13T18:43:55.000000Z K 7 svn:log V 371 MFP4 (soc2006/rdivacky_linuxolator) Update of syscall.master: o Adding of several new dummy syscalls (268-310) o Synchronization of amd64 syscall.master with i386 one o Auditing added to amd64 syscall.master o Change auditing type for lstat syscall (bugfix). [1] P4-Changes: 98672, 98674 Noticed by: rwatson [1] Sponsored by: Google SoC 2006 Submitted by: rdivacky END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-06-13T18:48:30.000000Z K 7 svn:log V 184 regen after MFP4 (soc2006/rdivacky_linuxolator) of syscalls.master P4-Changes: similar to 98673 and 98675 but regenerated locally Sponsored by: Google SoC 2006 Submitted by: rdivacky END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-06-13T19:18:09.000000Z K 7 svn:log V 562 - Complete breaking out the definition of bus_space_{tag,handle}_t by moving the typedef of bus_space_tag_t from sys/sparc64/include/bus.h to sys/sparc64/include/_bus.h. This brings sparc64 in sync with the other platforms and fixes the compilation of drivers which include before after sys/sys/rman.h rev. 1.34. - Remove the definition of bus_type_t from sys/sparc64/include/_bus.h as it's unused since sys/sparc64/include/bus.h rev. 1.6 and sys/sparc64/sparc64/bus_machdep.c rev. 1.3. - Remove some pointless comments. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-06-13T19:45:08.000000Z K 7 svn:log V 300 Handle the simple case of just dropping a reference near the start of linker_file_unload() instead of in the middle of a bunch of code for the case of dropping the last reference to improve readability and sanity. While I'm here, remove pointless goto's that were just jumping to a return statement. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-06-13T20:27:23.000000Z K 7 svn:log V 91 Remove some more pointless goto's and don't check to see if malloc(M_WAITOK) returns NULL. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-06-13T20:49:07.000000Z K 7 svn:log V 51 Unexpand TAILQ_FOREACH() and TAILQ_FOREACH_SAFE(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-06-13T21:11:12.000000Z K 7 svn:log V 205 - Push down Giant some in kldstat(). - Use a 'struct kld_file_stat' on the stack to read data under the lock and then do one copyout() w/o holding the lock at the end to push the data out to userland. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-06-13T21:28:18.000000Z K 7 svn:log V 235 - Add a kern_kldload() that is most of the previous kldload() and push Giant down in it. - Push Giant down in kern_kldunload() and reorganize it slightly to avoid using gotos. Also, expose this function to the rest of the kernel. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-06-13T21:34:12.000000Z K 7 svn:log V 32 A couple of minor style tweaks. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-06-13T21:36:23.000000Z K 7 svn:log V 400 Use kern_kldload() and kern_kldunload() to load and unload modules when we intend for the user to be able to unload them later via kldunload(2) instead of calling linker_load_module() and then directly adjusting the ref count on the linker file structure. This makes the resulting consumer code simpler and cleaner and better hides the linker internals making it possible to sanely lock the linker. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-06-13T23:01:50.000000Z K 7 svn:log V 121 Pass boolean value to __predict_false. Try to keep KSE slot count correct for migrating thread, the count is a bit mess. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-06-13T23:45:59.000000Z K 7 svn:log V 34 Fox a typo in sched_is_timeshare. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-06-14T01:38:16.000000Z K 7 svn:log V 80 MFC 1.24- add ability to reset individual targets and negotiate specific rates. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-06-14T02:16:51.000000Z K 7 svn:log V 38 Add a manpage for the CORE scheduler. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2006-06-14T02:23:28.000000Z K 7 svn:log V 321 If bpf(4) has not been compiled into the kernel, initialize the bpf interface pointer to a zeroed, statically allocated bpf_if structure. This way the LIST_EMPTY() macro will always return true. This allows us to remove the additional unconditional memory reference for each packet in the fast path. Discussed with: sam END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-06-14T03:01:06.000000Z K 7 svn:log V 197 Unbreak 64-bit architectures. The 3rd argument to kern_kldload() is a pointer to an integer and td->td_retval[0] is of type register_t. On 64-bit architectures register_t is wider than an integer. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-06-14T03:03:08.000000Z K 7 svn:log V 113 Unbreak build on platforms that don't have uart_sab82532 and uart_z8530 for uart(4) by default, but have scc(4). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-06-14T03:14:26.000000Z K 7 svn:log V 38 Unexpand an instance of TAILQ_EMPTY() END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-06-14T03:46:03.000000Z K 7 svn:log V 225 Clear ke_runq before calling maybe_preempt, this avoids a KASSERT(ke->ke_runq == NULL) panic when the sched_add is recursively called by maybe_preempt. Reported by: Wojciech A. Koszek < dunstan at freebsd dot czest dot pl > END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-06-14T07:42:45.000000Z K 7 svn:log V 68 MFC: Make it actually possible to disable INET6 support in ftpd(8). END K 10 svn:author V 4 joel K 8 svn:date V 27 2006-06-14T08:32:25.000000Z K 7 svn:log V 14 Fix spelling. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-06-14T08:41:15.000000Z K 7 svn:log V 131 MFC revs. 1.276 and 1.277 ufs_vnops.c and rev. 1.18 truncate.2: silently ignore truncate requests for all but VREG, VLNK and VDIR. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2006-06-14T11:11:54.000000Z K 7 svn:log V 94 Fix byteorder of syncpeer and make it actually work. Submitted by: glebius MFC after: 1 week END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-06-14T11:45:01.000000Z K 7 svn:log V 125 o Replace (an incorrect) string copy gymnastics with strlcpy(3). PR: bin/98905 Submitted by: Fabian Keil MFC after: 1 week END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-06-14T15:09:52.000000Z K 7 svn:log V 172 o Revert a previous delta as strlcpy(3) operates with NUL-terminated strings and cp is not. Fix logic in the original code and eliminate core dumps on lines without '\n'. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-06-14T15:32:50.000000Z K 7 svn:log V 58 Change the myri10ge dev entity and all consumers to mxge. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-06-14T16:01:06.000000Z K 7 svn:log V 186 Correct a bug in the handling of multipart messages by sendmail(8) which can allow a malformed message to crash a sendmail queue processing process. Security: FreeBSD-SA-06:17.sendmail END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-06-14T16:01:20.000000Z K 7 svn:log V 213 Correct a bug in the handling of multipart messages by sendmail(8) which can allow a malformed message to crash a sendmail queue processing process. Security: FreeBSD-SA-06:17.sendmail Approved by: so (cperciva) END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2006-06-14T16:23:02.000000Z K 7 svn:log V 60 Import sendmail 8.13.7 Security: FreeBSD-SA-06:17.sendmail END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2006-06-14T16:23:02.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r159609, 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 2006-06-14T16:23:03.000000Z K 7 svn:log V 80 This commit was manufactured by cvs2svn to create tag 'sendmail-vendor-v8_13_7'. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2006-06-14T16:23:17.000000Z K 7 svn:log V 1120 Update the mxge driver. - Update the firmware to the latest released firmware (1.4.3), which corresponds to the firmware in the latest shipping drivers from Myricom. This firmware fixes several bugs in the firmware's PCI-e implementation, and it also changes the driver/firmware interface: o TSO was added, and changed the format of the transmit descriptors. o The firmware no longer counts transmits descriptors, but frames. So the driver needs to keep a count of the number of frames sent. o The weird interrupt strategy changed to a normal receive return ring. This ring is much bigger, and we may be able to support DEVICE_POLLING. o Myricom's header files changed the name of firmware related #define's and enums (s/_MCP_/FW_). - Stopped spamming the console with lots of printfs unless mxge_verbose (or bootverbose) is set. - Made additional information available via sysctl, including the results of a PCI-e DMA benchmark run at device reset. - Decreased the excessively long timeouts when sending commands from 2 seconds to 20ms. Sponsored by: Myricom Inc. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2006-06-14T16:25:31.000000Z K 7 svn:log V 46 Resolve conflicts from sendmail 8.13.7 import END K 10 svn:author V 3 hrs K 8 svn:date V 27 2006-06-14T16:29:06.000000Z K 7 svn:log V 36 Document FreeBSD-SA-06:17.sendmail. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2006-06-14T16:33:59.000000Z K 7 svn:log V 53 Update FreeBSD info regarding sendmail 8.13.7 import END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2006-06-14T16:34:39.000000Z K 7 svn:log V 30 Record sendmail 8.13.7 import END K 10 svn:author V 3 hrs K 8 svn:date V 27 2006-06-14T16:36:08.000000Z K 7 svn:log V 36 Document FreeBSD-SA-06:17.sendmail. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2006-06-14T16:53:35.000000Z K 7 svn:log V 105 - Document FreeBSD-SA-06:17.sendmail. - Split an item of sendmail import since 8.13.7 is not merged yet. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2006-06-14T17:07:21.000000Z K 7 svn:log V 71 Remove the initial myri10ge driver, now that it has been renamed mxge. END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-06-14T17:48:45.000000Z K 7 svn:log V 510 Correct an error in the previous revision that could lead to a panic: Found mapped cache page. Specifically, if cnt.v_free_count dips below cnt.v_free_reserved after p_start has been set to a non-NULL value, then vm_map_pmap_enter() would break out of the loop and incorrectly call pmap_enter_object() for the remaining address range. To correct this error, this revision truncates the address range so that pmap_enter_object() will not map any cache pages. In collaboration with: tegge@ Reported by: kris@ END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2006-06-14T17:52:30.000000Z K 7 svn:log V 114 Replace a sc->ifp->if_snd.ifq_drv_maxlen with IFQ_SET_MAXLEN(), and call IFQ_SET_READY(). Submitted by: brueffer END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-06-14T18:26:34.000000Z K 7 svn:log V 97 - new sentence -> new line - s/freebsd/FreeBSD/ for consistency - eol and eof whitespace removed END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2006-06-14T19:32:00.000000Z K 7 svn:log V 277 Much to my surprise, IFQ_DRV_DEQUEUE() can return a null mbuf even if !IFQ_DRV_IS_EMPTY(). Taking this into account, I re-structured the transmit routine so as to avoid adding another if/then in the critical path. Thanks to brueffer for showing my how to test with altq/pf. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-06-14T19:47:22.000000Z K 7 svn:log V 80 MFC 1.24- add ability to reset individual targets and negotiate specific rates. END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2006-06-14T21:20:39.000000Z K 7 svn:log V 538 MFC procfs.c revisions 1.13 and 1.14: 1.13: Revision 1.4 set access for all sensitive files in /proc/ to mode 0 if a process's uid or gid has changed, but the /proc/ directory itself was also set to mode 0. Assuming this doesn't open any security holes, open access to the /proc/ directory for users other than root to read or search the directory. 1.14: Upon further review, DES prefers this change over that in revision 1.13 to resolve the directory access problem for processes with P_SUGID flag set. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2006-06-14T23:03:41.000000Z K 7 svn:log V 127 Bump the version of src/etc/sendmail/freebsd*mc so mergemaster will merge /etc/mail/freebsd*cf Submitted by: Rostislav Krasny END K 10 svn:author V 3 ups K 8 svn:date V 27 2006-06-15T01:01:06.000000Z K 7 svn:log V 276 Remove mpte optimization from pmap_enter_quick(). There is a race with the current locking scheme and removing it should have no measurable performance impact. This fixes page faults leading to panics in pmap_enter_quick_locked() on amd64/i386. Reviewed by: alc,jhb,peter,ps END K 10 svn:author V 4 grog K 8 svn:date V 27 2006-06-15T01:16:36.000000Z K 7 svn:log V 369 MFC: Don't go past the end of the month with a repetitive entry of the style "every Monday": mon * Do Foo. Previously, at the end of the month, this could cause a printout of the following nature when invoked with -A 7: 36 May* Do Foo If the entry runs into the following month, adjust month and day, wrapping round into next year where necessary. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2006-06-15T04:52:52.000000Z K 7 svn:log V 269 MFC: 1.87 For network filesystems (NFS, samba, etc.), do not pass "export" nmount() parameter to try to delete an NFS export. It won't work, and will log a spurious warning to syslog. Tested by: Arno J. Klaassen END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-06-15T06:37:39.000000Z K 7 svn:log V 297 Add scheduler API sched_relinquish(), the API is used to implement yield() and sched_yield() syscalls. Every scheduler has its own way to relinquish cpu, the ULE and CORE schedulers have two internal run- queues, a timesharing thread which calls yield() syscall should be moved to inactive queue. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-06-15T06:41:57.000000Z K 7 svn:log V 67 Use scheduler API sched_relinquish() to implement yield() syscall. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2006-06-15T07:00:49.000000Z K 7 svn:log V 391 Implement the PS4 variable which is defined by the POSIX User Portability Utilities option. Its value is printed at the beginning of the line if tracing (-x) is active. PS4 defaults to the string "+ " which is compatible with the old behaviour to always print "+ ". We still need to expand variables in PS1, PS2 and PS4. PR: 46441 (part of) Submitted by: schweikh Obtained from: NetBSD END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2006-06-15T07:57:05.000000Z K 7 svn:log V 61 Merge NetBSD's revision 1.86: Don't crash on " | { }". END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-06-15T08:53:09.000000Z K 7 svn:log V 171 o Expand an exclusive lock scope to prevent a race between two simultaneous module_register(). Original work done by: Alex Lyashkov Reviewed by: jhb MFC after: 2 weeks END K 10 svn:author V 4 oleg K 8 svn:date V 27 2006-06-15T08:54:29.000000Z K 7 svn:log V 84 install_state(): style(9) cleanup Approved by: glebius (mentor) MFC after: 1 month END K 10 svn:author V 4 oleg K 8 svn:date V 27 2006-06-15T09:39:22.000000Z K 7 svn:log V 634 Add support of 'tablearg' feature for: - 'tag' & 'untag' action parameters. - 'tagged' & 'limit' rule options. Rule examples: pipe 1 tag tablearg ip from table(1) to any allow ip from any to table(2) tagged tablearg allow tcp from table(3) to any 25 setup limit src-addr tablearg sbin/ipfw/ipfw2.c: 1) new macros GET_UINT_ARG - support of 'tablearg' keyword, argument range checking. PRINT_UINT_ARG - support of 'tablearg' keyword. 2) strtoport(): do not silently truncate/accept invalid port list expressions like: '1,2-abc' or '1,2-3-4' or '1,2-3x4'. style(9) cleanup. Approved by: glebius (mentor) MFC after: 1 month END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-06-15T14:31:49.000000Z K 7 svn:log V 620 Possess some work from OpenBSD, with some local additions. - Add more device IDs, ASIC revisions and chip IDs. - Rewrite a bit code that picks the description for device. - Introduce several macros to shorten quirks for bugs and features.[*] - Use some magic values, that OpenBSD has successfully possessed from Linux (Broadcom supplied) driver. - Remove disabled code that tried to access VPD. [*] The macro that matches Jumbo capable NICs is rewritten to preserve our current behavior. I need clarify whether our or theirs is correct. PR: 68351 (and may be others) Obtained from: OpenBSD, brad@ mostly END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-06-15T14:35:31.000000Z K 7 svn:log V 169 Forced commit to note that previous commit was also: Partially submitted by: Pavel Merdin Tested by: Lucas Nussbaum END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2006-06-15T15:15:07.000000Z K 7 svn:log V 351 MFC enhancements and fix-up for ichwd: Re-work the bus attachment somewhat. Make the rids unique for the SMI/TCO address space. Switch the bus space I/O to the one specific for either the SMI or TCO space. Re-calibrate the tick. Add some more device id's, 82801FBR submitted by des. This makes it work on the platforms I've tested with. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2006-06-15T15:37:34.000000Z K 7 svn:log V 75 MFC ipmi(4) (OpenIPMI like driver). I'll hook it up to the build shortly. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2006-06-15T15:39:12.000000Z K 7 svn:log V 170 Since we are doing some bpf(4) clean up, change a couple of function prototypes to be consistent. Also, ANSI'fy function definitions. There is no functional change here. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2006-06-15T15:52:05.000000Z K 7 svn:log V 1491 MFC the enhancements to the Linux emulation layer so the MegaRAID SAS management tools can work. This is not totally connected to the build yet. The mfi(4) change have not been MFC'ed yet. This will be done shortly. I'm trying to do this in chunks so I don't totally break the build on a missed commit. This has passed make universe a while ago: Enhance the Linux emulation layer to make MegaRAID SAS managements tool happy. Add back in a scheme to emulate old type major/minor numbers via hooks into stat, linprocfs to return major/minors that Linux app's expect. Currently only /dev/null is always registered. Drivers can register via the Linux type shim similar to the ioctl shim but by using linux_device_register_handler/linux_device_unregister_handler functions. The structure is: struct linux_device_handler { char *bsd_driver_name; char *linux_driver_name; char *bsd_device_name; char *linux_device_name; int linux_major; int linux_minor; int linux_char_device; }; Linprocfs uses this to display the major number of the driver. The soon to be available linsysfs will use it to fill in the driver name. Linux_stat uses it to translate the major/minor into Linux type values. Note major numbers are dynamically assigned via passing in a -1 for the major number so we don't need to keep track of them. This is somewhat needed due to us switching to our devfs. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2006-06-15T15:54:59.000000Z K 7 svn:log V 1568 cvs update -r 1 is not the same as -j 1 ... so pull this file in correctly: MFC the enhancements to the Linux emulation layer so the MegaRAID SAS management tools can work. This is not totally connected to the build yet. The mfi(4) change have not been MFC'ed yet. This will be done shortly. I'm trying to do this in chunks so I don't totally break the build on a missed commit. This has passed make universe a while ago: Enhance the Linux emulation layer to make MegaRAID SAS managements tool happy. Add back in a scheme to emulate old type major/minor numbers via hooks into stat, linprocfs to return major/minors that Linux app's expect. Currently only /dev/null is always registered. Drivers can register via the Linux type shim similar to the ioctl shim but by using linux_device_register_handler/linux_device_unregister_handler functions. The structure is: struct linux_device_handler { char *bsd_driver_name; char *linux_driver_name; char *bsd_device_name; char *linux_device_name; int linux_major; int linux_minor; int linux_char_device; }; Linprocfs uses this to display the major number of the driver. The soon to be available linsysfs will use it to fill in the driver name. Linux_stat uses it to translate the major/minor into Linux type values. Note major numbers are dynamically assigned via passing in a -1 for the major number so we don't need to keep track of them. This is somewhat needed due to us switching to our devfs. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-06-15T15:56:55.000000Z K 7 svn:log V 69 o Make grep ^strlcpy work: put a return value type on separate line. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2006-06-15T16:07:57.000000Z K 7 svn:log V 925 MFC in all the changes to the mfi(4) driver. The high light is: Add in a bunch of things to the mfi driver: - Linux ioctl support, with the other Linux changes MegaCli will run if you mount linprocfs & linsysfs then set sysctl compat.linux.osrelease=2.6.12 or similar. This works on i386. It should work on amd64 but not well tested yet. StoreLib may or may not work. Remember to kldload mfi_linux. - Add in AEN (Async Event Notification) support so we can get messages from the firmware when something happens. Not all messages are in defined in event detail. Use event_log to try to figure out what happened. - Try to implement something like SIGIO for StoreLib. Since mrmonitor doesn't work right I can't fully test it. StoreLib works best with the rh9 base. In theory mrmonitor isn't needed due to native driver support of AEN :-) Now we can configure and monitor the RAID better. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2006-06-15T16:27:15.000000Z K 7 svn:log V 160 MFC: 1.10 Extend the notdef #ifdef to cover the packet copy as there is no point in doing that if we're not doing the rest of the work. Submitted by: thompsa END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2006-06-15T16:44:27.000000Z K 7 svn:log V 275 MFC a bunch of fixes: - Make amr_linux work as a module by avoiding calling amr_linux_ioctl_int from the amr_linux. This simplifies the amr_linux shim and puts the smarts into amr.c. - 1.76 - 1.77 of amr.c (race conditions). - 1.34 of amr_pci.c (compiler warning). END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2006-06-15T17:57:50.000000Z K 7 svn:log V 215 MFC, let's hook up things to the build and see what I messed up! - enable linsysfs - enable mfi_linux - enable ipmi A new make universe will be fired off shortly once this makes it back via cvsup. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2006-06-15T19:08:03.000000Z K 7 svn:log V 108 Forgot to bring this fix into my commit tree to include opt_compat.h. This should unbreak the amd64 build. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-06-15T19:38:42.000000Z K 7 svn:log V 46 mxge(4) works with altq. Tested by: gallatin END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-06-15T19:58:53.000000Z K 7 svn:log V 915 Remove COMPAT_43 from GENERIC (and other kernel configs). For amd64 there's an explicit comment that it's needed for the linuxolator. This is not the case anymore. For all other architectures there was only a "KEEP THIS". I'm (and other people too) running a COMPAT_43-less kernel since it's not necessary anymore for the linuxolator. Roman is running such a kernel for a for longer time. No problems so far. And I doubt other (newer than ia32 or alpha) architectures really depend on it. This may result in a small performance increase for some workloads. If the removal of COMPAT_43 results in a not working program, please recompile it and all dependencies and try again before reporting a problem. The only place where COMPAT_43 is needed (as in: does not compile without it) is in the (outdated/not usable since too old) svr4 code. Note: this does not remove the COMPAT_43TTY option. Nagging by: rdivacky END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-06-15T20:57:05.000000Z K 7 svn:log V 45 MFC 1.27: Fix a typo when setting wirespeed. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2006-06-15T21:12:15.000000Z K 7 svn:log V 53 Not my day, try to get this really checking into 6.X END K 10 svn:author V 4 csjp K 8 svn:date V 27 2006-06-16T05:09:28.000000Z K 7 svn:log V 347 Axe Giant from vn_fullpath(9). The vnode -> pathname lookup should be filesystem agnostic. We are not touching any file system specific functions in this code path. Since we have a cache lock, there is really no need to keep Giant around here. This eliminates Giant acquisitions for any syscall which is auditing pathnames. Discussed with: jeff END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-06-16T07:36:18.000000Z K 7 svn:log V 71 Kill an XXX remark that has been untrue since rev. 1.150 of this file. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2006-06-16T10:25:06.000000Z K 7 svn:log V 52 Fix pfsync w/o carp compilation. Submitted by: yar END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-06-16T11:14:54.000000Z K 7 svn:log V 266 Guess the number of arguments to a function somewhat better. Now GCC likes to stick a "mov %eax, %FOO" instruction before "addl $BAR, %esp" if the function just called returns an int, which is a very common case in the kernel. Sponsored by: RiNet (Cronyx Plus LLC) END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-06-16T11:44:55.000000Z K 7 svn:log V 121 Allow for ppc(4) to be built as module, initially only for i386 and amd64. MFC after: 1 month Approved by: pjd (mentor) END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-06-16T11:49:37.000000Z K 7 svn:log V 184 Return -1 from db_numargs() if number of args couldn't be guessed. Use this later to indicate in backtrace output that args shown are uncertain. Sponsored by: RiNet (Cronyx Plus LLC) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2006-06-16T12:51:53.000000Z K 7 svn:log V 30 Build the ppc module on pc98. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2006-06-16T13:14:15.000000Z K 7 svn:log V 32 MFC: Add a bootable CD support. END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-06-16T13:33:02.000000Z K 7 svn:log V 208 MFC rev. 1.12 of setfacl.c, rev. 1.15,1.16 of setfacl.1. Copy filename read from the stdin into the private buffer. Document the way to get list of files to process from the stdin. Approved by: kan (mentor) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2006-06-16T13:40:50.000000Z K 7 svn:log V 89 Add the cdboot for pc98 to the right place, and remove wrong files. Pointy hat to: nyan END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2006-06-16T13:53:39.000000Z K 7 svn:log V 54 Add in bus_if.h device_if.h to make pc98 build happy. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-06-16T14:04:21.000000Z K 7 svn:log V 132 Unbreak tinderbox- fix device_printf arg to accomodate different sizes of vm_paddr_t in different contexts (e.g., PAE vs. non PAE). END K 10 svn:author V 4 nyan K 8 svn:date V 27 2006-06-16T14:05:13.000000Z K 7 svn:log V 70 MFC: revision 1.10 and 1.11. - Add Fn+F7 hotkey (suspend) support. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-06-16T14:51:23.000000Z K 7 svn:log V 84 Mention that the powernow driver also supports AMD Cool'n'Quiet. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-06-16T16:17:52.000000Z K 7 svn:log V 245 Never zero-out db_last_symtab. Whan backtraces are done in parallel in several threads, one symbol lookup could clear db_last_symtab when another one going to use it as starting point for traversal. Approved by: pjd (mentor) MFC after: 1 month END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2006-06-16T20:29:05.000000Z K 7 svn:log V 267 Add a kern.timecounter.tc sysctl tree that contains the mask, frequency, quality and current value of each available time counter. At the moment all of these are read-only, but it might make sense to make some of these read-write in the future. MFC after: 3 months END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-06-16T21:06:03.000000Z K 7 svn:log V 278 Check for errors when registering and unregistering firmware modules. This prevents the unfortunate situation whereby one might kldload a firmware module by hand and later kldunload it while a driver still has an open reference to it. MFC after: 1 week Glanced at by: iedowse END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-06-16T21:30:41.000000Z K 7 svn:log V 112 Note that we have a fix for the IPv6-on-point-to-point links issue (committed to HEAD). Fix an unrelated typo. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-06-16T22:11:49.000000Z K 7 svn:log V 77 Remove unused (and ifdef'd) unp_abort() and unp_drain(). MFC after: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-06-16T22:11:55.000000Z K 7 svn:log V 112 MFC: Change msleep() and tsleep() to not alter the calling thread's priority if the specified priority is zero. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-06-16T22:31:56.000000Z K 7 svn:log V 58 Remove extra blank line below comment. MFC after: 1 week END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-06-16T23:03:22.000000Z K 7 svn:log V 112 Document that we can only bridge wireless interfaces in hostap mode, this is becoming a faq. MFC after: 1 week END K 10 svn:author V 6 emaste K 8 svn:date V 27 2006-06-17T02:58:18.000000Z K 7 svn:log V 33 Add a description for sysctl -d. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-06-17T04:31:40.000000Z K 7 svn:log V 34 New errata: NFS server slowdown. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-06-17T04:54:00.000000Z K 7 svn:log V 49 MFCs noted: pc98 CDROM bootloader, linsysfs(5). END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-06-17T04:57:12.000000Z K 7 svn:log V 304 New release notes (not merged from HEAD): UMA memory allocation stats bug fix, quota/snapshot deadlock fix, NFS server Giant-leak fix, rc.d/jail bugfixes. MFC: pc98 CDROM bootloader, linsysfs(5). The "new" release notes all fix problems noted in the 6.1 errata, so they probably should be mentioned. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-06-17T07:25:58.000000Z K 7 svn:log V 59 o Typo: ownship -> ownership. Obtained from: DragonFlyBSD END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-06-17T08:45:01.000000Z K 7 svn:log V 90 Use ptoa(psize) instead of size to compute the end of the mapping in vm_map_pmap_enter(). END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-06-17T09:38:08.000000Z K 7 svn:log V 106 Remove the snd_es1888 module now that it isn't build anymore. Noticed by: Neil Short END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-06-17T12:36:12.000000Z K 7 svn:log V 64 MFC rev. 1.8: add missed $start variable in the grep statement. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-06-17T12:38:43.000000Z K 7 svn:log V 48 MFC rev. 1.52: vinum.8 -> gvinum.8 translation. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-06-17T12:48:27.000000Z K 7 svn:log V 29 MFC 1.34: support for FC919X END K 10 svn:author V 8 wsalamon K 8 svn:date V 27 2006-06-17T13:53:04.000000Z K 7 svn:log V 298 Make the size of the subject32_ex and process32_ex tokens depend on whether we have an IPv6 address. Write the term ID as 4 or 16 bytes depending on address type. This change matches the recent OpenBSM change, and what Solaris does. Obtained from: TrustedBSD Project Approved by: rwatson (mentor) END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-06-17T14:36:44.000000Z K 7 svn:log V 339 dd the envy24 driver as is to the tree. It's not connected to the build yet. More commits to follow. I got no response from the author, but since the driver is BSD licensed I don't think he will complain. :-) I got it from http://people.freebsd.org/~lofi/envy24.tar.gz Written by: Katsurajima Naoto END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2006-06-17T14:58:59.000000Z K 7 svn:log V 299 MFC 1.316 (substitute vfs_mount_error for printf): Check the sectorsize of the underlying disk before trying to bread() the UFS superblock. Should eliminate crashes when trying to do: mount -t ufs on an audio CD. PR: kern/85893 Reported by: Russell Francis END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-06-17T15:11:36.000000Z K 7 svn:log V 1742 - fix compatibility with newer versions of FreeBSD - fix all warnings during compilation - fix obvious bugs - add support for more cards Now supported: - M-Audio Delta Dio 2496 - M-Audio Audiophile 2496 - Terratec DMX 6fire Known bugs (detected by Nokolas and Stefan): - $ kldunload snd_ak452x.ko Warning: memory type ak452x leaked memory on destroy (1 allocations, 64 bytes leaked). - No sound in KDE: Everything works fine at the console but when I load KDE (3.5.3) the sound stutters and plays at less then 1/2 speed. - 'mixer: WRITE_MIXER: Device not configured' The message repeats x times at system startup, x = whatever hw.snd.maxautovchans is set to. (this is because only vol, pcm and line are supported, but the driver shows more than those mixer devices and setting those additional mixers results in this error message) - vchans don't work - 24 bit playback not supported (only 16/32 bit) - after kld(un)loading some times, the card fails to be probed until reboot Datasheets are available from: http://www.nbritton.org/uploads/envy24/ http://www.asahi-kasei.co.jp/akm/en/product/ak4528/ak4528_f01e.pdf http://www.asahi-kasei.co.jp/akm/en/product/ak4528/ekd4528-01.pdf http://www.asahi-kasei.co.jp/akm/en/product/ak4524/ak4524_f03e.pdf http://www.asahi-kasei.co.jp/akm/en/product/ak4524/ekd4524.pdf http://www.wolfson.co.uk/uploads/documents/en/WM8728.pdf http://www.richtech.co.kr/down/richtek/RT9131.pdf http://xkodi.svobodno.com/xkodi/space71.html http://people.freebsd.org/~lofi/envy24.pdf http://people.freebsd.org/~lofi/4524.pdf Submitted by: Konstantin Dimitrov Tested by: Nikolas Britton Stefan Ehmann END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-06-17T16:41:54.000000Z K 7 svn:log V 40 Connect the envy42 driver to the build. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-06-17T16:43:21.000000Z K 7 svn:log V 36 Add man page for the envy24 driver. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2006-06-17T16:46:04.000000Z K 7 svn:log V 64 MFC: ALTQ-ify nve(4). Submitted by: Chris Dionissopoulos END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-06-17T17:01:41.000000Z K 7 svn:log V 47 Load the envy24 driver in the meta-module too. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-06-17T17:10:39.000000Z K 7 svn:log V 19 Add snd_envy24(4). END K 10 svn:author V 5 andre K 8 svn:date V 27 2006-06-17T17:32:38.000000Z K 7 svn:log V 835 Add locking to TCP syncache and drop the global tcpinfo lock as early as possible for the syncache_add() case. The syncache timer no longer aquires the tcpinfo lock and timeout/retransmit runs can happen in parallel with bucket granularity. On a P4 the additional locks cause a slight degression of 0.7% in tcp connections per second. When IP and TCP input are deserialized and can run in parallel this little overhead can be neglected. The syncookie handling still leaves room for improvement and its random salts may be moved to the syncache bucket head structures to remove the second lock operation currently required for it. However this would be a more involved change from the way syncookies work at the moment. Reviewed by: rwatson Tested by: rwatson, ps (earlier version) Sponsored by: TCP/IP Optimization Fundraise 2005 END K 10 svn:author V 3 gnn K 8 svn:date V 27 2006-06-17T17:47:05.000000Z K 7 svn:log V 159 MFC a forgotten fix Make sure that there actually is a next packet before setting nextrecord to that field. PR: 83885 Submitted by: hirose@comm.yamaha.co.jp END K 10 svn:author V 5 andre K 8 svn:date V 27 2006-06-17T17:49:11.000000Z K 7 svn:log V 81 ANSIfy and tidy up comments. Sponsored by: TCP/IP Optimization Fundraise 2005 END K 10 svn:author V 5 andre K 8 svn:date V 27 2006-06-17T17:57:36.000000Z K 7 svn:log V 145 Rearrange fields in struct syncache and syncache_head to make them more cache line friendly. Sponsored by: TCP/IP Optimization Fundraise 2005 END K 10 svn:author V 3 gnn K 8 svn:date V 27 2006-06-17T17:58:33.000000Z K 7 svn:log V 188 MFC 1.61 in6.c 1.65 nd6.c Fix spurious warnings from neighbor discovery when working with IPv6 over point to point tunnels (gif). PR: 93220 Submitted by: Jinmei Tatuya END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2006-06-17T18:17:26.000000Z K 7 svn:log V 500 MFC: 1.78, 1.79 Remove incorrect null_checkexp() routine. This will allow the NFS server to call vfs_stdcheckexp() on the exported nullfs filesystem, not the underlying filesystem being nullfs mounted. If the lower filesystem was not NFS exported, then the NFS exported null filesystem would not work. Modify MNT_UPDATE behavior for nullfs so that it does not return EOPNOTSUPP if an "export" parameter was passed in. This should allow nullfs mounts to be NFS exported. PR: kern/87906 END K 10 svn:author V 5 andre K 8 svn:date V 27 2006-06-17T18:42:07.000000Z K 7 svn:log V 42 Fix the !INET6 compile. Reported by: alc END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-06-17T18:42:26.000000Z K 7 svn:log V 157 Correct the names or some Adaptec and ICP devices, verified by the respective websites. Reviewed by: scottl Approved by: rwatson (mentor) MFC after: 5 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-06-17T18:45:53.000000Z K 7 svn:log V 195 - Bring the hardware list up to date - Convert to our standard SYNOPSIS layout - Remove the kld from FILES, it's now mentioned in the SYNOPSIS - Remove useless .Pp call at eof MFC after: 3 days END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2006-06-17T20:02:28.000000Z K 7 svn:log V 358 MFC: msdosfs_vfsops.c:1.150, ntfs_vfsops.c:1.83, udf_vfsops.c:1.41 ext2_vfsops.c:1.157, cd9660_vfsops.c:1.145, ffs_vfsops.c:1.314, reiserfs_vfsops.c:1.5 Remove calls to vfs_export() for exporting a filesystem for NFS mounting from individual filesystems. Call it instead in vfs_mount.c, after we call VFS_MOUNT() for a specific filesystem. END K 10 svn:author V 4 rink K 8 svn:date V 27 2006-06-17T20:10:32.000000Z K 7 svn:log V 258 Prevent 'mutex not owned' panic on boot if INVARIANTS is in the kernel. This makes the GENERIC kernel boot on ppc. Reviewed by: grehan Approved by: imp (mentor) MFC after: 1 week dCVS: ---------------------------------------------------------------------- END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-06-17T22:48:34.000000Z K 7 svn:log V 540 Remove sbinsertoob(), sbinsertoob_locked(). They violate (and have basically always violated) invariannts of soreceive(), which assume that the first mbuf pointer in a receive socket buffer can't change while the SB_LOCK sleepable lock is held on the socket buffer, which is precisely what these functions do. No current protocols invoke these functions, and removing them will help discourage them from ever being used. I should have removed them years ago, but lost track of it. MFC after: 1 week Prodded almost by accident by: peter END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-06-17T23:22:10.000000Z K 7 svn:log V 28 improve reporting of clocks END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-06-17T23:24:35.000000Z K 7 svn:log V 299 Carefully note the RMII bit in the config register at attach time. The boot loader is supposed to leave this bit set to the right value for the board. If this bit was set at attach time, use it to init the config register correctly. Note: this means the boot loader has to properly initialize it. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-06-17T23:34:59.000000Z K 7 svn:log V 64 comment out twi for now: no iicbus in KB920X: it breaks booting END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-06-18T04:48:11.000000Z K 7 svn:log V 191 New release notes: SCHED_CORE, snd_envy24(4), better traceroute(8) ICMP unreachable decoding, Linux emulation now FC4 (+MFC). MFCs noted: ipmi(4), cm(4) MPSAFE, nve(4) ALTQ, sk(4) MPSAFE, END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-06-18T04:56:03.000000Z K 7 svn:log V 130 New release note: Bugfix for IPv6 NDP point-to-point issue. MFC: ipmi(4), nve(4) ALTQ, sk(4) MPSAFE, Linux emulation uses FC4. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-06-18T05:03:53.000000Z K 7 svn:log V 27 MFC: Linux emulation FC4. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-06-18T05:04:42.000000Z K 7 svn:log V 36 Make this usable for all platforms. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-06-18T05:05:46.000000Z K 7 svn:log V 42 Unconditionally enable ppc(4) and puc(4). END K 10 svn:author V 5 silby K 8 svn:date V 27 2006-06-18T06:14:27.000000Z K 7 svn:log V 134 MFC revs 1.77 through 1.80: - Allow bus_dmamap_load to return ENOMEM - Do a better job with alignment, and warn if we fail to align END K 10 svn:author V 5 silby K 8 svn:date V 27 2006-06-18T06:16:16.000000Z K 7 svn:log V 148 MFC revs 1.74 through 1.77: - Allow bus_dmamap_load to return ENOMEM - Do a better job with alignment, and warn if we fail to align END K 10 svn:author V 5 silby K 8 svn:date V 27 2006-06-18T06:23:14.000000Z K 7 svn:log V 301 MFC if_bfe.c revs 1.37 through 1.40 and if_bfereg.h rev 1.10. This should finally put the issues the bfe driver has with > 1G machines to rest. Note that these changes are dependant on changes which have been made to busdma, so merging just this patch to releng_6_1 or releng_5 will be ineffective. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-06-18T07:33:51.000000Z K 7 svn:log V 38 Correct date for the previous commit. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-06-18T09:53:00.000000Z K 7 svn:log V 114 o Convert to our new SYNOPSIS layout o Add "device scbus/pci/etc" where needed for consistency MFC after: 3 days END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-06-18T11:14:40.000000Z K 7 svn:log V 639 Give a major overhaul to asf(8). The improvements are: - can get the kld info from core files via kvm(3); - can use kldstat(2) directly, which is a piece of cake; - can use .symbols or whatever, which allows for use by non-developers when reporting system crashes -- now asf(8) can be mentioned in the handbook at last; - speed (no more double fts(3) per loaded module); - various bugs fixed. At the same time, the new asf(8) should stay compatible with the old one, bar bugs. Perhaps some defaults may be changed later to match today's state of affairs. Reviewed by: grog MFC after: 1 month Sponsored by: RiNet (Cronyx Plus LLC) END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-06-18T11:26:17.000000Z K 7 svn:log V 107 "clean" of no longer removes a.out, Errs, errs, mklog, and ${PROG}.core . MFC after: 1 week END K 10 svn:author V 5 andre K 8 svn:date V 27 2006-06-18T11:48:03.000000Z K 7 svn:log V 126 Remove double lock acquisition in syncookie_lookup() which came from last minute conversions to macros. Pointy hat to: andre END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-06-18T12:07:00.000000Z K 7 svn:log V 667 The i386 "call" instruction works as follows: it pushes the return address on the stack and only then "dereferences" %pc. Therefore, in the case of a call to an invalid address, we arrive to the trap handler with the invalid value in tf_eip. This used to prevent db_backtrace() from assigning the most recent and interesting frame on the stack to the right spot in the right function, from which the invalid call was attempted. Try to detect and work around that by recovering the return address from the stack. The work-around requires the fault address be passed to db_backtrace(). Smuggle it as tf_err. MFC after: 1 month Sponsored by: RiNet (Cronyx Plus LLC) END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-06-18T12:13:49.000000Z K 7 svn:log V 26 Fix style while I'm here. END K 10 svn:author V 5 andre K 8 svn:date V 27 2006-06-18T12:26:11.000000Z K 7 svn:log V 165 Move all syncache related structures to tcp_syncache.c. They are only used there. This unbreaks userland programs that include tcp_var.h. Discussed with: rwatson END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-06-18T12:27:59.000000Z K 7 svn:log V 337 Add a funny sysctl: debug.kdb.trap_code . It is similar to debug.kdb.trap, except for it tries to cause a page fault via a call to an invalid pointer. This can highlight differences between a fault on data access vs. a fault on code call some CPUs might have. This appeared as a test for a work \ Sponsored by: RiNet (Cronyx Plus LLC) END K 10 svn:author V 5 andre K 8 svn:date V 27 2006-06-18T13:03:42.000000Z K 7 svn:log V 133 Do not access syncache entry before it was allocated for the TF_NOOPT case in syncache_add(). Found by: Coverity Prevent CID: 1473 END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-06-18T13:44:26.000000Z K 7 svn:log V 37 Alpha is gone, no need to keep them. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-06-18T13:51:39.000000Z K 7 svn:log V 92 - xref linsysfs - improve the ldconfig part - tell about pitfalls with the osrelease sysctl END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-06-18T14:08:20.000000Z K 7 svn:log V 53 Add MLINKS: ixgb.4 -> if_ixgb.4 mxge.4 -> if_mxge.4 END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-06-18T14:12:27.000000Z K 7 svn:log V 78 o Capitalization fixes o Remove the outdated FILES section MFC after: 3 days END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-06-18T14:14:41.000000Z K 7 svn:log V 337 - Rename hw.snd.unit to hw.snd.default_unit to make the purpose more obvious. - Enable 4 automatic vchan's by default. - Add some comments which provide ides/questions for improvement. - Prefix some temporary sysctl's with an underscore to denote that it is not an official API but a workaround until the real solution is implemented. END K 10 svn:author V 5 andre K 8 svn:date V 27 2006-06-18T14:24:12.000000Z K 7 svn:log V 146 Remove T/TCP RFC1644 Connection Count comparison macros. They are no longer used and needed. Sponsored by: TCP/IP Optimization Fundraise 2005 END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-06-18T14:37:48.000000Z K 7 svn:log V 82 o Remove FILES section (uninteresting for users) o Xref asr(4) MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-06-18T14:45:28.000000Z K 7 svn:log V 104 o sort the HARDWARE list somewhat o mention ATA and SATA support o mdoc improvements MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-06-18T14:48:36.000000Z K 7 svn:log V 215 MFC: 1.1.1.13 * elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): When linking a non-shared object, do not reserve space in .plt and .rela.plt for regular symbols neither defined nor referenced in shared objects. END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-06-18T15:37:59.000000Z K 7 svn:log V 117 MFC 1.3: The monetary decimal point (mon_decimal_point) for pt_PT.ISO8859-1 should be a comma (,) and not a dot (.). END