ƒ®$144568 223 166 165 155 148 179 158 139 159 151 140 113 114 163 150 123 407 478 766 369 260 214 238 476 143 371 170 127 264 231 122 300 175 236 237 173 204 256 236 214 170 379 409 343 144 214 274 157 154 146 203 126 120 234 222 121 169 603 173 342 164 219 617 280 564 196 126 153 171 154 1677 304 126 189 154 179 272 911 125 137 135 122 162 142 224 284 181 178 132 148 171 216 217 255 156 143 119 137 225 852 193 333 281 154 407 423 118 1407 247 245 188 149 141 205 128 173 213 226 181 186 146 227 657 260 138 138 165 145 118 242 269 269 239 163 253 172 690 494 114 119 189 160 380 198 156 722 374 169 255 218 135 123 133 151 320 286 361 173 118 176 166 182 217 287 161 193 181 164 209 153 148 118 206 263 368 335 332 1056 382 147 157 184 616 166 180 219 307 210 126 148 198 147 337 188 259 118 218 142 127 127 114 216 212 129 208 133 186 271 148 128 250 112 180 164 218 261 232 205 495 121 198 168 216 239 K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-04-03T06:01:08.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_5_4'. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-04-03T07:26:42.000000Z K 7 svn:log V 68 Change cvs update target to RELENG_5_4. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-04-03T07:28:50.000000Z K 7 svn:log V 58 Bump version numbers for 5.4. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-04-03T07:35:58.000000Z K 7 svn:log V 51 Update for RELENG_5_4. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-04-03T07:42:12.000000Z K 7 svn:log V 82 Update version numbers to reflect 5.4 as the release. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-04-03T07:48:09.000000Z K 7 svn:log V 61 Update branch tag to RELENG_5_4. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-04-03T07:49:19.000000Z K 7 svn:log V 42 Prep for RC1. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-04-03T07:51:13.000000Z K 7 svn:log V 62 Adjust __FreeBSD_version for 5.4. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-04-03T07:55:14.000000Z K 7 svn:log V 54 Add packages-5.4-release. Approved by: re (implicit) END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-04-03T07:57:47.000000Z K 7 svn:log V 48 Remove GIANT_REQUIRED from elfN_load_section(). END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-04-03T08:50:00.000000Z K 7 svn:log V 16 Update for 5.4. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-04-03T08:52:03.000000Z K 7 svn:log V 17 Updates for 5.4. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-04-03T08:53:59.000000Z K 7 svn:log V 66 Branch for RELENG_5_4 has been made so RELENG_5 shifts to STABLE. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-04-03T08:55:19.000000Z K 7 svn:log V 53 Update __FreeBSD_version for post-RELENG_5_4 branch. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-04-03T08:57:08.000000Z K 7 svn:log V 26 Add packages-5.4-release. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-04-03T09:46:06.000000Z K 7 svn:log V 314 If they ever tell my story, let them say I lived in the time of Pope John Paul II, one of the greatest man... Je¶li kiedy¶ kto¶ opowie moj± historiê, niech powie, ¿e ¿y³em w czasach Papie¿a Jana Paw³a II, jednego z najwspanialszych ludzi, najwspanialszego Polaka... -- Pawe³ Jakub Dawidek, atheist END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-03T10:24:03.000000Z K 7 svn:log V 384 - Now that writes to character devices supporting softupdates can generate dirty bufs even with a locked vnode, 100 retries is not that many. This should probably change from a retry count to an abort when we are no longer cleaning any buffers. - Don't call vprint() while we still hold the vnode locked. Move the call to later in the function. - Clean up a comment. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-03T10:29:55.000000Z K 7 svn:log V 672 - Move the contents of softdep_disk_prewrite into ffs_geom_strategy to fix two bugs. - ffs_disk_prewrite was pulling the vp from the buf and checking for COPYONWRITE, when really it wanted the vp from the bufobj that we're writing to, which is the devvp. This lead to us skipping the copy on write to all file data, which significantly broke snapshots for the last few months. - When the SOFTUPDATES option was not included in the kernel config we would also skip the copy on write check, which would effectively disable snapshots. - Remove an invalid mp_fixme(). Debugging tips from: mckusick Reported by: iedowse, others Discussed with: phk END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-03T10:38:18.000000Z K 7 svn:log V 275 - In ffs_sync we need to pass LK_SLEEPFAIL in when we lock the vnode because it may change identities while we're sleeping on the lock. Otherwise we may bail out of ffs_sync() early due to an error from deadfs. - Collapse a VOP_UNLOCK, vrele into a single vput(). END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-04-03T11:02:03.000000Z K 7 svn:log V 167 Fix and update several entities for 5.4R. Set &release.current; to "5.4-RC1" and &release.manpath.freebsd; to "5.3-stable" temporarily. Approved by: re (implicitly) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-04-03T11:10:42.000000Z K 7 svn:log V 121 Replace &release.prev.historic; with &release.prev;. This distinction is no longer needed. Approved by: re (implicitly) END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-03T11:49:02.000000Z K 7 svn:log V 144 - Slightly restructure acquire() so I can add more ktr information and an assert to help find two strange bugs. - Remove some nearby spls. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-03T12:03:44.000000Z K 7 svn:log V 382 - Use M_ZERO rather than explicitly calling bzero(). - Don't intermingle direct calls to lockmgr and indirect calls through VOPs. This will be important in the future. - Dont lock the devvp's interlock just to release it on the next line by passing LK_INTERLOCK to lockmgr. - Restructure ffs_snapshot_unmount so we don't call free() with the devvp's interlock locked. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-04-03T13:03:53.000000Z K 7 svn:log V 51 Fix a buglet that caused slaves to be nondetected. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-04-03T14:55:49.000000Z K 7 svn:log V 278 - Add a missing g_io_deliver() in case of allocation failure - we didn't completed I/O requests here. - First allocate all needed bios, so if any of allocations fail, we can free memory before sending any I/O requests down. Reported by: Pawel Malachowski MFC after: 3 days END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-04-03T15:23:39.000000Z K 7 svn:log V 78 Update &release.*; and trim release documentation for the release after 5.4R. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-04-03T15:33:02.000000Z K 7 svn:log V 35 Trim Errata for the upcoming 5.4R. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-03T16:02:51.000000Z K 7 svn:log V 167 MFen 1.761.2.39 -> 1.761.2.41 (1.761.2.42 is excluded intentionally so this can be merged into RELENG_5_4) Obtained from: The FreeBSD Simplified Chinese Project CVS END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-03T16:17:54.000000Z K 7 svn:log V 134 MF5 (1.1.2.5) MFen 1.761.2.41 -> 1.761.2.41.2.1 Obtained from: The FreeBSD Simplified Chinese Project CVS Approved by: re (blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-03T16:35:58.000000Z K 7 svn:log V 30 Remove debug from last commit END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-03T16:44:44.000000Z K 7 svn:log V 207 MFC: o FreeBSD 2-4 dump tape reading - get dates right - get bounds righ o FreeBSD 1 dump tape reading - fix old directory and inodes o Remove -c and references to it: it was removed a while ago END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-03T16:48:22.000000Z K 7 svn:log V 79 MFen 1.276 -> 1.277 Obtained from: The FreeBSD Simplified Chinese Project CVS END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-03T16:56:13.000000Z K 7 svn:log V 139 MFC 1.3 (a.k.a. MFen 1.276 -> 1.277). Effectively MFen 1.227.2.25 -> 1.227.2.26 Obtained from: The FreeBSD Simplified Chinese Project CVS END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-03T17:13:26.000000Z K 7 svn:log V 140 MFR5 1.1.2.3 Effectively MFen 1.227.2.25 -> 1.227.2.26 Obtained from: The FreeBSD Simplified Chinese Project CVS Approved by: re (blanket) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-03T17:41:21.000000Z K 7 svn:log V 77 MFen 1.30 -> 1.31 Obtained from: The FreeBSD Simplified Chinese Project CVS END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-03T17:43:58.000000Z K 7 svn:log V 107 MFC 1.3 (effectively MFen 1.27.2.2 -> 1.27.2.3) Obtained from: The FreeBSD Simplified Chinese Project CVS END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-03T17:47:03.000000Z K 7 svn:log V 163 With pc98/include, we can have pc98 and i386 specific bus space implementations in their own files named $MACHINE/include/bus.h. Copy the contents appropriately. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-03T17:48:52.000000Z K 7 svn:log V 139 MFR5 1.1.2.2 (effectively MFen 1.27.2.2 -> 1.27.2.3) Obtained from: The FreeBSD Simplified Chinese Project CVS Approved by: re (blanket) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-03T18:06:46.000000Z K 7 svn:log V 117 Use 5.4-RELEASE for RELENG_5_4. Obtained from: The FreeBSD Simplified Chinese Project CVS Approved by: re (blanket) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-03T18:10:57.000000Z K 7 svn:log V 74 MFen 1.69.2.17 Obtained from: The FreeBSD Simplified Chinese Project CVS END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-03T21:45:20.000000Z K 7 svn:log V 286 Instead of leaving the current frequency setting at whatever the BIOS set on boot, force it to HIGH. This is needed for some systems which appear to boot with a low acpi_throttle setting by default. Thanks to Christian Brueffer for tracking this down on his system. MFC after: 1 day END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-03T22:23:18.000000Z K 7 svn:log V 316 maxunit is actually one higher than the greatest currently-allocated unit in a devclass. All the other uses of maxunit are correct and this one was safe since it checks the return value of devclass_get_device(), which would always say that the highest unit device doesn't exist. Reviewed by: dfr MFC after: 3 days END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-03T22:56:58.000000Z K 7 svn:log V 249 - Don't NULL the vnode's v_object pointer until after the object is torn down. If we have dirty pages, the putpages routine will need to know what the vnode's object is so that it may write out dirty pages. Pointy hat: phk Found by: obrien END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-03T23:27:11.000000Z K 7 svn:log V 52 Move pc98 specific parts to the pc98 specific file. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-03T23:49:13.000000Z K 7 svn:log V 120 - Move LOOKUP_SHARED from opt_global.h to opt_vfs.h so we don't have to recompile the whole kernel if we change it. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-03T23:50:20.000000Z K 7 svn:log V 180 - Include opt_vfs.h for LOOKUP_SHARED. - Control the behavior of shared lookups with the lookup_shared sysctl which has its default behavior set via the LOOKUP_SHARED option. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-04-03T23:52:29.000000Z K 7 svn:log V 61 Export pthread_condattr_getclock, pthread_condattr_setclock. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-04-03T23:55:02.000000Z K 7 svn:log V 58 Add pthread_condattr_getclock, pthread_condattr_setclock. END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-04-04T02:32:56.000000Z K 7 svn:log V 54 change ieee80211_input to return the frame type or -1 END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-04-04T02:34:15.000000Z K 7 svn:log V 110 use frame type returned by ieee80211_input to drive softled code instead of monitoring the input packet count END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-04-04T04:27:20.000000Z K 7 svn:log V 34 remove extern from function decls END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-04T05:28:19.000000Z K 7 svn:log V 28 No need to ifdef this pc98. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-04T09:36:26.000000Z K 7 svn:log V 140 - Fix union's assumptions about when the dvp is unlocked. It is only unlocked in the ISDOTDOT case now, not for all !ISLASTCN lookups. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-04-04T10:02:53.000000Z K 7 svn:log V 130 MFC: - 1.489: Protect against DESTDIR being set during the build32. - 1.490: Fix AMD64 cross-builds when NO_LIB32 is not defined. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-04-04T10:04:52.000000Z K 7 svn:log V 30 MFC: 1.2: Fixed "make clean". END K 10 svn:author V 6 philip K 8 svn:date V 27 2005-04-04T10:21:20.000000Z K 7 svn:log V 74 Fix a small locking error. Submitted by: Anish Mistry END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-04T11:43:44.000000Z K 7 svn:log V 509 - Instead of waiting forever to get a vnode in getnewvnode() wait for one to become available for one second and then return ENFILE. We can run out of vnodes, and there must be a hard limit because without one we can quickly run out of KVA on x86. Presently the system can deadlock if there are maxvnodes directories in the namecache. The original 4.x BSD behavior was to return ENFILE if we reached the max, but 4.x BSD did not have the vnlru proc so it was less profitable to wait. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-04T12:07:16.000000Z K 7 svn:log V 80 - Add a missing unlock of the vnode_free_list_mtx. Spotted by: Antoine Brodin END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-04T15:26:51.000000Z K 7 svn:log V 249 Add devclass_get_drivers(9) which provides an array of pointers to driver instances in a given devclass. This is useful for systems that want to call code in driver static methods, similar to device_identify(). Reviewed by: dfr MFC after: 2 weeks END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-04-04T15:26:52.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_5'. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-04T15:37:59.000000Z K 7 svn:log V 126 Document that devclass_get_maxunit(9) returns one greater than the current highest unit. Reviewed by: dfr MFC after: 2 weeks END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-04T15:46:57.000000Z K 7 svn:log V 524 Add the acpi_get_features() method. This method is called on child drivers to see what features they may support before calling identify/probe/attach. This is necessary because the ACPI 3.0 spec requires driver support be advertised before running any methods. For now, the flags are as specified in for the _PDC and _OSC methods but we can support private flags as needed. Add an implementation of this for acpi_cpu. It checks all its children (notably cpufreq drivers) and calls the _PDC method to report the results. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-04T15:51:13.000000Z K 7 svn:log V 187 Add support for _PDC/_OSC by advertising that we support direct access to the PERF_CTL/STS MSRs via the new acpi_get_features() method. This should allow newer systems to use SpeedStep. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-04-04T16:42:35.000000Z K 7 svn:log V 466 Change the default for hw.ata.atapi_dma so that DMA is off. We are seeing a lot of install problems that get fixed by turning DMA off. The sparc64 mailing list sees the most reports of this but it does come up on others. Changing the default should give us a more robust install, at the expense of people who need DMA for burning CDs needing to turn it on (maybe). The same change will be made in HEAD shortly by the ata maintainer. Discussed with: sos, scottl END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-04-04T17:23:16.000000Z K 7 svn:log V 99 Default for hw.ata.atapi_dma is now PIO. Reminded by: Joel Dahl END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-04-04T17:37:35.000000Z K 7 svn:log V 34 Don't leak mutex on open failure. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-04-04T19:45:27.000000Z K 7 svn:log V 61 make _files_getaddrinfo() re-entrant. Obtained from: NetBSD END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-04T20:59:02.000000Z K 7 svn:log V 79 Flip the switch and turn mpsafevm on by default for sparc64. Approved by: alc END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-04-04T21:19:48.000000Z K 7 svn:log V 58 Include and for various functions. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-04T21:53:56.000000Z K 7 svn:log V 1583 Divorce critical sections from spinlocks. Critical sections as denoted by critical_enter() and critical_exit() are now solely a mechanism for deferring kernel preemptions. They no longer have any affect on interrupts. This means that standalone critical sections are now very cheap as they are simply unlocked integer increments and decrements for the common case. Spin mutexes now use a separate KPI implemented in MD code: spinlock_enter() and spinlock_exit(). This KPI is responsible for providing whatever MD guarantees are needed to ensure that a thread holding a spin lock won't be preempted by any other code that will try to lock the same lock. For now all archs continue to block interrupts in a "spinlock section" as they did formerly in all critical sections. Note that I've also taken this opportunity to push a few things into MD code rather than MI. For example, critical_fork_exit() no longer exists. Instead, MD code ensures that new threads have the correct state when they are created. Also, we no longer try to fixup the idlethreads for APs in MI code. Instead, each arch sets the initial curthread and adjusts the state of the idle thread it borrows in order to perform the initial context switch. This change is largely a big NOP, but the cleaner separation it provides will allow for more efficient alternative locking schemes in other parts of the kernel (bare critical sections rather than per-CPU spin mutexes for per-CPU data for example). Reviewed by: grehan, cognet, arch@, others Tested on: i386, alpha, sparc64, powerpc, arm, possibly more END K 10 svn:author V 5 seanc K 8 svn:date V 27 2005-04-04T23:06:10.000000Z K 7 svn:log V 209 When reloading rules via rc.d/pf, flush everything but existing state entries that way when rules are read in, it doesn't break established connections. Approved by: mlaier Reviewed by: rc MFC after: 3 weeks END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-04-04T23:43:53.000000Z K 7 svn:log V 30 Pass exact number of threads. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-04-04T23:52:35.000000Z K 7 svn:log V 92 MFC revision 1.103. Security: FreeBSD-SA-05:02.sendfile Approved by: re (kensmith, scottl) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-04-04T23:53:36.000000Z K 7 svn:log V 57 MFC revision 1.103. Security: FreeBSD-SA-05:02.sendfile END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-04-04T23:54:33.000000Z K 7 svn:log V 82 MFC revision 1.103. Security: FreeBSD-SA-05:02.sendfile Approved by: so (nectar) END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-04-05T01:11:43.000000Z K 7 svn:log V 178 Assert that the vnode is locked. This is meant to catch bugs or mis-use of the vnode API in conditions where IO_NODELOCKED has been used without the vnode actually being locked. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-04-05T02:03:31.000000Z K 7 svn:log V 815 Commit ATAPI-CAM for ATAmkIII. Improvements and changes: - newbus plumbing. Each atapicam bus is a child off of a parent ata channel bus. This is somewhat of a hack, but allows the ata core to be completely free of atapicam knowledge. - No more global lists of softc's and no more groping around in internal ata structures on each command. - Giant-free operation of the completion handler. - Per-bus mutex for protecting the busy list and synchronizing detach. - Lots of streamlining and dead code elimination, better adherence to the CAM locking protocol. This feature still requires that the appropriate atapi-* driver be present for each atapi device that you want to talk to (i.e. atapi-cd for cdroms). It does work both compiled into the kernel and as a loadable module. Reviewed by: thomas, sos END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-04-05T02:04:30.000000Z K 7 svn:log V 30 Add a Makefile for atapi-cam. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-04-05T02:05:01.000000Z K 7 svn:log V 42 Connect the atapicam module to the build. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-04-05T02:05:38.000000Z K 7 svn:log V 40 Re-enable the atapicam driver in NOTES. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-04-05T02:57:15.000000Z K 7 svn:log V 30 Implement exp2() and exp2f(). END K 10 svn:author V 3 das K 8 svn:date V 27 2005-04-05T02:57:28.000000Z K 7 svn:log V 70 Document exp2() and exp2f(), and make other minor tweaks and updates. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-04-05T02:57:39.000000Z K 7 svn:log V 50 Build exp2(), exp2f(), and related documentation. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-04-05T05:05:29.000000Z K 7 svn:log V 131 Add locking and enable INTR_MPSAFE. Eliminate spl calls. Submitted by: Paul Willmann willmann at rice dot edu MFC After: 3 weeks END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-05T07:06:47.000000Z K 7 svn:log V 187 Run em_local_timer() once per second instead of running it once per 2 seconds. This makes gathering of error stats more precise, and netstat(1) output look right. Reviewed by: tackerman END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-04-05T07:32:12.000000Z K 7 svn:log V 87 The tfile field of struct Job isn't used anymore since revision 1.22 so remove it now. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-04-05T07:40:40.000000Z K 7 svn:log V 84 The static tfile is used only in one single function so move it into that function. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-04-05T07:43:02.000000Z K 7 svn:log V 38 Remove unneccessary local prototypes. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-04-05T07:44:11.000000Z K 7 svn:log V 54 Remove the definition for STATIC and just use static. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-04-05T08:09:48.000000Z K 7 svn:log V 77 Remove lots if irritating parantheses and fix two comments. Checked by: md5 END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-04-05T08:14:40.000000Z K 7 svn:log V 121 Put parantheses into 'if (foo && bar & flag)'. While they are not strictly needed, they are useful for the human reader. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-05T08:49:41.000000Z K 7 svn:log V 123 - Consistently call 'vp' vp rather than ovp sometimes in ffs_truncate(). Do the same for oip. Pointed out by: glebius END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-05T08:51:45.000000Z K 7 svn:log V 161 - Use taskqueue_thread rather than taskqueue_swi since our task is going to vrele, which may vop lock. This is not safe in a software interrupt context. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-05T08:58:49.000000Z K 7 svn:log V 63 - Move NDFREE() from vfs_subr to vfs_lookup where namei() is. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-04-05T09:42:52.000000Z K 7 svn:log V 51 Push some faulty debugging aside so LINT compiles. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-04-05T11:38:30.000000Z K 7 svn:log V 23 Export thread address. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-04-05T11:40:58.000000Z K 7 svn:log V 41 Print thread address. PR: threads/76821 END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-04-05T12:33:54.000000Z K 7 svn:log V 130 There is not much sense in having an else after Punt() and _exit() which never return. Also use pid_t for variables holding PIDs. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-04-05T13:04:35.000000Z K 7 svn:log V 759 natd core dumps when -reverse switch is used because of a bug in libalias. In /usr/src/lib/libalias/alias.c, the functions LibAliasIn and LibAliasOutTry call the legacy PacketAliasIn/PacketAliasOut instead of LibAliasIn/LibAliasOut when the PKT_ALIAS_REVERSE option is set. In this case, the context variable "la" gets lost because the legacy compatibility routines expect "la" to be global. This was obviously an oversight when rewriting the PacketAlias* functions to the LibAlias* functions. The fix (as shown in the patch below) is to remove the legacy subroutine calls and replace with the new ones using the "la" struct as the first arg. Submitted by: Gil Kloepfer Confirmed by: PR: 76839 MFC after: 3 days END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-04-05T14:51:43.000000Z K 7 svn:log V 100 Add firstshot support for Acer Labs Inc SATA parts Update ALi PATA support to handle ATA133 as well END K 10 svn:author V 6 nectar K 8 svn:date V 27 2005-04-05T14:55:33.000000Z K 7 svn:log V 237 DES pointed out that the PAM layer may change the target user name during authentication. Thus we need to call getpwnam *after* the user has been authenticated. Colin mentioned that we should also move the check for root in that case. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-04-05T15:08:19.000000Z K 7 svn:log V 185 Fix a use-after-free problem in atapi_cb(). Add some necessary synchronization to the XPT_PATH_INQ op. Don't leak locks on failure in XPT_SCSIIO. Correctly fix the CAMDEBUG message. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-05T15:28:06.000000Z K 7 svn:log V 62 Fix a change in a debug printf I missed in an earlier commit. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2005-04-05T15:28:30.000000Z K 7 svn:log V 311 MFC rev 1.37, 1.38: Correct a typo that resulted in rexecd behaving as if the `-i' option was always specified. Correct some mostly theoretical bugs related to misuse of the static buffer returned by getpwnam. Security: rexecd's document default policy of disallowing root logins was not enforced. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2005-04-05T15:28:51.000000Z K 7 svn:log V 327 MFC rev 1.37, 1.38: Correct a typo that resulted in rexecd behaving as if the `-i' option was always specified. Correct some mostly theoretical bugs related to misuse of the static buffer returned by getpwnam. Security: rexecd's document default policy of disallowing root logins was not enforced. Approved by: re END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-04-05T17:13:28.000000Z K 7 svn:log V 26 add missing mutex unlock. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-05T17:22:05.000000Z K 7 svn:log V 1309 Major overhaul and cleanup of ng_source node. Functional changes: - Cut struct source_hookinfo. Just use hook_p pointer. - Remove "start_now" command. "start" command now requires number of packets to send as argument. "start" command actually starts sending. Move the code that actually starts sending from ng_source_rcvmsg() to ng_source_start(). - Remove check for NG_SOURCE_ACTIVE in ng_source_stop(). We can be called with flag cleared (see begin of ng_source_intr()). - If NG_SEND_DATA_ONLY() use log(LOG_DEBUG) instead of printf(). Otherwise we will *flood* console. - Add ng_connect_t method, which sends NGM_ETHER_GET_IFNAME command to "output" hook. Cut ng_source_request_output_ifp(). Refactor ng_source_store_output_ifp() to use ifunit() and don't muck through interface list. - Add "setiface" command, which gives ability to configure interface in case when ng_source_connect() failed. This happens, when we are not connected directly to ng_ether(4) node. - Remove KASSERTs, which can never fire. - Don't check for M_PKTHDR in rcvdata method. netgraph(4) does this for us. Style: - Assign sc_p = NG_NODE_PRIVATE(node) in declaration, to be consistent with style of other nodes. - Sort variables. - u_intXX -> uintXX. - Dots at ends of comments. Sponsored by: Rambler END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-05T17:27:36.000000Z K 7 svn:log V 150 - Update and expand description of node operation. - Cut section IMPLELEMENTATION NOTES. It doesn't apply to modern FreeBSD. Sponsored by: Rambler END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-04-05T17:51:56.000000Z K 7 svn:log V 149 Release the IRQ resource on detach. This fixes repeatedly loading and unloading the hme(4) module in case it attaches to sbus(4). MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-05T18:06:28.000000Z K 7 svn:log V 96 Oops, revert a commit that snuck in with the earlier critical section changes. Noticed by: bde END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-04-05T18:07:59.000000Z K 7 svn:log V 57 protect _yp_domain with mutex lock. Inspired by: NetBSD END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-04-05T18:25:23.000000Z K 7 svn:log V 49 make yp stuff re-entrant. Obtained from: NetBSD END K 10 svn:author V 6 nectar K 8 svn:date V 27 2005-04-05T18:25:27.000000Z K 7 svn:log V 109 Correct type mismatch introduced in last commit. Noticed by: Steve Kargl END K 10 svn:author V 6 nectar K 8 svn:date V 27 2005-04-05T18:28:07.000000Z K 7 svn:log V 33 MFC 1.39: Correct type mismatch. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2005-04-05T18:28:33.000000Z K 7 svn:log V 78 MFC 1.39: Correct type mismatch. Approved by: re (implicit, follow-up commit) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-04-05T18:59:24.000000Z K 7 svn:log V 117 'dumpon' can run before 'initrandom' so make it. This gives a better chance of debugging /dev/random related panics. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-04-05T19:39:44.000000Z K 7 svn:log V 133 Don't free the _PSS buffer until after we check to see if we have no valid states as otherwise we will try to free the buffer twice. END K 10 svn:author V 5 ticso K 8 svn:date V 27 2005-04-05T22:03:07.000000Z K 7 svn:log V 87 remove usbd_errstr(err) from printf. err has nothing to say about this specific error. END K 10 svn:author V 5 ticso K 8 svn:date V 27 2005-04-05T22:09:18.000000Z K 7 svn:log V 92 Add support for FTDI's FT2232C twin channel chip. Tested by: Mike Tancsa END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-04-05T22:26:02.000000Z K 7 svn:log V 51 Be more specific when complaining about bit masks. END K 10 svn:author V 6 jcamou K 8 svn:date V 27 2005-04-05T22:29:47.000000Z K 7 svn:log V 131 Document the configuration files used. PR: docs/79572 Submitted by: Josh Paetzel Approved by: trhodes (mentor) END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-05T22:41:49.000000Z K 7 svn:log V 562 Fix 32 bit signals on amd64. It turns out that I was sign extending the register values coming back from sigreturn(2). Normally this wouldn't matter because the 32 bit environment would truncate the upper 32 bits and re-save the truncated values at the next trap. However, if we got a fast second signal and it was pending while we were returning from sigreturn(2) in the signal trampoline, we'd never have had a chance to truncate the bogus values in 32 bit mode, and the new sendsig would get an EFAULT when trying to write to the bogus user stack address. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-04-05T23:27:47.000000Z K 7 svn:log V 167 Fix a long-standing bug in k_rem_pio2(), which led to large errors when tanf() was called with big arguments close to multiples of pi/2. Reported by: ucbtest via bde END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-04-05T23:38:16.000000Z K 7 svn:log V 43 Make dummynet_flush() match its prototype. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-04-06T00:10:19.000000Z K 7 svn:log V 45 New release note: SA-05:02.sendfile (+MFC). END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-04-06T00:26:08.000000Z K 7 svn:log V 70 Use ACTION_PTR(r) instead of (r->cmd + r->act_ofs). Reviewed by: md5 END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-04-06T00:36:01.000000Z K 7 svn:log V 52 MFC: SA-05:02.sendfile. Approved by: re (blanket) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-04-06T00:43:16.000000Z K 7 svn:log V 25 MFC: SA-05:02.sendfile. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-04-06T01:05:51.000000Z K 7 svn:log V 144 Fully initialize the required TSS fields so that the io permission bitmap is set correctly. Patch from: peter Security: FreeBSD-SA-05:03.amd64 END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-04-06T01:06:15.000000Z K 7 svn:log V 171 Fully initialize the required TSS fields so that the io permission bitmap is set correctly. Patch from: peter Security: FreeBSD-SA-05:03.amd64 Approved by: re (kensmith) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-04-06T01:06:44.000000Z K 7 svn:log V 171 Fully initialize the required TSS fields so that the io permission bitmap is set correctly. Patch from: peter Security: FreeBSD-SA-05:03.amd64 Approved by: so (cperciva) END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-06T01:41:08.000000Z K 7 svn:log V 144 Fix the lib32 build for amd64 after v1.238 of src/include/Makefile (imp). That change exposed the fact that I'd forgotten to set $MACHINE here. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-06T01:44:36.000000Z K 7 svn:log V 69 MFC: initialize the tss iobase properly Approved by: so (cperciva) END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-06T01:55:43.000000Z K 7 svn:log V 158 Merge from RELENG_5: invert WITH_LIB32 into NO_LIB32 so that we build the 32 bit libraries by default. Define NO_LIB32 in make.conf if you do not want this. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-06T02:10:53.000000Z K 7 svn:log V 78 Mention FreeBSD-SA-05:03.amd64, bump patchlevel. Approved by: so (cperciva) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-04-06T04:19:30.000000Z K 7 svn:log V 592 A number of improvements to ZIP support. * Handles entries with compressed size >2GB (signed/unsigned cleanup) * Handles entries with compressed size >4GB ("ZIP64" extension) * Handles Unix extensions (ctime, atime, mtime, mode, uid, etc) * Format-specific "skip data" override allows ZIP reader to skip entries without decompressing them, which makes "tar -t" a lot faster. * Handles "length-at-end" entries generated by, e.g., "zip -r - foo" Many thanks to: Dan Nelson, who contributed the code and test files for the first three items above and suggested the fourth. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-06T06:49:46.000000Z K 7 svn:log V 400 - Assert that the bufobj matches in flushbuflists. I still haven't gotten to root cause on exactly how this happens. - If the assert is disabled, we presently try to handle this case, but the BUF_UNLOCK was missing. Thus, if this condition ever hit we would leak a buf lock. Many thanks to Peter Holm for all his help in finding this bug. He really put more effort into it than I did. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2005-04-06T10:11:14.000000Z K 7 svn:log V 21 - Remove dead code. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-04-06T10:14:13.000000Z K 7 svn:log V 27 Constify hexdump() harder. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-04-06T10:22:56.000000Z K 7 svn:log V 97 Add support for controllers that doesn't have the usual taskfile layout. No functional changes. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-04-06T12:45:51.000000Z K 7 svn:log V 68 separate gai_strerror(3) from getaddrinfo.c. Requested by: phantom END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-04-06T13:08:24.000000Z K 7 svn:log V 287 - Add a missing g_io_deliver() in case of allocation failure - we didn't completed I/O requests here. - First allocate all needed bios, so if any of allocations fail, we can free memory before sending any I/O requests down. Reported by: Pawel Malachowski Approved by: re (kensmith) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-04-06T13:48:11.000000Z K 7 svn:log V 101 Remove debug symbol from installed library, one can always use compiled version in libthr directory. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-04-06T13:57:31.000000Z K 7 svn:log V 60 Remove unique id field which is no longer used by debugger. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-06T14:00:33.000000Z K 7 svn:log V 625 When a packet has been reinjected into ipfw(4) after dummynet(4) processing we have a non-NULL args.rule. If the same packet later is subject to "tee" rule, its original is sent again into ipfw_chk() and it reenters at the same rule. This leads to infinite loop and frozen router. Assign args.rule to NULL, any time we are going to send packet back to ipfw_chk() after a tee rule. This is a temporary workaround, which we will leave for RELENG_5. In HEAD we are going to make divert(4) save next rule the same way as dummynet(4) does. PR: kern/79546 Submitted by: Oleg Bulyzhin Reviewed by: maxim, andre MFC after: 3 days END K 10 svn:author V 3 mux K 8 svn:date V 27 2005-04-06T14:14:24.000000Z K 7 svn:log V 281 MFC if_fxp.c rev 1.230: date: 2005/03/16 16:39:04; author: mux; state: Exp; lines: +3 -4 Unload and destroy the TX DMA maps before destroying the DMA tag they're attached to, not after. Spotted by: Coverity via sam Reminded by: delphij Approved by: re@ (kensmith) END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-04-06T15:16:04.000000Z K 7 svn:log V 77 MUTEX_INITIALIZER should be used instead of PTHREAD_MUTEX_INITIALIZER, here. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-04-06T15:36:34.000000Z K 7 svn:log V 162 - we are no longer shareing any resources to be locked between getaddrinfo(3) and getipnodeby*(3). - use definitions in reentrant.h. - remove obsolete comment. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-04-06T17:42:24.000000Z K 7 svn:log V 121 Include gettytab.h before extern.h so that the declarations of struct gettyflags, gettynums and gettystrs are available. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-04-06T18:28:54.000000Z K 7 svn:log V 43 New release notes: FreeBSD-SA-05:03.amd64. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-04-06T18:30:34.000000Z K 7 svn:log V 31 Bump &release.manpath.netbsd;. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-04-06T18:35:13.000000Z K 7 svn:log V 41 Deorbit the Migration Guide on RELENG_5. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-04-06T18:40:08.000000Z K 7 svn:log V 59 MFC: FreeBSD-SA-05:03.amd64. Approved by: re (implicitly) END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-04-06T18:55:58.000000Z K 7 svn:log V 226 In ng_btsocket_rfcomm_receive_frame() correctly set length variable when EA bit is set in hdr->length (16-bit length). This currently has no effect on the rest of the code. It just fixes the debug message. MFC After: 3 weeks END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-04-06T19:58:22.000000Z K 7 svn:log V 193 New release notes: debug.mpsafevm=1 by default on sparc64, ixgb(4) MPSAFE, core dump of natd(8) w/ -reverse fixed, libarchive zip support improved, and rexecd(8) root login problem fixed. END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-04-06T20:54:05.000000Z K 7 svn:log V 267 Remove PR_ATOMIC flag in ng_btsocket_protosw[] for BLUETOOTH_PROTO_RFCOMM protocol. RFCOMM is a SOCK_STREAM protocol not SOCK_SEQPACKET. This was a serious bug caused by cut-and-paste. I'm surprised it did not bite me before. Dunce hat goes to me. MFC after: 3 days END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-04-06T22:09:32.000000Z K 7 svn:log V 80 Correct typo that could cause FIFO overflow. PR: kern/78431 MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-07T02:40:04.000000Z K 7 svn:log V 22 Add a missing END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-04-07T02:40:14.000000Z K 7 svn:log V 84 Remove the Migration Guide from {release,ftp,cdrom}.* targets. Pointed out by: jhb END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-07T02:59:18.000000Z K 7 svn:log V 70 MFen 1.843 Obtained from: The FreeBSD Simplified Chinese Project CVS END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-07T03:00:27.000000Z K 7 svn:log V 86 MFen 1.761.2.42-1.761.2.43 Obtained from: The FreeBSD Simplified Chinese Project CVS END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-04-07T03:01:32.000000Z K 7 svn:log V 120 MFen 1.761.2.41.2.1-1.761.2.41.2.3 Obtained from: The FreeBSD Simplified Chinese Project CVS Approved by: re (blanket) END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-04-07T03:56:03.000000Z K 7 svn:log V 194 Add machine-specific, optimized implementations of bcopy, bzero, memcpy, memmove, and memset. PR: 73111 Submitted by: Ville-Pertti Keinonen (taken from NetBSD) MFC after: 3 weeks END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-07T04:33:15.000000Z K 7 svn:log V 67 Fix strict-alias warnings by removing excessive (and wrong) casts. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-04-07T05:21:53.000000Z K 7 svn:log V 98 MFC: Close a very small race with command hand-off. Add an extra diagnostic to the timeout code. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-04-07T05:46:46.000000Z K 7 svn:log V 89 Eliminate an unneeded instruction that is a vestige of mechanical translation from i386. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-04-07T05:46:47.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_5'. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-04-07T05:57:17.000000Z K 7 svn:log V 116 MFC: revision 1.50 natd core dumps when -reverse switch is used because of a bug in libalias. Approved by: re@ END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-04-07T06:09:17.000000Z K 7 svn:log V 57 Adjust hash function for smaller pthread structure size. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-04-07T06:46:11.000000Z K 7 svn:log V 56 Empty error buffer is not an error. MFC after: 3 weeks END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2005-04-07T07:00:24.000000Z K 7 svn:log V 21 Add missing sources. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-04-07T07:54:08.000000Z K 7 svn:log V 113 Fix bug in vfs_hash_rehash(): use correct bucket. This only affected msdosfs which is broken in other ways too. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-04-07T07:55:37.000000Z K 7 svn:log V 170 Give msdosfs a unique inode number which is really the byteoffset of the directory entry. This solves the corruption problem I belive. Regression test script by: silby END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-04-07T11:26:15.000000Z K 7 svn:log V 273 Mostly stylistic changes: remove the noPLen field from the Shell structure - it is just the strlen() of noPrint. Inline JobCondPassSig() in the only function JobPassSig() using it. Fix the argument types of JobPrintCommand(). Better parsing for the .SHELL target keywords. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-04-07T11:29:39.000000Z K 7 svn:log V 240 Handle popping of the input stack in ParseReadLine() instead of Parse_File(). Remove a comment and a piece of code comming from ancient times when the if-directive read like #if and not .if. Correctly analyze the first character of a line. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-07T14:20:34.000000Z K 7 svn:log V 235 - Be more informative about advbase and advskew. [1] - Fix ifconfig commands. Replace 'mekmitasdigoat' with 'foobar'. While the former is more cool, the latter makes example lines shorter. Wording by: scottl MFC after: 3 days END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-04-07T14:26:34.000000Z K 7 svn:log V 958 MFR5 changing the hw.ata.atapi_dma default setting so ATAPI drives run in PIO mode: > sys/dev/ata/ata-all.c: > revision 1.222.2.11 > date: 2005/04/04 16:42:35; author: kensmith; state: Exp; lines: +1 -1 > Change the default for hw.ata.atapi_dma so that DMA is off. We are > seeing a lot of install problems that get fixed by turning DMA > off. The sparc64 mailing list sees the most reports of this but it > does come up on others. Changing the default should give us a more > robust install, at the expense of people who need DMA for burning > CDs needing to turn it on (maybe). > > The same change will be made in HEAD shortly by the ata maintainer. > > Discussed with: sos, scottl > > --------- > > share/man/man4/ata.4 > revision 1.46.2.3 > date: 2005/04/04 17:23:16; author: kensmith; state: Exp; lines: +1 -1 > Default for hw.ata.atapi_dma is now PIO. > > Reminded by: Joel Dahl Approved by: re (scottl) END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-04-07T14:39:38.000000Z K 7 svn:log V 287 When Parse_Error is called after the top-level Makefile is closed we have no CURFILE anymore so we cannot print a file name or line number. When ParseSkipLine() returns NULL (it does this when it has detected an EOF in an .if block) try to pop the input stack and process the next line END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-04-07T15:28:14.000000Z K 7 svn:log V 51 s/foobar/mekmitasdigoat/g Requested by: ceri, des END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-04-07T15:57:38.000000Z K 7 svn:log V 65 Allow classes to specify local source files. MFC after: 3 weeks END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-04-07T16:12:09.000000Z K 7 svn:log V 91 Don't try to install the recently deorbited Early Adopters Guide to a RELNOTESng snapshot. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-04-07T17:15:10.000000Z K 7 svn:log V 519 Provide a new tunable hw.atkbdc.broken_kit_cmd, which if set to 1 instructs the driver to avoid using Keyboard Interface Test command. This command causes problems with some non-compliant hardware, resulting in machine being abruptly powered down early in the boot process. Particularly it's known that HP ZV5000 and Compaq R3000Z notebooks are affected by this problem. Due to popularity of those models this patch is good MFC5.4 candidate. PR: 67745 Submitted by: Jung-uk Kim jkim at niksun.com MFC after: 1 days END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-07T17:27:14.000000Z K 7 svn:log V 74 Hook up new man page for devclass_get_drivers() to build Reminded by: ru END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-07T17:29:04.000000Z K 7 svn:log V 88 MFC 1.244: Set freq to high instead of leaving boot default Approved by: re (kensmith) END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-04-07T17:33:22.000000Z K 7 svn:log V 126 Revert part of 1.19. We do want to set the count to 0 since otherwise it would give false info to other parts of the driver. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-04-07T18:18:17.000000Z K 7 svn:log V 210 Make previous commit actually working by replacing TUNABLE_INT() with TUNABLE_INT_FETCH(). Apparently keyboard init is performed earlier in the boot process than fetching all static tunables. MFC after: 1 day END K 10 svn:author V 6 nectar K 8 svn:date V 27 2005-04-07T19:26:35.000000Z K 7 svn:log V 114 An array was mistaken for a pointer in the previous commit. Noticed by: tinderbox, stefanf Pointy hat to: nectar END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-04-07T19:59:28.000000Z K 7 svn:log V 31 Document the GEOM debug flags. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-04-07T20:04:55.000000Z K 7 svn:log V 53 Document how to make boot0cfg work on mounted disks. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-04-07T20:37:04.000000Z K 7 svn:log V 102 When accessing the sysctl vfs.nfs.iodmax, don't report errors as being from accessing vfs.nfs.iodmin. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-04-07T20:50:38.000000Z K 7 svn:log V 52 Document problems with writing to disks under GEOM. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-04-07T21:57:19.000000Z K 7 svn:log V 240 Add rudimentary man pages for kernel options sched_4bsd and sched_ule, which document some of the sysctls available for configuring 4bsd, some of the bullet features of ule, and that ule is considered experimental still. MFC after: 3 days END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-04-07T22:01:53.000000Z K 7 svn:log V 93 - Try harder to report dirty page. - Garbage-collect pmap_update(), it became quite useless. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-04-07T22:03:04.000000Z K 7 svn:log V 163 Import a basic implementation of the restartable atomic sequences to provide atomic operations to userland (this is OK for UP only, but SMP is still so far away). END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-04-07T22:03:34.000000Z K 7 svn:log V 23 pmap_update() is gone. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-04-07T22:04:18.000000Z K 7 svn:log V 122 Don't announce the range SDRAM_START-freemempos until I figure out what's going on, it produces random memory corruption. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-04-07T22:04:49.000000Z K 7 svn:log V 47 No need to provide atomic_cmpset_32() anymore. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-04-07T22:06:05.000000Z K 7 svn:log V 32 Use the new atomic_cmpset_32(). END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-04-07T22:06:56.000000Z K 7 svn:log V 32 Get more love from GEOM on arm. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-04-07T22:09:02.000000Z K 7 svn:log V 19 Treat arm as i386. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-04-07T23:59:37.000000Z K 7 svn:log V 119 Backout previous diffs - this functionality is already provided by the hints to the atkbd(4). PR: Submitted by: jhb END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-04-07T23:59:38.000000Z K 7 svn:log V 115 Backout previous diffs - this functionality is already provided by the hints to the atkbd(4). Submitted by: jhb END K 10 svn:author V 3 das K 8 svn:date V 27 2005-04-08T00:52:16.000000Z K 7 svn:log V 37 Fix a (coincidentally harmless) bug. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-04-08T00:52:27.000000Z K 7 svn:log V 115 These files should include s_lround.c instead of s_lrint.c. This only matters for efficiency, not for correctness. END K 10 svn:author V 3 das K 8 svn:date V 27 2005-04-08T01:24:08.000000Z K 7 svn:log V 41 Add roundl(), lroundl(), and llroundl(). END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-08T03:13:15.000000Z K 7 svn:log V 92 MFC: Fix sign extension bug in sigreturn(2) that broke signals. Approved by: re (kensmith) END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2005-04-08T03:27:11.000000Z K 7 svn:log V 176 MFC: In ata_finish() don't reset callout if request has timed out. Thanks to Karl Denninger for finding and testing earlier patches. Reviewed by: scottl, sos Approved by: re END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-04-08T03:36:32.000000Z K 7 svn:log V 55 Remove the wl driver. The devices don't work on pc98. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-04-08T03:37:20.000000Z K 7 svn:log V 35 Don't use 'i386/include' directly. END K 10 svn:author V 3 ups K 8 svn:date V 27 2005-04-08T03:37:53.000000Z K 7 svn:log V 157 Sprinkle some volatile magic and rearrange things a bit to avoid race conditions in critical_exit now that it no longer blocks interrupts. Reviewed by: jhb END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-04-08T03:38:13.000000Z K 7 svn:log V 19 Fix pc98 includes. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-04-08T05:10:18.000000Z K 7 svn:log V 88 Eliminate unneeded instructions that are a vestige of mechanical translation from i386. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-04-08T05:10:19.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_5'. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-04-08T05:13:53.000000Z K 7 svn:log V 123 Change the embedded module name from "bluetooth" to "ng_bluetooth" to match the rest of the names assigned to this object. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-04-08T05:15:55.000000Z K 7 svn:log V 168 Add machine-specific, optimized implementations of bcmp and memcmp. PR: 73111 Submitted by: Ville-Pertti Keinonen (taken from NetBSD) MFC after: 3 weeks END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-04-08T05:22:58.000000Z K 7 svn:log V 139 Minor style(9) changes o use prototype definition o use mse_{isa,cbus}_{probe,attach,detach} in preference to mse_{probe,attach,detach}. END K 10 svn:author V 5 silby K 8 svn:date V 27 2005-04-08T07:21:07.000000Z K 7 svn:log V 110 A simple regression test for msdosfs. Not the best, but it would have caught the recent trouble msdosfs had. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-04-08T08:42:10.000000Z K 7 svn:log V 400 o Disable random port allocation when ip.portrange.first == ip.portrange.last and there is the only port for that because: a) it is not wise; b) it leads to a panic in the random ip port allocation code. In general we need to disable ip port allocation randomization if the last - first delta is ridiculous small. PR: kern/79342 Spotted by: Anjali Kulkarni Glanced at by: silby MFC after: 2 weeks END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-04-08T08:43:21.000000Z K 7 svn:log V 27 o Tweak the comment a bit. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-04-08T09:03:40.000000Z K 7 svn:log V 103 Move the code for parsing .for and .if statements to the place where the other directives are handled. END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-04-08T09:04:29.000000Z K 7 svn:log V 75 Add myself (and decrease the average age). Approved by: brueffer (mentor) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-04-08T09:28:08.000000Z K 7 svn:log V 123 Fix a long-standing bug. Error string has to be copyied from the user process context. Approved by: phk MFC after: 3 days END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-04-08T09:37:47.000000Z K 7 svn:log V 146 Generalise the SATA PHY handling code so it wont be duplicated for each SATA chip. Promise and Silicon Image are the current candidates for this. END