ĵ148543 169 490 124 708 243 242 261 752 605 263 213 193 121 190 167 246 244 593 167 160 327 145 219 175 289 191 1372 164 322 406 151 340 185 322 367 227 271 111 306 336 242 238 306 1073 1001 311 292 196 244 1248 275 275 244 210 1010 168 201 276 257 180 537 178 118 929 3954 125 357 157 637 431 207 463 96 235 202 190 255 804 315 144 1033 245 205 164 158 659 168 182 300 270 342 356 342 430 251 287 183 213 453 385 231 259 134 127 111 115 113 172 265 156 1331 280 396 132 206 241 245 250 136 301 147 175 226 228 290 288 349 303 297 189 131 130 124 177 131 108 104 329 110 283 1213 146 153 202 114 382 207 232 284 330 304 391 241 298 666 155 236 185 218 186 174 197 201 202 178 623 103 201 318 186 K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-07-29T21:45:46.000000Z K 7 svn:log V 392 - Move recently added dir into the correct section. - Add a note about the organisation of the sections. - Expand shell globs (they worked in a previous version of the delete-old target, but not in this one). - Use the correct way of checking for a native environment. [1] - Add some more obsolete files. - Fix some bad english. [1] Suggested by: ru [1] Approved by: mentor (joerg) END K 10 svn:author V 8 deischen K 8 svn:date V 27 2005-07-29T21:49:47.000000Z K 7 svn:log V 27 Remove an unused variable. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-07-29T21:51:33.000000Z K 7 svn:log V 610 Forced commit [1] to add another design goal which I forgot to mention in the initial commit of the delete-old feature: One of the design goals of the recently committed way of removing obsolete files was to *not* remove a file which we never had in the base system (I'm not sure I mentioned this in the commit log). So if an administrator decides to move something to somewhere in the base system (for whatever reason), it will stay where it is (and this is good, since this move was done with a specific purpose). Suggested by: Jeremie Le Hen [1] Approved by: mentor (joerg; implicit) END K 10 svn:author V 3 mux K 8 svn:date V 27 2005-07-29T22:40:06.000000Z K 7 svn:log V 150 Add a new PCI id for fxp(4) cards found on ICH7-based systems. This commit is a RELENG_6 candidate. Submitted by: Martin Nilsson END K 10 svn:author V 4 kris K 8 svn:date V 27 2005-07-29T23:00:56.000000Z K 7 svn:log V 148 devfs is not yet fully MPSAFE - for example, multiple concurrent devfs(8) processes can cause a panic when operating on rulesets. Approved by: phk END K 10 svn:author V 4 kris K 8 svn:date V 27 2005-07-29T23:21:23.000000Z K 7 svn:log V 167 MFC: > devfs is not yet fully MPSAFE - for example, multiple concurrent devfs(8) > processes can cause a panic when operating on rulesets. Approved by: re (scottl) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-29T23:31:04.000000Z K 7 svn:log V 659 Sync wireless support from HEAD: o numerous net80211 fixes including fixes for internal bridging, frag threshold ioctl, rts threshold bounds checking, min wep length check, reject assoc requests w/ wpa/rsn ie when wpa is not configured o misc api changes to reduce differences against forthcoming changes o add stats for future use and reserve space o probe inactive neighbors in adhoc mode before timing them out o debug msg fixups (diff reduction against forthcoming code) o driver mods to track api changes Also for ath driver: o fix diversity handling o use any fixed antenna setting when sending beacons in adhoc mode Approved by: re (kensmith) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-07-29T23:36:28.000000Z K 7 svn:log V 509 Sync dhclient with HEAD: - Don't complain when debouncing dhclient startup. - Fix buffer handling in reveive_packet(). This fixes infinite cpu eating loops and probably some crashes. - Spell if_defaultroute route correctly in dhclient-script so we are allowed to change the default route. - Document dhclient -b. - Treat reassociation like association. - Do not force server-name to be a valid domain name. - Handle servers that send NUL-terminated host-name options. Approved by: re (scottl) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-30T01:19:10.000000Z K 7 svn:log V 170 MFC fixes to deal with interfaces being removed: o we no longer loop o wpa_supplicant terminates when the last configured interface goes away Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-30T01:32:16.000000Z K 7 svn:log V 120 add m_align, a function to align any type of mbuf (i.e. it is a superset of M_ALIGN and MH_ALIGN) Reviewed by: several END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-30T03:28:41.000000Z K 7 svn:log V 100 MFC: add fragthreshold parameter and accept - (or any) for rtsthreshold Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-30T03:30:29.000000Z K 7 svn:log V 29 oops, revert previous change END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-30T03:31:15.000000Z K 7 svn:log V 98 MFC: add fragthreshold support and accept - (or any) for rtsthreshold Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-30T04:09:06.000000Z K 7 svn:log V 75 MFC of api changes (missed in previous commit) Approved by: re (kensmith) END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-07-30T05:54:30.000000Z K 7 svn:log V 154 Ignore mutex asserts when we're dumping as well. This allows me to panic a system from DDB when INVARIANTS is compiled into the kernel on a scsi system. END K 10 svn:author V 3 des K 8 svn:date V 27 2005-07-30T06:14:12.000000Z K 7 svn:log V 151 Enforce the native environment requirement for {check,delete}-old-* at run time, not parse time. This unbreaks cross-builds. Pointy hat to: netchild END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-07-30T06:14:57.000000Z K 7 svn:log V 500 MFC: kern_malloc.c 1.145 Fix the way how "InUse" column in 'vmstat -m' output works: - increase number of allocations count only on successfull malloc(9), so it doesn't confuse people; - because we need to check if 'size > 0', hide 'mtsp->mts_memalloced += size;' under the check as well, as for size=0 it is of course a no-op; - avoid critical_enter()/critical_exit() in case of failure in malloc_type_allocated() as there will be nothing to do. OK'ed by: rwatson Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-07-30T06:22:25.000000Z K 7 svn:log V 75 MFC: GEOM_ZERO class for performance testing. Approved by: re (kensmith) END K 10 svn:author V 3 des K 8 svn:date V 27 2005-07-30T07:56:28.000000Z K 7 svn:log V 68 MFC: build BIND without thread support. Approved by: re (kensmith) END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-07-30T09:02:42.000000Z K 7 svn:log V 231 Fail the module loading process if the currently executing kernel was not compiled with 'options HWPMC_HOOKS' or if the compiled-in version numbers of the kernel and module are out of sync. Reported by: cracauer MFC after: 3 days END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-07-30T09:03:57.000000Z K 7 svn:log V 50 Document two new diagnostic messages in hwpmc(4). END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-07-30T09:11:25.000000Z K 7 svn:log V 123 MFC r1.3: Catch with the source code. Sort a list alphabetically. Add a HISTORY section. Approved by: re (kensmith) END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-07-30T09:12:51.000000Z K 7 svn:log V 80 MFC r1.7: Add COMPATIBILITY and HISTORY sections. Approved by: re (kensmith) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-07-30T09:34:58.000000Z K 7 svn:log V 196 MFC: Fix typos and use consistent section names in manual pages: s/SYSCTLS/SYSCTL VARIABLES/ s/TUNABLES/LOADER TUNABLES/ s/CAVEAT/CAVEATS/ s/DESCIPTION/DESCRIPTION/ Approved by: re (scottl) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-07-30T09:35:38.000000Z K 7 svn:log V 99 MFC: Document IODATA USB-RSAQ3 USB-Serial Adapter as a supported device. Approved by: re (scottl) END K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-07-30T11:14:31.000000Z K 7 svn:log V 1275 Temporary band-aid to fix hang when a process exec's Altivec instructions. trap_subr.S: declare a stub for the a-unavailable trap that does an absolute jump to the vector-assist trap. This is due to the fact that the vec-unavail trap doesn't start at a 256-byte boundary, so the trick of masking the bottom 8 bits of the link register to identify the interrupt doesn't work, so let the vec-assist case handle Altivec-disabled for the time being. Note that this will be fixed in the future with a much smaller vector code-stub (< 16 bytes) that will allow use of strange vector offsets that are also present in 4xx processors, and also allow smaller differences in vector codepaths on the G5. trap.c: Treat altivec-unavailable/assist process traps as SIGILL. Not quite correct, since altivec-assist should really be a panic, but it is fine for the moment due to the above measure. machdep.c Install the stub code for the altivec-unavailable trap, and the standard trap code at the altivec-assist. Reported by: Andreas Tobler MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-07-30T13:27:15.000000Z K 7 svn:log V 67 Misc cleanup (spelling, grammar, mdoc, style, cut >80 char lines). END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-07-30T15:53:40.000000Z K 7 svn:log V 228 Add missing parenthesis around error handling code upon attaching mlx devices. This fixes an issue where mlx device drives fail to be detected at system boot. This is a RELENG_6 candidate. Submitted by: oliver PR: kern/84163 END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-07-30T18:02:20.000000Z K 7 svn:log V 308 - Only make the delete-old related parts visible if one of the 3 targets are called (wrapped in ".if make(...)"). This may reduce the amount of memory needed for all other targets (the file lists are already large and they will grow further). - Be verbose in the batch case of the delete-old part too. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-07-30T18:04:17.000000Z K 7 svn:log V 54 Add some more files. More (manpages) to come later... END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-07-30T20:00:13.000000Z K 7 svn:log V 246 Introduce kdevtoname, which when given the kernel address of a cdev structure, returns the device name associated with it through the __si_namebuf member. This un-breaks the processing of devices. This is a RELENG_6 candidate. Reviewed by: phk END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-07-30T20:10:31.000000Z K 7 svn:log V 93 fix build without option INET6. Reported by: Philip M. Gollucci END K 10 svn:author V 3 mux K 8 svn:date V 27 2005-07-30T21:45:32.000000Z K 7 svn:log V 229 MFC r1.241: date: 2005/07/29 22:40:06; author: mux; state: Exp; lines: +1 -0 Add a new PCI id for fxp(4) cards found on ICH7-based systems. Submitted by: Martin Nilsson Approved by: re@ (kensmith) END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-07-31T00:41:53.000000Z K 7 svn:log V 273 MFC revision 1.24 date: 2005/07/30 15:53:40; author: csjp; state: Exp; lines: +2 -1 Add missing parenthesis around error handling code upon attaching mlx devices. This fixes an issue where mlx device drives fail to be detected at system boot. Approved by: re@ (scottl) END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-07-31T00:48:18.000000Z K 7 svn:log V 133 Synch with HEAD, this brings in net.bpf.stats. MFC revision 1.155 (bpf.c) MFC revision 1.30 (bpfdesc.h) Approved by: re@ (kensmith) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-07-31T01:57:05.000000Z K 7 svn:log V 173 Remove the instruction to "contact the maintainer" for unrecognized CPUs. Intel refuses to give me the information I need, and getting more emails about this doesn't help. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-07-31T03:30:46.000000Z K 7 svn:log V 19 Add newer commands END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-07-31T03:30:48.000000Z K 7 svn:log V 208 Fix all the spelling mistakes I could find in the man pages for words that have at least 3 characters. MFC after: 1 week Thanks to: Music band ``Chingon'' for keeping me company while searching for these. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-07-31T03:33:22.000000Z K 7 svn:log V 243 The isa attachment calls ep_free after it has already been called once in the resource error in ep_alloc case. This results in a panic. Zero resources to make it safe to call twice pending resolution of layering questions. MFC After: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-31T06:12:32.000000Z K 7 svn:log V 149 close a race between reclaiming a node when a station is inactive and sending the null data frame used to probe inactive stations MFC after: 5 days END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-07-31T06:42:27.000000Z K 7 svn:log V 140 Print cpu_vendor and the MSR value if we don't support this processor even though we're not asking people to contact us. Requested by: njl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-07-31T08:25:53.000000Z K 7 svn:log V 213 Change /home symbolic link, so it will point to usr/home instead of /usr/home. Previous symlink was confusing: # cd /jails/virtual_system_1/home # realpath . /usr/home ...and slower. OK'ed by: rwatson, phk END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-07-31T10:28:35.000000Z K 7 svn:log V 975 Add bounds checking to the setenv part of the kernel environment. This has no security implications since only root is allowed to use kenv(1) (and corrupt the kernel memory after adding too much variables previous to this commit). This is based upon the PR [1] mentioned below, but extended to check both bounds (in case of an overflow of the counting variable) and to comply to the style of the function. An overflow of the counting variable shouldn't happen after adding the check for the upper bound, but better safe than sorry (in case some other function in the kernel overwrites random memory). An interested soul may want to add a printf to notify root in case the bounds are hit. Also allocate KENV_SIZE+1 entries (the array is NULL-terminated), since the comment for KENV_SIZE says it's the maximum number of environment strings. [2] PR: 83687 [1] Submitted by: Harry Coin [1] Submitted by: Ariff Abdullah [2] END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-07-31T10:46:55.000000Z K 7 svn:log V 903 The resource_xxx routines in subr_hints.c are called before and after the kenv environment in kern_environment.c switches to dynamic kenv. The prior call sets the static variable hintp to the static hints in subr_hints.c (hintmode==0). However, changes to the environment are not detected by the resource_xxx lookups after the change to dynamic kernel environment, so the lookup routines only report the old stuff of hintmode==0, even after the change to the dynamic kenv. This causes kenv users to see a different environment than the kernel routines. This is a problem in the mixer.c code that looks up initial mixer volume settings from the hints: If the hints are dynamic and not from the device.hints file, mixer.c doesn't see them, but kenv does. The patch from the PR (modified to comply to the style of the function) solves this. PR: 83686 Submitted by: Harry Coin END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-07-31T10:55:24.000000Z K 7 svn:log V 213 * Fix panic during driver unload on second attempt after failure on first (device busy). * Fix module unloading for sound.ko itself. Submitted by: Ariff Abdullah Tested by: multimedia@ END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-07-31T11:01:13.000000Z K 7 svn:log V 194 * als4000 can't do 48k properly (perhaps it really can't at all!). Set maxspeed to 44.1k instead. * Add locking / MPSAFE * Fix recording Submitted by: Ariff Abdullah END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-07-31T11:04:36.000000Z K 7 svn:log V 99 * Add locking / MPSAFE. Submitted by: Ariff Abdullah Tested by: netchild END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-07-31T12:38:22.000000Z K 7 svn:log V 146 This driver is already MPSAFE, remove busdma_lock_mutex and Giant from bus_dma_tag_create. Submitted by: Ariff Abdullah END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-07-31T13:19:38.000000Z K 7 svn:log V 1149 * Register programming error during device initialization especially for CT4730 / EV1938 chip, causing misconfigured mixer (David Xu), crippled after power cycle (Kevin Oberman). Fixed. * Incorporate locking/spdif patches from Jon Noack / matk. Not all es137x can really do spdif, clean it up a bit to only let few capable chip. This adds a "hw.snd.pcm.spdif_enabled" sysctl until a more generic way of handling this from userland (by an ordinary user) is designed/implemented. * Convert all bus_space_(read|write) to use es_rd/es_wr, simmilar with other drivers. * Add tunable hw.snd.pcm.latency_timer sysctl to toggle pci latency timer value on the fly. Much noise / pop / crackling issues can be solved by increasing its value. Other people have pointed out to use pciconf instead, but this is just an added value specific for CT4730/EV1938. * Remove es137x specific debug sysctl/code. Several PRs can now be closed. Submitted by: Ariff Abdullah Submitted by: Jon Noack (implicit) Submitted by: matk (implicit) PR: 59349, 68594, 73498 Tested by: multimedia@ END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-07-31T13:22:48.000000Z K 7 svn:log V 177 Fix a LOR introduced in the last commit (some hours ago), I had the wrong version of the patch... Submitted by: Ariff Abdullah Pointy hat to: netchild END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-07-31T13:24:47.000000Z K 7 svn:log V 177 Fix a LOR introduced with the last commit (some hours ago), I had the wrong version of the patch. Submitted by: Ariff Abdullah Pointy hat to: netchild END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-07-31T13:27:52.000000Z K 7 svn:log V 146 Document 2 new sysctl's. Submitted by: Ariff Abdullah Submitted by: Jonathan Noack (implicit) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-07-31T13:41:23.000000Z K 7 svn:log V 112 Mention the default value of PATH and that it may be overridden. Submitted by: Roman Divacky MFC after: 3 days END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-07-31T13:43:42.000000Z K 7 svn:log V 912 * Add locking / MPSAFE * Add kernel hint option to disable DXS channels entirely. Report from several skype users / Pav Lucistnik indicate that disabling DXS may fix lots of pop / crackling noise. To disable DXS add hint.pcm..via_dxs_disabled="1" to /boot/device.hints. Further investigation of the issues regarding DXS showed, that the problem is in another (more generic) place, but until the right fix is tested/reviewed this may help a little bit. Added sysctl's to aid testing/debugging: hint.pcm..via_dxs_disabled=X - Disable / Enable DXS channels entirely hint.pcm..via_dxs_channels=X - Limit DXS channels up to X hint.pcm..via_sgd_channels=X - Limit SGD channels up to X hint.pcm..via_dxs_src=X - Enable / Disable DXS sample rate converter. Submitted by: Ariff Abdullah Tested by: multimedia@ END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-07-31T13:49:47.000000Z K 7 svn:log V 71 Add another ID. Submitted by: Ariff Abdullah END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-07-31T13:51:04.000000Z K 7 svn:log V 103 - Fixup the locking. - Don't mark MPSAFE (yet). Submitted by: Ariff Abdullah END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-07-31T13:53:53.000000Z K 7 svn:log V 178 - Fixup the locking. - Don't mark MPSAFE (yet). - DSP_CMD_DMAEXIT_8 doesn't work on old cards, use sb_reset_dsp() instead. Submitted by: Ariff Abdullah END K 10 svn:author V 4 ceri K 8 svn:date V 27 2005-07-31T13:56:19.000000Z K 7 svn:log V 163 Correct the description of the TAPE environment variable. Based on: PR: docs/84200 Submitted by: Gary W. Swearingen MFC after: 1 week END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-07-31T14:16:13.000000Z K 7 svn:log V 88 The beginnings of a tool to survey the build options (NO_THIS, NO_THAT etc) for effect. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-07-31T14:28:31.000000Z K 7 svn:log V 439 * Slightly new method to detect mixer capabilities and resolution. This mostly to help CT4730, but apparently it does help other cards too (especially via8233x). This probably need further test and confirmation from other people with ac97 cards other than via / es137x. * Aggresive dac power wake up call, again, to help CT4730 (and probably others). Submitted by: Ariff Abdullah Tested by: multimedia@ END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-07-31T15:11:21.000000Z K 7 svn:log V 82 If a thread was removed from system run queue, kse_assign shouldn't add it again. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-07-31T15:42:25.000000Z K 7 svn:log V 26 Add stuff to HTML output. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-07-31T16:08:03.000000Z K 7 svn:log V 831 OSS defines AFMT_x32_xE as: 1) 32bit data, packed within 32bit (4bytes) boundary. 2) 24bit data, packed within 32bit (4bytes) boundary where the data is stored in the 24 most significant bits and least significant 8 bits are not used and should be set to 0. While this might hold true in few cases, lots of applications (notably mplayer, sweep) really deal / produce 24bit as what they should meant to be: 24bit data / 3bytes per sample. To handle this "true" 24bit pcm format add AFMT_x24_xE, so the in-kernel conversion space did not confuse itself with 32bit variant. You need to rebuild mplayer after installing this change (this header and the upcomming kernel changes), if you want to use this new feature. Submitted by: Ariff Abdullah Tested by: multimedia@ END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-07-31T16:16:22.000000Z K 7 svn:log V 3855 Whats New: 1. Support wide range sampling rate, as low as 1hz up to int32 max (which is, insane) through new feeder_rate, multiple precisions choice (32/64 bit converter). This is indeed, quite insane, but it does give us more room and flexibility. Plenty sysctl options to adjust resampling characteristics. 2. Support 24/32 bit pcm format conversion through new, much improved, simplified and optimized feeder_fmt. Changes: 1. buffer.c / dsp.c / sound.h * Support for 24/32 AFMT. 2. feeder_rate.c * New implementation of sampling rate conversion with 32/64 bit precision, 1 - int32max hz (which is, ridiculous, yet very addictive). Much improved / smarter buffer management to not cause any missing samples at the end of conversion process * Tunable sysctls for various aspect: hw.snd.feeder_rate_ratemin - minimum allowable sampling rate (default to 4000) hw.snd.feeder_rate_ratemax - maximum allowable sampling rate (default to 1102500) hw.snd.feeder_rate_buffersize - conversion buffer size (default to 8192) hw.snd.feeder_rate_scaling - scaling / conversion method (please refer to the source for explaination). Default to previous implementation type. 3. feeder_fmt.c / sound.h * New implementation, support for 24/32bit conversion, optimized, and simplified. Few routines has been removed (8 to xlaw, 16 to 8). It just doesn't make sense. 4. channel.c * Support for 24/32 AFMT * Fix wrong xruns increment, causing incorrect underruns statistic while using vchans. 5. vchan.c * Support for 24/32 AFMT * Proper speed / rate detection especially for fixed rate ac97. User can override it using kernel hint: hint.pcm..vchanrate="xxxx". Notes / Issues: * Virtual Channels (vchans) Enabling vchans can really, really help to solve overrun issues. This is quite understandable, because it operates entirely within its own buffering system without relying on hardware interrupt / state. Even if you don't need vchan, just enable single channel can help much. Few soundcards (notably via8233x, sblive, possibly others) have their own hardware multi channel, and this is unfortunately beyond vchan reachability. * The arrival of 24/32 also come with a price. Applications that can do 24/32bit playback need to be recompiled (notably mplayer). Use (recompiled) mplayer to experiment / test / debug this various format using -af format=fmt. Note that 24bit seeking in mplayer is a little bit broken, sometimes can cause silence or loud static noise. Pausing / seeking few times can solve this problem. You don't have to rebuild world entirely for this. Simply copy /usr/src/sys/sys/soundcard.h to /usr/include/sys/soundcard.h would suffice. Few drivers also need recompilation, and this can be done via /usr/src/sys/modules/sound/. Support for 24bit hardware playback is beyond the scope of this changes. That would require spessific hardware driver changes. * Don't expect playing 9999999999hz is a wise decision. Be reasonable. The new feeder_rate implemention provide flexibility, not insanity. You can easily chew up your CPU with this kind of mind instability. Please use proper mosquito repellent device for this obvious cracked brain attempt. As for testing purposes, you can use (again) mplayer to generate / play with different sampling rate. Use something like "mplayer -af resample=192000:0:0 ". Submitted by: Ariff Abdullah Tested by: multimedia@ END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-07-31T18:59:47.000000Z K 7 svn:log V 28 Style fix. Noticed by: njl END K 10 svn:author V 3 ups K 8 svn:date V 27 2005-07-31T20:24:14.000000Z K 7 svn:log V 264 Delay freeing disk space for file system blocks until all dirty buffers are safely released. This fixes softdep problems on truncation (deletion) of files with dirty buffers. Reviewed by: jeff@, mckusick@, ps@, tegge@ Tested by: glebius@, ps@ MFC after: 3 weeks END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2005-07-31T23:21:19.000000Z K 7 svn:log V 62 AT_MAKE_TAGID needs an instance as the 2nd arg- not just a 0. END K 10 svn:author V 3 gad K 8 svn:date V 27 2005-08-01T02:24:19.000000Z K 7 svn:log V 544 MFC *: Add the recently-implemented -v, -P, and -S options, along with subsequent bug fixes. While the -S feature is not as useful in RELENG_5 as it is in RELENG_6 and HEAD, for people writing scripts it is useful if the same features are available in all recent releases. I intend to commit this to RELENG_4 too, after a few more weeks. Since these are new features, they should not effect any presently-working scripts. [* = 1.6 env/Makefile, 1.6->1.9 env.1, 1.12->1.16 env.c, 1.1->1.4 envopts.c, 1.1 envopts.h] MFC after: 12 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-08-01T07:03:10.000000Z K 7 svn:log V 338 Add pnp and location info for the ISA bus. The pnp info is the primary vendor id for this device. The location is empty because ISA doesn't give one a way to generally locate a card. PNP BIOS entries do provide a way to locate cards, as do isa pnp cards. These locations will be added as soon as the code to remember them is written. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-08-01T07:09:15.000000Z K 7 svn:log V 114 Make the eisa probe messages just like all the others in the system. Make the eisa no match printf closer to pci. END K 10 svn:author V 2 bz K 8 svn:date V 27 2005-08-01T08:14:21.000000Z K 7 svn:log V 371 Add support for IPv6 over GRE [1]. PR kern/80340 includes the FreeBSD specific ip_newid() changes NetBSD does not have. Correct handling of non AF_INET packets passed to bpf [2]. PR: kern/80340[1], NetBSD PRs 29150[1], 30844[2] Obtained from: NetBSD ip_gre.c rev. 1.34,1.35, if_gre.c rev. 1.56 Submitted by: Gert Doering [2] MFC after: 4 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-01T08:24:03.000000Z K 7 svn:log V 5 typo END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-08-01T10:05:04.000000Z K 7 svn:log V 143 MFC: 1.72: deref correct mbuf ptr to collect any vlan tag 1.73: fix null ptr deref when nge_newbuf is called with an existing mbuf PR: 75201 END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-08-01T12:08:49.000000Z K 7 svn:log V 109 recover the line which was wrongly disappeared during scope cleanup. tcpdrop(8) should work for IPv6, again. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-01T12:10:14.000000Z K 7 svn:log V 98 Remove the \*(DY at the end of the document, it makes the installed file differ for each install. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-01T12:14:53.000000Z K 7 svn:log V 162 The Berkeley pascal implementation for the VAX 11/780 has only historical relevance these days, stow it in the attic instead of on millions of FreeBSD computers. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-01T13:18:21.000000Z K 7 svn:log V 707 Correct two libmemstat(3) bugs: - Move memory_type_list flushing logic from memstat_mtl_free() to _memstat_mtl_empty(), a libmemstat-internal function that can be called from other parts of the library. Invoke _memstat_mtl_empty() from memstat_mtl_free(), which also frees the containing list structure. Invoke _memstat_mtl_empty() instead of memstat_mtl_free() in various error cases in memstat_malloc.c and memstat_uma.c, which previously resulted in the list being freed prematurely. - Reverse the order of updating the mt_kegfree and mt_free fields of the memory_type in memstat_uma.c, otherwise keg free items won't be counted properly for non-secondary zones. MFC after: 3 days END K 10 svn:author V 6 avatar K 8 svn:date V 27 2005-08-01T13:51:52.000000Z K 7 svn:log V 219 Fixing compilation error by: - Conforming to the latest ether_ifattach() change; - Moving PCCARD_API_LEVEL to the right place. Reported and Tested by: Vladimir Grebenschikov MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-08-01T16:34:41.000000Z K 7 svn:log V 52 acm and ack are specified per-ac MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-01T17:14:51.000000Z K 7 svn:log V 936 Merge memstat.c:1.6, memstat_internal.h:1.6, memstat_malloc.c:1.5, memstat_uma.c:1.9 from HEAD to RELENG_6: Correct two libmemstat(3) bugs: - Move memory_type_list flushing logic from memstat_mtl_free() to _memstat_mtl_empty(), a libmemstat-internal function that can be called from other parts of the library. Invoke _memstat_mtl_empty() from memstat_mtl_free(), which also frees the containing list structure. Invoke _memstat_mtl_empty() instead of memstat_mtl_free() in various error cases in memstat_malloc.c and memstat_uma.c, which previously resulted in the list being freed prematurely. - Reverse the order of updating the mt_kegfree and mt_free fields of the memory_type in memstat_uma.c, otherwise keg free items won't be counted properly for non-secondary zones. Merged to RELENG_6 earlier than the proposed MFC after date so that it can make BETA2. Approved by: re (kensmith) END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-08-01T17:35:48.000000Z K 7 svn:log V 148 Propagate error code of kern_execve() to the caller properly. PR: 81670 Submitted by: Andrew Bliznak Pointy hat to: sobomax END K 10 svn:author V 6 anholt K 8 svn:date V 27 2005-08-01T17:50:19.000000Z K 7 svn:log V 109 Fix a buffer aging problem in new r300 code that could lead to hangs with some apps. Obtained from: DRM CVS END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-08-01T17:50:20.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-08-01T18:14:48.000000Z K 7 svn:log V 61 Almost ready for BETA2 builds... Approved by: re (implicit) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-01T19:07:39.000000Z K 7 svn:log V 562 Add memstat_kvm_uma(), an implementation of a libmemstat(3) query routine that knows how to extract UMA(9) allocator statistics from a core dump or live memory image using kvm(3). The caller is expected to provide the necessary kvm_t handle, which is then used by libmemstat(3). With these changes, it is trivially straight forward to re-introduce vmstat -z support on core dumps, which was lost when UMA was introduced. In the short term, this requires including vm/ include files that are not intended for extra-kernel use, requiring in turn some ugliness. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2005-08-01T20:25:41.000000Z K 7 svn:log V 76 MFC: v1.40 help.common, v1.45 intro.2 Fix a couple documentation issues... END K 10 svn:author V 6 kbyanc K 8 svn:date V 27 2005-08-01T21:15:09.000000Z K 7 svn:log V 87 Make getsockopt(..., SOL_SOCKET, SO_ACCEPTCONN, ...) work per IEEE Std 1003.1 (POSIX). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-01T21:33:17.000000Z K 7 svn:log V 203 Teach vmstat's domemstat_zone() to use memstat_kvm_uma() when the kvm descriptor is non-NULL, restoring vmstat -z support for core dumps and kmem access. These were broken with the introduction of UMA. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-08-02T02:24:47.000000Z K 7 svn:log V 174 - Document network_interfaces=auto (the default!). - Remove documentation of pccard_ifconfig as it is now gone. - Document pccard_ifconfig's replacement ifconfig_DEFAULT. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-08-02T03:02:55.000000Z K 7 svn:log V 244 The bsdtar_warnc() reporting function requires the program name to be set up before it is called, so move the progname initialization before the first possible call to bsdtar_warnc(). Thanks to: Stanislav Sedov PR: bin/83366 MFC after: 7 days END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-08-02T03:10:52.000000Z K 7 svn:log V 258 Correct a few minor mis-statements (libarchive does support reading GNU tar sparse files, people have extended cpio) and clarify an important detail about pax format (that ustar-compliant archivers can mostly read pax archives correctly). MFC after: 7 days END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-08-02T03:13:42.000000Z K 7 svn:log V 244 When copying time values from the main entry header to be used in the header of the pax extension entry, clip them to ustar limits. In particular, this prevents an internal panic for very old files. Thanks to: Chris Spiegel MFC after: 7 days END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-08-02T03:17:57.000000Z K 7 svn:log V 332 Generate default fake "device" and "inode" numbers for entries extracted from tar archives. Otherwise, converting tar archives to cpio format (with "bsdtar -cf out.cpio @in.tar") convert every entry into a hard link to a single file. This simple logic breaks hard links, but that's better than the alternative. MFC after: 7 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-08-02T08:44:45.000000Z K 7 svn:log V 159 Add missing ether_poll_deregister(). This is still not enough to kldunload/kldload without a panic. The same (but worse) problem is also present in ixgb(4). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-08-02T09:27:42.000000Z K 7 svn:log V 189 - add missing ether_poll_deregister - add per-device polling - move the setting of if_capenable further down so that the VLAN caps are honored as well Approved by: ru MFC after: 2 weeks END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-08-02T13:54:52.000000Z K 7 svn:log V 86 Mention that the softc is zeroed after allocation. Noticed by: sam MFC after: 3 days END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-08-02T16:03:51.000000Z K 7 svn:log V 119 Do not lock an to check gone flag. Only need to hold the lock to set the gone flag. Reviewed by: imp MFC after: 1 day END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-02T17:43:35.000000Z K 7 svn:log V 356 Add if_addr_mtx to struct ifnet, a mutex to protect ifnet-related address lists. Add accessor macros. This changes the size of struct ifnet, but ideally, all ifnet consumers are now using if_alloc() to allocate these structures rather than embedding them into device driver softc's, so this won't modify the network device driver ABI. MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-02T17:52:52.000000Z K 7 svn:log V 288 When allocating link layer ifnet address list entries in ifp->if_resolvemulti(), do so with M_NOWAIT rather than M_WAITOK, so that a mutex can be held over the call. In the FDDI code, add a missing M_ZERO. Consumers are already aware that if_resolvemulti() can fail. MFC after: 1 week END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-08-02T18:28:31.000000Z K 7 svn:log V 138 eliminate the regex used to match ethernet and 802.11 devices; instead use the interface's media-type Reviewed by: imp MFC after: 1 week END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-08-02T19:13:13.000000Z K 7 svn:log V 166 Wireless suport fixups: add a bunch of stuff that's been in the code but not documented (e.g. wme, mac acl) and correct some information, etc. Reviewed by: brueffer END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-08-02T20:03:23.000000Z K 7 svn:log V 43 Long overdue, keep up with mbuf.h,v 1.148. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-08-02T20:05:37.000000Z K 7 svn:log V 36 Fixed parsing of unsigned integers. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-08-02T20:06:48.000000Z K 7 svn:log V 20 Fix up the comment. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-02T20:09:24.000000Z K 7 svn:log V 23 Ignore CVS directories END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-02T20:09:45.000000Z K 7 svn:log V 21 polish various bits. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-08-02T20:12:30.000000Z K 7 svn:log V 81 Add missing check for the NO_CRYPT build option. Reported by: Alexander Polakov END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-02T20:50:45.000000Z K 7 svn:log V 172 Include a SYSUNINIT() to destroy the mutex in MTX_SYSINIT. This makes MTX_SYSINIT mutexes play well with modules that can be unloaded. Reported by: sam MFC after: 3 days END K 10 svn:author V 5 seanc K 8 svn:date V 27 2005-08-02T21:38:03.000000Z K 7 svn:log V 62 Cross-reference pw(8) into chpass(1), passwd(1), and vipw(8). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-02T23:23:26.000000Z K 7 svn:log V 1233 Protect link layer network interface multicast address list manipulation using ifp->if_addr_mtx: - Initialize if_addr_mtx when ifnet is initialized. - Destroy if_addr_mtx when ifnet is torn down. - Rename ifmaof_ifpforaddr() to if_findmulti(); assert if_addr_mtx. Staticize. - Extract ifmultiaddr allocation and initialization into if_allocmulti(); accept a 'mflags' argument to indicate whether or not sleeping is permitted. This centralizes error handling and address duplication. - Extract ifmultiaddr tear-down and deallocation in if_freemulti(). - Re-structure if_addmulti() to hold if_addr_mtx around manipulation of the ifnet multicast address list and reference count manipulation. Make use of non-sleeping allocations. Annotate the fact that we only generate routing socket events for explicit address addition, not implicit link layer address addition. - Re-structure if_delmulti() to hold if_addr_mtx around manipulation of the ifnet multicast address list and reference count manipulation. Annotate the lack of a routing socket event for implicit link layer address removal. - De-spl all and sundry. Problem reported by: Ed Maste MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-02T23:51:22.000000Z K 7 svn:log V 183 Modify network protocol consumers of the ifnet multicast address lists to lock if_addr_mtx. Problem reported by: Ed Maste MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-03T00:18:35.000000Z K 7 svn:log V 299 Modify device drivers supporting multicast addresses to lock if_addr_mtx over iteration of their multicast address lists when synchronizing the hardware address filter with the network stack-maintained list. Problem reported by: Ed Maste (emaste at phaedrus dot sandvine dot ca> MFC after: 1 week END K 10 svn:author V 8 deischen K 8 svn:date V 27 2005-08-03T00:43:14.000000Z K 7 svn:log V 35 Add namespace #defines for usleep. END K 10 svn:author V 8 deischen K 8 svn:date V 27 2005-08-03T00:44:25.000000Z K 7 svn:log V 108 Make usleep() overridable by the thread libraries so they can provide cancellation points. Noticed by: phk END K 10 svn:author V 8 deischen K 8 svn:date V 27 2005-08-03T00:45:58.000000Z K 7 svn:log V 143 Make syslog() use the internal (non-cancellation point) _usleep(). Prior to this it was calling the cancellable usleep() while holding a lock. END K 10 svn:author V 8 deischen K 8 svn:date V 27 2005-08-03T00:47:31.000000Z K 7 svn:log V 147 Add a cancellation point for usleep(). While here, fix sleep() so that it is also a cancellation point (a missing weak reference prevented that). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-03T00:47:33.000000Z K 7 svn:log V 153 Back out change accidentally committed as Makefile:1.21 -- a local tweak to let the 6.x/7.x kernel series build on a 5.x userland. Pointed out by: njl END K 10 svn:author V 8 deischen K 8 svn:date V 27 2005-08-03T00:48:13.000000Z K 7 svn:log V 39 Add a cancellation point for usleep(). END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-08-03T01:23:45.000000Z K 7 svn:log V 204 In adjustrunqueue(), add code to handle thread migrating case for ULE scheduler. In original code, local run queue of threaded ksegrp is corrupted if adjustrunqueue() is called while thread is migrating. END K 10 svn:author V 8 deischen K 8 svn:date V 27 2005-08-03T01:54:52.000000Z K 7 svn:log V 50 Add usleep to the map files. Noticed by: davidxu END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-08-03T03:26:57.000000Z K 7 svn:log V 80 Document 'kernel-toolchain'. Submitted by: Jeremie Le Hen END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-08-03T04:21:51.000000Z K 7 svn:log V 132 - Improve the definition of INKERNEL() to include the DMAP area and the proper start of the kernel area. Discussed with: peter END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-08-03T04:25:04.000000Z K 7 svn:log V 135 simplify use with non-ath devices; search the wlan sysctl nodes to locate the right one for the specified interface MFC after: 3 days END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-08-03T04:27:40.000000Z K 7 svn:log V 196 - Add support for saving stack traces and displaying them via printf(9) and KTR. Contributed by: Antoine Brodin Concept code from: Neal Fachan END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-08-03T04:33:48.000000Z K 7 svn:log V 194 - Add support for saving stack traces and displaying them via printf(9) and KTR. Contributed by: Antoine Brodin Concept code from: Neal Fachan END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-08-03T04:48:22.000000Z K 7 svn:log V 255 - Replace the series of DEBUG_LOCKS hacks which tried to save the vn_lock caller by saving the stack of the last locker/unlocker in lockmgr. We also put the stack in KTR at the moment. Contributed by: Antoine Brodin END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-08-03T04:59:07.000000Z K 7 svn:log V 209 - Fix a problem that slipped through review; the stack member of the lockmgr structure should have the lk_ prefix. - Add stack_print(lkp->lk_stack) to the information printed with lockmgr_printinfo(). END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-08-03T05:02:08.000000Z K 7 svn:log V 203 - Use lockmgr_printinfo rather than rolling our own. This introduces a slight problem by using printf instead of db_printf however 'show lockedvnods' does the same so I believe it is ok for now. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-08-03T05:36:50.000000Z K 7 svn:log V 96 - Unlock before we call mac_destroy_vnode to prevent a lock order reversal. Found by: trhodes END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-03T09:18:59.000000Z K 7 svn:log V 39 Don't install includes if NO_TOOLCHAIN END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-03T09:22:03.000000Z K 7 svn:log V 38 Don't install examples of NO_EXAMPLES END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-03T09:22:42.000000Z K 7 svn:log V 32 Don't install groff if NO_GROFF END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-03T09:24:39.000000Z K 7 svn:log V 85 Add NO_SYSCONS. Respect NO_MAN and NO_EXAMPLES Make NO_GROFF prevet me installation. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-03T09:26:01.000000Z K 7 svn:log V 39 Don't install includes if NO_TOOLCHAIN END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-03T09:27:01.000000Z K 7 svn:log V 16 Add NO_CALENDAR END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-03T09:27:26.000000Z K 7 svn:log V 12 Add NO_PCVT END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2005-08-03T14:08:41.000000Z K 7 svn:log V 234 Correct attribution in clause three to address the correct copyright holders. The license that was approved for my changes to this driver originally came from LSI, but the changes to the driver core are not owned by LSI. MFC: 1 day END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-08-03T15:07:14.000000Z K 7 svn:log V 18 Minor style nits. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-03T17:33:46.000000Z K 7 svn:log V 186 Add a few more system call timing cases: Rename current socket creation test to socket_stream. Add new socket_dgram test. Add new socketpair_stream test. Add new socketpair_dgram test. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-03T19:29:47.000000Z K 7 svn:log V 1115 Introduce in_multi_mtx, which will protect IPv4-layer multicast address lists, as well as accessor macros. For now, this is a recursive mutex due code sequences where IPv4 multicast calls into IGMP calls into ip_output(), which then tests for a multicast forwarding case. For support macros in in_var.h to check multicast address lists, assert that in_multi_mtx is held. Acquire in_multi_mtx around iteration over the IPv4 multicast address lists, such as in ip_input() and ip_output(). Acquire in_multi_mtx when manipulating the IPv4 layer multicast addresses, as well as over the manipulation of ifnet multicast address lists in order to keep the two layers in sync. Lock down accesses to IPv4 multicast addresses in IGMP, or assert the lock when performing IGMP join/leave events. Eliminate spl's associated with IPv4 multicast addresses, portions of IGMP that weren't previously expunged by IGMP locking. Add in_multi_mtx, igmp_mtx, and if_addr_mtx lock order to hard-coded lock order in WITNESS, in that order. Problem reported by: Ed Maste MFC after: 10 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-08-03T20:09:59.000000Z K 7 svn:log V 55 Make delete-old* and friends useable for cross-builds. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-08-03T20:11:39.000000Z K 7 svn:log V 62 Add missing "not" in rev. 1.34. Submitted by: Jeremie Le Hen END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-08-03T20:27:06.000000Z K 7 svn:log V 110 - Remove duplicate setting from LIB32MAKE definition. - Install lib32 bits using the real install(1) program. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-03T20:57:33.000000Z K 7 svn:log V 18 Fix commen typos. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2005-08-04T02:21:37.000000Z K 7 svn:log V 285 Fix two bugs that interacted to cause page faults in softclock() when using mice containing a tilt movement: there was a missing usb_callout_init() for the UMS_SPUR_BUT_UP quirk code, and UMS_T was defined to the same flag value as UMS_SPUR_BUT_UP. Reported by: flz MFC after: 3 days END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-08-04T03:12:55.000000Z K 7 svn:log V 111 Correctly print system-wide PMC counts for short-lived command lines. Reported by: cracauer MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-04T08:19:13.000000Z K 7 svn:log V 139 Remove gbde_swap_enable option which doesn't work and doesn't really have to work, as one still needs to put .bde into /etc/fstab. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-04T10:03:53.000000Z K 7 svn:log V 187 Wrap inlines in uma_int.h in #ifdef _KERNEL so that uma_int.h can be used from memstat_uma.c for the purposes of kvm access without lots of additional unsafe includes. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-04T10:05:11.000000Z K 7 svn:log V 233 Don't perform a nested include of opt_vmpage.h if LIBMEMSTAT is defined, as opt_vmpage.h will not be available to user space library builds. A similar existing check is present for KLD_MODULE for similar reasons. MFC after: 3 days END K 10 svn:author V 3 dds K 8 svn:date V 27 2005-08-04T10:05:12.000000Z K 7 svn:log V 211 Bug fix: a numeric flag specification in the substitute command would cause the next substitute flag to be ignored. While working at it, detect and report overflows. Reported by: Jingsong Liu MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-04T10:06:39.000000Z K 7 svn:log V 294 Define LIBMEMSTAT so that vm_page.h won't perform a nested include of opt_vmpage.h. Remove definition of _KERNEL, it is no longer required in order to include uma_int.h, as the sensitive parts of uma_int.h (a number of inlines depending on kernel-only constants) are now protected by _KERNEL. END K 10 svn:author V 5 tobez K 8 svn:date V 27 2005-08-04T12:39:43.000000Z K 7 svn:log V 146 Make kernel build suceed when with "options CPU_DISABLE_SSE". PR: 84010 Submitted by: Sergey Gluschenko MFC after: 1 week END K 10 svn:author V 7 roberto K 8 svn:date V 27 2005-08-04T12:44:36.000000Z K 7 svn:log V 201 The check for invalid characters introduced in 1.9 incorrectly flags NIS entries as invalid. MFC6 candidate Submitted by: Bob Willcox PR: bin/82325 (but I used the patch from Bob). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-04T14:39:47.000000Z K 7 svn:log V 573 Initialize the if_addr mutex in if_alloc() rather than waiting until if_attach(). This allows ethernet drivers to use it in their routines to program their MAC filters before ether_ifattach() is called (de(4) is one such driver). Also, the if_addr mutex is destroyed in if_free() rather than if_detach(), so there was another potential bug in that a driver that failed during attach and called if_free() without having called ether_ifattach() would have tried to destroy an uninitialized mutex. Reported by: Holm Tiffe holm at freibergnet dot de Discussed with: rwatson END K 10 svn:author V 6 nectar K 8 svn:date V 27 2005-08-04T15:17:06.000000Z K 7 svn:log V 60 Disable hyperthreading by default for 6.x. Approved by: re END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-04T16:41:25.000000Z K 7 svn:log V 143 MFC: Fix a bug in pmap_protect() in the PAE case where it could look up the wrong vm_page_t associated with a pte. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-04T16:44:17.000000Z K 7 svn:log V 93 MFC: Fix a typo in the name of a dmamap for a bus_dmamap_sync(). Approved by: re (kensmith) END K 10 svn:author V 6 anholt K 8 svn:date V 27 2005-08-04T17:31:02.000000Z K 7 svn:log V 122 MFC: r300 DRM support. Supports all current non-PCIE Radeons, as far as the developers know. Approved by: re (kensmith) END K 10 svn:author V 3 jmg K 8 svn:date V 27 2005-08-04T17:53:40.000000Z K 7 svn:log V 94 MFC: v1.45 intro.2, v1.40 help.common fix a couple documentation nits Approved by: re (hrs) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-04T18:05:33.000000Z K 7 svn:log V 82 MFC: ggatec.8 1.6 Update manual page after ggate rewrite. Approved by: re (hrs) END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-08-04T18:34:26.000000Z K 7 svn:log V 104 don't do mutex locking around kthread_create() call. Reported by: Maxim Maximov END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-08-04T18:39:36.000000Z K 7 svn:log V 108 Dont limit all transfers to DEV_BSIZE (stale dbug code) Hide the loaded/unloaded message behind bootverbose END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-08-04T19:58:48.000000Z K 7 svn:log V 104 MFC: rev. 1.28 Mention the default value of PATH and that it may be overridden. Approved by: re (hrs) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-08-04T19:59:32.000000Z K 7 svn:log V 81 MFC: rev. 1.28 Mention the default value of PATH and that it may be overridden. END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-08-04T21:12:22.000000Z K 7 svn:log V 529 MFC if_an.c v1.69 to RELENG_6 Reorganize an_detach() a bit. Make sure ether_ifdetach() and if_free() are called outside of AN_LOCK()/AN_UNLOCK. This fixes the following WITNESS warning (produced when an(4) PCMCIA card is detached). taskqueue_drain with the following non-sleepable locks held: exclusive sleep mutex an0 (network driver) r = 0 (0xc59af168) locked @ /usr/src/ sys/dev/an/if_an.c:2836 Do not lock an to check gone flag. Only need to hold the lock to set the gone flag. Reviewed by: imp Approved by: re (kemsmith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-08-04T21:23:50.000000Z K 7 svn:log V 12 Fixed typo. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-08-04T21:26:38.000000Z K 7 svn:log V 103 Remove Xref to non-existant usb(3) manpage. Obtained from: DragonFly BSD (swildner) MFC after: 3 days END K 10 svn:author V 6 markus K 8 svn:date V 27 2005-08-04T22:48:36.000000Z K 7 svn:log V 222 Don't lock when holding led_mtx, instead use AcpiOsQueueForExecution to defer the locking. Idea taken from: acpi_asus(4) Approved by: philip Reported by: avatar Gordon Bergling MFC after: 1 week END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-08-04T23:25:32.000000Z K 7 svn:log V 90 MFC: Propagate return value of the kern_execve() to the caller properly. Approved by: re END