ƒ²T151301 182 308 331 514 514 364 232 246 407 112 239 262 128 386 824 1073 1958 124 129 288 288 227 190 132 128 117 130 130 130 360 365 273 285 185 408 180 159 444 178 232 104 349 867 167 403 165 209 1060 352 723 569 298 356 195 111 205 96 168 144 180 130 229 161 187 688 608 111 212 252 190 345 159 160 159 193 273 131 171 147 559 653 207 149 139 144 170 118 142 163 140 264 363 346 423 421 158 145 302 305 416 415 387 1531 266 343 219 266 219 225 141 120 402 164 228 213 165 141 266 148 363 135 304 205 196 122 167 248 295 127 520 765 145 684 206 148 125 119 152 128 142 248 151 222 195 298 169 108 185 155 166 346 2323 267 239 148 217 637 269 126 238 190 668 100 309 180 413 329 380 332 263 200 186 298 250 227 187 205 369 191 206 290 661 662 K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-10-13T23:05:55.000000Z K 7 svn:log V 211 From 101 ways to panic your kernel. Use bridge_ifdetach() to notify the bridge that a member has been detached. The bridge can then remove it from its interface list and not try to send out via a dead pointer. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-10-13T23:42:12.000000Z K 7 svn:log V 238 Restore the UP optimization to reduce the number of TLB invalidations. The previous revision only restored the MP optimization. Describe the optimization strategy for TLB invalidations in a comment. Reviewed by: ups@ MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-14T02:03:27.000000Z K 7 svn:log V 417 MFC (by gibbs): | Correct bug that caused the completed "recovery" scb to have its | timer reset rather than the timer of an SCB still pending on the | controller after recovery completed. This should correct timeout | loops seen in the field. | | Revision Changes Path | 1.22 +2 -1 src/sys/dev/aic7xxx/aic79xx_osm.c | 1.43 +2 -1 src/sys/dev/aic7xxx/aic7xxx_osm.c Approved by: re (kensmith) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-14T02:19:02.000000Z K 7 svn:log V 417 MFC (by gibbs): | Correct bug that caused the completed "recovery" scb to have its | timer reset rather than the timer of an SCB still pending on the | controller after recovery completed. This should correct timeout | loops seen in the field. | | Revision Changes Path | 1.22 +2 -1 src/sys/dev/aic7xxx/aic79xx_osm.c | 1.43 +2 -1 src/sys/dev/aic7xxx/aic7xxx_osm.c Approved by: re (kensmith) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-10-14T02:38:47.000000Z K 7 svn:log V 267 Further clean up the bridge hooks in if_ethersubr.c and ng_ether.c - move the function pointer definitions to if_bridgevar.h - move most of the logic to the new BRIDGE_INPUT and BRIDGE_OUTPUT macros - remove unneeded functions from if_bridgevar.h and sort a little. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-10-14T03:01:14.000000Z K 7 svn:log V 135 Add POSIX siginfo_t's si_code, this is for upcoming POSIX realtime signal support in kernel. Earlier patch reviewed by: jhb, deischen END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-10-14T03:36:44.000000Z K 7 svn:log V 149 Add ksiginfo_t which is a wrapper of siginfo_t but allows us to carry more information which should not be in siginfo_t. Reviewed by: jhb, deischen END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-14T04:47:18.000000Z K 7 svn:log V 314 Merge in WIP from p4 for supporting ISA pccard bridges conforming to the ExCA spec, and close cousins: o Write an activate routine that works. o merge a couple of items from oldcard before they are lost o write a deactivate routine I suspect we're still a ways away from having this work, but maybe for 6.1/5.5? END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-14T04:48:11.000000Z K 7 svn:log V 20 MFP4: Minor tweaks. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-10-14T09:34:50.000000Z K 7 svn:log V 143 MFC: Sync the driver with RELENG_6 to pick up critical atapi-cd and ata-raid fixes, as well as ATI support. Submitted by: sos Approved by: re END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-10-14T09:57:08.000000Z K 7 svn:log V 169 New release notes: ifconfig(8) -tunnel parameter, interface argument to ifconfig(8) -vlandev deprecated. The changes already are in RELENG_6, too. MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-10-14T10:34:46.000000Z K 7 svn:log V 32 Cleanup from __FreeBSD_version. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-10-14T10:38:12.000000Z K 7 svn:log V 289 Change most of the bridge and stp funtions to static. This has highlighted that the following funtions are not used, wrap in '#ifdef noused' for the moment. bstp_enable_change_detection bstp_disable_change_detection bstp_set_bridge_priority bstp_set_port_priority bstp_set_path_cost END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-10-14T11:00:15.000000Z K 7 svn:log V 727 From the PR: The receive function em_process_receive_interrupts() unlocks the adapter while ether_input() processes the packet, and then locks it back. In the meantime, em_init() may be called, either from em_watchdog() from softclock interrupt or from the ifconfig(8) program. The em_init() resets the card, in particular it sets adapter->next_rx_desc_to_check to 0 and resets hardware RX Head and Tail descriptor pointers. The loop in em_process_receive_interrupts() does not expect these things to change, and a mess may result. This fixes long wedges of em(4) interfaces receive part under high load and IP fastforwarding enabled. PR: kern/87418 Submitted by: Dmitrij Tejblum END K 10 svn:author V 3 rse K 8 svn:date V 27 2005-10-14T11:21:21.000000Z K 7 svn:log V 980 Fix parsing of mdmfs(8) option "-w :" in case or is a numeric user/group ID instead of a user/group name (as explicitly intended to be allowed by both the manual page and the implementation). Before this fix, mdmfs(8) aborted: | # mdmfs -s 32m -w 0:0 md /var/tmp/foo | Assertion failed: (mip->mi_have_uid), function extract_ugid, file /usr/src/sbin/mdmfs/mdmfs.c, line 555. | Abort trap (core dumped) The "mi_have_[ug]id" fields were only set in case a name lookup was successful. Instead they also have to be set in case the string to integer conversion was successful. Additionally, as a result of this fix, two assertions at the end of the function are now always true and hence can be just be removed. It is guarrantied that both the UID and the GID are set when the function returns regularily, else it would have been already bailed out with usage()/exit(3) or errx(3) before. Spotted by: Christoph Schug MFC after: 3 days END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-10-14T12:43:47.000000Z K 7 svn:log V 1860 1. Change prototype of trapsignal and sendsig to use ksiginfo_t *, most changes in MD code are trivial, before this change, trapsignal and sendsig use discrete parameters, now they uses member fields of ksiginfo_t structure. For sendsig, this change allows us to pass POSIX realtime signal value to user code. 2. Remove cpu_thread_siginfo, it is no longer needed because we now always generate ksiginfo_t data and feed it to libpthread. 3. Add p_sigqueue to proc structure to hold shared signals which were blocked by all threads in the proc. 4. Add td_sigqueue to thread structure to hold all signals delivered to thread. 5. i386 and amd64 now return POSIX standard si_code, other arches will be fixed. 6. In this sigqueue implementation, pending signal set is kept as before, an extra siginfo list holds additional siginfo_t data for signals. kernel code uses psignal() still behavior as before, it won't be failed even under memory pressure, only exception is when deleting a signal, we should call sigqueue_delete to remove signal from sigqueue but not SIGDELSET. Current there is no kernel code will deliver a signal with additional data, so kernel should be as stable as before, a ksiginfo can carry more information, for example, allow signal to be delivered but throw away siginfo data if memory is not enough. SIGKILL and SIGSTOP have fast path in sigqueue_add, because they can not be caught or masked. The sigqueue() syscall allows user code to queue a signal to target process, if resource is unavailable, EAGAIN will be returned as specification said. Just before thread exits, signal queue memory will be freed by sigqueue_flush. Current, all signals are allowed to be queued, not only realtime signals. Earlier patch reviewed by: jhb, deischen Tested on: i386, amd64 END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-10-14T12:56:28.000000Z K 7 svn:log V 28 Regen for sigqueue syscall. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-10-14T13:12:27.000000Z K 7 svn:log V 33 Add sigqueue function prototype. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-10-14T14:02:25.000000Z K 7 svn:log V 191 Merge the 'kldstat -q' functionality, that is required for proper operation of the /etc/rc.d/pfsync script, that was merged before the RELENG_6_0 has been forked. Approved by: re (kensmith) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-10-14T14:38:56.000000Z K 7 svn:log V 191 Merge the 'kldstat -q' functionality, that is required for proper operation of the /etc/rc.d/pfsync script, that was merged before the RELENG_6_0 has been forked. Approved by: re (kensmith) END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-14T15:06:16.000000Z K 7 svn:log V 134 Add ELSA XI330 product. This is rebadged and sold as SMC 2532W-B and I/O Data also resells it. Add an alternative airvast an100 id. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-14T15:07:13.000000Z K 7 svn:log V 98 Change I-O data WB-B11/CFZ entry to ELSA XI330 as the former is a rebadged version of the latter. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-10-14T15:12:45.000000Z K 7 svn:log V 41 Sort SUBDIR and surrounding definitions. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-10-14T15:13:36.000000Z K 7 svn:log V 37 Get rid of duplicate -I's in CFLAGS. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-10-14T15:26:23.000000Z K 7 svn:log V 26 Remove redundant include. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-10-14T15:41:09.000000Z K 7 svn:log V 39 Style: move .PATH to where it belongs. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-10-14T15:45:38.000000Z K 7 svn:log V 39 Remove redundant (in FreeBSD) include. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-10-14T15:50:22.000000Z K 7 svn:log V 39 Style: move .PATH to where it belongs. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-10-14T16:06:35.000000Z K 7 svn:log V 262 Correct the SHLIB_MAJOR back to 1 for libarchive. In a recent MFC, I accidentally picked up a SHLIB_MAJOR version bump for FreeBSD 6. Anyone that updated their 5-STABLE system between October 4, 2005 and now should delete /usr/lib/libarchive.so.2. Apologies. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-10-14T16:22:45.000000Z K 7 svn:log V 269 Fix a regression that prevented PERC3 hardware from working. Apparently they do not support the GETINFO immediate command, unlike just about every other variant of the hardware. Also document some magic values and fix some minor nearby whitespace. MFC After: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-14T16:25:53.000000Z K 7 svn:log V 176 Better translation: language improvements, typos, etc. Submitted by: BSDunix at newsmth org, carplee at newsmth org, ThunderW at newsmth org (in part) MFC After: 1 days END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-10-14T16:32:50.000000Z K 7 svn:log V 187 Fix installworld breakage. expr and printf are not available during installworld, so use /bin/sh arithmetic expansion instead of expr and simply give up on vanity formatting. ;-) END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-10-14T17:22:28.000000Z K 7 svn:log V 94 Sort ath_rate_* entries. Mark ath_rate_sample as the desired algorithm. Discussed with: sam END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-10-14T18:07:45.000000Z K 7 svn:log V 315 Change the userland atomic operations on arm to use memory operands for the modified memory rather than using register operands that held a pointer to the memory. The biggest effect is that we now correctly tell the compiler that these functions change the memory that these functions modify. Reviewed by: cognet END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-10-14T18:12:18.000000Z K 7 svn:log V 87 The snd_via8233(4) support on amd64 isn't something new. Remove it. Reviewed by: hrs END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-10-14T18:17:13.000000Z K 7 svn:log V 66 MFC r1.59: Add support for ATI IXP[234]00. Approved by: re (hrs) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-10-14T18:24:58.000000Z K 7 svn:log V 351 Remove the sx(4) driver at the request of the author. The author originally wrote it for 4.x and hasn't really had the time to fully update it to 5.x and later. Also, the author doesn't use the hardware anymore as well. If someone does need this driver they can always resurrect it from the Attic. Requested by: Frank Mayhar frank at exit dot com END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-10-14T18:25:41.000000Z K 7 svn:log V 85 MFC r1.1334: snd_ess needs snd_sbc, so add a note about that. Approved by: re (hrs) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-10-14T18:34:29.000000Z K 7 svn:log V 139 MFC: Update the critical(9) manpage including dropping references to cpu_critical_*() as they no longer exist. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-10-14T18:36:49.000000Z K 7 svn:log V 12 Whitespace. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-10-14T18:51:30.000000Z K 7 svn:log V 256 Only allow the sk(4) driver to attach to revision 2 of the LinkSys EG1032 cards and teach the re(4) driver to attach to revision 3 cards. Submitted by: Fredrik Lindberg fli+freebsd-current at shapeshifter dot se MFC after: 2 weeks Reviewed by: imp, mdodd END K 10 svn:author V 4 kris K 8 svn:date V 27 2005-10-14T19:15:10.000000Z K 7 svn:log V 773 Partially revert revision 1.66, which contained a change that did not correspond to the commit log. It changed the maxswzone and maxbcache parameters from int to long, without changing the extern definitions in . In fact it's a good thing it did not, because other parts of the system are not yet ready for this, and on large-memory sparc machines it causes severe filesystem damage if you try. The worst effect of the change was that the tunables controlling the above variables stopped working. These were necessary to allow such large sparc64 machines (with >12GB RAM) to boot, since sparc64 did not set a hard-coded upper limit on these parameters and they ended up overflowing an int, causing an infinite loop at boot in bufinit(). Reviewed by: mlaier END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-10-14T20:22:57.000000Z K 7 svn:log V 75 The signal code is now an int rather than a long, so update debug printfs. END K 10 svn:author V 4 kris K 8 svn:date V 27 2005-10-14T20:31:12.000000Z K 7 svn:log V 309 Add a default value for VM_BCACHE_SIZE_MAX of 400MB. This is copied from amd64, and is a factor of 3 less than the value previously auto-sized on a 12GB machine, which would cause an overflow in calculations involving the maxbcache int, causing bufinit() to loop forever at boot. Reviewed by: mlaier, peter END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-10-14T20:57:02.000000Z K 7 svn:log V 69 Make four more functions static that were missed in the last commit. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-10-14T22:03:39.000000Z K 7 svn:log V 116 Merge over the remaining changes from i386 of the ksiginfo_t changes so that this compiles. Pointy hat to: davidxu END K 10 svn:author V 8 truckman K 8 svn:date V 27 2005-10-14T22:13:33.000000Z K 7 svn:log V 962 Close a race in the ufs_lookup() code that handles the ISDOTDOT case by saving the value of dp->i_ino before unlocking the vnode for the current directory and passing the saved value to VFS_VGET(). Without this change, another thread can overwrite dp->i_ino after the current directory is unlocked, causing ufs_lookup() to lock and return the wrong vnode in place of the vnode for its parent directory. A deadlock can occur if dp->i_ino was changed to a subdirectory of the current directory because the root to leaf vnode lock ordering will be violated. A vnode lock can be leaked if dp->i_ino was changed to point to the current directory, which causes the current vnode lock for the current directory to be recursed, which confuses lookup() into calling vrele() when it should be calling vput(). The probability of this bug being triggered seems to be quite low unless the sysctl variable debug.vfscache is set to 0. Reviewed by: jhb MFC after: 2 weeks END K 10 svn:author V 4 jkim K 8 svn:date V 27 2005-10-14T22:52:01.000000Z K 7 svn:log V 258 - Print number of physical/logical cores and more CPUID info. - Add newer CPUID definitions for future use. Many thanks to Mike Tancsa for providing test cases for Intel Pentium D and AMD Athlon 64 X2. Approved by: anholt (mentor) END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-10-14T23:17:45.000000Z K 7 svn:log V 630 In preparation for making the modules actually use opt_*.h files provided in the kernel build directory, fix modules that were failing to build this way due to not quite correct kernel option usage. In particular: ng_mppc.c uses two complementary options, both of which are listed in sys/conf/files. Ideally, there should be a separate option for including ng_mppc.c in kernel build, but now only NETGRAPH_MPPC_ENCRYPTION is usable anyway, the other one requires proprietary files. nwfs and smbfs were trying to ensure they were built with proper network components, but the check was rather questionable. Discussed with: ru END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-10-14T23:30:17.000000Z K 7 svn:log V 476 Let modules use the kernel's opt_*.h files if built along with the kernel by wrapping all targets for fake opt_*.h files in .if defined(KERNBUILDDIR). Thus, such fake files won't be created at all if modules are built with the kernel. Some modules undergo cleanup like removing unused or unneeded options or .h files, without which they wouldn't build this way or the other. Reviewed by: ru Tested by: no binary changes in modules built alone Tested on: i386 sparc64 amd64 END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-10-14T23:54:20.000000Z K 7 svn:log V 205 Revise the manpage to a certain extent, mostly with respect to make's processing of top-level and included makefiles. Point out at make.conf(5) and __MAKE_CONF when telling about sys.mk. Reviewed by: ru END K 10 svn:author V 4 kris K 8 svn:date V 27 2005-10-14T23:56:13.000000Z K 7 svn:log V 262 mpsafevm has been stable and defaulted to 1 on sparc64 for over 6 months, so we are ready for mpsafevfs=1 by default on sparc64 too. I have been running this on all my sparc64 machines for over 6 months, and have not encountered MD problems. MFC after: 1 week END K 10 svn:author V 4 jkim K 8 svn:date V 27 2005-10-15T00:44:56.000000Z K 7 svn:log V 101 Correct few MSR addresses. PR: amd64/85852 Submitted by: Nate Eldredge END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-10-15T02:09:43.000000Z K 7 svn:log V 15 Fix compiling. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-10-15T02:40:10.000000Z K 7 svn:log V 113 Correct the prototype for freebsd32_nanosleep and use the proper size when copying struct timespec32 in and out. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-10-15T02:40:34.000000Z K 7 svn:log V 6 regen END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-10-15T02:54:18.000000Z K 7 svn:log V 77 Implement 32bit wrappers for clock_gettime, clock_settime, and clock_getres. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-10-15T02:54:39.000000Z K 7 svn:log V 53 regen for clock_gettime, clock_settime, clock_getres END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-10-15T05:57:06.000000Z K 7 svn:log V 89 Implement the 32bit versions of recvmsg, recvfrom, sendmsg Partially obtained from: jhb END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-10-15T05:57:34.000000Z K 7 svn:log V 39 regen after recvmsg, recvfrom, sendmsg END K 10 svn:author V 6 alfred K 8 svn:date V 27 2005-10-15T06:17:29.000000Z K 7 svn:log V 133 The kernel accepts sockaddrs with len set to zero for sockaddr_in types, so refactor the code here to grab them when length is zero. END K 10 svn:author V 3 suz K 8 svn:date V 27 2005-10-15T08:49:49.000000Z K 7 svn:log V 69 added a missing unlock Submitted by: JINMEI Tatuya MFC After: 1 day END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-10-15T13:37:04.000000Z K 7 svn:log V 90 Document the accidental temporary change in the libarchive shared library version number. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-10-15T16:58:21.000000Z K 7 svn:log V 591 Merge in.c:1.89,1.90 from HEAD to RELENG_6: Acquire Giant conditionally in in_addmulti() and in_delmulti() based on whether the interface being accessed is IFF_NEEDSGIANT or not. This avoids lock order reversals when calling into the interface ioctl handler, which could potentially lead to deadlock. The long term solution is to eliminate non-MPSAFE network drivers. Discussed with: jhb Unlock Giant symmetrically with respect to lock acquire order as that's generally nicer. Spotted by: johan RELENG_6_0 candidate. MFC after: 1 day Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-10-15T18:32:55.000000Z K 7 svn:log V 511 Merge ufs_extattr.c:1.82 from HEAD to RELENG_6: When performing a VOP_LOOKUP() as part of UFS1 extended attribute auto-start, set cnp.cn_lkflags to LK_EXCLUSIVE. This flag must now be set so that lockmgr knows what kind of lock to acquire, and it will panic if not specified. This resulted in a panic when using extended attributes on UFS1 as of locking work present in the 6.x branch. This is a RELENG_6_0 merge candidate. Reported by: lofi Approved by: re (kensmith) MFC after: 1 day END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-10-15T22:57:39.000000Z K 7 svn:log V 15 Fix compiling. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-10-16T01:55:35.000000Z K 7 svn:log V 115 Add new option `q', which makes second stage loader quiet unless autoboot is disabled or fails. MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-16T03:58:06.000000Z K 7 svn:log V 159 Mempage should be 1024 not 4096. This fixes the multiple 16-bit cards failing to work in, eg, Soekris boxes. This is a critcal fix for 6.0. MFC After: ASAP END K 10 svn:author V 4 kris K 8 svn:date V 27 2005-10-16T03:58:10.000000Z K 7 svn:log V 97 Forced commit to note that the previous commit referred to r1.67, not r1.66 Pointed out by: bde END K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-10-16T05:29:14.000000Z K 7 svn:log V 249 The BCM5401 dspcode load on media changes also applies to the 100/1000 BCM5400 phy. This fixes the problem with the GEM port not syncing up on Sawtooth G4's. Obtained from: NetBSD Reported by: Ben Rosengart END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-16T07:31:59.000000Z K 7 svn:log V 63 MFC Release Notes Language Improvements Approved by: re (hrs) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-10-16T07:35:40.000000Z K 7 svn:log V 64 MFR6 Release Notes Language Improvements Approved by: re (hrs) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-10-16T08:15:29.000000Z K 7 svn:log V 67 Use RELENG_6_0 for standard-supfile. Approved by: re (implicitly) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-10-16T08:28:10.000000Z K 7 svn:log V 100 Update various version numbers and entities for upcoming 6.0-RELEASE. Approved by: re (implicitly) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-10-16T08:58:27.000000Z K 7 svn:log V 177 For AMD processors, nullify CPUID.HTT. FreeBSD has no need for the information it conveys, and it is only confusing people. This fixes incorrect output in the previous commit. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-10-16T12:33:14.000000Z K 7 svn:log V 38 Reduce diffs from i386/i386/machdep.c END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-10-16T14:07:44.000000Z K 7 svn:log V 79 Update version numbers for upcoming 6.0-RELEASE. Approved by: re (implicitly) END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-10-16T14:40:23.000000Z K 7 svn:log V 50 Add some files which kris found on an old server. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-10-16T16:52:14.000000Z K 7 svn:log V 462 Merge ufs_extattr.c:1.82 from RELENG_6 to RELENG_6_0: When performing a VOP_LOOKUP() as part of UFS1 extended attribute auto-start, set cnp.cn_lkflags to LK_EXCLUSIVE. This flag must now be set so that lockmgr knows what kind of lock to acquire, and it will panic if not specified. This resulted in a panic when using extended attributes on UFS1 as of locking work present in the 6.x branch. Reported by: lofi Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-10-16T17:12:18.000000Z K 7 svn:log V 556 Merge in.c:1.89,1.90 from HEAD to RELENG_6_0: Acquire Giant conditionally in in_addmulti() and in_delmulti() based on whether the interface being accessed is IFF_NEEDSGIANT or not. This avoids lock order reversals when calling into the interface ioctl handler, which could potentially lead to deadlock. The long term solution is to eliminate non-MPSAFE network drivers. Discussed with: jhb Unlock Giant symmetrically with respect to lock acquire order as that's generally nicer. Spotted by: johan Approved by: re (kensmith) END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-10-16T19:49:44.000000Z K 7 svn:log V 110 Backout previous commit - for some reason it overflows space constrains on amd64. Better version will follow. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-10-16T20:22:36.000000Z K 7 svn:log V 53 Re-implement rev.1.76 with respect to the code size. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-10-16T20:22:56.000000Z K 7 svn:log V 47 Eliminate two unused arguments to ttycreate(). END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-10-16T20:35:05.000000Z K 7 svn:log V 52 we know it is called rpclose() so call it directly. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-10-16T20:39:04.000000Z K 7 svn:log V 78 Add a bunch of inline functions to call the drivers tty implementing methods. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-10-16T20:40:40.000000Z K 7 svn:log V 26 Make ttsetcompat() static END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-10-16T20:44:18.000000Z K 7 svn:log V 50 Use new (inline) functions for calls into driver. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-10-16T20:58:22.000000Z K 7 svn:log V 71 Make ttyconsolemode() call ttsetwater() so that drivers don't have to. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-10-16T21:07:31.000000Z K 7 svn:log V 48 Use new functions to call into drivers methods. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2005-10-16T21:31:46.000000Z K 7 svn:log V 166 Correct the type of the temporary variable used by ufs_lookup.c:1.78 to fix the race condition in the ufs_lookup() ISDOTDOT code. Noticed by: bde MFC after: 12 days END K 10 svn:author V 8 truckman K 8 svn:date V 27 2005-10-16T21:39:29.000000Z K 7 svn:log V 265 Apply the same fix to a potential race in the ISDOTDOT code in ext2_lookup() that was used to fix an actual race in ufs_lookup.c:1.78. This is not currently a hazard, but the bug would be activated by marking ext2fs as MPSAFE. Requested by: bde MFC after: 2 weeks END K 10 svn:author V 8 truckman K 8 svn:date V 27 2005-10-16T21:41:54.000000Z K 7 svn:log V 248 Apply the same fix to a potential race in the ISDOTDOT code in cd9660_lookup() that was used to fix an actual race in ufs_lookup.c:1.78. This is not currently a hazard, but the bug would be activated by marking cd9660 as MPSAFE. Requested by: bde END K 10 svn:author V 4 kris K 8 svn:date V 27 2005-10-16T21:45:25.000000Z K 7 svn:log V 329 Reflect mpsafety of the underlying filesystem in the nullfs image. I benchmarked this by simultaneously extracting 4 large tarballs (basically world images) on a 4-processor AMD64 system, in a malloc-backed md. With this patch, system time was reduced by 43%, and wall clock time by 33%. Submitted by: jeff MFC after: 1 week END K 10 svn:author V 8 truckman K 8 svn:date V 27 2005-10-16T21:54:35.000000Z K 7 svn:log V 323 Update nwfs_lookup() to match the current cache_lookup() API. cache_lookup() has returned a ref'ed and locked vnode since vfs_cache.c:1.96, dated Tue Mar 29 12:59:06 2005 UTC. This change is similar to the change made to smbfs_lookup() in smbfs_vnops.c:1.58. Tested by: "Antony Mawer" ant AT mawer.org MFC after: 2 weeks END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-10-16T22:23:03.000000Z K 7 svn:log V 62 Use __pid_t instead of pid_t for sigqueue as other functions. END K 10 svn:author V 3 flz K 8 svn:date V 27 2005-10-17T00:04:35.000000Z K 7 svn:log V 53 - Fix typo. Approved by: ssouhlal MFC after: 1 week END K 10 svn:author V 4 kris K 8 svn:date V 27 2005-10-17T00:16:54.000000Z K 7 svn:log V 208 MFC r1.72: Partially revert r1.67 which changed maxbcache and maxswzone from int to long without updating the version. This broke the corresponding tunables on sparc. Approved by: re (kensmith) END K 10 svn:author V 4 kris K 8 svn:date V 27 2005-10-17T00:17:22.000000Z K 7 svn:log V 211 MFC r1.72: Partially revert r1.67 which changed maxbcache and maxswzone from int to long without updating the version. This broke the corresponding tunables on sparc. Approved by: re (kensmith) END K 10 svn:author V 4 kris K 8 svn:date V 27 2005-10-17T00:19:00.000000Z K 7 svn:log V 322 MFC r1.20: Add a default value for VM_BCACHE_SIZE_MAX of 400MB. This is copied from amd64, and is a factor of 3 less than the value previously auto-sized on a 12GB machine, which would cause an overflow in calculations involving the maxbcache int, causing bufinit() to loop forever at boot. Approved by: re (kensmith) END K 10 svn:author V 4 kris K 8 svn:date V 27 2005-10-17T00:19:30.000000Z K 7 svn:log V 321 MFC r1.20: Add a default value for VM_BCACHE_SIZE_MAX of 400MB. This is copied from amd64, and is a factor of 3 less than the value previously auto-sized on a 12GB machine, which would cause an overflow in calculations involving the maxbcache int, causing bufinit() to loop forever at boot. Approved by: re (kensmith) END K 10 svn:author V 4 kris K 8 svn:date V 27 2005-10-17T00:20:47.000000Z K 7 svn:log V 293 MFC r1.20: Add a default value for VM_BCACHE_SIZE_MAX of 400MB. This is copied from amd64, and is a factor of 3 less than the value previously auto-sized on a 12GB machine, which would cause an overflow in calculations involving the maxbcache int, causing bufinit() to loop forever at boot. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-17T02:17:49.000000Z K 7 svn:log V 1437 MFC: Fixes for RTL8029 and qemu. > imp 2005-10-13 22:06:02 UTC > Modified files: > sys/dev/ed if_ed_rtl80x9.c > Log: > o Fix probing of rtl80x9 parts. We shouldn't be calling > ed_probe_generic8390 where we're calling it. It will be done as part > of ed_probe_Novel_generic after things are setup in a way that > ed_probe_generic8390 will grok. > o Fix operator precedence botch that causes a panic when setting the media > type for 10baseT connections. > o Save the type of device so that it prints with the rest of the probe. > > # this should make it work with qemu again, but only if it has my patches > # to actually implement the RTL8029 specific registers. > Revision Changes Path > 1.2 +6 -5 src/sys/dev/ed/if_ed_rtl80x9.c > > Modified files: > sys/dev/ed if_ed_pci.c > Log: > If we can't probe the RTL80x9 for some reason, fall back to probing it > as a Novell NE-2000. This is necessary for unpatched qemu working > correctly. qemu claims to be a RTL8029, but doesn't implement the > RTL8029 specific registers at this time. I've created patches for > that, but there's no reason we can't use qemu's emulation w/o these > patches. This should make life easier for those folks that boot > FreeBSD via qemu. > Revision Changes Path > 1.48 +9 -2 src/sys/dev/ed/if_ed_pci.c Approved by: re@ (kensmith) END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-17T02:25:26.000000Z K 7 svn:log V 173 MF-RELENG_6: rtl8029 and qemu fixes. > 1.2 +6 -5 src/sys/dev/ed/if_ed_rtl80x9.c > 1.48 +9 -2 src/sys/dev/ed/if_ed_pci.c Approved by: re@ (kensmith) END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-17T02:32:23.000000Z K 7 svn:log V 250 Check against 8019 rather than 8029 for reading in the MAC addr since the former is the ISA part, not the latter. MFC After 6.0 is unfrozen (this bug doesn't exist in 6.0 because I didn't MFC the rtl80x9 changes for ISA due to an error on my part) END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-10-17T03:07:36.000000Z K 7 svn:log V 122 Unconditionally mount a UDF filesystem as read-only, instead of returning an EROFS if we forget to mount it as read-only. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-10-17T03:27:35.000000Z K 7 svn:log V 169 Use the actual sector size of the media instead of hard-coding it to 2048. This eliminates KASSERTs in GEOM if we accidentally mount an audio CD as a cd9660 filesystem. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-10-17T03:29:53.000000Z K 7 svn:log V 122 Unconditionally mount a CD9660 filesystem as read-only, instead of returning EROFS if we forget to mount it as read-only. END K 10 svn:author V 4 ache K 8 svn:date V 27 2005-10-17T06:09:56.000000Z K 7 svn:log V 131 xterm-basic: 1) use standard vt100 as/ae instead of ^N/^O which not works in real xterm 2) Remove ^O from me, it not belongs there END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-10-17T07:58:05.000000Z K 7 svn:log V 49 MF6: nanobsd.sh fixes Approved by: re@ (scottl) END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-17T08:20:44.000000Z K 7 svn:log V 28 Minor commentary correction END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-10-17T12:20:05.000000Z K 7 svn:log V 309 In __option_is_short(), avoid calling isprint() on key characters outside the range allowed by that function, resulting in undefined behaviour. Our undefined behaviour in multibyte locales happened to differ from glibc's, resulting in errors parsing option strings. Obtained from: Corinna Vinschen (Red Hat) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-10-17T12:20:06.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. END K 10 svn:author V 3 suz K 8 svn:date V 27 2005-10-17T13:47:31.000000Z K 7 svn:log V 135 fixed a kernel crash when IPv6 PIM-SM routing is enabled and a PIM register message is received Obtained from: KAME MFC After: 3 days END K 10 svn:author V 6 philip K 8 svn:date V 27 2005-10-17T14:27:37.000000Z K 7 svn:log V 117 Add a valuable piece of Usenet advice about storing passwords. :-) Obtained from: jpd on comp.unix.bsd.freebsd.misc END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-10-17T14:51:01.000000Z K 7 svn:log V 70 Use the clock count register as a timecounter, as it's more accurate. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-10-17T15:28:25.000000Z K 7 svn:log V 50 Remove now redundant NO_SHARED. Reviewed by: imp END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-10-17T15:37:22.000000Z K 7 svn:log V 171 Obtain true uptime through clock_gettime(CLOCK_MONOTONIC, struct *timespec) instead of subtracting 'bootime' from 'now'. Sponsored by: TCP/IP Optimization Fundraise 2005 END K 10 svn:author V 4 jkim K 8 svn:date V 27 2005-10-17T15:51:28.000000Z K 7 svn:log V 55 Split displaying number of physical and logical cores. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-10-17T15:56:26.000000Z K 7 svn:log V 271 Make sure that files included using ".include " are really looked for in the system make file directory or in the specified -m paths instead of always looking in the other -I and .PATH specified paths. (Commit log shamelessly stolen from NetBSD.) Reviewed by: yar END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-17T16:51:06.000000Z K 7 svn:log V 43 style(9) nitlet: foo() { } to foo() { } END K 10 svn:author V 2 bz K 8 svn:date V 27 2005-10-17T17:01:54.000000Z K 7 svn:log V 212 Document that changes to nsswitch.conf might be needed when compiling with NO_NIS. [ also see make.conf(5) and nsswitch.conf(5) ] Reviewed by: ru Requested by: dougb (and bin/87221) MFC: 22 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-10-17T17:53:17.000000Z K 7 svn:log V 112 Remove a spurious newline. The TAILQ_INIT() is part of the 'faster tailq deletion' example. MFC after: 1 week END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-10-17T18:31:37.000000Z K 7 svn:log V 100 Strip the $a, $t and $d symbols if we're using DDB. There are useless and confusing in a backtrace. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-10-17T18:35:57.000000Z K 7 svn:log V 30 Another bit of sx(4) removal. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-10-17T18:52:50.000000Z K 7 svn:log V 75 MF6: Update critical(9) with recently reality. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-10-17T19:01:53.000000Z K 7 svn:log V 155 Allow the process name to be in square brackets ([]) in _find_processes(). PR: conf/82430 Submitted by: Pavel Volkov pol at iib dot ru MFC after: 1 week END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-10-17T20:27:15.000000Z K 7 svn:log V 202 Add a small tool which captures packets on a DIVERT socket and writes them as pcap (tcpdump) format data to a file or pipe. Volunters wanted for: manpage Contributed by: P Kern END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-10-17T20:47:44.000000Z K 7 svn:log V 35 Hook ipfwpcap into the build tree. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-10-17T23:10:31.000000Z K 7 svn:log V 423 Micro optimization for context switch. Eliminate code for saving gs.base and fs.base. We always update pcb.pcb_gsbase and pcb.pcb_fsbase when user wants to set them, in context switch routine, we only need to write them into registers, we never have to read them out from registers when thread is switched away. Since rdmsr is a serialization instruction, micro benchmark shows it is worthy to do. Reviewed by: peter, jhb END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-10-17T23:21:55.000000Z K 7 svn:log V 670 Add support for kernel modules with a single PT_LOAD section. While here, support up to four sections because it was trivial to do and cheap. (One pointer per section). For amd64 with "-fpic -shared" format .ko files, using a single PT_LOAD section is important to avoid wasting about 1MB of KVM and physical ram for the 'gap' between the two PT_LOAD sections. amd64 normally uses .o format kld files and isn't affected normally. But -fpic -shared modules are actually possible to produce and load... (And with a bugfix to binutils, we can build and use plain -shared .ko files without -fpic) i386 only wastes 4K per .ko file, so that isn't such a big deal there. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2005-10-17T23:23:20.000000Z K 7 svn:log V 52 Redo physical/logical CPU count. Suggested by: jhb END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-10-18T00:42:10.000000Z K 7 svn:log V 588 - Use BUS_DMASYNC_PREWRITE in em_get_buf(), as the adapter is about to read the descriptors set. - In em_process_receive_interrupts(), call bus_dmamap_sync() for the descriptors set each time we modify one descriptor, instead of doing it only at the function exit, to make sure the adapters know he can re-use the descriptor. This helps on arm with write-back data cache (and possibly on other arches with bounce pages, I don't know) under heavy network load. Without this, if we attempt to process more than num_rx_desc descriptors, the adapter would just stop processing rx interrupts. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-10-18T04:40:11.000000Z K 7 svn:log V 110 Document pmcstat's inability to handle 32 bit executables on the AMD64 while I work on a fix. Noticed by: ps END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-10-18T05:13:27.000000Z K 7 svn:log V 53 Handle 32 bit executables better on AMD64 platforms. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-18T06:09:42.000000Z K 7 svn:log V 33 Make dc compile after repo-copy. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-18T06:10:03.000000Z K 7 svn:log V 27 Remove dc after repo copy. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-18T06:10:46.000000Z K 7 svn:log V 60 Remove dc-only pseudo phy devices after repo copy to dev/dc END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-18T06:11:08.000000Z K 7 svn:log V 36 Move dc sources from pci to dev/dc. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-18T06:11:59.000000Z K 7 svn:log V 50 Move dc sources from pci and dev/mii into dev/dc. END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-10-18T06:38:14.000000Z K 7 svn:log V 155 Spotted a call to a cdev-related function not wrapped in "#ifdef KBD_INSTALL_CDEV". Noticed by: glebius Uncovered by: recent change to modules' Makefiles END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-18T06:39:30.000000Z K 7 svn:log V 59 Don't build dc-only pseudo phy devices with mii.ko anymore END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-10-18T07:20:14.000000Z K 7 svn:log V 127 Add more tests for escaped newline handling and fix a test that currently should fail because of a bug in the parser (test 2). END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-10-18T07:28:09.000000Z K 7 svn:log V 100 Add first tests for semicolon handling. The first test fails. This is probably a bug in the parser. END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-10-18T07:54:02.000000Z K 7 svn:log V 205 In this case, disable wrapping of fake opt_*.h targets in "if defined(KERNBUILDDIR)" for now since the new way of building modules with the kernel can't handle dynamic SRCS depending on build options yet. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-10-18T11:46:24.000000Z K 7 svn:log V 73 Const-qualify ksem_timedwait's parameter abstime as it's only passed in. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-10-18T11:49:14.000000Z K 7 svn:log V 12 Regenerate. END K 10 svn:author V 3 des K 8 svn:date V 27 2005-10-18T13:35:08.000000Z K 7 svn:log V 93 Implement the full range of ISO9660 number conversion routines in iso.h. MFC after: 2 weeks END K 10 svn:author V 4 ache K 8 svn:date V 27 2005-10-18T16:11:48.000000Z K 7 svn:log V 62 xterm-basic: add AX flag (the same in xterm-supplied termcap) END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-10-18T17:24:03.000000Z K 7 svn:log V 70 Make __sem_timedwait() consistent with the sem_timedwait() prototype. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-10-18T18:27:44.000000Z K 7 svn:log V 253 Move the initialization of the devmtx into the mutex_init() function called during early init before cninit(). Tested on: i386, alpha, sparc64 Reviewed by: phk, imp Reported by: Divacky Roman xdivac02 at stud dot fit dot vutbr dot cz MFC after: 1 week END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-10-18T19:52:15.000000Z K 7 svn:log V 2227 Another round of cleanups and fixes: - Change ndis_return() from a DPC to a workitem so that it doesn't run at DISPATCH_LEVEL (with the dispatcher lock held). - In if_ndis.c, submit packets to the stack via (*ifp->if_input)() in a workitem instead of doing it directly in ndis_rxeof(), because ndis_rxeof() runs in a DPC, and hence at DISPATCH_LEVEL. This implies that the 'dispatch level' mutex for the current CPU is being held, and we don't want to call if_input while holding any locks. - Reimplement IoConnectInterrupt()/IoDisconnectInterrupt(). The original approach I used to track down the interrupt resource (by scanning the device tree starting at the nexus) is prone to problems when two devices share an interrupt. (E.g removing ndis1 might disable interrupts for ndis0.) The new approach is to multiplex all the NDIS interrupts through a common internal dispatcher (ntoskrnl_intr()) and allow IoConnectInterrupt()/IoDisconnectInterrupt() to add or remove interrupts from the dispatch list. - Implement KeAcquireInterruptSpinLock() and KeReleaseInterruptSpinLock(). - Change the DPC and workitem threads to use the KeXXXSpinLock API instead of mtx_lock_spin()/mtx_unlock_spin(). - Simplify the NdisXXXPacket routines by creating an actual packet pool structure and using the InterlockedSList routines to manage the packet queue. - Only honor the value returned by OID_GEN_MAXIMUM_SEND_PACKETS for serialized drivers. For deserialized drivers, we now create a packet array of 64 entries. (The Microsoft DDK documentation says that for deserialized miniports, OID_GEN_MAXIMUM_SEND_PACKETS is ignored, and the driver for the Marvell 8335 chip, which is a deserialized miniport, returns 1 when queried.) - Clean up timer handling in subr_ntoskrnl. - Add the following conditional debugging code: NTOSKRNL_DEBUG_TIMERS - add debugging and stats for timers NDIS_DEBUG_PACKETS - add extra sanity checking for NdisXXXPacket API NTOSKRNL_DEBUG_SPINLOCKS - add test for spinning too long - In kern_ndis.c, always start the HAL first and shut it down last, since Windows spinlocks depend on it. Ntoskrnl should similarly be started second and shut down next to last. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2005-10-18T20:03:31.000000Z K 7 svn:log V 173 Export processor socket information. New environment variables are: smbios.socket.enabled: number of enabled sockets smbios.socket.populated: number of populated sockets END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-10-18T20:21:25.000000Z K 7 svn:log V 146 Use correct cirteria for determining which directory entries we can purge right away and which we merely can hide. Beaten into my skull by: kris END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-10-18T20:37:44.000000Z K 7 svn:log V 56 Bruce Schneier is underrepresented in the fortune file. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2005-10-18T21:18:47.000000Z K 7 svn:log V 122 Added missing comma. This fixes compilation if we need to enable RATE_ASSERT debug macro. Approved by: netchild (mentor) END K 10 svn:author V 5 ariff K 8 svn:date V 27 2005-10-18T21:33:51.000000Z K 7 svn:log V 542 Fix vchan speed for hardware with discrete (non-continuous) sampling rate: - Improve vchan chn_setspeed() strategy. Try to avoid FEEDER_RATE on parent channel if the requested value is not supported by the hardware. - Fix vchan default speed calculation. In any case, vchan should rely on parent bufsoft speed instead of bufhard since it is possible that the entire feeder chain might involve FEEDER_RATE. This is possible under extreme, rare condition if the above chn_setspeed() strategy failed. Approved by: netchild (mentor) END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-19T00:18:11.000000Z K 7 svn:log V 176 Make sure we set bst and bsh in the softc. This gets us probing, but not attaching to, ISA cards. More work needed since the ISA attach routine is return ENXIO right now :-) END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-19T00:25:39.000000Z K 7 svn:log V 34 Set the name of the chipset found END K 10 svn:author V 3 suz K 8 svn:date V 27 2005-10-19T01:21:49.000000Z K 7 svn:log V 145 Raw IPv6 checksum must use the protocol number of the last header, instead of the first next-header value. Obtained from: KAME MFC after: 1 day END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-10-19T03:14:11.000000Z K 7 svn:log V 96 Correct the size used to allocate ndis_txarray. It should be NDIS_TXPKTS now, not ndis_maxpkts. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-10-19T04:48:44.000000Z K 7 svn:log V 575 Use a pipe for reading devd events as another method of getting the AC line status. Add a thread that waits for events on the named pipe instead of polling the line status via apm or the ACPI sysctl. Additionally, use robust error handling in case devd goes away or we temporarily can't set a frequency (i.e., passive cooling has preempted our setting). Later, this should be improved so that if adaptive control is not being used, we will block while waiting for AC line events, saving a little CPU. Submitted by: Frederik Lindberg END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-10-19T06:37:39.000000Z K 7 svn:log V 9 Fix typo END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-10-19T09:33:15.000000Z K 7 svn:log V 212 Fix compiling problem by adding prefix name svr4 to si_xxx macro, the si_xxx macro should not be used in compat headers, as these are standard member names or only can be used in our native header file signal.h. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-10-19T09:37:52.000000Z K 7 svn:log V 84 Convert if (tp->t_state == TCPS_LISTEN) panic() into a KASSERT. MFC after: 2 weeks END K 10 svn:author V 3 suz K 8 svn:date V 27 2005-10-19T10:09:19.000000Z K 7 svn:log V 320 sync with KAME in the following points: - fixed typos - improved some comment descriptions - use NULL, instead of 0, to denote a NULL pointer - avoid embedding a magic number in the code - use nd6log() instead of log() to record NDP-specific logs - nuked an unnecessay white space Obtained from: KAME MFC after: 1 day END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-10-19T13:34:48.000000Z K 7 svn:log V 232 In the em_process_receive_interrupts() cycle check the IFF_DRV_RUNNING flag. This fixes panic, when 'ifconfig em0 down' was called and it calls em_stop() while the em_process_receive_interrupts() has temporarily dropped the lock. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-10-19T14:59:54.000000Z K 7 svn:log V 283 Use svr4_si_{addr,code,errno,signo,trap} in preference to si_{...}. Fix a debugging printf to printf after a variable is first assigned, not before. These are purely build fixes, and need inspection to make sure they were what the original author of the previous changes intended. END K 10 svn:author V 3 suz K 8 svn:date V 27 2005-10-19T15:05:42.000000Z K 7 svn:log V 239 added an ioctl option in kernel so that ndp/rtadvd can change some NDP-related kernel variables based on their configurations (RFC2461 p.43 6.2.1 mandates this for IPv6 routers) Obtained from: KAME Reviewd by: ume, gnn MFC after: 2 weeks END K 10 svn:author V 3 suz K 8 svn:date V 27 2005-10-19T15:14:28.000000Z K 7 svn:log V 170 source link-layer address option should be marked to be checked later, because rs_input() need this option. Obtained from: KAME Reviewed by: ume, gnn MFC after: 2 weeks END K 10 svn:author V 3 suz K 8 svn:date V 27 2005-10-19T15:19:06.000000Z K 7 svn:log V 107 changed syslog level to more appropriate ones Obtained from: KAME Reviewd by: ume, gnn MFC after: 2 weeks END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-10-19T15:37:43.000000Z K 7 svn:log V 90 Use the new name H_SETSIZE instead of the old H_EVENT to set the history size. PR: 86355 END K 10 svn:author V 3 suz K 8 svn:date V 27 2005-10-19T15:52:00.000000Z K 7 svn:log V 205 sync with KAME in the following points: - removed compilation warnings - suppress a redundant error message when a default-router-list is empty Obtained from: KAME Reviewd by: ume, gnn MFC after: 2 weeks END K 10 svn:author V 3 suz K 8 svn:date V 27 2005-10-19T15:58:23.000000Z K 7 svn:log V 157 sync with KAME in the following point: - fixed a bug that "ndp ... proxy" command does not work Obtained from: KAME Reviewd by: ume, gnn MFC after: 2 weeks END K 10 svn:author V 3 suz K 8 svn:date V 27 2005-10-19T16:20:18.000000Z K 7 svn:log V 134 supported an ndp command suboption to disable IPv6 in the given interface Obtained from: KAME Reviewd by: ume, gnn MFC after: 2 week END K 10 svn:author V 3 suz K 8 svn:date V 27 2005-10-19T16:27:33.000000Z K 7 svn:log V 95 sync with KAME (don't respond to NI_QTYPE_IPV4ADDR) Obtained from: KAME Reviewed by: ume, gnn END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-10-19T16:37:52.000000Z K 7 svn:log V 108 Use the new name H_SETSIZE instead of the old H_EVENT to set the history size. PR: 86355 Approved by: gad END K 10 svn:author V 3 suz K 8 svn:date V 27 2005-10-19T16:43:57.000000Z K 7 svn:log V 276 sync with KAME regarding the following clarification in RFC3542: - disable IPv6 operation if DAD fails for some EUI-64 link-local addresses. - export get_hw_ifid() (and rename it) as a subroutine for this process. Obtained from: KAME Reviewd by: ume, gnn MFC after: 2 week END K 10 svn:author V 3 suz K 8 svn:date V 27 2005-10-19T16:53:24.000000Z K 7 svn:log V 99 sync with KAME (removed a unnecesary non-standard macro) Obtained from: KAME Reviewd by: ume, gnn END K 10 svn:author V 3 suz K 8 svn:date V 27 2005-10-19T17:18:49.000000Z K 7 svn:log V 113 sync with KAME (nuked unused code, use NULL to denote a NULL pointer) Obtained from: KAME Reviewed by: ume, gnn END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-10-19T18:10:34.000000Z K 7 svn:log V 197 As pointed out on current@, we don't want to declare a variable in a scope that just uses the variable and throws it away. This should fix the subsystem keyword wrt media-type. MFC After: 2 days END K 10 svn:author V 8 truckman K 8 svn:date V 27 2005-10-19T20:18:44.000000Z K 7 svn:log V 563 MFC nwfs_vnops.c 1.42 Original commit message: Modified files: sys/fs/nwfs nwfs_vnops.c Log: Update nwfs_lookup() to match the current cache_lookup() API. cache_lookup() has returned a ref'ed and locked vnode since vfs_cache.c:1.96, dated Tue Mar 29 12:59:06 2005 UTC. This change is similar to the change made to smbfs_lookup() in smbfs_vnops.c:1.58. Tested by: "Antony Mawer" ant AT mawer.org MFC after: 2 weeks Revision Changes Path 1.42 +11 -26 src/sys/fs/nwfs/nwfs_vnops.c Approved by: re (scottl) END K 10 svn:author V 8 truckman K 8 svn:date V 27 2005-10-19T20:20:42.000000Z K 7 svn:log V 564 MFC nwfs_lookup.c 1.42 Original commit message: Modified files: sys/fs/nwfs nwfs_vnops.c Log: Update nwfs_lookup() to match the current cache_lookup() API. cache_lookup() has returned a ref'ed and locked vnode since vfs_cache.c:1.96, dated Tue Mar 29 12:59:06 2005 UTC. This change is similar to the change made to smbfs_lookup() in smbfs_vnops.c:1.58. Tested by: "Antony Mawer" ant AT mawer.org MFC after: 2 weeks Revision Changes Path 1.42 +11 -26 src/sys/fs/nwfs/nwfs_vnops.c Approved by: re (scottl) END