ƒ¯>121000 212 117 151 125 242 146 223 395 179 416 222 537 281 233 959 180 131 1052 229 496 112 108 200 131 153 114 178 158 263 285 170 193 124 292 345 136 146 128 132 120 160 113 137 183 164 138 200 120 142 118 270 148 579 123 159 246 539 259 456 217 314 224 184 142 147 198 336 131 121 427 143 211 273 135 163 113 196 377 158 194 454 120 162 406 224 175 267 253 657 288 312 290 167 169 298 244 185 319 164 113 511 190 183 147 1165 261 153 361 867 405 125 146 155 101 179 180 237 322 193 570 164 162 374 168 966 128 142 568 200 295 1390 291 161 290 543 149 262 177 155 243 248 277 336 247 336 124 200 157 154 343 332 249 285 266 186 209 164 197 113 275 254 1057 188 175 387 166 231 212 146 158 148 109 185 188 405 275 139 108 259 150 109 186 181 606 172 230 358 872 158 620 149 163 160 284 143 234 149 252 152 146 188 146 218 152 133 135 179 529 165 167 128 132 126 K 10 svn:author V 4 nyan K 8 svn:date V 27 2003-10-11T09:24:58.000000Z K 7 svn:log V 24 MFi386: revision 1.576. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-10-11T09:40:18.000000Z K 7 svn:log V 59 Show stale results (8 hours old or more) in a paler color. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-10-11T09:44:18.000000Z K 7 svn:log V 33 Tweak the colors for failed runs END K 10 svn:author V 8 blackend K 8 svn:date V 27 2003-10-11T09:59:25.000000Z K 7 svn:log V 144 Add a full example of a file-backed disk creation, I used the Handbook's example. PR: docs/51897 Submitted by: Kevin Oberman END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-10-11T10:37:43.000000Z K 7 svn:log V 54 correct unsafe use of realloc(). Obtained from: KAME END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2003-10-11T11:57:03.000000Z K 7 svn:log V 129 /usr/libdata/msdosfs is no longer used, because of kiconv(3) commit. PR: 57277 Submitted by: Ryuichiro Imura END K 10 svn:author V 7 rushani K 8 svn:date V 27 2003-10-11T12:01:24.000000Z K 7 svn:log V 298 Merge the following from the English version: 1.3 -> 1.4 relnotes/alpha/article.sgml 1.1 -> 1.2 relnotes/amd64/article.sgml 1.4 -> 1.5 relnotes/i386/article.sgml 1.1 -> 1.2 relnotes/ia64/article.sgml 1.1 -> 1.2 relnotes/pc98/article.sgml 1.3 -> 1.4 relnotes/sparc64/article.sgml END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2003-10-11T12:05:05.000000Z K 7 svn:log V 86 Describe '-M' in usage(). PR: 57462 Submitted by: Ryuichiro Imura END K 10 svn:author V 7 iwasaki K 8 svn:date V 27 2003-10-11T15:08:32.000000Z K 7 svn:log V 319 Fix some problems in linux_sendmsg() and linux_recvmsg(). - Allocate storage for uap->msg always because it is copyin()'ed in native sendmsg(). - Convert sockopt level from Linux to FreeBSD after native recvmsg() calling. - Some cleanups. Tested with: Oracle 9i shared server connection mode. MFC after: 1 week END K 10 svn:author V 8 deischen K 8 svn:date V 27 2003-10-11T18:37:09.000000Z K 7 svn:log V 124 MFC: Allow a return of 0 from __sys_write() to exit the loop in libc_r's wrapped version of write(). Approved by: re@ END K 10 svn:author V 3 dds K 8 svn:date V 27 2003-10-11T20:34:43.000000Z K 7 svn:log V 444 - Check and report write(2) errors. - Issue a single writev(2) call instead of multiple write(2)s. This change improves the inefficiencies introduced when echo went on an stdio diet. The following figures are for echoing 1000 arguments. original stdio-based echo: 0.01 real 0.01 user 0.00 sys before: 0.05 real 0.00 user 0.04 sys after: 0.01 real 0.00 user 0.00 sys END K 10 svn:author V 3 dds K 8 svn:date V 27 2003-10-11T20:47:44.000000Z K 7 svn:log V 188 Changed EINVAL constant reference from UIO_MAXIOV to IOV_MAX. The former is a kernel-only visible constant, the latter the POSIX-specified userland constant defined by including limits.h. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-10-11T21:50:45.000000Z K 7 svn:log V 139 - Fix a typo, I meant & and not |. This was causing lockups from the syncer looping forever due to list corruption. Solved by: tegge END K 10 svn:author V 2 se K 8 svn:date V 27 2003-10-11T22:20:34.000000Z K 7 svn:log V 867 The code that was meant to test alignment of the register offset parameter in the read and write case dereferenced an unitialized pointer and can't possibly ever have catched an actual invalid argument. This was apparently true for the read/write and getconf cases. The latter does not even receive the paramter that is to be verified. I'm surprised that this did not cause kernel panics, but it seems that the uninitialized local variable happens to contain data that may be used as a pointer to memory that satisfies the test condition. Make the code work as intended by moving the test inside the switch case where the pointer has been properly initialized. Since the read and write case shared just about all code (except for the single call to PCIB_READ_CONFIG resp. PCIB_WRITE_CONFIG) I have merged both cases. Noticed by: trhodes@FreeBSD.org (Tom Rhodes) END K 10 svn:author V 4 kris K 8 svn:date V 27 2003-10-12T00:19:45.000000Z K 7 svn:log V 87 Bump default /etc size from 2MB to 5MB to deal with bloat^Wgrowth in the size of /etc. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-10-12T00:27:55.000000Z K 7 svn:log V 39 Fix BSS buffer overflow in makeargv(). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-10-12T04:25:26.000000Z K 7 svn:log V 959 Fix a multitude of security bugs in the iBCS2 emulator: - Return NULL instead of returning memory outside of the stackgap in stackgap_alloc() (FreeBSD-SA-00:42.linux) - Check for stackgap_alloc() returning NULL in ibcs2_emul_find(); other calls to stackgap_alloc() have not been changed since they are small fixed-size allocations. - Replace use of strcpy() with strlcpy() in exec_coff_imgact() to avoid buffer overflow - Use strlcat() instead of strcat() to avoid a one byte buffer overflow in ibcs2_setipdomainname() - Use copyinstr() instead of copyin() in ibcs2_setipdomainname() to ensure that the string is null-terminated - Avoid integer overflow in ibcs2_setgroups() and ibcs2_setgroups() by checking that gidsetsize argument is non-negative and no larger than NGROUPS_MAX. - Range-check signal numbers in ibcs2_wait(), ibcs2_sigaction(), ibcs2_sigsys() and ibcs2_kill() to avoid accessing array past the end (or before the start) END K 10 svn:author V 7 rushani K 8 svn:date V 27 2003-10-12T04:42:33.000000Z K 7 svn:log V 132 Merge the following from the English version: 1.44 -> 1.55 errata/article.sgml 1.163 -> 1.183 hardware/common/dev.sgml END K 10 svn:author V 3 jmg K 8 svn:date V 27 2003-10-12T07:06:02.000000Z K 7 svn:log V 403 fix a problem referencing free'd memory. This is only a problem for kqueue write events on a socket and you regularly create tons of pipes which overwrites the structure causing a panic when removing the knote from the list. If the peer has gone away (and it's a write knote), then don't bother trying to remove the knote from the list. Submitted by: Brian Buchanan and myself Obtained from: nCircle END K 10 svn:author V 3 hrs K 8 svn:date V 27 2003-10-12T08:54:10.000000Z K 7 svn:log V 20 Refine translation. END K 10 svn:author V 7 rushani K 8 svn:date V 27 2003-10-12T09:08:54.000000Z K 7 svn:log V 12 Fix a typo. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-10-12T09:41:42.000000Z K 7 svn:log V 107 - RIPEMD160 support - pass size arg to ah->result (avoid assuming result buffer size) Obtained from: KAME END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-10-12T09:43:48.000000Z K 7 svn:log V 39 RIPEMD160 support Obtained from: KAME END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-10-12T09:51:32.000000Z K 7 svn:log V 61 avoid hardcoding MD5 result length (16) Obtained from: KAME END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-12T10:55:45.000000Z K 7 svn:log V 22 Initialize CMAP3 to 0 END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-10-12T11:08:18.000000Z K 7 svn:log V 86 - correct signedness mixups. - avoid assuming result buffer size Obtained from: KAME END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-10-12T11:10:41.000000Z K 7 svn:log V 66 Use isprint instead of isalpha in determining valid ident string. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-10-12T11:18:04.000000Z K 7 svn:log V 170 - always check for optlen overrun. - panic if NULL is passed to ah_sumsiz (as we never do it, and callers do not properly check negative returns). Obtained from: KAME END K 10 svn:author V 3 des K 8 svn:date V 27 2003-10-12T11:33:39.000000Z K 7 svn:log V 192 A couple of months' worth of back-burner hacking: restructure to better handle the minor (but significant) differences between the various Vortex chips; add (incomplete) support for playback. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-12T11:34:35.000000Z K 7 svn:log V 78 Destroy providers maked with G_PF_WITHER when the last consumer has detached. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-12T11:35:55.000000Z K 7 svn:log V 100 Assume that bp->bio_offset is correctly initialized. This fixes non-power-of-2 blocksize GEOM I/O. END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2003-10-12T11:37:15.000000Z K 7 svn:log V 27 Correct a typo (s/And/An/) END K 10 svn:author V 3 des K 8 svn:date V 27 2003-10-12T11:51:24.000000Z K 7 svn:log V 199 Recognize the Avance Logic ALC655 codec found on some ICH4/5-based motherboards, such as the Gigabyte I848P. PR: kern/54176 Submitted by: Chris Keladis Forgotten by: orion END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-10-12T12:03:25.000000Z K 7 svn:log V 252 - avoid hardcoded values. - correct signedness mixups. - log fix. - preparation for 64bit sequence number. introduce SA id (unique ID for SA - SPI is useless as duplicated SPI is allowed) - no need to malloc/free cksum buffer. Obtained from: KAME END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-10-12T12:35:44.000000Z K 7 svn:log V 44 Up timeout to 10s (from 5) in r/w commands. END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-10-12T12:37:11.000000Z K 7 svn:log V 54 Put devices into sleep mode (ie spin down) on detach. END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-10-12T12:38:03.000000Z K 7 svn:log V 36 Avoid potential race on ATA_R_DONE. END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-10-12T13:11:57.000000Z K 7 svn:log V 40 Redo the code that handles eject/close. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-12T14:04:39.000000Z K 7 svn:log V 28 Simplify vn_isdisk() a bit. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-10-12T14:32:13.000000Z K 7 svn:log V 68 use bswap32() for big endian arch. Reported by: tinderbox via kris END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-10-12T14:47:24.000000Z K 7 svn:log V 21 drop useless define. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-10-12T15:14:33.000000Z K 7 svn:log V 45 remove unused variable. Obtained from: KAME END K 10 svn:author V 5 ticso K 8 svn:date V 27 2003-10-12T15:51:40.000000Z K 7 svn:log V 89 Cache dev_t values in the right structure. Tested by: Jay Cornwall END K 10 svn:author V 8 deischen K 8 svn:date V 27 2003-10-12T16:50:45.000000Z K 7 svn:log V 67 Don't forget to initialize the fake tcb when the kcb is allocated. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-10-12T18:25:38.000000Z K 7 svn:log V 46 use opencrypto for RMD160. Requested by: sam END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-10-12T18:26:48.000000Z K 7 svn:log V 107 In vfs_bio_clrbuf(), ignore the state of the object lock if the page is the "bogus" page. Found by: tegge END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-10-12T18:33:30.000000Z K 7 svn:log V 28 include opencrypto/rmd160.h END K 10 svn:author V 3 hrs K 8 svn:date V 27 2003-10-12T20:11:06.000000Z K 7 svn:log V 50 Use Japanese localized version of trademarks.ent. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-10-12T20:51:26.000000Z K 7 svn:log V 22 Comment spelling fix. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-10-12T21:02:55.000000Z K 7 svn:log V 176 - Implement a mtx_ownedby() macro which can be used to determine if a particular thread owns a mutex. This cannot be done without races unless the thread is curthread. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-10-12T21:05:05.000000Z K 7 svn:log V 56 simplify and update rijndael code. Obtained from: KAME END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-10-12T21:07:31.000000Z K 7 svn:log V 485 - In SCHED_CURR() add holding Giant to the list of criteria that will keep you on the current queue. In the future, it would be nice if priority propagation could deterministicly pluck a thread off of the next queue and put it on the current queue. Until then this hack stops us from holding up our entire current queue, including interrupt handlers, while a thread on the next queue is blocked while holding Giant. - Inherit our pctcpu information from our parent. END K 10 svn:author V 6 murray K 8 svn:date V 27 2003-10-12T21:35:50.000000Z K 7 svn:log V 28 Update the number of ports. END K 10 svn:author V 6 murray K 8 svn:date V 27 2003-10-12T21:37:15.000000Z K 7 svn:log V 64 MFC: update number of ports in the ports collection dialog box. END K 10 svn:author V 4 emax K 8 svn:date V 27 2003-10-12T22:04:24.000000Z K 7 svn:log V 152 Update Bluetooth code. Reviewed by: M. Warner Losh ; John Hay Approved by: M. Warner Losh (mentor) END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-10-13T03:28:31.000000Z K 7 svn:log V 446 - Modify pmap_is_current() to return FALSE when a pmap's page table is in use because a kernel thread is borrowing it. The borrowed page table can change spontaneously, making any dependence on its continued use subject to a race condition. - _pmap_unwire_pte_hold() cannot use pmap_is_current(): If a change is made to a page table page mapping for a borrowed page table, the TLB must be updated. In collaboration with: tegge END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-10-13T03:37:38.000000Z K 7 svn:log V 166 MFp4: change ath_rate_ctl_reset to handle transition from station mode to adhoc mode; was not resetting the initial xmit rate causing outbound frames to be dicarded END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-10-13T03:39:38.000000Z K 7 svn:log V 363 MFp4: o don't grab the mutex at the top of ath_detach; it does nothing useful o deal with entry to ath_ioctl during detach to disable promiscuous mode as a result of calling bpfdetach2: cannot call ath_init when the device is marked invalid as the code isn't prepared to deal with it (in particular by that time the hal reference may have been yanked) END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-10-13T03:41:32.000000Z K 7 svn:log V 124 Must reset the pointer to the 802.11 header after prepending for WEP in case the prepend addes a new mbuf. This fixes WEP. END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-10-13T03:42:53.000000Z K 7 svn:log V 221 Reduce per-packet overhead when using WEP by using an advancing IV seeded with arc4random rather than calling arc4random for each packet. Note this is the same algorithm used to select the IV when doing WEP on the host. END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-10-13T04:44:55.000000Z K 7 svn:log V 131 Fixed some style bugs in the removal of __P(()). Blind removal of spaces before __P(()) outdented continuation lines to column 0. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-10-13T04:54:51.000000Z K 7 svn:log V 92 - support AES XCBC MAC for AH - correct SADB_X_AALG_RIPEMD160HMAC to 8 Obtained from: KAME END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-10-13T04:56:04.000000Z K 7 svn:log V 50 support AES XCBC MAC for AH. Obtained from: KAME END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-10-13T04:57:31.000000Z K 7 svn:log V 55 remove dangling mtx_unlock orphaned by rev 1.21 change END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-10-13T05:30:20.000000Z K 7 svn:log V 105 Include for nlist-related declarations instead of depending on namespace pollution in . END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-10-13T07:24:22.000000Z K 7 svn:log V 243 Fix two buffer overflows caused by off-by-one errors: avoid writing a null character 1 byte past the end of cmdline[] when libedit is being used for input, and avoid writing a null pointer 1 element past the end of margv[]. Reviewed by: gad END K 10 svn:author V 5 dougb K 8 svn:date V 27 2003-10-13T08:18:05.000000Z K 7 svn:log V 37 Update references to rc.diskless[12] END K 10 svn:author V 5 dougb K 8 svn:date V 27 2003-10-13T08:20:55.000000Z K 7 svn:log V 27 Remove trailing whitespace END K 10 svn:author V 5 dougb K 8 svn:date V 27 2003-10-13T08:44:07.000000Z K 7 svn:log V 332 * Remove the OS specific bits, since NetBSD isn't interested in porting this stuff back. * Test /etc/motd for writability before trying to update it. This is especially useful when /etc/ is mounted ro, like on a diskless boot. (Thanks to phk for the idea on this one.) * Make the "updating" message reflect what actually happens. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-10-13T10:36:26.000000Z K 7 svn:log V 51 There is no network2 any more. Pointy hat to: mtm END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-10-13T14:03:08.000000Z K 7 svn:log V 114 Don't clear signal mask in execsig(). RELENG_4 does not clear it and POSIX asks to inherit signal mask for execv. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-10-13T14:57:41.000000Z K 7 svn:log V 180 - support AES counter mode for ESP. - use size_t as return type of schedlen(), as there's no error check needed. - clear key schedule buffer before freeing. Obtained from: KAME END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-10-13T19:26:08.000000Z K 7 svn:log V 43 use BF_ecb_encrypt(). Obtained from: KAME END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-13T20:14:02.000000Z K 7 svn:log V 71 Insert an overview of the plans here, in case I get run over by a bus. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-10-13T20:32:33.000000Z K 7 svn:log V 21 Add rfork_thread(3). END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-10-14T00:38:34.000000Z K 7 svn:log V 102 - Add a mising vn_finished_write() Pointy hat: jeff Found by: robert Obtained from: kirk END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-10-14T02:47:23.000000Z K 7 svn:log V 284 Replace the VAX and MIPS alternate formats with the architectures that FreeBSD supports. None of them support an alternate formats, except the alpha (which prints extra register information). # if we get a mips port, we can put the mips case back to document the # actual behavior. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-10-14T02:59:13.000000Z K 7 svn:log V 66 Use more modern architectures than VAX for little endian machines END K 10 svn:author V 3 jmg K 8 svn:date V 27 2003-10-14T05:01:04.000000Z K 7 svn:log V 101 MFC: v1.152 Fix problem with EVFILT_WRITE filters on pipes Approved by: re@ Obtained from: nCircle END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-10-14T05:25:31.000000Z K 7 svn:log V 361 Fix a race condition in owi. If you eject a card, then the wi_inquire timeout would continue to happen: boom! Fix this[*] by timing out earlier. [*] almost fixes the race on unload: wi_inquire could be running when untimeout is called, and there's no way to know when it has actually returned. This race is very rare and hard to lose. Submitted by: scottl END K 10 svn:author V 7 rushani K 8 svn:date V 27 2003-10-14T05:36:36.000000Z K 7 svn:log V 24 Close open parenthesis. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-10-14T05:51:31.000000Z K 7 svn:log V 70 MFia64 Move uma_small_alloc() and uma_small_free() to uma_machdep.c. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-10-14T06:22:07.000000Z K 7 svn:log V 313 With DIAGNOSTICS, sometimes we get weird crashes when some driver accesses softc after it is freed. Use a different malloc type for softc than the rest of the bus code to make it more clear when these things happen that it is the driver that's at fault, not the bus code. Suggested by: sam and/or phk (I think) END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-14T08:09:43.000000Z K 7 svn:log V 131 Made use of 'error' argument, which was unused (by mistake) before. Submitted by: Pawel Jakub Dawidek END K 10 svn:author V 7 rushani K 8 svn:date V 27 2003-10-14T08:27:39.000000Z K 7 svn:log V 79 Catch up with the English version: 1.592 -> 1.638 relnotes/common/new.sgml END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-10-14T13:37:37.000000Z K 7 svn:log V 174 Fix alignment problem on 64 bit arch. I only tested if it doesn't break anything on i368. Since I have no 64 bit machine, I cannot test it, actually. Reported by: jmallett END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-10-14T16:53:13.000000Z K 7 svn:log V 160 Reintroduce the "recovered from lost interrupt" code, but in a new (hopefully) panic safe way. Why the interrupts are lost is still a mystery, to me at least. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-10-14T17:02:18.000000Z K 7 svn:log V 562 Fix just about as many bugs in my last commit here as there were lines that I changed. That is never a good sign. 1) only map 1 page at address zero, not 4096 pages 2) page 1 starts at address 4096 (PAGE_SIZE) not 4095 (PAGE_MASK). I don't even want to think what the pte's looked like. 3) subtract the r/o page group start address from the end before converting it to a count. Otherwise an extra page is mapped. If you were affected by this, the symptoms of this was a hang at boot after the spinner. Sorry folks. :-( "You broke my laptop!" by: sam END K 10 svn:author V 5 wilko K 8 svn:date V 27 2003-10-14T18:22:42.000000Z K 7 svn:log V 193 MFC: Add support for SK-9521 V2.0 and 3COM 3C940. Based on: Nathan L. Binkert's patch for OpenBSD Patch submitted by and thanks to: Jung-uk Kim Approved by: re (jhb, murray) END K 10 svn:author V 5 wilko K 8 svn:date V 27 2003-10-14T18:31:42.000000Z K 7 svn:log V 217 MFC: Note added support for 3C940 and Marvell Semiconductor 88E1000* gigabit PHY Submitted by: Jung-uk Kim Based on: Nathan L. Binkert's OpenBSD patch for sk(4) Approved by: re (jhb, murray) END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-10-14T18:39:36.000000Z K 7 svn:log V 197 Change default for kern.polling.idle_poll back to 1. This was set to 0 because Luigi observed livelock but in recent testing it did not occur so I'm re-enabling it by default. Reviewed by: luigi END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-10-14T18:45:50.000000Z K 7 svn:log V 75 remove dangling ';'s` that were harmless Supported by: FreeBSD Foundation END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-10-14T18:49:08.000000Z K 7 svn:log V 77 MFp4: correct locking issues in nd6_lookup Supported by: FreeBSD Foundation END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-10-14T19:19:12.000000Z K 7 svn:log V 205 Lock ip forwarding route cache. While we're at it, remove the global variable ipforward_rt by introducing an ip_forward_cacheinval() call to use to invalidate the cache. Supported by: FreeBSD Foundation END K 10 svn:author V 3 des K 8 svn:date V 27 2003-10-14T20:01:58.000000Z K 7 svn:log V 151 Add the "TB ---" prefix to error and warning messages so that early failures (e.g. failure to lock the sandbox) don't result in empty failure reports. END K 10 svn:author V 5 markm K 8 svn:date V 27 2003-10-14T20:42:13.000000Z K 7 svn:log V 91 Turn malloc+snprintf into asnprintf. Submitted by: David Hill END K 10 svn:author V 7 wollman K 8 svn:date V 27 2003-10-14T21:01:01.000000Z K 7 svn:log V 222 Update timezone data from Arthur Olson. Principal changes are more accurate data for Canada and Chatham Island, and the latest Brazilian government decree. Obtained from: END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2003-10-14T21:01:02.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create tag 'tzdata2003d'. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2003-10-14T21:03:22.000000Z K 7 svn:log V 17 MFV: tzdata2003d END K 10 svn:author V 3 rsm K 8 svn:date V 27 2003-10-14T22:51:35.000000Z K 7 svn:log V 418 Major update to xe driver: - Make multicast work - Fix (some of) the watchdog timeouts after card reset - Add support for CE2, CEM28 and CEM33 cards - General code cleanup Any card that worked previously should still work, as well as a lot that didn't. The driver is not yet style(9) compliant; those changes are forthcoming, once the functional changes are done. PR: kern/50644 Reviewed by: imp Approved by: imp END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-10-14T22:51:45.000000Z K 7 svn:log V 98 o convert mutex calls to #defines for portability, etc. o destroy mutex's on detach (was missing) END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2003-10-15T00:36:44.000000Z K 7 svn:log V 88 Detect errors during 'cat' page creation better. This fixes bin/5591. Reviewed by: ru END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-10-15T00:45:35.000000Z K 7 svn:log V 53 Get some more data if we hit the pmap_enter() thing. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-10-15T02:04:52.000000Z K 7 svn:log V 1069 Pull the tier-2 card one last time and break the get/setcontext and sigreturn() ABI and the signal context on the stack. Make the trapframe (and its shadows in the ucontext and sigframe etc) 8 bytes larger in order to preserve 16 byte stack alignment for the following C code calls. I could have done some padding after the trapframe was saved, but some of the C code still expects an argument of 'struct trapframe'. Anyway, this gives me a spare field that can be used to store things like 'partial trapframe' status or something else in the future. The runtime impact is fairly small, *except* for threaded apps and things that decode contexts and the signal stack (eg: cvsup binary). Signal delivery isn't too badly affected because the kernel generates the sigframe that sigreturn uses after the handler has been called. The size of mcontext_t and struct sigframe hasn't changed. Only the last few fields (sc_eip etc) got moved a little and I eliminated a spare field. mc_len/sc_len did change location though so the sanity checks there will still trap it. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-10-15T03:11:46.000000Z K 7 svn:log V 166 The KERN_PROC_PROC sysctl took 4 args in 5.0-REL and 5.1-REL. We need to accept this for a bit longer. Requiring the new order of 3 args only was not very helpful. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2003-10-15T03:31:06.000000Z K 7 svn:log V 57 Let the world figure out exactly how superannuated I am. END K 10 svn:author V 8 deischen K 8 svn:date V 27 2003-10-15T05:34:41.000000Z K 7 svn:log V 263 Add a wrapper for a function that takes and releases the adapter lock around a call to the original function. Make the timeout function in callout_reset() use the wrapped function to avoid a lock assertion panic. Reviewed by: sam Reported by: cgiordano@ids.net END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-10-15T07:47:06.000000Z K 7 svn:log V 773 - If our user_pri doesn't match our actual priority our priority has been elevated either due to priority propagation or because we're in the kernel in either case, put us on the current queue so that we dont stop others from using important resources. At some point the priority elevations from sleeping in the kernel should go away. - Remove an optimization in sched_userret(). Before we would only set NEEDRESCHED if there was something of a higher priority available. This is a trivial optimization and it breaks priority propagation because it doesn't take threads which we may be blocking into account. Notice that the thread which is blocking others gets up to one tick of cpu time before we honor this NEEDRESCHED in sched_clock(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-10-15T08:00:45.000000Z K 7 svn:log V 312 - vm_fault_copy_entry() should not assume that the source object contains every page. If the source entry was read-only, one or more wired pages could be in backing objects. - vm_fault_copy_entry() should not set the PG_WRITEABLE flag on the page unless the destination entry is, in fact, writeable. END K 10 svn:author V 2 tg K 8 svn:date V 27 2003-10-15T08:18:59.000000Z K 7 svn:log V 34 Fix typos; reformat some entries. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-15T08:53:04.000000Z K 7 svn:log V 54 Make sure to pull in all relevant crypto for GEOM_BDE END K 10 svn:author V 3 hrs K 8 svn:date V 27 2003-10-15T10:04:07.000000Z K 7 svn:log V 63 New release note: - xe(4) driver update - tzdata2003d update END K 10 svn:author V 2 tg K 8 svn:date V 27 2003-10-15T10:25:31.000000Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 7 rushani K 8 svn:date V 27 2003-10-15T12:27:52.000000Z K 7 svn:log V 83 Modified release note: Note MFC of sk(4) support for SK-9521 V2.0 and 3COM 3C940. END K 10 svn:author V 7 rushani K 8 svn:date V 27 2003-10-15T15:31:32.000000Z K 7 svn:log V 84 MFC: Note sk(4) support for SK-9521 V2.0 and 3COM 3C940. Approved by: re (murray) END K 10 svn:author V 7 rushani K 8 svn:date V 27 2003-10-15T15:42:31.000000Z K 7 svn:log V 140 Refine translation. Submitted by: Hiroo Ono , Hiroyuki CHIBA References: [doc-jp-work 724, 726] END K 10 svn:author V 7 rushani K 8 svn:date V 27 2003-10-15T15:47:29.000000Z K 7 svn:log V 225 Merge the following from the English version: 1.1.2.106 -> 1.1.2.113 errata/article.sgml 1.22.2.358 -> 1.22.2.384 relnotes/common/new.sgml 1.1.2.7 -> 1.1.2.8 share/sgml/release.dsl Approved by: re (murray) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2003-10-15T17:08:33.000000Z K 7 svn:log V 100 Catch up with the English version and refine translation. 1.638 -> 1.640 relnotes/common/new.sgml END K 10 svn:author V 5 shiba K 8 svn:date V 27 2003-10-15T17:22:15.000000Z K 7 svn:log V 475 Add Allied Telesis SIC-AT boards support. Discussed in from [FreeBSD-tech-jp 3396] to [FreeBSD-tech-jp 3407] at FreeBSD-tech-jp@jp.freebsd.org. NOTE: We must put ed_probe_SIC() function into if_ed_isa.c because this is a bus dependent code. But the ed driver code is not separated explicitly whether it is bus dependent or independent now. Refer to: http://plaza17.mbn.or.jp/~chi/myprog/FreeBSD/sicat.html Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-10-15T18:19:28.000000Z K 7 svn:log V 72 purge extraneous ';'s Supported by: FreeBSD Foundation Noticed by: bde END K 10 svn:author V 2 ps K 8 svn:date V 27 2003-10-15T18:52:44.000000Z K 7 svn:log V 71 Print the correct logical drive lun number returned by the controller. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-15T20:00:59.000000Z K 7 svn:log V 281 Introduce a new optional memberfunction for cdevsw, fdopen() which passes the fdidx from VOP_OPEN down. This is for all I know the final API for this functionality, but the locking semantics for messing with the filedescriptor from the device driver are not settled at this time. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-10-15T20:05:57.000000Z K 7 svn:log V 73 Quiet warnings about mis-matched pointer assignment. Tested on: PowerPC END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2003-10-16T02:00:12.000000Z K 7 svn:log V 868 Malloc buckets of size 128 have been having their 64-byte offset trashed after being freed. This has caused several panics including kern/42277 related to soft updates. Jim Kuhn tracked the problem down to ipfw limit rule processing. In the expiry of dynamic rules, it is possible for an O_LIMIT_PARENT rule to be removed when it still has live children. When the children eventually do expire, a pointer to the (long gone) parent is dereferenced and a count decremented. Since this memory can, and is, allocated for other purposes (in the case of kern/42277 an inodedep structure), chaos ensues. The offset in question in inodedep is the offset of the 16 bit count field in the ipfw2 ipfw_dyn_rule. Submitted by: Jim Kuhn Reviewed by: "Evgueni V. Gavrilov" Reviewed by: Ben Pfountz MFC after: 1 week END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-10-16T07:07:20.000000Z K 7 svn:log V 36 Handle realloc() failure correctly. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-16T07:58:37.000000Z K 7 svn:log V 50 Bump FreeBSD version for changed layout of cdevsw END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-10-16T08:17:43.000000Z K 7 svn:log V 474 - The non iterative algorithm for interact_update was broken due to rounding errors. This was the source of the majority of the interactivity problems. Reintroduce the old algorithm and its XXX. - Up the interactivity threshold to 30. It really could stand to be even a tiny bit higher. - Let the sleep and run time accumulate up to 5 seconds of history rather than two. This helps stop XFree86 from becoming non-interactive during bursts of activity. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-10-16T08:39:15.000000Z K 7 svn:log V 106 - Update the sched api. sched_{add,rem,clock,pctcpu} now all accept a td argument rather than a kse. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-10-16T08:53:46.000000Z K 7 svn:log V 201 - Collapse sched_switchin() and sched_switchout() into sched_switch(). Now mi_switch() calls sched_switch() which calls cpu_switch(). This is actually one less function call than it had been. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2003-10-16T09:16:28.000000Z K 7 svn:log V 1296 * Add multiple inheritance to kobj. Each class can have zero or more base classes and if a method is not found in a given class, its base classes are searched (in the order they were declared). This search is recursive, i.e. a method may be define in a base class of a base class. * Change the kobj method lookup algorithm to one which is SMP-safe. This relies only on the constraint that an observer of a sequence of writes of pointer-sized values will see exactly one of those values, not a mixture of two or more values. This assumption holds for all processors which FreeBSD supports. * Add locking to kobj class initialisation. * Add a simpler form of 'inheritance' for devclasses. Each devclass can have a parent devclass. Searches for drivers continue up the chain of devclasses until either a matching driver is found or a devclass is reached which has no parent. This can allow, for instance, pci drivers to match cardbus devices (assuming that cardbus declares pci as its parent devclass). * Increment __FreeBSD_version. This preserves the driver API entirely except for one minor feature used by the ISA compatibility shims. A workaround for ISA compatibility will be committed separately. The kobj and newbus ABI has changed - all modules must be recompiled. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2003-10-16T09:18:35.000000Z K 7 svn:log V 198 Add a workaround for the fact that the priv field was removed from struct driver. We were the last user of that field (and we are scheduled for demolition) so there wasn't much point in keeping it. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-10-16T09:48:09.000000Z K 7 svn:log V 68 - mtx_ownedby() was unpopular and is no longer needed. Remove it. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-10-16T10:04:54.000000Z K 7 svn:log V 196 - Fix a minor problem with my last commit, we don't want to return from sched_switch if the thread is running, we want to fall through and pick a new thread because we have been preempted. END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-10-16T10:44:24.000000Z K 7 svn:log V 450 Don't forget to load %es with the kernel data segment selector in Xcpustop(). %es is used in at least the call to savectx() when savectx() calls bcopy(), so not loading it was fatal if a stop IPI interrupts user mode. This reduces bugs starting and stopping CPUs for debuggers. CPUs are stopped mainly in kdb_trap() and cpu_reset(). At reset time there is a good chance that all the CPUs are in the kernel, so the bug was probably harmless then. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2003-10-16T13:29:26.000000Z K 7 svn:log V 57 Changes for new SMP-safe kobj method dispatch algorithm. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-10-16T13:38:29.000000Z K 7 svn:log V 169 AF_LINK sockaddr has to be attached to ifp->if_addrlist until the end, as many of the code assumes that TAILQ_FIRST(ifp->if_addrlist) is non-null. Submitted by: itojun END K 10 svn:author V 7 wollman K 8 svn:date V 27 2003-10-16T15:02:34.000000Z K 7 svn:log V 81 MFC: tzdata2003d (updates Canada, Brazil, New Zealand) Approved by: re (murray) END K 10 svn:author V 4 fanf K 8 svn:date V 27 2003-10-16T15:25:19.000000Z K 7 svn:log V 62 A comment about spam and cockroaches. Suggested by: dwmalone END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-10-16T16:13:11.000000Z K 7 svn:log V 150 o correct handling of a frame that has too many segments to fit in the tx descriptor array o while here fix a whitespace nit Obtained from: NetBSD END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-10-16T16:17:17.000000Z K 7 svn:log V 155 Correct handling of cloning loop avoidance: rtalloc1 may return a null pointer in which case we should not do the unlock. Supported by: FreeBSD Foundatin END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-10-16T16:21:25.000000Z K 7 svn:log V 184 Drop dummynet lock when calling back into the network stack to deliver packets. This eliminates a LOR with Giant that caused outbound pipes to fail. Supported by: FreeBSD Foundation END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-10-16T16:25:25.000000Z K 7 svn:log V 243 pfil hooks can modify packet contents so check if the destination address has been changed when PFIL_HOOKS is enabled and, if it has, arrange for the proper action by ip*_forward. Supported by: FreeBSD Foundation Submitted by: Pyun YongHyeon END K 10 svn:author V 3 hrs K 8 svn:date V 27 2003-10-16T17:16:24.000000Z K 7 svn:log V 154 New release note: Bluetooth protocol stack update. Based on report by: emax Modified release note: s|challenge/|challenge/response| in SA-03:15 item. END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-10-16T18:57:45.000000Z K 7 svn:log V 243 pfil hooks can modify packet contents so check if the destination address has been changed when PFIL_HOOKS is enabled and, if it has, arrange for the proper action by ip*_forward. Submitted by: Pyun YongHyeon Supported by: FreeBSD Foundation END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-10-16T19:55:28.000000Z K 7 svn:log V 32 fix horribly botched MFp4 merge END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-10-16T20:06:19.000000Z K 7 svn:log V 106 - Call sched_add() with the correct argument on SMP. Reported by: Valentin Chopov END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-10-16T20:32:57.000000Z K 7 svn:log V 64 - Only kse_reassign() in the !running case. Reported by: kris END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-10-16T21:13:14.000000Z K 7 svn:log V 61 - The kse may be null in sched_pctcpu(). Reported by: kris END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-10-17T02:24:59.000000Z K 7 svn:log V 247 Implement cpu_idle() on ia64. We put the processor in a lightweight halt state that minimizes power consumption while still preserving cache and TLB coherency. Halting the processor is not conditional at this time. Tested with UP and SMP kernels. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-10-17T03:49:03.000000Z K 7 svn:log V 237 Halt the cpu on amd64 as well. For some strange reason, this makes a fair bit of difference to the power consumption and lets my cpu cool down enough for the temperature sensitive fan controller to completely stop the cpu fan at times. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-10-17T05:07:17.000000Z K 7 svn:log V 156 - Synchronize access to a vm page's valid field using the containing vm object's lock. - Release the vm object and vm page queues locks around vput(). END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-10-17T06:25:37.000000Z K 7 svn:log V 192 1. Catch up with the move of the declaration of panic() from back to . 2. Remove hard sentence breaks. Reminded by: Stefan Farfeleder (1) END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-10-17T06:54:00.000000Z K 7 svn:log V 171 MFC: rev 1.178 - 1.180: map page zero read/write in case DISABLE_PSE is used (APM breaks with DISABLE_PSE) or if PSE is turned off for Pentium4. Approved by: re (scottl) END K 10 svn:author V 5 seanc K 8 svn:date V 27 2003-10-17T07:53:30.000000Z K 7 svn:log V 92 Uses wait4() instead of wait3() when waiting for a child process to exit. Reviewed by: yar END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-10-17T11:01:03.000000Z K 7 svn:log V 113 MFC Rev 1.40 to fix use-after-free problems with dynamic rules. Submitted by: mckusick Approved by: re (murray> END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-10-17T11:43:44.000000Z K 7 svn:log V 72 - style - rename variable - use strlcpy - const'fy Obtained from: KAME END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-10-17T11:46:40.000000Z K 7 svn:log V 104 - NI_WITHSCOPEID was deprecated - use strlcpy() and snprintf() - use err() - style Obtained from: KAME END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-17T11:56:48.000000Z K 7 svn:log V 21 Simplify count_dev() END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2003-10-17T13:57:58.000000Z K 7 svn:log V 177 When expunging unlinked files from a snapshot, skip over holes in the file rather than panicing with "indiracct: botched params". Submitted by: Mark Santcroos END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-10-17T15:12:01.000000Z K 7 svn:log V 160 Add multicast(4) and pim(4) manual pages and hook up to the build. Submitted by: Pavlin Radoslavov Reviewed by: hsu, bmah MFC after: 2 weeks END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-10-17T15:43:13.000000Z K 7 svn:log V 962 Explicitly specify an alignment for abitag. Without it, gcc specifies a section alignnment of 16 bytes for amd64 and this breaks file(1). Before: ./cp: ELF 64-bit LSB executable, AMD x86-64, version 1 (FreeBSD), for \ FreeBSD 127.7.9, statically linked, stripped after: ^^^^^^^ ./ls: ELF 64-bit LSB executable, AMD x86-64, version 1 (FreeBSD), for \ FreeBSD 5.0.1, dynamically linked (uses shared libs), stripped The reason for this is that the NOTE sections are not contiguous internally. If the note section has an alignment of 16, then anything that looks for the data is supposed to round up the payload start to the next multiple of the alignment. But FreeBSD/amd64 broke because the structure is declared as a single structure, not a (header,payload) group, where the payload had an explicit alignment roundup. The alternative is to change things like file(1) to ignore the ELF payload alignment rules for the PT_NOTE section only for FreeBSD. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-10-17T15:46:31.000000Z K 7 svn:log V 96 - add dom_if{attach,detach} framework. - transition to use ifp->if_afdata. Obtained from: KAME END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-10-17T16:17:47.000000Z K 7 svn:log V 83 don't print ndp -i result if the interface is not initialized Obtained from: KAME END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-10-17T16:30:09.000000Z K 7 svn:log V 292 Update context code for my last ABI breakage of mcontext. I'm worried about the fpu code here. It should be using fxsave/fxrstor instead of saving/restoring the control word. The SSE registers are used a lot in gcc generated code on amd64. I'm not sure how this all fits together though. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-10-17T16:31:00.000000Z K 7 svn:log V 72 Forced commit for attribution. Last commit was Submitted by: deischen END K 10 svn:author V 3 hrs K 8 svn:date V 27 2003-10-17T16:47:42.000000Z K 7 svn:log V 138 Modified release note: - Use multicast(4) and pim(4) hyperlink. - Fix a wrong description in rfcomm_sppd(1) and rfcomm_pppd(8) item. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2003-10-17T17:03:38.000000Z K 7 svn:log V 114 - fix to UID test description, non-zero -> zero PR: docs/57799 Reviewed by: des Approved by: blackend (mentor) END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-10-17T17:34:31.000000Z K 7 svn:log V 54 revert wrongly dropped null check by previous commit. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-10-17T17:50:09.000000Z K 7 svn:log V 66 nuke duplicate function and unused function. Obtained from: KAME END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-17T19:52:07.000000Z K 7 svn:log V 56 Make the regression test run also with obj directories. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-10-17T20:20:14.000000Z K 7 svn:log V 17 use ND_IFINFO(). END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-10-17T20:53:04.000000Z K 7 svn:log V 92 - Remove the correct thread from the run queue in setrunqueue(). This fixes ULE + KSE. END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-10-17T21:41:52.000000Z K 7 svn:log V 96 parameterize locking to improve portability and possible change to different locking strategies END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-10-17T21:44:06.000000Z K 7 svn:log V 309 Fix a couple of bugs with AIF handling: - Correct the logic for the AIF array index pointers so that correct slot is always looked at. - Copy the full FIB payload size when copying AIF's, not just the first 64 bytes. Thanks to Mirapoint, Inc, for pointing these problems out and offering a solution. END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-10-17T21:54:59.000000Z K 7 svn:log V 182 o add capability to indicate if device receives all management frames o use recv mgmt capability to decide if outbound frames should be discarded if no node table entry is present END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-10-17T21:55:53.000000Z K 7 svn:log V 47 indicate device receives all management frames END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-10-17T21:56:42.000000Z K 7 svn:log V 16 correct comment END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-10-17T21:58:39.000000Z K 7 svn:log V 166 o consolidate rx filter calculations in one place o enable beacon reception when operating in adhoc mode so the 802.11 layer can use them to create nodes for peers END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-10-17T22:09:20.000000Z K 7 svn:log V 58 include FH/DS parameters element in probe response frames END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-10-17T22:15:26.000000Z K 7 svn:log V 17 fixup debug msgs END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-10-17T23:15:30.000000Z K 7 svn:log V 94 add statistics for all failures and/or abnormal events; still need to add per-node statistics END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-10-17T23:59:11.000000Z K 7 svn:log V 89 fix station mode breakage (repeat after me: "test every change, no matter how small...") END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-10-18T02:13:39.000000Z K 7 svn:log V 509 Add a new cn_flags fields to struct consdev, the low-level console definition structure. Define one flag, CN_FLAG_NODEBUG, which indicates the console driver cannot be used in the context of the debugger. This may be used, for example, if the console device interacts with kernel services that cannot be used from the debugger context, such as the network stack. These drivers are skipped over for calls to cn_checkc() and cn_putc(), and the calling function simply moves on to the next available console. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2003-10-18T02:23:57.000000Z K 7 svn:log V 76 Wrap db_active check in #ifdef DDB, as db_active is not defined ifndef DDB. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-10-18T04:54:08.000000Z K 7 svn:log V 132 - Enable 16byte commands. - Fix printf warnings on 64bit architectures. - Accept 'k', 'm' and etc. for -s option. Reviewed by: njl END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-10-18T04:59:47.000000Z K 7 svn:log V 260 - Call sbp_reset_start() for mgm timeout. - Change type of target->luns to allocate an array of LUNs dynamically. This allows targets to change their number of LUNs after each bus reset. - Serialize ORB POINTER command for each LUN. - Improve debug messages. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-10-18T05:41:31.000000Z K 7 svn:log V 774 Add SBP-II target mode driver. Though this is still incomplete and has some missing features such as exclusive login and event notification, it may be enough for someone who wants to play with it. This driver is supposed to work with firewire(4), targ(4) of CAM(4) and scsi_target(8) which can be found in /usr/share/example/scsi_target. This driver doesn't require sbp(4) which implements initiator mode. Sample configuration: Kernel: (you can use modules as well) device firewire device scbus device targ device sbp_targ After reboot: # mdconfig -a -t malloc -s 10m md0 # scsi_target 0:0:0 /dev/md0 (Assuming sbp_targ0 on scbus0) You should find the 10MB HDD on FreeBSD/MacOS X/WinXP or whatever connected to the target using FireWire. Manpage is not finished yet. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-18T08:58:35.000000Z K 7 svn:log V 66 Rearrange the deck-chairs while we wait for scottl to GEOMify RF. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-18T09:03:15.000000Z K 7 svn:log V 527 The size and contents of the DEV_STRATEGY() macro has progressed to the point where it being a macro is no longer sensible, and it will only be more so in days to come. BIO_STRATEGY() is now only used from DEV_STRATEGY() and should not be used directly anymore. Put the contents of both in the new function dev_strategy() and make DEV_STRATEGY() call that function. In addition, this allows us to make the rather magic bufdonebio() helper function static. This alse saves hunderedandsome bytes of code in a typical kernel. END K 10 svn:author V 5 markm K 8 svn:date V 27 2003-10-18T09:16:01.000000Z K 7 svn:log V 55 Mark as __unused some arguments that are, erm, unused. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-18T09:32:39.000000Z K 7 svn:log V 71 Convert some if(bla) panic("foo") to KASSERTS to improve grep-ability. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-18T09:33:13.000000Z K 7 svn:log V 68 We do not get B_PHYS buffers here anymore. /dev/drum is long gone. END K 10 svn:author V 5 markm K 8 svn:date V 27 2003-10-18T09:58:39.000000Z K 7 svn:log V 189 Remove a GCC specifig CFLAG. We should be using WARNS=? for this. WARNS=? is not added here at this point, because I've not tested it on enough platforms, and I don't want to break builds. END K 10 svn:author V 5 markm K 8 svn:date V 27 2003-10-18T10:04:16.000000Z K 7 svn:log V 49 ANSIfy, WARNSify, CONSTify. Bit of style(9)-ify. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-18T11:01:11.000000Z K 7 svn:log V 141 There is no need to muck about with the B_PHYS flag here. We never even get close to DEV_STRATEGY() which is the only place it is relevant. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-18T11:02:24.000000Z K 7 svn:log V 57 Initialize bp->b_offset and remove comment about B_PHYS. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-18T11:06:15.000000Z K 7 svn:log V 159 Initialize b_offset before calling VOP_STRATEGY/VOP_SPECSTRATEGY. Remove various comments of KASSERTS and comments about B_PHYS which does not apply anymore. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-18T11:08:04.000000Z K 7 svn:log V 60 Initialize bp->b_offset before calling VOP_[SPEC]STRATEGY() END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-18T11:08:33.000000Z K 7 svn:log V 54 Initialize b_offset before calling VOP_SPECSTRATEGY() END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-18T11:11:05.000000Z K 7 svn:log V 96 Initialize bp->b_offset before calling VOP_[SPEC]STRATEGY(). Remove stale comment about B_PHYS. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-18T11:13:31.000000Z K 7 svn:log V 54 Initialize bp->b_offset before calling VOP_STRATEGY() END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-18T11:14:29.000000Z K 7 svn:log V 125 Initialize bp->b_offset before calling VOP_STRATEGY(). Remove KASSERTS and panics with B_PHYS checks which no longer apply. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-18T11:16:33.000000Z K 7 svn:log V 60 Initialize bp->b_offset before calling VOP_[SPEC]STRATEGY() END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-18T11:25:42.000000Z K 7 svn:log V 41 Don't initialize unused bio_blkno field. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-18T12:16:17.000000Z K 7 svn:log V 43 I think rwatson got the sign wrong here... END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-18T14:10:28.000000Z K 7 svn:log V 87 DuH! bp->b_iooffset (the spot on the disk), not bp->b_offset (the offset in the file) END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-10-18T15:22:43.000000Z K 7 svn:log V 436 Transition to using bus_space macros rather than the inb/outb/etc. Use EP_{READ,WRITE}{,_MULTI}_{1,2,4} instead. I've had several people submit patches like this over the years of varying qualities, markm being the last. The names were chosen in consulation with mdodd on irc. I've tested this with only PCMCIA cards: 3CCE589EC and 3CCSH572BT. I've not tried with my more extensive ISA, EISA and cbus collection. Reviewed by: mdodd END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-18T15:50:56.000000Z K 7 svn:log V 73 Make bioq_disksort() sort on the bio_offset field instead of bio_pblkno. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-18T17:24:51.000000Z K 7 svn:log V 75 No need to initialize bio_pblkno from bio_blkno, disksort uses bio_offset. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-18T17:26:13.000000Z K 7 svn:log V 36 Use bio_offset instead of bio_blkno END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-18T17:27:10.000000Z K 7 svn:log V 40 Report bio_pblkbo instead of bio_blkno. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-10-18T17:28:36.000000Z K 7 svn:log V 34 Eliminate reporting of bio_blkno. END