ı133589 183 2583 123 241 292 212 215 239 161 246 341 302 1258 259 247 154 191 172 265 212 156 318 384 378 754 369 318 670 220 318 357 164 284 225 406 184 694 413 325 238 174 236 309 318 129 141 177 129 1041 213 189 148 257 124 113 99 113 113 113 132 228 138 121 166 128 203 227 296 165 202 475 133 115 232 207 131 130 211 239 185 558 324 289 209 279 148 255 247 230 230 229 454 229 229 162 229 306 229 249 230 230 229 229 230 230 195 349 231 230 231 230 229 229 357 229 229 231 231 133 180 152 1226 327 193 113 111 111 384 133 145 227 130 812 128 814 159 128 175 110 117 962 442 655 760 129 213 315 913 268 570 245 478 139 658 274 313 367 321 180 182 292 295 200 150 264 183 143 128 128 162 304 1251 313 150 432 1000 176 193 216 473 244 245 184 426 K 10 svn:author V 6 marius K 8 svn:date V 27 2004-08-12T17:41:33.000000Z K 7 svn:log V 2486 - Introduce an ofw_bus kobj-interface for retrieving the OFW node and a subset ("compatible", "device_type", "model" and "name") of the standard properties in drivers for devices on Open Firmware supported busses. The standard properties "reg", "interrupts" und "address" are not covered by this interface because they are only of interest in the respective bridge code. There's a remaining standard property "status" which is unclear how to support properly but which also isn't used in FreeBSD at present. This ofw_bus kobj-interface allows to replace the various (ebus_get_node(), ofw_pci_get_node(), etc.) and partially inconsistent (central_get_type() vs. sbus_get_device_type(), etc.) existing IVAR ones with a common one. This in turn allows to simplify and remove code-duplication in drivers for devices that can hang off of more than one OFW supported bus. - Convert the sparc64 Central, EBus, FHC, PCI and SBus bus drivers and the drivers for their children to use the ofw_bus kobj-interface. The IVAR- interfaces of the Central, EBus and FHC are entirely replaced by this. The PCI bus driver used its own kobj-interface and now also uses the ofw_bus one. The IVARs special to the SBus, e.g. for retrieving the burst size, remain. Beware: this causes an ABI-breakage for modules of drivers which used the IVAR-interfaces, i.e. esp(4), hme(4), isp(4) and uart(4), which need to be recompiled. The style-inconsistencies introduced in some of the bus drivers will be fixed by tmm@ in a generic clean-up of the respective drivers later (he requested to add the changes in the "new" style). - Convert the powerpc MacIO bus driver and the drivers for its children to use the ofw_bus kobj-interface. This invloves removing the IVARs related to the "reg" property which were unused and a leftover from the NetBSD origini of the code. There's no ABI-breakage caused by this because none of these driver are currently built as modules. There are other powerpc bus drivers which can be converted to the ofw_bus kobj-interface, e.g. the PCI bus driver, which should be done together with converting powerpc to use the OFW PCI code from sparc64. - Make the SBus and FHC front-end of zs(4) and the sparc64 eeprom(4) take advantage of the ofw_bus kobj-interface and simplify them a bit. Reviewed by: grehan, tmm Approved by: re (scottl) Discussed with: tmm Tested with: Sun AX1105, AXe, Ultra 2, Ultra 60; PPC cross-build on i386 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-12T18:06:21.000000Z K 7 svn:log V 27 Trim trailing white space. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2004-08-12T18:19:36.000000Z K 7 svn:log V 143 In tcp6_ctlinput, lock tcbinfo around the call to syncache_unreach so that the locks held are the same as the IPv4 case. Reviewed by: rwatson END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-12T18:31:36.000000Z K 7 svn:log V 195 When allocating the IPv6 header to stick in front of raw packet being sent via a raw IPv6 socket, use M_DONTWAIT not M_TRYWAIT, as we're holding the raw pcb mutex. Reported, tested by: kuriyama END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-08-12T19:14:10.000000Z K 7 svn:log V 117 Now that make more correctly handles variable assignments in .MAKEFLAGS targets enable the regression test for this. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-08-12T19:17:29.000000Z K 7 svn:log V 120 Vendor patch: don't dump core when the config file cannot be opened. Submitted by: Maxim Konovalov END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-08-12T19:17:29.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r133594, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-08-12T20:06:01.000000Z K 7 svn:log V 70 Don't put DEBUG to CFLAGS, we have the standard DEBUG_FLAGS for this. END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2004-08-12T20:14:20.000000Z K 7 svn:log V 150 add support Sitecom CN-311 usb flash reader(aka SIIG_WINTERREADER) PR: kern/64722 Submitted by: Thiemo Nordenholz MFC after: 1 week END K 10 svn:author V 5 tegge K 8 svn:date V 27 2004-08-12T20:14:49.000000Z K 7 svn:log V 246 The vm map lock is needed in vm_fault() after the page has been found, to avoid later changes before pmap_enter() and vm_fault_prefault() has completed. Simplify deadlock avoidance by not blocking on vm map relookup. In collaboration with: alc END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-08-12T20:37:02.000000Z K 7 svn:log V 206 - Use bus_space_subregion() rather than arithmetic on bus_space_handle_t. [1] - Properly use the error variable and return it on failure in the attach- routines. Reviewed by: tmm Inspired by: NetBSD [1] END K 10 svn:author V 4 csjp K 8 svn:date V 27 2004-08-12T22:06:55.000000Z K 7 svn:log V 1163 Add the ability to associate ipfw rules with a specific prison ID. Since the only thing truly unique about a prison is it's ID, I figured this would be the most granular way of handling this. This commit makes the following changes: - Adds tokenizing and parsing for the ``jail'' command line option to the ipfw(8) userspace utility. - Append the ipfw opcode list with O_JAIL. - While Iam here, add a comment informing others that if they want to add additional opcodes, they should append them to the end of the list to avoid ABI breakage. - Add ``fw_prid'' to the ipfw ucred cache structure. - When initializing ucred cache, if the process is jailed, set fw_prid to the prison ID, otherwise set it to -1. - Update man page to reflect these changes. This change was a strong motivator behind the ucred caching mechanism in ipfw. A sample usage of this new functionality could be: ipfw add count ip from any to any jail 2 It should be noted that because ucred based constraints are only implemented for TCP and UDP packets, the same applies for jail associations. Conceptual head nod by: pjd Reviewed by: rwatson Approved by: bmilekic (mentor) END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2004-08-12T23:17:09.000000Z K 7 svn:log V 163 add support Frontier Labs NEX IA+ Digital Audio Player with USB CF card reader/writer PR: kern/70158 Submitted by: Bernd Strau. MFC after: 1 week END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2004-08-12T23:29:22.000000Z K 7 svn:log V 151 add support for SanDisk Cruzer Mini 256MB USB 2.0 Flash Drive PR: kern/65438 Submitted by: Peter D. Quilty MFC after: 1 week END K 10 svn:author V 9 tackerman K 8 svn:date V 27 2004-08-12T23:48:26.000000Z K 7 svn:log V 56 Added two new media types for 10GBASE-SR and 10GBASE-LR END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-08-13T00:53:40.000000Z K 7 svn:log V 96 Add a macro to define the size of a subsection of a structure. Used in fork1() and thr_create() END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-08-13T00:57:43.000000Z K 7 svn:log V 77 Don't keep evaluating our own cpu mask.. it's not likely to have changed.... END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-08-13T01:44:09.000000Z K 7 svn:log V 169 Add support for the Adaptec RAID-On-Chip architecture. This in turn provides support for the Adaptec 2130S adapter. Thanks to Adaptec for providing hardware for this. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2004-08-13T02:50:59.000000Z K 7 svn:log V 118 Remove trailing whitespace and change "prisoniD" to "prisonID". Pointed out by: simon Approved by: bmilekic (mentor) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-08-13T03:55:35.000000Z K 7 svn:log V 61 Re-write some poorly written paragraphs. Document the 2130. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2004-08-13T04:54:52.000000Z K 7 svn:log V 224 More wording, grammar, and punctuation tweaks. No major content changes, although one release note, about udav(4) promiscuous mode, was deleted as it was redundant (the driver itself is new and this fact has its own note). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-08-13T05:38:44.000000Z K 7 svn:log V 291 Bring in fix from gzip 1.3.3 to avoid crashes when processing certain corrupt input files: 1999-06-25 Paul Eggert * inflate.c (huft_build): Set n to length of v, to detect improper tables. Don't accidentally grow j past z. MFC after: 3 days END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-13T06:21:19.000000Z K 7 svn:log V 285 MPSAFE locking * Add and comment our locking primitives. The mutex primitives use a a static mutex and the serialization ones use a static sx lock. A global acpi_mutex is used for access to global resources (i.e., writes to the SMI_CMD register.) * Remove 4.x compat defines. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-13T06:21:32.000000Z K 7 svn:log V 661 MPSAFE locking * Serialize calls to acpi_alloc_resource(), acpi_release_resource(), acpi_Enable(), acpi_Disable(), and acpi_debug_sysctl(). * Acquire the ACPI mutex in acpi_register_ioctl(), acpi_deregister_ioctl(), and acpiioctl(). * Acquire the mutex while disabling subsequent requests to enter a sleep state in acpi_SetSleepState(). * Be sure to re-enable sleep requests and don't run resume methods when the current request fails. * Don't check if sleep requests are disabled in the ACPIIO_SETSLPSTATE ioctl. acpi_SetSleepState() does this for us. * Remove the acquisition of Giant from the struct cdevsw. * Remove the ACPI_USE_THREADS option. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-13T06:21:36.000000Z K 7 svn:log V 276 MPSAFE locking * Serialize notification of acline changes in acpi_acad_get_status(). * Remove the initializing flag. With the locking, we don't need to push off requests for the acline before initialization is done. * Don't check device_get_softc(), it can't return NULL. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-13T06:21:41.000000Z K 7 svn:log V 225 MPSAFE locking * Serialize acpi_battery_get_battdesc(), acpi_battery_register(), and acpi_battery_remove(). * Assert that the sx lock is held in acpi_batteries_init(). * Remove check for device_get_softc() returning NULL. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-13T06:21:44.000000Z K 7 svn:log V 577 MPSAFE locking * Serialize ops in acpi_cmbat_notify_handler(), acpi_cmbat_ioctl(), acpi_cmbat_init_battery(), and acpi_cmbat_get_battinfo(). * Get the softc directly in acpi_cmbat_get_total_battinfo() rather than build an array of them. * Don't queue a _BIF query after receiving a notify. Since we clear the timespec, a _BIF query will be done in the context of the next caller. * Add asserts to leaf functions that operate on shared data. * Remove the bst/bif updating flags now that we hold the lock over the full query. * Explain various comments in more detail. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-13T06:21:47.000000Z K 7 svn:log V 127 MPSAFE locking * Hold the ACPI lock over table register writes. * Serialize calls to acpi_cpu_throttle_set() and the sysctls. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-13T06:21:53.000000Z K 7 svn:log V 225 MPSAFE locking * Use the common serialization macros instead of rolling our own. * Increase the coverage of the lock in EcSpaceHandler() to cover the entire loop to avoid dropping the lock when reading more than one byte. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-13T06:21:55.000000Z K 7 svn:log V 264 MPSAFE locking * Serialize notifying the user in acpi_lid_notify_status_changed(). This way multiple lid events occur in order. * Add an initialization pass to get the lid status at boot-time. This pass does not notify any apps but gets the initial status. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-13T06:21:58.000000Z K 7 svn:log V 72 MPSAFE locking * Serialize access to acpi_pci_set_powerstate_method(). END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-13T06:22:03.000000Z K 7 svn:log V 191 MPSAFE locking * Serialize access to acpi_pci_link_config(), acpi_pci_find_prt(), acpi_pci_link_route(), and acpi_pci_link_resume(). * Add lock assertions to all functions called by them. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-13T06:22:07.000000Z K 7 svn:log V 132 MPSAFE locking * Serialize calls to acpi_pcib_route_interrupt(). * Note that acpi_pcib_attach() should not be called concurrently. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-13T06:22:10.000000Z K 7 svn:log V 313 MPSAFE locking * Serialize acpi_pwr_switch_consumer() and acpi_pwr_wake_enable(). * Make acpi_pwr_switch_consumer() have a single exit point. * Add assertions to the leaf functions they call. * Fix a memory leak in acpi_pwr_deregister_consumer(). However, it is currently ifdefed out so this code was unused. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-13T06:22:13.000000Z K 7 svn:log V 92 MPSAFE locking: Add a comment that we need resource list and device_t refcounting/locking. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-13T06:22:17.000000Z K 7 svn:log V 601 MPSAFE locking * Restructure the event handling path. acpi_tz_thread() now calls acpi_tz_timeout() any time an event occurs. acpi_tz_timeout() checks the flags and calls acpi_tz_power_profile(), acpi_tz_establish(), and acpi_tz_monitor() as appropriate. Notifies only do a wakeup and let acpi_tz_thread() do the actual work. This path is cleaner and allows locking since the call path is now always a D.A.G. * Add the acpi_tz_signal() function to set flags and wake the thread. * Remove the tz_tmp_updating flag since calls are serialized by acpi_tz_thread(). * Remove Giant locking. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-13T06:22:20.000000Z K 7 svn:log V 320 MPSAFE locking * Serialize operations in acpi_video_bind_outputs(), acpi_video_detach(), acpi_video_notify_handler(), acpi_video_power_profile(), and the sysctls. The main goal is to protect the shared device list and prevent conflicting settings. * Add assertions that the sx lock is held in the leaf functions. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-13T06:22:24.000000Z K 7 svn:log V 232 MPSAFE locking * Remove the interrupt wrapper that locked Giant and call the handler directly. Mark the handler as MPSAFE. * Don't attempt to detect if a handler is installed. Leave that to the bus_alloc_resource() function. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-13T06:22:26.000000Z K 7 svn:log V 145 MPSAFE locking * Simplify taskqueue locking. * Don't acquire Giant around calls to the taskqueue function. * Remove 4.x compatibility routines. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-13T06:22:29.000000Z K 7 svn:log V 82 MPSAFE locking * Serialize access to the sysctl routines and the notify handler. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-13T06:22:31.000000Z K 7 svn:log V 143 MPSAFE locking * Serialize access to the sysctl routines and the notify handler * Assert that the sx lock is held in any functions they call. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-13T06:22:35.000000Z K 7 svn:log V 216 MPSAFE locking * Serialize access to the sysctl routines and the notify handler * Assert that the sx lock is held in any functions they call. * Note that recursively calling to re-enable the hotkeys is sub-optimal. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-08-13T06:47:33.000000Z K 7 svn:log V 221 1. Add missing functions: libthr_dbresume,libthr_dbsuspend. 2. Implement functions: libthr_db_thr_setfpregs, libthr_db_thr_setregs, libthr_db_ta_map_id2thr. 3. simplify libthr_db_thr_getfpregs, libthr_db_thr_getgregs. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-08-13T06:57:31.000000Z K 7 svn:log V 37 Move PNP IDs back into oldcard files END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-08-13T07:23:02.000000Z K 7 svn:log V 44 Make -I and --files-from be synonyms for -T END K 10 svn:author V 4 roam K 8 svn:date V 27 2004-08-13T07:28:04.000000Z K 7 svn:log V 84 MFC revisions 1.29 through 1.31: fix a printf() example and bump the document date. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-08-13T07:38:58.000000Z K 7 svn:log V 37 looks like rwatson forgot tabs... :) END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-08-13T08:06:34.000000Z K 7 svn:log V 948 Replace the linear search in vm_map_findspace() with an O(log n) algorithm built into the map entry splay tree. This replaces the first_free hint in struct vm_map with two fields in vm_map_entry: adj_free, the amount of free space following a map entry, and max_free, the maximum amount of free space in the entry's subtree. These fields make it possible to find a first-fit free region of a given size in one pass down the tree, so O(log n) amortized using splay trees. This significantly reduces the overhead in vm_map_findspace() for applications that mmap() many hundreds or thousands of regions, and has a negligible slowdown (0.1%) on buildworld. See, for example, the discussion of a micro-benchmark titled "Some mmap observations compared to Linux 2.6/OpenBSD" on -hackers in late October 2003. OpenBSD adopted this approach in March 2002, and NetBSD added it in November 2003, both with Red-Black trees. Submitted by: Mark W. Krentel END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-08-13T08:14:27.000000Z K 7 svn:log V 120 Allow the use of a supplied function to set the PRD table. This is needed for new chips that supports 64bit addressing. END K 10 svn:author V 7 roberto K 8 svn:date V 27 2004-08-13T09:10:38.000000Z K 7 svn:log V 93 ntptimeset is not build anymore by default so remove it for the time being. Prodded by: imp END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-08-13T09:27:21.000000Z K 7 svn:log V 54 Add a regression test for the ATM call control stuff. END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2004-08-13T09:40:58.000000Z K 7 svn:log V 163 Add geom_uzip -- geom class that implements read-only compressed disks. Currently supports cloop V2.0 disk compression format. May support more formats in future. END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2004-08-13T09:53:52.000000Z K 7 svn:log V 31 Regression test for geom_uzip. END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2004-08-13T09:54:29.000000Z K 7 svn:log V 20 I was born in USSR. END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2004-08-13T09:56:22.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-08-13T12:14:39.000000Z K 7 svn:log V 21 White space cleanup. END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-08-13T12:22:01.000000Z K 7 svn:log V 21 White space cleanup. END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-08-13T12:27:24.000000Z K 7 svn:log V 21 White space cleanup. END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-08-13T12:35:52.000000Z K 7 svn:log V 40 Fix resource check while autodetection. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-08-13T12:59:46.000000Z K 7 svn:log V 136 Replaced a way outdated and unsafe sequence of upgrading the system from sources with the link to the relevant section in src/UPDATING. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-08-13T13:14:05.000000Z K 7 svn:log V 47 Proofreading the 4.x -> 5.x upgrade procedure. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-08-13T14:18:24.000000Z K 7 svn:log V 30 Removed commented out bitrot. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-08-13T14:19:12.000000Z K 7 svn:log V 75 Removed COPTS with equivalent CFLAGS. While here, fixed setting of BINDIR. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-08-13T14:21:49.000000Z K 7 svn:log V 37 Replaced COPTS by equivalent CFLAGS. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-08-13T14:30:26.000000Z K 7 svn:log V 111 Removed COPTS support from kmod.mk and kern.pre.mk. COPTS support in bsd.prog.mk is preserved but discouraged. END K 10 svn:author V 4 roam K 8 svn:date V 27 2004-08-13T14:33:03.000000Z K 7 svn:log V 133 Document the MNT_SNAPSHOT mount flag with a cross-reference to mksnap_ffs(8). PR: 70402 Submitted by: James Raftery END K 10 svn:author V 4 roam K 8 svn:date V 27 2004-08-13T14:42:18.000000Z K 7 svn:log V 202 MFC if.c 1.198 and if_xl.c 1.179: Do not attempt to clean up data that has not been initialized yet. This fixes two kernel panics on boot when the xl driver fails to allocate bus/port/memory resources. END K 10 svn:author V 3 ume K 8 svn:date V 27 2004-08-13T14:48:50.000000Z K 7 svn:log V 73 MFC 1.93: do not send icmp response if the original packet is encrypted. END K 10 svn:author V 3 ume K 8 svn:date V 27 2004-08-13T14:51:45.000000Z K 7 svn:log V 109 MFC 1.187: allow more than MLEN bytes for ancillary data to meet the requirement of Section 20.1 of RFC3542. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2004-08-13T15:09:20.000000Z K 7 svn:log V 381 Miscellaneous edits. Mostly style, grammar, and punctuation fixes in the vein of my previous, recent commits. Updated release notes: Augmented sha(1)/rmd160(1) note, updated pf(4) pseudo-users, retweaked doscmd note to reinstate a missing word I deleted by accident [1] and add some more info. MFCs noted: ppp(8) LQM, ppp(8) set rad_alive. Pointed out by: "Eagle Eyes" ru [1] END K 10 svn:author V 4 bmah K 8 svn:date V 27 2004-08-13T15:13:11.000000Z K 7 svn:log V 40 MFC: ppp(8) LQM, ppp(8) set rad_alive. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-08-13T17:43:53.000000Z K 7 svn:log V 23 clean up whitespace... END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-13T17:47:40.000000Z K 7 svn:log V 139 Record the new status after checking if it has changed, not before. This fixes lost AC line transition events. Bug report: Kevin Oberman END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2004-08-13T18:45:04.000000Z K 7 svn:log V 111 When printing out an unknown sense code we should print it in hex, not decimal. Reviewed by: gibbs, nate, kdm END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-08-13T18:54:21.000000Z K 7 svn:log V 39 Add pmap locking to pmap_remove_all(). END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-08-13T19:27:21.000000Z K 7 svn:log V 38 Fix building for the ACPI_DEBUG case. END K 10 svn:author V 5 markm K 8 svn:date V 27 2004-08-13T19:37:23.000000Z K 7 svn:log V 116 Bring in support for VIA C3 Nehemiah Padlock crypto support (AES). This is from the upcoming OpenSSL 0.9.8 release. END K 10 svn:author V 5 markm K 8 svn:date V 27 2004-08-13T19:37:23.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r133665, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-08-13T19:37:24.000000Z K 7 svn:log V 89 This commit was manufactured by cvs2svn to create tag 'openssl-vendor-crypto-v0_9_7_dev'. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-13T20:27:56.000000Z K 7 svn:log V 461 Commit a work-around for a more general bug involving process state: check whether p_ucred is NULL or not in pfs_getattr() before dereferencing the credential, and return ENOENT if there wasn't one. This is a symptom of a larger problem, wherein pfind() can return references to incompletely initialized processes, and we instead ought to not return them, or check the process state before acting on the process. Reported by: kris Discussed with: tjr, others END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2004-08-13T21:39:14.000000Z K 7 svn:log V 229 Fix an off by one in the critical section clearing code. The code was adjusting twice for the instruction pointer indicating the *next* instruction to execute. The aic79xx driver had a similar bug, but was fixed some time ago. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2004-08-13T21:41:23.000000Z K 7 svn:log V 194 Extend critical section protection around portions of selection processing that cannot tolerate changes to the waiting for selection queue by the host or the host canceling an active selection. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-13T22:23:21.000000Z K 7 svn:log V 112 Use IFQ_SET_MAXLEN() to set the maximum queue depth of the routing socket netisr queue. Pointed out by: winter END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2004-08-13T22:30:55.000000Z K 7 svn:log V 181 Fix the memory scaling bug when basemem was converted to Kbytes from bytes for AMD64. Otherwise the AP will be started at 640K which won't work. Bug found on a Xeon 64bit system. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-08-13T22:43:12.000000Z K 7 svn:log V 52 Add a man page for tgmath.h. Reviewed by: keramida END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-13T22:48:05.000000Z K 7 svn:log V 158 Since the if_de driver doesn't contain locking, mark it as IFF_NEEDSGIANT so that ifp->if_start won't be called without Giant when running debug.mpsafenet=1. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-13T22:52:11.000000Z K 7 svn:log V 150 As the if_ar driver doesn't contain locking or run its interrupt MPSAFE, mark it as IFF_NEEDSGIANT so that its if_start routine is run holding Giant. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-13T22:54:19.000000Z K 7 svn:log V 133 Since if_arl doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-13T22:55:25.000000Z K 7 svn:log V 133 Since if_awi doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-13T22:57:44.000000Z K 7 svn:log V 132 Since if_cm doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-08-13T22:59:09.000000Z K 7 svn:log V 358 Add support for SSDT tables. Dumping or disassembling the DSDT will now include the contents if any SSDT table as well. This makes use of the property that one can concatenate the body of SSDT tables to the DSDT, updating the DSDT header (length and checksum) and end up with a larger and valid DSDT table. Hence, this also works with -f. Reviewed by: njl@ END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-13T23:02:17.000000Z K 7 svn:log V 132 Since if_cp doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-13T23:03:11.000000Z K 7 svn:log V 132 Since if_cs doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2004-08-13T23:04:14.000000Z K 7 svn:log V 69 Wordsmithing on the GEOM_STRIPE, MSDOSFS_LARGE, and portaudit notes. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-13T23:04:23.000000Z K 7 svn:log V 132 Since if_ed doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-13T23:06:55.000000Z K 7 svn:log V 209 Since if_ex doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant. Note: there are locking macros in if_exreg.h, but they appear to be unused. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-13T23:08:08.000000Z K 7 svn:log V 132 Since if_fe doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-13T23:09:41.000000Z K 7 svn:log V 152 Since if_fwip doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant. Approved by: dfr END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-13T23:11:24.000000Z K 7 svn:log V 133 Since if_gem doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-13T23:14:50.000000Z K 7 svn:log V 133 Since if_hme doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-13T23:15:44.000000Z K 7 svn:log V 132 Since if_ie doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-13T23:16:44.000000Z K 7 svn:log V 132 Since if_ic doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-13T23:18:01.000000Z K 7 svn:log V 133 Since if_lge doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-13T23:20:50.000000Z K 7 svn:log V 133 Since if_lnc doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-08-13T23:22:38.000000Z K 7 svn:log V 99 Avoid using void pointers in additive expressions. PR: 56653 (libc/rpc bits) Approved by: alfred END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-13T23:22:53.000000Z K 7 svn:log V 252 Since if_nge doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant. Note: this driver does declare and occasionally reference mutexes, but I believe not nearly enough to provide safety. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-13T23:32:17.000000Z K 7 svn:log V 134 Since if_plip doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-13T23:39:07.000000Z K 7 svn:log V 133 Since if_ray doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-13T23:41:00.000000Z K 7 svn:log V 134 Since if_sbni doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-13T23:47:01.000000Z K 7 svn:log V 133 Since if_snc doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-13T23:49:48.000000Z K 7 svn:log V 132 Since if_sr doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-13T23:52:33.000000Z K 7 svn:log V 132 Since if_tx doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-13T23:53:36.000000Z K 7 svn:log V 260 Since if_txp doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant. Note: mutexes are initialized in the softc for this driver, but the locking appears inadequate to allow Giant-free operation. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-14T00:12:42.000000Z K 7 svn:log V 132 Since if_vx doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-14T00:15:26.000000Z K 7 svn:log V 132 Since if_xe doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-14T00:17:04.000000Z K 7 svn:log V 134 Since if_ixgb doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-14T00:19:07.000000Z K 7 svn:log V 134 Since if_oltr doesn't contain locking or run with INTR_MPSAFE, mark the interface as IFF_NEEDSGIANT so if_start is run holding Giant. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2004-08-14T02:48:13.000000Z K 7 svn:log V 36 Add new PCI device ID for PERC4/DI. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-08-14T03:23:24.000000Z K 7 svn:log V 88 Add libgcov, a runtime support library for binaries compiled for basic block profiling. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-08-14T03:43:35.000000Z K 7 svn:log V 55 We don't need , so don't bother including it. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-14T03:43:49.000000Z K 7 svn:log V 1128 After completing a name lookup for a target UNIX domain socket to connect to, re-check that the local UNIX domain socket hasn't been closed while we slept, and if so, return EINVAL. This affects the system running both with and without Giant over the network stack, and recent ULE changes appear to cause it to trigger more frequently than previously under load. While here, improve catching of possibly closed UNIX domain sockets in one or two additional circumstances. I have a much larger set of related changes in Perforce, but they require more testing before they can be merged. One debugging printf is left in place to indicate when such a race takes place: this is typically triggered by a buggy application that simultaenously connect()'s and close()'s a UNIX domain socket file descriptor. I'll remove this at some point in the future, but am interested in seeing how frequently this is reported. In the case of Martin's reported problem, it appears to be a result of a non-thread safe syslog() implementation in the C library, which does not synchronize access to its logging file descriptor. Reported by: mbr END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-08-14T03:45:45.000000Z K 7 svn:log V 229 Eliminate reliance on non-portable by implementing a very simple errx() function. Improve behavior when bzlib/zlib are missing by detecting and issuing an error message on attempts to read gzip/bzip2 compressed archives. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-08-14T05:00:37.000000Z K 7 svn:log V 98 Allocate memory in the unwinder with M_NOWAIT. We may need to provide backtraces with locks held. END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2004-08-14T06:29:17.000000Z K 7 svn:log V 16 Correct grammo. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-08-14T07:21:20.000000Z K 7 svn:log V 16 Whitespace nit. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-08-14T08:33:49.000000Z K 7 svn:log V 19 Add some KASSERTS. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-08-14T08:36:35.000000Z K 7 svn:log V 291 Don't declare everything we find on a loopback interface for passive: Only the actual loopback address should be declared passive, other addresses are very likely to be desirable to announce. Check for IFF_LOOPBACK instead of IFF_PASSIVE to determine if we have an unknown interface type. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-08-14T08:38:17.000000Z K 7 svn:log V 41 Add XXX comment about findcdev() misuse. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-08-14T09:56:17.000000Z K 7 svn:log V 54 Make informational output look less like an accident. END K 10 svn:author V 5 markm K 8 svn:date V 27 2004-08-14T13:38:35.000000Z K 7 svn:log V 132 Add support for C3 Nehemiah ACE ("Padlock") AES crypto. This comes from OpenSSL 0.9.5 (yet to be released), and is pretty complete. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-08-14T14:21:09.000000Z K 7 svn:log V 38 Fix outgoing ICMP on global instance. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2004-08-14T15:32:40.000000Z K 7 svn:log V 714 Get rid of the RANDOM_IP_ID option and make it a sysctl. NetBSD have already done this, so I have styled the patch on their work: 1) introduce a ip_newid() static inline function that checks the sysctl and then decides if it should return a sequential or random IP ID. 2) named the sysctl net.inet.ip.random_id 3) IPv6 flow IDs and fragment IDs are now always random. Flow IDs and frag IDs are significantly less common in the IPv6 world (ie. rarely generated per-packet), so there should be smaller performance concerns. The sysctl defaults to 0 (sequential IP IDs). Reviewed by: andre, silby, mlaier, ume Based on: NetBSD MFC after: 2 months END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2004-08-14T16:16:01.000000Z K 7 svn:log V 31 Add a note about RANDOM_IP_ID. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-14T17:15:16.000000Z K 7 svn:log V 717 Cause pfind() not to return processes in the PRS_NEW state. As a result, threads consuming the result of pfind() will not need to check for a NULL credential pointer or other signs of an incompletely created process. However, this also means that pfind() cannot be used to test for the existence or find such a process. Annotate pfind() to indicate that this is the case. A review of curent consumers seems to indicate that this is not a problem for any of them. This closes a number of race conditions that could result in NULL pointer dereferences and related failure modes. Other related races continue to exist, especially during iteration of the allproc list without due caution. Discussed with: tjr, green END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-08-14T17:46:10.000000Z K 7 svn:log V 63 Avoid using void pointers in additive expressions. PR: 56653 END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-08-14T17:55:15.000000Z K 7 svn:log V 32 Use tabulators after '#define'. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-08-14T18:03:21.000000Z K 7 svn:log V 79 Stop defining '_Complex' in a C99 environment, it is supposed to be a keyword. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-08-14T18:57:41.000000Z K 7 svn:log V 18 Remove spl calls. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-08-14T21:40:28.000000Z K 7 svn:log V 25 Remove confused comment. END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-08-14T21:43:37.000000Z K 7 svn:log V 866 - Make OF_getetheraddr() honour the "local-mac-address?" system config variable. If set to "true" OF_getetheraddr() will now return the unique MAC address stored in the "local-mac-address" property of the device's OFW node if present and the host address/system default MAC address if the node doesn't doesn't have such a property. If set to "false" the host address will be returned for all devices like before this change. This brings the behaviour of device drivers for NICs with OFW support/ FCode, i.e. dc(4) for on-board DM9102A on Sun machines, gem(4) and hme(4), regarding "local-mac-address?" in line with NetBSD and Solaris. The man pages of the respective drivers will be updated separately to reflect this change. - Remove OF_getetheraddr2() which was used as a stopgap in dc(4). Its functionality is now part of OF_getetheraddr(). END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-08-14T21:44:35.000000Z K 7 svn:log V 346 - Capitalize Ethernet and Fast Ethernet. - Add a NOTES section with information regarding the "local-mac-address?" system configuration variable on sparc64 and add a reference to eeprom(8) for using it. Dump document date for this. - In dc.4, add the on-board DM9102A on Sun Netra X1 and Sun Fire V100 to the list of known working devices. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-08-14T22:10:26.000000Z K 7 svn:log V 562 Next step in making usb more newbus: o reprobe children when a new driver is added to uhub o fix the usbd_probe_and_attach to set the ivars to a malloc'd area, as well as freeing the ivars on child destruction. o Don't delete children that don't attach. Evidentally, the need to do this is a common misconception. o minor formatting foo that may violate style(9) at the moment, but keeps the diffs against my p4 tree smaller. This does not solve the ugen gobbling things up problem, but the fixes I have for that expose bugs in other parts of the tree... END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-08-14T22:38:20.000000Z K 7 svn:log V 664 Make hme(4), i.e. the PCI-variant, MI by reading the MAC address on sytems without Open Firmware directly instead of using OF_getetheraddr(). This is a bit painful though, as the MAC address is contained in the NA field of the VPD of the EBus bridge, which is is another function of the same chip. To make it worse, the VPD of the EBus bridge can't be accessed via the PCI capability pointer but has to be digged out from the Boot PROM and has a non-standard format. The PCI VPD struct and macros used here should be part of the FreeBSD PCI code nevertheless. Approved by: tmm Based on: NetBSD Tested with: Sun X1032A (hme(4)-isp(4)-combo card) on alpha and i386 END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-08-14T22:38:50.000000Z K 7 svn:log V 34 Add hme(4) here now that it's MI. END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-08-14T22:40:16.000000Z K 7 svn:log V 117 Now that hme(4) is MI build its module on all platforms. Tested by: `make universe` and powerpc cross-build on i386 END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-08-14T23:53:04.000000Z K 7 svn:log V 219 Add sparc64/pci/ofw_pci_if.m to the list of MFILES so modules can use sparc64/pci/ofw_pci.h. This is a bit messy right now but (hopefully) will get better once the MI OFW PCI code has moved from sparc64/pci to dev/ofw. END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-08-14T23:54:27.000000Z K 7 svn:log V 817 - Introduce an uart_cpu_identify() which is implemented in uart_cpu_.c and that can be used as an identify function for all kinds of busses on a certain platform. Expect for sparc64 these are only stubs right now. [1] - For sparc64, add code to its uart_cpu_identify() for registering the on- board ISA UARTs and their resources based on information obtained from Open Firmware. It would be better if this would be done in the OFW ISA code. However, due to the common FreeBSD ISA code and PNP-IDs not always being present in the properties of the ISA nodes there seems to be no good way to implement that. Therefore special casing UARTs as the sole really relevant ISA devices on sparc64 seemed reasonable. [2] Approved by: marcel Discussed with: marcel [1], tmm [2] Tested by: make universe END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-08-15T00:10:59.000000Z K 7 svn:log V 172 sio(4), which never really worked on sparc64, was removed in favour of uart(4) in sparc64/conf/GENERIC revision 1.63 about 9 months ago. Remove its source files here, too. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-15T02:06:27.000000Z K 7 svn:log V 473 Add a new sysctl, debug.kdb.stop_cpus, which controls whether or not we attempt to IPI other cpus when entering the debugger in order to stop them while in the debugger. The default remains to issue the stop; however, that can result in a hang if another cpu has interrupts disabled and is spinning, since the IPI won't be received and the KDB will wait indefinitely. We probably need to add a timeout, but this is a useful stopgap in the mean time. Reviewed by: marcel END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-08-15T02:17:20.000000Z K 7 svn:log V 149 Fix a style(9) bug (variable definitions inside a nested scope) a patch of mine introduced in revision 1.10. Approved by: marcel Prodded by: marcel END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-08-15T02:39:20.000000Z K 7 svn:log V 382 Improve the usage. Without any arguments, kgdb(1) works on /dev/mem with the currently running kernel image. Otherwise, one of -c, -n or -r is expected for working on a particular core file (-c), working on a saved dump (-n) or working remotely (-r). When working on a saved dump, a kernel may be omitted. For a remote debugging session (-r), kgdb(1) will use the specified device. END K 10 svn:author V 4 kris K 8 svn:date V 27 2004-08-15T06:07:01.000000Z K 7 svn:log V 46 Remove misc/screen, which is not packageable. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-08-15T06:24:42.000000Z K 7 svn:log V 565 Add locking to the kqueue subsystem. This also makes the kqueue subsystem a more complete subsystem, and removes the knowlege of how things are implemented from the drivers. Include locking around filter ops, so a module like aio will know when not to be unloaded if there are outstanding knotes using it's filter ops. Currently, it uses the MTX_DUPOK even though it is not always safe to aquire duplicate locks. Witness currently doesn't support the ability to discover if a dup lock is ok (in some cases). Reviewed by: green, rwatson (both earlier versions) END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-08-15T06:27:49.000000Z K 7 svn:log V 181 This is a force commit because I forgot from the previous commit (and other files): Supported by: nCircle Network Security, Inc. They have/will assign ownership of the code to me. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-08-15T08:21:50.000000Z K 7 svn:log V 218 o Add -l option to jail(8) similar to su(1): before running jail'ed program under specific user's credentials, clean the environment and set only a few variables. PR: bin/70024 Submitted by: demon MFC after: 1 month END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-08-15T10:51:21.000000Z K 7 svn:log V 270 Use the USBD_FORCE_SHORT_XFER flag when setting up transmit transfers. Without this, the device cannot detect the end of ethernet packets whose size is a multiple of the USB packat size. PR: kern/70474 Submitted by: Andrew Thompson MFC after: 1 week END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-08-15T11:52:45.000000Z K 7 svn:log V 228 Use sv_psstrings from the current process's sysentvec structure instead of PS_STRINGS. This is a no-op at present, but it will be needed when running 32-bit Linux binaries on amd64 to ensure PS_STRINGS is in addressable memory. END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2004-08-15T12:17:36.000000Z K 7 svn:log V 85 MFC bktr_card.c 1.24 and bktr_card.h 1.7 Add support AOpen VA1000 video capture card END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-08-15T12:24:05.000000Z K 7 svn:log V 90 Avoid assuming that l_timeval is the same as the native struct timeval in linux_select(). END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-08-15T12:31:30.000000Z K 7 svn:log V 195 Disable surplus detection of breakpoint event in signal stack, the check causes a normal breakpoint event in new thread to be ignored unexpectly, result is process SIGSEGV. Test on: AMD64, i386 END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-08-15T12:34:15.000000Z K 7 svn:log V 202 Replace linux_getitimer() and linux_setitimer() with implementations based on those in freebsd32_misc.c, removing the assumption that Linux uses the same layout for struct itimerval as we use natively. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-08-15T13:00:07.000000Z K 7 svn:log V 106 A media type of floppy is detected automatically. Submitted by: Watanabe Kazuhiro END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-08-15T13:26:20.000000Z K 7 svn:log V 58 Inform hier(7) about /usr/include/geom/mirror/ directory. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-08-15T13:58:29.000000Z K 7 svn:log V 171 Avoid code duplication by introducing g_mirror_write_metadata() function, which is used now by g_mirror_clear_metadata() function and g_mirror_update_metadata() function. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-08-15T15:36:18.000000Z K 7 svn:log V 91 move the declaration of struct kqlist into the non-KERNEL visable section to fix userland. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2004-08-15T16:18:52.000000Z K 7 svn:log V 51 Add support for TLS in statically linked programs. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2004-08-15T16:21:30.000000Z K 7 svn:log V 36 Add TLS support for libthr on i386. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2004-08-15T16:28:05.000000Z K 7 svn:log V 36 Add TLS support for i386 and amd64. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-08-15T17:32:31.000000Z K 7 svn:log V 68 o Document net.inet.ip.random_id sysctl. Reviewed by: dwmalone, ru END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-08-15T17:40:06.000000Z K 7 svn:log V 209 - Make the naming of AMCC's 3ware cards consistent with the current naming from AMCC. - Update the list of devices supported by the drivers. All of the above is based on information from AMCC via vkashyap. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-15T18:02:09.000000Z K 7 svn:log V 1153 Add an "options MP_WATCHDOG" to i386. This option allows one of the logical CPUs on a system to be used as a dedicated watchdog to cause a drop to the debugger and/or generate an NMI to the boot processor if the kernel ceases to respond. A sysctl enables the watchdog running out of the processor's idle thread; a callout is launched to reset a timer in the watchdog. If the callout fails to reset the timer for ten seconds, the watchdog will fire. The sysctl allows you to select which CPU will run the watchdog. A sample "debug.leak_schedlock" is included, which causes a sysctl to spin holding sched_lock in order to trigger the watchdog. On my Xeons, the watchdog is able to detect this failure mode and break into the debugger, which cannot otherwise be done without an NMI button. This option does not currently work with sched_ule due to ule's push notion of scheduling, similar to machdep.hlt_logical_cpus failing to work with that scheduler. On face value, this might seem somewhat inefficient, but there are a lot of dual-processor Xeons with HTT around, so using one as a watchdog for testing is not as inefficient as one might fear. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-08-15T18:09:47.000000Z K 7 svn:log V 218 - Add a HARDWARE section which lists supported devices. - Remove reference to the NOTES section in the entry for Sun DMFE, since ot doesn't work well with the auto generated Hardware Notes. [1] OK'ed by: marius [1] END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-08-15T18:13:08.000000Z K 7 svn:log V 56 - Add a HARDWARE section which lists supported devices. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-15T19:10:05.000000Z K 7 svn:log V 335 Add a "fillchar" command line argument to dd(1) that permits the user to specify an alternative padding character when using a conversion mode, or when using noerror with sync and an input error occurs. This facilities reading old and error-prone media by allowing the user to more effectively mark error blocks in the output stream. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2004-08-15T19:17:23.000000Z K 7 svn:log V 902 Yet another tweak to the shutdown messages in boot(): Don't count busy buffers before the initial call to sync() and don't skip the initial sync() if no busy buffers were called. Always call sync() at least once if syncing is requested. This defers the "Syncing disks, buffers remaining..." message until after the initial sync() call and the first count of busy buffers. This backs out changes in kern_shutdown 1.162. Print a different message when there are no busy buffers after the initial sync(), which is now the expected situation. Print an additional message when syncing has completed successfully in the unusual situation where the work of syncing was done by boot(). Uppercase one message to make it consistent with all of the other kernel shutdown messages. Discussed with: bde (in a much earlier form, prior to 1.162) Reviewed by: njl (in an earlier form) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-15T19:24:17.000000Z K 7 svn:log V 80 Add a useful snippet on limitations of inductive reasoning by Bertrand Russell. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-08-15T19:48:27.000000Z K 7 svn:log V 99 Change the HARDWARE section to have the same style as in the other FreeBSD section 4 manual pages. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-15T19:57:14.000000Z K 7 svn:log V 119 Spell MP_WATCHDIG right: I fixed the build without MP_WATCHDOG after testing MP_WATCHDOG, and used an incorrect ifdef. END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-08-15T20:17:29.000000Z K 7 svn:log V 377 - Correct the description of the "local-mac-address?" variable. Not all NICs use it, only those with FCode. Add references to dc(4), gem(4) and hme(4) for obtaining further information about such devices presently supported by FreeBSD. - Correct the HISTORY section. There was an eeprom(8) utility in 4.4BSD and early versions of FreeBSD 2.x. - Add an AUTHORS section. END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-08-15T20:18:54.000000Z K 7 svn:log V 148 Save on one variable in ofwo_action(). Leftover from an older version of this function which needed the handle of the /options node more than once. END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-08-15T20:32:06.000000Z K 7 svn:log V 149 Shorten the description of NO_OPENSSL, which was split into two lines by a patch of mine in revision 1.216, a bit so it fits in a single line again. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-08-15T20:32:40.000000Z K 7 svn:log V 88 Preemptive anti-footshooting: cause a #error if MP_WATCHDOG is compiled with SCHED_ULE. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-08-15T20:54:07.000000Z K 7 svn:log V 331 - Add a HARDWARE section which lists supported devices. - Add the manufacturer name to each item in the device list. - Make the note about supporting "IBM e335" into a general list and change the entry to use the full product name ("IBM eServer xSeries 335"). - Add Dell PowerEdge 1750 to the list of systems with mpt onboard. END