ız134000 192 144 151 136 119 129 166 213 195 124 185 145 318 129 1695 143 265 138 166 184 141 191 211 248 612 212 154 217 561 239 222 442 163 188 166 165 171 220 151 436 551 107 227 149 138 167 167 196 319 150 283 120 299 119 276 227 310 211 403 295 189 293 185 250 155 145 169 137 376 169 452 228 164 253 163 237 148 140 335 165 136 114 3247 112 162 586 514 1058 126 143 179 137 378 720 142 140 197 200 140 177 433 203 433 203 267 178 194 199 125 198 152 204 176 124 146 153 171 141 158 141 531 269 484 1483 160 708 155 282 209 399 292 147 376 316 201 152 167 113 413 256 316 607 164 419 738 202 235 588 177 498 120 188 117 130 189 188 224 237 263 180 190 175 262 203 139 117 128 207 226 367 109 141 164 414 154 181 257 135 1042 396 295 515 569 318 629 494 186 626 288 650 151 307 304 K 10 svn:author V 3 des K 8 svn:date V 27 2004-08-19T07:07:28.000000Z K 7 svn:log V 52 MFC: (1.2) skip val-tags in read-only repositories. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-08-19T07:26:31.000000Z K 7 svn:log V 59 Comment out the timeout setting; it doesn't work properly. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-08-19T07:27:21.000000Z K 7 svn:log V 44 Branches of interest are RELENG_4_{8,9,10}. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-08-19T07:27:42.000000Z K 7 svn:log V 27 RELENG_5 is now available. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-08-19T07:28:30.000000Z K 7 svn:log V 37 Clean up, add update_releng_[45].rc. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-08-19T07:31:10.000000Z K 7 svn:log V 74 Print the patch file name in the warning message for missing patch files. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-08-19T08:55:24.000000Z K 7 svn:log V 120 Always quote variables in tests, to ensure correct evaluation even when they are empty or undefined. MFC after: 3 days END K 10 svn:author V 3 des K 8 svn:date V 27 2004-08-19T09:54:28.000000Z K 7 svn:log V 102 Add a NO_BOOT knob to prevent building the boot blocks and loader. Reviewed by: ru MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-08-19T10:34:59.000000Z K 7 svn:log V 33 Meet the new era of 6.0-CURRENT. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-08-19T10:41:54.000000Z K 7 svn:log V 94 Meet the 6.0-CURRENT era. While here, teach mdoc(7) about the upcoming FreeBSD 4.11-RELEASE. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-08-19T11:00:26.000000Z K 7 svn:log V 48 Document NO_PF and NO_AUTHPF MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-08-19T11:09:13.000000Z K 7 svn:log V 225 Generalize the UFS bad magic value used to determine when a filesystem has only been partly initialized via newfs(8) so that it applies to both UFS1 and UFS2. Submitted by: "Xin LI" delphij at frontfree dot net MFC: maybe? END K 10 svn:author V 3 des K 8 svn:date V 27 2004-08-19T11:25:03.000000Z K 7 svn:log V 37 Bump document date. Reminded by: ru END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-08-19T11:31:42.000000Z K 7 svn:log V 1601 Now that the return value semantics of cv's for multithreaded processes have been unified with that of msleep(9), further refine the sleepq interface and consolidate some duplicated code: - Move the pre-sleep checks for theaded processes into a thread_sleep_check() function in kern_thread.c. - Move all handling of TDF_SINTR to be internal to subr_sleepqueue.c. Specifically, if a thread is awakened by something other than a signal while checking for signals before going to sleep, clear TDF_SINTR in sleepq_catch_signals(). This removes a sched_lock lock/unlock combo in that edge case during an interruptible sleep. Also, fix sleepq_check_signals() to properly handle the condition if TDF_SINTR is clear rather than requiring the callers of the sleepq API to notice this edge case and call a non-_sig variant of sleepq_wait(). - Clarify the flags arguments to sleepq_add(), sleepq_signal() and sleepq_broadcast() by creating an explicit submask for sleepq types. Also, add an explicit SLEEPQ_MSLEEP type rather than a magic number of 0. Also, add a SLEEPQ_INTERRUPTIBLE flag for use with sleepq_add() and move the setting of TDF_SINTR to sleepq_add() if this flag is set rather than sleepq_catch_signals(). Note that it is the caller's responsibility to ensure that sleepq_catch_signals() is called if and only if this flag is passed to the preceeding sleepq_add(). Note that this also removes a sched_lock lock/unlock pair from sleepq_catch_signals(). It also ensures that for an interruptible sleep, TDF_SINTR is always set when TD_ON_SLEEPQ() is true. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-08-19T12:03:27.000000Z K 7 svn:log V 52 A volume can be up if it has a degraded RAID5 plex. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-08-19T12:46:02.000000Z K 7 svn:log V 172 Catch up to recent API changes including the removal of the signal_caught argument to sleepq_timedwait() and the enhancements to the flags argument passed to sleepq_add(). END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-08-19T13:41:06.000000Z K 7 svn:log V 44 Remove an unnecessary .It. Reviewed by: ru END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-08-19T14:33:53.000000Z K 7 svn:log V 69 Add a HARDWARE section and bump the document date MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-19T14:59:51.000000Z K 7 svn:log V 88 Remove GIANT_REQUIRED from setugidsafety() as knote_fdclose() no longer requires Giant. END K 10 svn:author V 6 clsung K 8 svn:date V 27 2004-08-19T16:18:39.000000Z K 7 svn:log V 46 Add my birthday. Approved by: leeym (mentor) END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-08-19T16:34:31.000000Z K 7 svn:log V 96 Reword recent addition about memory moving. Requested by: keramida Bump .Dd Requested by: ru END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-19T16:41:12.000000Z K 7 svn:log V 118 Add debugging to rman_manage_region() as well. This is useful since we manage subregions in ACPI. MFC after: 3 days END K 10 svn:author V 5 andre K 8 svn:date V 27 2004-08-19T17:38:47.000000Z K 7 svn:log V 153 Bring back the sysctl 'net.inet.ip.fw.enable' to unbreak the startup scripts and to be able to disable ipfw if it was compiled directly into the kernel. END K 10 svn:author V 5 andre K 8 svn:date V 27 2004-08-19T17:59:26.000000Z K 7 svn:log V 517 Do not unconditionally ignore IPDIVERT and IPFIREWALL_FORWARD when building the ipfw KLD. For IPFIREWALL_FORWARD this does not have any side effects. If the module has it but not the kernel it just doesn't do anything. For IPDIVERT the KLD will be unloadable if the kernel doesn't have IPDIVERT compiled in too. However this is the least disturbing behaviour. The user can just recompile either module or the kernel to match the other one. The access to the machine is not denied if ipfw refuses to load. END K 10 svn:author V 5 andre K 8 svn:date V 27 2004-08-19T18:04:10.000000Z K 7 svn:log V 117 Note that IPFIREWALL depends on PFIL_HOOKS compiled into the kernel as well. Submitted by: ceri, simon (mdoc fixes) END K 10 svn:author V 5 andre K 8 svn:date V 27 2004-08-19T18:29:55.000000Z K 7 svn:log V 60 Add comment that IPFIREWALL now requires option PFIL_HOOKS. END K 10 svn:author V 5 andre K 8 svn:date V 27 2004-08-19T18:38:23.000000Z K 7 svn:log V 122 Give a useful error message if someone tries to compile IPFIREWALL into the kernel without specifying PFIL_HOOKS as well. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-19T18:48:17.000000Z K 7 svn:log V 468 Disable interrupts after using pmap_enter() to add the identity mapping. Since pmap_enter() calls pmap_invalidate_page(), which needs interrupts enabled in the SMP case, we defer the disable to right before saving the register context. This has been incorrect for about a year but caused no real problems because the identity page never actually replaces a previously mapped page and suspend/resume on SMP systems has been uncommon. Tested by: sos MFC after: 3 days END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-08-19T18:52:37.000000Z K 7 svn:log V 141 Prepare for the first 5.3 snapshot builds. There are enough significant issues re@ feels this warrants being called ALPHA. Approved by: re END K 10 svn:author V 5 andre K 8 svn:date V 27 2004-08-19T18:54:54.000000Z K 7 svn:log V 127 Put in a note about the ipfw to pfil_hooks conversion and the requirement of having said in the kernel to be able to use ipfw. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-19T19:08:58.000000Z K 7 svn:log V 349 MFC: Remove the ACPIIO_ENABLE and ACPIIO_DISABLE ioctls. Includes: Revision Path 1.187 src/sys/dev/acpica/acpi.c 1.11 src/sys/dev/acpica/acpiio.h 1.80 src/sys/dev/acpica/acpivar.h 1.14 src/usr.sbin/acpi/acpiconf/acpiconf.8 1.16 src/usr.sbin/acpi/acpiconf/acpiconf.c Approved by: re (scottl) END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-19T19:10:52.000000Z K 7 svn:log V 71 MFC: rev 1.19, Update supported table types. Approved by: re (scottl) END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-19T19:12:11.000000Z K 7 svn:log V 96 MFC: rev 1.27, Skip, don't bail out on tables with invalid checksums. Approved by: re (scottl) END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-19T19:15:30.000000Z K 7 svn:log V 74 MFC: rev 1.188, Use original order in resuming. Approved by: re (scottl) END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-19T19:19:40.000000Z K 7 svn:log V 73 MFC: rev 1.25, Don't bail out on _CRS failure. Approved by: re (scottl) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-08-19T19:21:14.000000Z K 7 svn:log V 76 86 new vendor ID's from USB.org, and 3 corrections of existing vendor ID's. END K 10 svn:author V 5 wilko K 8 svn:date V 27 2004-08-19T19:27:33.000000Z K 7 svn:log V 125 - Note that Adaptec 3940UW won't be recognised by the 164sx SRM - Warn that 164SX is a picky customer with regards to DIMMs. END K 10 svn:author V 5 andre K 8 svn:date V 27 2004-08-19T19:45:28.000000Z K 7 svn:log V 57 Fix spelling error in my last blurb. Pointed out by: ru END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-08-19T19:51:51.000000Z K 7 svn:log V 343 Add bioq_takefirst(). If the bioq is empty, NULL is returned. Otherwise the front element is removed and returned. This can simplify locking in many drivers from: lock() bp = bioq_first(bq); if (bp == NULL) { unlock() return } bioq_remove(bp, bq) unlock to: lock() bp = bioq_takefirst(bq); unlock() if (bp == NULL) return; END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-08-19T20:13:31.000000Z K 7 svn:log V 453 Temporary bandaid to help sparc64 systems with ATA disks boot. Recent changes to the ATA driver cause a kernel crash, no fault of the ATA code. Work is in progress to add the necessary feature to the sparc64 kernel and this commit will be backed out when it is complete. This bandaid is being put in mostly in the interests of getting the first release snapshot done and out the door. Tested on: Ultra-10 exhibiting the insta-panic. MFC: Real Soon END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-19T20:16:09.000000Z K 7 svn:log V 15 Add a newline. END K 10 svn:author V 5 andre K 8 svn:date V 27 2004-08-19T20:16:17.000000Z K 7 svn:log V 132 For IPv6 access pointer to tcpcb only after we have checked it is valid. Found by: Coverity's automated analysis (via Ted Unangst) END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-08-19T20:49:39.000000Z K 7 svn:log V 55 Move listing of DTC 3290 to aha(4). MFC after: 3 days END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-08-19T20:58:24.000000Z K 7 svn:log V 43 Unconditionally support the AMD64 GART HW. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-08-19T21:24:45.000000Z K 7 svn:log V 73 Add a HARDWARE section which lists supported devices. MFC after: 3 days END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-08-19T21:34:31.000000Z K 7 svn:log V 73 Add a HARDWARE section which lists supported devices. MFC after: 3 days END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-08-19T21:37:32.000000Z K 7 svn:log V 101 Add a HARDWARE section which lists supported devices based on the Hardware Notes. MFC after: 3 days END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-08-19T22:03:20.000000Z K 7 svn:log V 224 - Remove note about device listings going away. - Add a note about possibility for duplicate listing of devices. - Auto generate device listings for the following drivers: ncr, sym, umodem, and uscanner MFC after: 3 days END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-08-19T23:02:06.000000Z K 7 svn:log V 55 Track RELENG_5 Submitted by: kuriyama Approved by: re END K 10 svn:author V 5 andre K 8 svn:date V 27 2004-08-19T23:31:40.000000Z K 7 svn:log V 188 When unloading ipfw module use callout_drain() to make absolutely sure that all callouts are stopped and finished. Move it before IPFW_LOCK() to avoid deadlocking when draining callouts. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-08-19T23:41:12.000000Z K 7 svn:log V 24 Add AMD64 support code. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-08-19T23:49:04.000000Z K 7 svn:log V 202 Adjust code to support AMD64, on AMD64, thread needs to set fsbase by itself before it can execute any other code, so new thread should be created with all signals are masked until after fsbase is set. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-08-19T23:51:42.000000Z K 7 svn:log V 23 build libthr on amd64. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-08-20T00:30:59.000000Z K 7 svn:log V 178 MFC of v1.343 and v1.344, add note about ipfw to pfil_hooks conversion and requirement of having that in the kernel to be able to use ipfw. Work done by: andre@ Approved by: re END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-08-20T00:36:44.000000Z K 7 svn:log V 129 MFC of v1.30 - Note that IPFIREWAll depends on PFIL_HOOKS compiled into the kernel as well. Work done by: andre Approved by: re END K 10 svn:author V 5 andre K 8 svn:date V 27 2004-08-20T00:36:55.000000Z K 7 svn:log V 215 Fix a stupid typo which prevented an ipfw KLD unload from successfully cleaning up its remains. Do not terminate 'if' lines with ';'. Spotted by: claudio@OpenBSD.ORG (sitting 3m from my desk) Pointy hat to: andre END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-08-20T00:42:35.000000Z K 7 svn:log V 113 MFC of v1.1263, Add comment that IPFIREWALL now requires option PFIL_HOOKS. Work done by: andre Approved by: re END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-08-20T01:24:23.000000Z K 7 svn:log V 307 Align netgraph message fields ready for 64-bit (and 128 bit :-) machines. requires a recompile of netgraph users. Also change the size of a field in the bluetooth code that was waiting for the next change that needed recompiles so it could piggyback its way in. Submitted by: jdp, maksim MFC after: 2 days END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-08-20T01:40:42.000000Z K 7 svn:log V 197 MFC balance of ipfw fixes. Revs being MFC-ed: ip_fw.h rev 1.90 ip_fw2.c rev 1.71-1.73 ip_fw_pfil.c rev 1.2-1.3 ip_input.c rev 1.285 tcp_subr.c rev 1.202 Work done by: andre Approved by: re END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-08-20T01:43:50.000000Z K 7 svn:log V 92 Last nit to MFC, rev 1.5: fix typo (extra semi-colon). Work done by: andre Approved by: re END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-08-20T02:02:05.000000Z K 7 svn:log V 195 Almost an oops, local mirror hadn't caught up with the last version of this file yet... MFC of rev. 1.73 - definitely stop callout. Work done by: andre Noticed my oops: andre Approved by: re END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-08-20T02:57:07.000000Z K 7 svn:log V 88 Fix 'make update' to look for RELENG_5 tag. Submitted by: eik Approved by: re (scottl) END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-08-20T04:15:30.000000Z K 7 svn:log V 157 make sure that the socket is either accepting connections or is connected when attaching a knote to it... otherwise return EINVAL... Pointed out by: benno END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-08-20T04:52:00.000000Z K 7 svn:log V 59 Fix a few style nits. Noticed by: Mr. mdoc(7) himself, ru END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-08-20T05:06:10.000000Z K 7 svn:log V 53 add pci id for Belkin F5D5005 Gigabit ethernet card. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-08-20T05:07:02.000000Z K 7 svn:log V 73 Replace the ERRORS section with a DIAGNOSTICS section. Requested by: ru END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-08-20T05:09:31.000000Z K 7 svn:log V 45 put function's name at begining of column... END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-08-20T05:18:50.000000Z K 7 svn:log V 280 In maybe_preempt(), ignore threads that are in an inconsistent state. This is an effective band-aid for at least some of the scheduler corruption seen recently. The real fix will involve protecting threads while they are inconsistent, and will come later. Submitted by: julian END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-08-20T05:25:11.000000Z K 7 svn:log V 73 Replace the ERRORS section with a DIAGNOSTICS section. Requested by: ru END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-08-20T05:33:37.000000Z K 7 svn:log V 354 MFC rev 1.24: temporarily have loader set hw.ata.ata_dma=0 on sparc64 only. This is a temporary hack needed until kernel support for DMA buffer alignment support is added. The newer ATA code expects this support and it has been added to each arch except for sparc64. This commit will be backed out when the support is added. Approved by: re (scottl) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-08-20T05:58:38.000000Z K 7 svn:log V 132 Revert the previous change. It works great for 4BSD but causes major problems for ULE. The reason is quite unknown and worrisome. END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-08-20T06:19:25.000000Z K 7 svn:log V 72 DONT PANIC Only call dmainit() if there is a valid busmaster resource. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-08-20T06:22:04.000000Z K 7 svn:log V 160 fix LOR's in sk. Original patch from dwhite. This moves the memory allocation earlier on in sk_attach so we don't have to lock until a bit later. PR: 69752 END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-08-20T06:27:58.000000Z K 7 svn:log V 71 document that the sk driver now supports the Belkin F5D5005 gige card. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-08-20T08:10:30.000000Z K 7 svn:log V 144 Copy open_locked() from tinderbox.pl and use it to optionally acquire a lock file upon startup. If this fails, tbmaster will simply terminate. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-08-20T10:23:22.000000Z K 7 svn:log V 56 Remove a couple of warnings and tweak an error message. END K 10 svn:author V 4 lesi K 8 svn:date V 27 2004-08-20T12:01:19.000000Z K 7 svn:log V 47 Add my birthday. Approved by: anholt (mentor) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-08-20T12:02:34.000000Z K 7 svn:log V 242 Add the raidtest tool, which can be used for performance tests of storage devices. It uses random offsets, random requests size and random operation type (READ or WRITE). It also allows to run many processes to send I/O requests in parallel. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-08-20T12:49:09.000000Z K 7 svn:log V 73 - fflush() standard output before fork()ing. - Remove redundant 'break'. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-08-20T13:39:28.000000Z K 7 svn:log V 44 Immortalize the words of a -current reader. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-08-20T14:34:44.000000Z K 7 svn:log V 23 MFC the "dot" command. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-08-20T15:14:25.000000Z K 7 svn:log V 3153 Rewrite of the floppy driver to make it MPsafe & GEOM friendly: Centralize the fdctl_wr() function by adding the offset in the resource to the softc structure. Bugfix: Read the drive-change signal from the correct place: same place as the ctl register. Remove the cdevsw{} related code and implement a GEOM class. Ditch the state-engine and park a thread on each controller to service the queue. Make the interrupt FAST & MPSAFE since it is just a simple wakeup(9) call. Rely on a per controller mutex to protect the bioqueues. Grab GEOMs topology lock when we have to and Giant when ISADMA needs it. Since all access to the hardware is isolated in the per controller thread, the rest of the driver is lock & Giant free. Create a per-drive queue where requests are parked while the motor spins up. When the motor is running the requests are purged to the per controller queue. This allows requests to other drives to be serviced during spin-up. Only setup the motor-off timeout when we finish the last request on the queue and cancel it when a new request arrives. This fixes the bug in the old code where the motor turned off while we were still retrying a request. Make the "drive-change" work reliably. Probe the drive on first opens. Probe with a recal and a seek to cyl=1 to reset the drive change line and check again to see if we have a media. When we see the media disappear we destroy the geom provider, create a new one, and flag that autodetection should happen next time we see a media (unless a specific format is configured). Add sysctl tunables for a lot of drive related parameters. If you spend a lot of time waiting for floppies you can grab the i82078 pdf from Intels web-page and try tuning these. Add sysctl debug.fdc.debugflags which will enable various kinds of debugging printfs. Add central definitions of our well known floppy formats. Simplify datastructures for autoselection of format and call the code at the right times. Bugfix: Remove at least one piece of code which would have made 2.88M floppies not work. Use implied seeks on enhanced controllers. Use multisector transfers on all controllers. Increase ISADMA bounce buffers accordingly. Fall back to single sector when retrying. Reset retry count on every successful transaction. Sort functions in a more sensible order and generally tidy up a fair bit here and there. Assorted related fixes and adjustments in userland utilities. WORKAROUNDS: Do allow r/w opens of r/o media but refuse actual write operations. This is necessary until the p4::phk_bufwork branch gets integrated (This problem relates to remounting not reopening devices, see sys/*/*/${fs}_vfsops.c for details). Keep PC98's private copy of the old floppy driver compiling and presumably working (see below). TODO (planned) Move probing of drives until after interrupts/timeouts work (like for ATA/SCSI drives). TODO (unplanned) This driver should be made to work on PC98 as well. Test on YE-DATA PCMCIA floppy drive. Fix 2.88M media. This is a MT5 candidate (depends on the bioq_takefirst() addition). END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-08-20T15:15:48.000000Z K 7 svn:log V 20 Remove unused file. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-08-20T15:31:44.000000Z K 7 svn:log V 65 We're ready to begin the BETA1 builds. Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-20T16:24:23.000000Z K 7 svn:log V 489 Back out uipc_socket.c:1.208, as it incorrectly assumes that all sockets are connection-oriented for the purposes of kqueue registration. Since UDP sockets aren't connection-oriented, this appeared to break a great many things, such as RPC-based applications and services (i.e., NFS). Since jmg isn't around I'm backing this out before too many more feet are shot, but intend to investigate the right solution with him once he's available. Apologies to: jmg Discussed with: imp, scottl END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-20T16:34:30.000000Z K 7 svn:log V 421 Remove a check that is too strict. With BIOSen that specify an IO/ctl port of 0x3f2-0x3f5,0x3f7 the ports are not 7 bytes apart. This should fix floppy probing on such systems. (We handle the case of adjusting for a start of 0x3f2 -> 0x3f0 separately, although that code should still be checked if there are still floppy problems for others.) Tested by: Sarunas Vancevicius MFC after: 3 days END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-20T16:52:44.000000Z K 7 svn:log V 965 Correctly handle BIOS resources that are duplicated (!). There are many systems that have overlapping regions specified in their sysresource objects. This patch fixes ATA DMA and acpi_timer allocation for such sysctems. It should eventually be moved to resource_list_add() if it is a valid generalized approach. The minimal approach for 5.3 is: "Loop through all current resources to see if the new one overlaps any existing ones. If so, the old one always takes precedence and the new one is adjusted (or rejected). We check for three cases: 1. Tail of new resource overlaps head of old resource: truncate the new resource so it is contiguous with the start of the old. 2. New resource wholly contained within the old resource: error. 3. Head of new resource overlaps tail of old resource: truncate the new resource so it is contiguous, following the old." Tested by: Radek Kozlowski Discussed with: imp MFC after: 4 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-08-20T16:56:43.000000Z K 7 svn:log V 34 Add description of raidtest tool. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-20T17:04:49.000000Z K 7 svn:log V 51 Use the new start for the offset, not the old end. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-08-20T17:24:52.000000Z K 7 svn:log V 87 Remove some dead code under a straggling APIC_IO #ifdef that I missed back before 5.2. END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-08-20T19:05:22.000000Z K 7 svn:log V 45 Correct the args to busdma, mostly cosmetic. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2004-08-20T19:21:47.000000Z K 7 svn:log V 280 Don't attempt to trigger the syncer thread final sync code in the shutdown_pre_sync state if the RB_NOSYNC flag is set. This is the likely cause of hangs after a system panic that are keeping crash dumps from being done. This is a MFC candidate for RELENG_5. MFC after: 3 days END K 10 svn:author V 8 truckman K 8 svn:date V 27 2004-08-20T21:47:48.000000Z K 7 svn:log V 622 Don't bother calling the module event handlers from module_shutdown() in the shutdown_final state if the RB_NOSYNC flag is set. The specific motivation in this case is that a system panic in an interrupt context results in a call to module_shutdown(), which calls g_modevent(), which calls g_malloc(..., M_WAITOK), which results in a second panic. While g_modevent() could be fixed to not call malloc() for MOD_SHUTDOWN events (which it doesn't handle in any case), it is probably also a good idea to entirely skip the execution of the module shutdown handlers after a panic. This may be a MFC candidate for RELENG_5. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-08-21T03:31:17.000000Z K 7 svn:log V 47 Document when this function came into FreeBSD. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-08-21T03:36:47.000000Z K 7 svn:log V 45 Add some details about our wonderful system. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-08-21T03:45:51.000000Z K 7 svn:log V 101 MFC: Import of LukeM's ftpd taken from the NetBSD CVS repo on 9-Aug-2004. Approved by: re(kensmith) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-08-21T03:46:39.000000Z K 7 svn:log V 104 MFC: rev 1.15: turn on the FreeBSD login user capabilities database support. Approved by: re(kensmith) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-08-21T03:58:39.000000Z K 7 svn:log V 45 Enter the long awaited start of FreeBSD 6.0! END K 10 svn:author V 6 anholt K 8 svn:date V 27 2004-08-21T06:18:11.000000Z K 7 svn:log V 82 Apply some stylistic changes based off of kern/70037 (content changes to follow). END K 10 svn:author V 6 anholt K 8 svn:date V 27 2004-08-21T06:24:21.000000Z K 7 svn:log V 337 Fix aperture size detection on some ALi chipsets by only using the lowest 4 bits to check aperture size, avoiding hangs. Maintain the rest of the bits when setting/unsetting ATTBASE. This essentially matches Linux's AGP driver as well. PR: kern/70037 Submitted by: Mark Tinguely Obtained from: NetBSD END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2004-08-21T06:40:07.000000Z K 7 svn:log V 107 MFC scsi_da.c 1.171: add support Frontier Labs NEX IA+ Digital Audio Player with USB CF card reader/writer END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-08-21T07:00:40.000000Z K 7 svn:log V 340 Let GCC know that ___runetype(), ___tolower() and ___toupper() are pure functions, allowing it to generate better code for the and functions. For example, it can now keep _CurrentRuneLocale in a register across calls to these functions, and can delete calls to ___runetype() if the result is already known or not used. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-08-21T07:23:41.000000Z K 7 svn:log V 108 Avoid accidental use of ANSI C trigraphs. Spotted by: Pawel Worach Obtained from: NetBSD (rev. 1.11, 1.13) END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-08-21T07:37:08.000000Z K 7 svn:log V 174 Re-word compatibility section, taking care to use the word "obsolete" to describe the 4.4BSD extension of accepting characters (runes) outside of the range of unsigned char. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-08-21T07:48:06.000000Z K 7 svn:log V 86 Change "deprecated" in link-time warnings about various rune functions to "obsolete". END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2004-08-21T07:53:07.000000Z K 7 svn:log V 97 MFC: now e.f.f.3.ip6.arpa is delegated, we no longer need to query ip6.int Obtained from: KAME END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-08-21T08:00:31.000000Z K 7 svn:log V 106 Re-word warning about the rune interface, taking care to use the word "obsolete" instead of "deprecated". END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-08-21T08:03:18.000000Z K 7 svn:log V 33 Bump document date for previous. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-08-21T08:08:29.000000Z K 7 svn:log V 105 Re-word warning about the UTF2 encoding, taking care to use the word "obsolete" instead of "deprecated". END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-08-21T08:16:36.000000Z K 7 svn:log V 60 The UTF2 encoding and the INVALID keyword are now obsolete. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2004-08-21T08:22:00.000000Z K 7 svn:log V 111 Back out the call to _init_tls() - something is broken there and it prevents all static binaries from running. END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2004-08-21T08:24:46.000000Z K 7 svn:log V 81 MFC umass.c 1.111: add support for SanDisk Cruzer Mini 256MB USB 2.0 Flash Drive END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2004-08-21T08:26:06.000000Z K 7 svn:log V 29 Sync to 1.11.2.62 of usbdevs END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-08-21T08:40:00.000000Z K 7 svn:log V 54 Attempt to make the probe for hardware more specific. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-08-21T08:59:53.000000Z K 7 svn:log V 61 Bump version numbers for 6.0-CURRENT and fix some sentences. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-08-21T11:49:19.000000Z K 7 svn:log V 75 Pull debug symbols in for statically linked binary. Reviewed by: desichen END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-08-21T12:34:42.000000Z K 7 svn:log V 49 Add &release.type.current; to unbreak the build. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-08-21T12:58:09.000000Z K 7 svn:log V 64 mdoc(7) janitor: - Fix hard sentence breaks. MFC after: 3 days END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-08-21T14:27:21.000000Z K 7 svn:log V 49 Add &release.type.current; to unbreak the build. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-21T16:14:04.000000Z K 7 svn:log V 434 When prepending space onto outgoing UDP datagram payloads to hold the UDP/IP header, make sure that space is also allocated for the link layer header. If an mbuf must be allocated to hold the UDP/IP header (very likely), then this will avoid an additional mbuf allocation at the link layer. This trick is also used by TCP and other protocols to avoid extra calls to the mbuf allocator in the ethernet (and related) output routines. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-08-21T16:36:21.000000Z K 7 svn:log V 171 MFC v1.17: Back out call to _init_tls() until it can be fixed. This is currently causing all static executables to fail. Work done by: dfr Approved by: re (rwatson) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-21T17:38:48.000000Z K 7 svn:log V 387 When notifying protocol components of an event on an in6pcb, use the result of the notify() function to decide if we need to unlock the in6pcb or not, rather than always unlocking. Otherwise, we may unlock and already unlocked in6pcb. Reported by: kuriyama, Gordon Bergling Tested by: kuriyama, Gordon Bergling Discussed with: mdodd END K 10 svn:author V 4 csjp K 8 svn:date V 27 2004-08-21T17:38:57.000000Z K 7 svn:log V 1388 When a prison is given the ability to create raw sockets (when the security.jail.allow_raw_sockets sysctl MIB is set to 1) where privileged access to jails is given out, it is possible for prison root to manipulate various network parameters which effect the host environment. This commit plugs a number of security holes associated with the use of raw sockets and prisons. This commit makes the following changes: - Add a comment to rtioctl warning developers that if they add any ioctl commands, they should use super-user checks where necessary, as it is possible for PRISON root to make it this far in execution. - Add super-user checks for the execution of the SIOCGETVIFCNT and SIOCGETSGCNT IP multicast ioctl commands. - Add a super-user check to rip_ctloutput(). If the calling cred is PRISON root, make sure the socket option name is IP_HDRINCL, otherwise deny the request. Although this patch corrects a number of security problems associated with raw sockets and prisons, the warning in jail(8) should still apply, and by default we should keep the default value of security.jail.allow_raw_sockets MIB to 0 (or disabled) until we are certain that we have tracked down all the problems. Looking forward, we will probably want to eliminate the references to curthread. This may be a MFC candidate for RELENG_5. Reviewed by: rwatson Approved by: bmilekic (mentor) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-08-21T17:44:57.000000Z K 7 svn:log V 65 Fix where my automated script blew the SCM ID format conversion. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-08-21T18:11:46.000000Z K 7 svn:log V 615 Implement new reading algorithm, which will use parity component for reading as well, even if device is in complete state. I observe 40% of speed-up with this option for random read operations, but slowdown for sequential reads. Basically, without this option reading from a RAID3 device built from 5 components (c0-c4) looks like this: Request no. Used components 1 c0+c1+c2+c3 2 c0+c1+c2+c3 3 c0+c1+c2+c3 With the new feature: Request no. Used components 1 c0+c1+c2+c3 2 (c1^c2^c3^c4)+c1+c2+c3 3 c0+(c0^c2^c3^c4)+c2+c3 4 c0+c1+(c0^c1^c3^c4)+c3 5 c0+c1+c2+(c0^c1^c2^c4) 6 c0+c1+c2+c3 [...] END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-08-21T18:14:55.000000Z K 7 svn:log V 63 Add regression test for the new "round-robin reading" feature. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-21T18:18:32.000000Z K 7 svn:log V 189 Fix PCI link irq programming on resume. A logic bug prevented a device match, inverting which links actually got resumed. Submitted by: Hiroyuki Aizu MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-08-21T18:50:34.000000Z K 7 svn:log V 116 Properly free the temporary sf_buf in uiomove_fromphys() if a copyin or copyout fails. Obtained from: DragonFlyBSD END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-08-21T19:20:21.000000Z K 7 svn:log V 306 Further reduce the use of Giant by vm_fault(): Giant is held only when manipulating a vnode, e.g., calling vput(). This reduces contention for Giant during many copy-on-write faults, resulting in some additional speedup on SMPs. Note: debug_mpsafevm must be enabled for this optimization to take effect. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-08-21T19:44:43.000000Z K 7 svn:log V 196 Hit people over the head so they realize run-time errors of the form /libexec/ld-elf.so.1: Undefined symbol "_ZNSs20_S_empty_rep_storageE" does mean they are hitting the GCC 3.4 ABI change issue. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-08-21T20:05:33.000000Z K 7 svn:log V 52 Clarify __FreeBSD_version scheme. Submitted by: ru END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-08-21T20:15:08.000000Z K 7 svn:log V 279 Give the mac_bsdextended(4) policy the ability to match and apply on a first rule only in place of all rules match. This is similar to how ipfw(8) works. Provide a sysctl, mac_bsdextended_firstmatch_enabled, to enable this feature. Reviewed by: re (jhb) Aprroved by: re (jhb) END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-08-21T20:19:19.000000Z K 7 svn:log V 219 Allow mac_bsdextended(4) to log failed attempts to syslog's AUTHPRIV facility. This is disabled by default but may be turned on by using the mac_bsdextended_logging sysctl. Reviewed by: re (jhb) Approved by: re (jhb) END K 10 svn:author V 6 thomas K 8 svn:date V 27 2004-08-21T20:21:49.000000Z K 7 svn:log V 105 Fix positional parameter reference to ${10}. Fix target location for generation of fstab. PR: bin/70795 END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-08-21T20:26:03.000000Z K 7 svn:log V 56 Document recently added features and bump the doc date. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-08-21T20:40:51.000000Z K 7 svn:log V 71 Protect the period! And add a new line. Guilty of bad merge: trhodes END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-08-21T21:15:03.000000Z K 7 svn:log V 21 Add version history. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-21T21:20:06.000000Z K 7 svn:log V 316 Allow the size of the routing socket netisr queue to be configured using the tunable or sysctl 'net.route.netisr_maxqlen'. Default the maximum depth to 256 rather than IFQ_MAXLEN due to the downsides of dropping routing messages. MT5 candidate. Discussed with: mdodd, mlaier, Vincent Jardin END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-21T21:45:40.000000Z K 7 svn:log V 159 If a tunable for the routing socket netisr queue max is defined, allow it to override the default value, rather than the default value overriding the tunable. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-08-22T00:08:43.000000Z K 7 svn:log V 223 In the previous revision, I failed to condition an early release of Giant in vm_fault() on debug_mpsafevm. If debug_mpsafevm was not set, the result was an assertion failure early in the boot process. Reported by: green@ END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-08-22T00:26:01.000000Z K 7 svn:log V 511 Part 1 of fixing the boot code: binutils 2.15 fixes. The binutils 2.15 assembler now automaticly and non-optionally adds the .eh_frame section for unwind information. This section appears to wreck havoc to the final boot code. Fix this by using a special linker script that discards the .eh_frame sections, but is otherwise identical to the linker internal script used for -N. Compiler used: gcc 3.3.5 Verified with: binutils 2.14 & binutils 2.15 (stock and in-tree) Tested with: /boot/loader & /boot/netboot END K 10 svn:author V 3 des K 8 svn:date V 27 2004-08-22T00:35:44.000000Z K 7 svn:log V 72 MFC: (1.72) don't rely on sb.st_size unless we're sure it's meaningful. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-22T01:32:48.000000Z K 7 svn:log V 322 When sliding the m_data pointer forward, update m_pktrhdr.len as well as m_len, or the pkthdr length will be inconsistent with the actual length of data in the mbuf chain. The symptom of this occuring was "out of data" warnings from in_cksum_skip() on large UDP packets sent via the loopback interface. Foot shot: green END K 10 svn:author V 4 csjp K 8 svn:date V 27 2004-08-22T02:03:41.000000Z K 7 svn:log V 644 Currently, if the secure level is low enough, system flags can be manipulated by prison root. In 4.x prison root can not manipulate system flags, regardless of the security level. This behavior should remain consistent to avoid any surprises which could lead to security problems for system administrators which give out privileged access to jails. This commit changes suser_cred's flag argument from SUSER_ALLOWJAIL to 0. This will prevent prison root from being able to manipulate system flags on files. This may be a MFC candidate for RELENG_5. Discussed with: cperciva Reviewed by: rwatson Approved by: bmilekic (mentor) PR: kern/70298 END K 10 svn:author V 6 anholt K 8 svn:date V 27 2004-08-22T03:55:04.000000Z K 7 svn:log V 106 Add support for Intel E7205 AGP. PR: kern/69858 Submitted by: Jacobo Arvelo END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-08-22T05:21:41.000000Z K 7 svn:log V 139 diff reduction for upcoming patch. Use a macro that masks some of the odd goings on with sub-structures, because they will go away anyhow. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-08-22T05:34:07.000000Z K 7 svn:log V 490 Found another one. Why does mdconfig hate me? Add a "sleep 5" to this script, without it sparc64 ISO building was consistently failing because the /dev/md0 device name was not present when the commands following mdconfig ran. Apparently there is the possibility of a delay between when mdconfig finishes and the names become visible in /dev. Yes, we could code this better than an unconditional call to "sleep 5" but IMHO we should fix the underlying problem instead. MFC after: 3 days END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-08-22T05:53:38.000000Z K 7 svn:log V 81 Add code to support statically linked binary and .core file of threaded program. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-08-22T06:24:59.000000Z K 7 svn:log V 402 Part 2 of fixing the boot code: gcc 3.4 fixes. The whole problem seems to be size. Which is odd, because it is said that size doesn't matter. Anyway... Add -Os to strategic places in the makefile to have the final loader be as mall as possible. This seems to be enough to make it work. For now... I think something is more fundamentally wrong; or something more fundamental is wrong. Potato, potaato. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-08-22T08:48:56.000000Z K 7 svn:log V 24 Fix some text messages. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-08-22T08:56:01.000000Z K 7 svn:log V 94 Check a return code from read(2) correctly. PR: kern/70815 Submitted by: info [at] haakh.de END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-08-22T08:57:05.000000Z K 7 svn:log V 23 Trim EOL white spaces. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-08-22T09:05:57.000000Z K 7 svn:log V 34 Fix comments, most are style fix. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-08-22T09:53:24.000000Z K 7 svn:log V 97 Unbreak the build. Translators, please let me know if I break something in your localized docs. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-08-22T10:59:33.000000Z K 7 svn:log V 92 Only compile fbsd-thread.c on amd64 and i386, other architectures have not been tested yet. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-08-22T13:34:24.000000Z K 7 svn:log V 132 Add forgotten format specifier in a KASSERT and shut up the compiler. Submitted by: Gavin Atkinson END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2004-08-22T13:54:27.000000Z K 7 svn:log V 142 Set AHD_BUSFREEREV_BUG in the bug field for Rev B chips, not the feature field. Reported by: Ken Westerback MFC in: 2 days END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2004-08-22T14:02:43.000000Z K 7 svn:log V 168 In the PCI error interrupt handler, specify the width of the PCI configuration cycle using the correct argument. The location and width were reversed. MFC in: 2 days END K 10 svn:author V 3 des K 8 svn:date V 27 2004-08-22T14:19:03.000000Z K 7 svn:log V 88 MFC: (1.16) quote variables used as command-line arguments. Approved by: re (kensmith) END K 10 svn:author V 3 des K 8 svn:date V 27 2004-08-22T14:19:53.000000Z K 7 svn:log V 98 MFC: add NO_BOOT knob to disable building the boot blocks and loader. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-22T14:48:55.000000Z K 7 svn:log V 79 Don't need to assert Giant in fw_output(), only in the firewire start routine. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-08-22T15:04:57.000000Z K 7 svn:log V 164 MFC revisions 1.98 - 1.102: Correct definition for port 1000, add 8021/tcp, sort entries correctly, whitespace cleanup, and add port 3653 [1]. PR: conf/63907 [1] END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-22T15:10:52.000000Z K 7 svn:log V 106 Make debug.kdb.stop_cpus also a TUNABLE() so it can be set prior to boot to help debug early nasty hangs. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-08-22T15:10:53.000000Z K 7 svn:log V 46 Merged from sys/dev/fdc/fdc.c revision 1.283. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-08-22T15:13:08.000000Z K 7 svn:log V 24 MFi386: revision 1.215. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-08-22T15:14:44.000000Z K 7 svn:log V 35 opt_agp.h is not required anymore. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-08-22T15:23:48.000000Z K 7 svn:log V 111 Use securelevel_gt instead of reading global securelevel unprotected. Submitted by: yongari MFC after: 3 days END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-08-22T15:54:08.000000Z K 7 svn:log V 133 Workaround devices that responds with registers as *both* master & slave, but fail utterly when we try to talk to the "fake" device. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-08-22T16:21:12.000000Z K 7 svn:log V 274 Implementation of 'verify reading' algorithm, which uses parity data for verification of regular data when device is in complete state. On verification error, EIO error is returned for the bio and sysctl kern.geom.raid3.stat.parity_mismatch is increased. Suggested by: phk END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-08-22T16:22:20.000000Z K 7 svn:log V 17 Fix sysctl name. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-08-22T16:26:09.000000Z K 7 svn:log V 49 Regression tests for 'verify reading' algorithm. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-08-22T16:26:10.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_5'. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-08-22T16:42:28.000000Z K 7 svn:log V 318 Allow early drop for non-ALTQ enabled queues in an ALTQ-enabled kernel. Previously the early drop was disabled unconditionally for ALTQ-enabled kernels. This should give some benefit for the normal gateway + LAN-server case with a busy LAN leg and an ALTQ managed uplink. Reviewed and style help from: cperciva, pjd END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-08-22T16:53:39.000000Z K 7 svn:log V 59 Import pfctl_table.c#1.61 from OpenBSD into vendor branch. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-08-22T16:53:40.000000Z K 7 svn:log V 85 This commit was manufactured by cvs2svn to create tag 'pf-vendor-pf_openbsd_3_5_001'. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-08-22T16:58:06.000000Z K 7 svn:log V 161 Loopback a fix from Cedric Berger: Fix table add/replace commands with securelevel=2. Reported by James J. Lippard. Discussed with: yongari MFC after: 5 days END K 10 svn:author V 2 le K 8 svn:date V 27 2004-08-22T17:07:55.000000Z K 7 svn:log V 44 Implement the possibility to remove drives. END K 10 svn:author V 5 green K 8 svn:date V 27 2004-08-22T18:57:40.000000Z K 7 svn:log V 947 The new contigmalloc code is exposing a lot of misuses of busdma memory allocation. Notably, in this case, the driver tries to allocate several pieces of memory and then fails if the pieces allocated after the first do not come after it physically, and within a specific range (8MB I believe). Of course, this could just as easily fail for any number of reasons, but it almost always fails now that contiguous allocations start at the end of possible specified memory locations rather than the beginning. Allocate all the possibly-needed memory up front, even though it's a waste, to get around this. The least bogus solution would be to take the physical address from the first allocation and create a new tag that specified that further allocations must follow it within that 8MB window, then use that when allocating new channels, but that's left for anyone else that really feels like doing it. Tested by: Erwin Lansing END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-08-22T19:44:24.000000Z K 7 svn:log V 298 When creating a new md, wait for geom's event queue to become empty before returning. Device nodes are created via the "taste" mechanism, so this is necessary in order to make sure that devfs entries are created before mdconfig(8) returns. This may be a MFC candidate for 5.3. Suggested by: phk END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-22T20:01:01.000000Z K 7 svn:log V 198 MT5 in_pcb.c:1.154: date: 2004/08/19 01:11:17; author: rwatson; state: Exp; lines: +1 -1 In in_pcbrehash(), do assert the inpcb lock as well as the pcbinfo lock. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-22T20:02:54.000000Z K 7 svn:log V 418 MT5 udp_usrreq.c:1.163: date: 2004/08/19 01:13:10; author: rwatson; state: Exp; lines: +35 -25 Push down pcbinfo and inpcb locking from udp_send() into udp_output(). This provides greater context for the locking and allows us to avoid locking the pcbinfo structure if not binding operations will take place (i.e., already bound, connected, and no expliti sendto() address). Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-22T20:04:56.000000Z K 7 svn:log V 472 MT5 uipc_usrreq.c:1.139: date: 2004/08/19 01:45:16; author: rwatson; state: Exp; lines: +10 -2 Add UNP_UNLOCK_ASSERT() to asser that the UNIX domain socket subsystem lock is not held. Rather than annotating that the lock is released after calls to unp_detach() with a comment, annotate with an assertion. Assert that the UNIX domain socket subsystem lock is not held when unp_externalize() and unp_internalize() are called. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-22T20:06:19.000000Z K 7 svn:log V 221 MT5 kern_descrip.c:1.244: date: 2004/08/19 14:59:51; author: rwatson; state: Exp; lines: +0 -2 Remove GIANT_REQUIRED from setugidsafety() as knote_fdclose() no longer requires Giant. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-22T20:07:50.000000Z K 7 svn:log V 532 MT5 in6_pcb.c:1.60: date: 2004/08/21 17:38:48; author: rwatson; state: Exp; lines: +5 -3 When notifying protocol components of an event on an in6pcb, use the result of the notify() function to decide if we need to unlock the in6pcb or not, rather than always unlocking. Otherwise, we may unlock and already unlocked in6pcb. Reported by: kuriyama, Gordon Bergling Tested by: kuriyama, Gordon Bergling Discussed with: mdodd Approved by: re (kensmith) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-08-22T20:52:23.000000Z K 7 svn:log V 398 Move the cow field between wire_count and hold_count. This is the position that is 64-bit aligned and makes sure that the valid and dirty fields are also 64-bit aligned. This means that if PAGE_SIZE is 32K, the size of the vm_page structure is only increased by 8 bytes instead of 16 bytes. More importantly, the vm_page structure is either 120 or 128 bytes on ia64. These are "interesting" sizes. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-22T21:32:52.000000Z K 7 svn:log V 90 Style update: use newer style function prototypes in if_sl.c in prep for merging locking. END K 10 svn:author V 3 mux K 8 svn:date V 27 2004-08-22T23:01:13.000000Z K 7 svn:log V 533 Pass a correct lowaddr to bus_dma_tag_create(), lnc(4) cards can only deal with 24-bit addresses. While the two other attachments, namely isa and cbus, do it properly, the PCI attachment was passing BUS_SPACE_MAXADDR instead of BUS_SPACE_MAXADDR_24BIT. This bug became apparent with the new contigmalloc() code. This fixes the problem reported with lnc(4) interfaces inside VMWare, and should theoritically also fix any user of a PCI lnc(4) card. It is a RELENG_5 MFC candidate. Tested by: Florian Le Goff END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-08-23T02:39:45.000000Z K 7 svn:log V 195 Temporarily back out r1.74 as it seems to cause a number of regressions accordimg to numerous reports. It might get reintroduced some time later when an exact failure mode is understood better. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-23T03:00:27.000000Z K 7 svn:log V 553 Remove in6_prefix.[ch] and the contained router renumbering capability. The prefix management code currently resides in nd6, leaving only the unused router renumbering capability in the in6_prefix files. Removing it will make it easier for us to provide locking for the remainder of IPv6 by reducing the number of objects requiring synchronized access. This functionality has also been removed from NetBSD and OpenBSD. Submitted by: George Neville-Neil Discussed with/approved by: suz, keiichi at kame.net, core at kame.net END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-08-23T03:28:01.000000Z K 7 svn:log V 56 Enter the great FreeBSD 5.3! Approved by: re(kensmith) END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-08-23T03:38:21.000000Z K 7 svn:log V 214 Make this compile again in the standalone and the MODULES_WITH_WORLD environments. Chances are good that this doesn't produce a good module, but I leave the proper defaults to the dummy opt_* files to the author. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-08-23T04:26:55.000000Z K 7 svn:log V 208 MFC of alpha boot fixes for binutils 2.15 and gcc-3.4.2. Revisions: alpha/Makefile.inc 1.10 alpha/common/Makefile.common 1.19 alpha/common/ldscript 1.1 ficl/Makefile 1.38 Approved by: re (kensmith) END