ı740000 204 131 152 180 519 332 313 232 168 1163 804 235 107 286 399 118 923 194 202 170 114 2131 373 190 118 165 510 291 340 117 575 462 133 176 153 150 217 152 127 348 202 383 111 132 193 339 103 102 179 151 341 151 923 234 128 149 118 228 137 125 122 125 150 140 146 147 263 152 136 210 227 213 167 118 210 227 217 603 320 212 461 141 260 393 191 274 282 108 894 160 155 147 131 416 107 136 281 175 359 134 150 220 163 158 158 157 126 301 422 121 224 131 158 135 154 374 379 113 145 257 295 143 168 135 133 153 179 223 305 157 196 261 186 231 414 298 143 297 233 341 138 335 186 402 377 229 264 365 208 353 252 424 395 409 179 728 902 782 660 443 484 382 129 165 461 149 197 122 178 125 122 133 167 218 122 216 251 284 203 376 198 388 265 159 271 186 158 145 401 383 152 122 515 152 170 273 112 242 351 303 398 235 241 219 350 K 10 svn:author V 3 dfr K 8 svn:date V 27 1998-10-06T11:57:08.000000Z K 7 svn:log V 39 Teach libdisk about alpha boot blocks. END K 10 svn:author V 3 dfr K 8 svn:date V 27 1998-10-06T12:06:43.000000Z K 7 svn:log V 60 Add a 2880k disk prototype for building MFS install images. END K 10 svn:author V 3 dfr K 8 svn:date V 27 1998-10-06T12:42:55.000000Z K 7 svn:log V 88 Doh! Change the correct version of disktab and backout the change to the i386 disktab. END K 10 svn:author V 4 kato K 8 svn:date V 27 1998-10-06T13:16:29.000000Z K 7 svn:log V 425 - Implement enabling write allocate on AMD K5/K6/K6-2 cpus. The code was originaly contributed by Kelly Yancey in PR i386/6269 and revised by Akio Morita and me. Test was performed by Akio Morita and Toshiomi Moriki . - Fix stylistic bug in identcpu.c. - Update copyright in initcpu.c - Fix typo in LINT. PR: 6269 and 6270 END K 10 svn:author V 3 dfr K 8 svn:date V 27 1998-10-06T14:18:40.000000Z K 7 svn:log V 239 Add functions for accessing dense and bwx memory for pci devices. These routines are necessary to allow the use of certain types of hardware on the alpha, particularly a Myrinet card. Submitted by: Andrew Gallatin END K 10 svn:author V 6 msmith K 8 svn:date V 27 1998-10-06T19:23:57.000000Z K 7 svn:log V 217 Enable the DOS filesystem. This allows reading from various DOS filesystems (FAT12/16/32, VFAT). Make a private copy of strcasecmp, as the "real" one uses the system ctype header, which introduces locale poisoning. END K 10 svn:author V 3 phk K 8 svn:date V 27 1998-10-06T19:24:31.000000Z K 7 svn:log V 139 Here are some scripts and man pages for configuring HARP ATM interfaces. Reviewed by: phk Submitted by: Mike Spengler END K 10 svn:author V 3 ken K 8 svn:date V 27 1998-10-06T19:27:19.000000Z K 7 svn:log V 76 Disable multi-lun probing and serial number inquiries for the Exabyte 8200. END K 10 svn:author V 5 joerg K 8 svn:date V 27 1998-10-06T20:47:53.000000Z K 7 svn:log V 1067 In an attempt to reduce the huge number of differences between the FreeBSD repository version of this file and the isdn4bsd version, adopt those changes from the i4b version that make this file BSD-version independent. I attempted to avoid uglifying this file too much, thus deviated a little from the i4b version (and hope they will adopt the changes, too). The diffs mostly concentrate on: . #include differences between the systems . different callout handling between FreeBSD vs. Net/OpenBSD . interface naming (Net/OpenBSD store the ASCII name including the unit # in struct ifnet, FreeBSD only the name) . use of random() in FreeBSD vs. time-based pseudo-randomization in Net/OpenBSD (for loopback detection ad CHAP challenges -- i assume at least OpenBSD could also benefit from random(), but that's the way i've got this file) . interface address list elements are named a little differently between FreeBSD and Net/OpenBSD I attempted to segregate those compat fixes from other code fixes and enhancements. Obtained from: The isdn4bsd project END K 10 svn:author V 5 asami K 8 svn:date V 27 1998-10-06T21:12:14.000000Z K 7 svn:log V 709 (1) Add new variable ${PERL} which is equal to ${PERL5} but without the version number part (i.e., "/perl"). Use this to substitute #! lines in your perl5 scripts. Requested and reviewed by: ache (2) Add new variable WRKDIRPREFIX (defaults to ""). The "work" directories are now in ${WRKDIRPREFIX}${.CURDIR}/work by default. You can have a read-only ports tree (modulo any broken ports that write something to places other than ${WRKDIR}) by setting this to a writable location. Ports that set WRKDIR explicitly should append this to front so they will work when the user has WRKDIRPREFIX set. Reviewed by: Toshihiko Kodama END K 10 svn:author V 5 joerg K 8 svn:date V 27 1998-10-06T21:12:45.000000Z K 7 svn:log V 140 Minor cleanup: kill a couple of unused variables, and a couple of uninitialized variables. Obtained from: The isdn4bsd project (partially) END K 10 svn:author V 5 asami K 8 svn:date V 27 1998-10-06T21:13:04.000000Z K 7 svn:log V 13 Merge 1.292. END K 10 svn:author V 4 alex K 8 svn:date V 27 1998-10-06T23:17:44.000000Z K 7 svn:log V 192 Cast the return value of tvtohz() from a long to an int to satisfy the compiler that we know what we're doing (the value returned has already been restricted to int ranges). Reviewed by: bde END K 10 svn:author V 6 julian K 8 svn:date V 27 1998-10-07T01:30:02.000000Z K 7 svn:log V 303 Fix a memory leak PR: 7923 Submitted by: Archie Cobbs The scandir() function returns -1 if it fails. In many cases when this happens, it does not free the memory that it allocated, resulting in a memory leak, or close the directory opened with opendir(). BAD DOG, BAD! END K 10 svn:author V 6 msmith K 8 svn:date V 27 1998-10-07T02:33:01.000000Z K 7 svn:log V 23 VERBOSE_LS is obsolete END K 10 svn:author V 6 msmith K 8 svn:date V 27 1998-10-07T02:38:26.000000Z K 7 svn:log V 827 - VERBOSE_LS is obsolete, as the heap is much better behaved now. - Don't whine about nodes we can't stat(); these are usually symlinks that lead out of the filesystem. - Autoboot is now controlled by $autoboot_delay, which is a value in seconds or NO to disable autoboot. - Don't autoboot at the end of boot.conf if we have already tried. - Add a 'read' command to complement 'echo'. Both are still hidden. - Improve the 'source' command/function so that it is possible to source scripts off removable media. The entire script is read and saved before beginning execution. Script lines beginning with '@' will not be echoed when being executed. Script execution will normally terminate at the first error, however if the script line begins with '-' this behaviour is overriden for that command. END K 10 svn:author V 6 msmith K 8 svn:date V 27 1998-10-07T02:39:06.000000Z K 7 svn:log V 99 - Drain the keyboard buffer when initialising. - Be pedantic about the return from int 16 fn 01. END K 10 svn:author V 6 msmith K 8 svn:date V 27 1998-10-07T02:39:32.000000Z K 7 svn:log V 106 Enable the DOS filesystem. NOTE: you will have to rebuild libstand in order to be able to build again. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-07T02:55:59.000000Z K 7 svn:log V 78 Add spanish doc dirs. Submitted by: Motoyuki Konno END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-07T02:57:16.000000Z K 7 svn:log V 22 Turn ALLLANG back on. END K 10 svn:author V 3 ken K 8 svn:date V 27 1998-10-07T02:57:57.000000Z K 7 svn:log V 2037 Some fixes for the CD and DA drivers from bde. (and some of my own as well) Among them: [ cd driver ] 1. Old labeling code was still there. 2. Error handling for dsopen() was broken (no test for the `error' returned by dsopen(); bogus test of an `error' that is known to be 0). 3. cdopen() closed the physical device after certain errors although there may still be open partitions on it. 4. cdclose() closed the physical device although there may still be open partitions on it. 5. Some printf format fixes was incomplete or missing. 6. cdioctl() truncated unit numbers mod 256. 7. cdioctl() was missing locking. [ da driver ] 1. daclose() closed the physical device although there may still be open partitions on it. This was fixed many years ago in sd.c rev.1.57. 2. A minor optimization (the dk_slices != NULL test) in sdopen() became uglier in daopen(). It is not worth doing. da only regressed compared with od and my version of sd, since I never committed the change to sd. daopen() should probably do less if some partition is already open. This is not addressed by the diffs. [ ... ] 5. "opt_hw_wdog.h" was not included, so the HW_WDOG code was unreachable. - Added a getdev CCB call in the cdopen() and daopen() calls so that the vendor name and device name are available for the disklabel. (suggested by bde) - Removed vestigal devfs support in both drivers, since we can't properly work with devfs yet. (ask bde for details on this) - Cleaned up the probe code in both drivers in the failure cases. There were a number of things wrong here. The peripheral driver instances weren't getting properly cleaned up. Sometimes the wrong probe message would get printed out (with the failure message appended), so it wasn't very clear that we failed to attach. SCSI sense information was printed, even when the error in question wasn't a SCSI error. I put similar fixes into the changer driver in revision 1.2 of scsi_ch.c. Reviewed by: gibbs Submitted by: bde (partially) END K 10 svn:author V 3 imp K 8 svn:date V 27 1998-10-07T03:09:19.000000Z K 7 svn:log V 280 Up the read capacity timeout from 20 seconds to 60 seconds to keep my JAZ drive happy. This shouldn't impact fast drives, and will keep cam from failing on very slow ones (that are spinning up, say). 20 seconds was almost long enough, but not in all cases. Suggested by: gibbs END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-07T03:13:36.000000Z K 7 svn:log V 98 Remove hard-coded constants being passed to doFS.sh and add in a 386/alpha configuration section. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-07T03:15:08.000000Z K 7 svn:log V 26 Don't use boot2 on alpha. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 1998-10-07T03:20:52.000000Z K 7 svn:log V 71 Add support for the ASC3550 AdvanSys SCSI Host Controller (aka 940UW). END K 10 svn:author V 5 gibbs K 8 svn:date V 27 1998-10-07T03:25:21.000000Z K 7 svn:log V 415 Add a quirk entry for the CFP2107, another drive with broken tagged queuing support. Ensure that we report that a device supports tagged queuing even if the system is waiting a "command count delay" before starting to use them. If a user disables disconnects on a device ensure that tagged queuing is also turned off. We did the right thing during initial configuration, but could be confused by manual changes. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 1998-10-07T03:30:55.000000Z K 7 svn:log V 196 Add ADW_ALLOW_MEMIO and DPT_ALLOW_MEMIO. Until our configuration framework properly detects broken PCI-PCI bridges, users will have to manually enable memory mapped I/O for these drivers. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 1998-10-07T03:32:57.000000Z K 7 svn:log V 245 Don't set the active flag on a transaction resource until it has been queued. Perform dma segment setup outside of splcam protection as this can take some time and the protection is not necessary. Inline a function. Clean up some whitespace. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 1998-10-07T03:34:13.000000Z K 7 svn:log V 23 Add a missing newline. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 1998-10-07T03:38:14.000000Z K 7 svn:log V 480 Fix a parent tag reference count bug during tag teardown. Enable optimization for nobounce_dmamap clients by setting the map held by the client to NULL. This allows the macros in bus.h to check against a constant to avoid function calls. Don't attempt to 'free()' contigmalloced pages in bus_dmamem_free(). We currently leak these pages, which is not ideal, but is better than a panic. The leak will be fixed when contigmalloc is merged into the bus dma framework after 3.0R. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 1998-10-07T03:40:51.000000Z K 7 svn:log V 367 ahc_pci.c: Disable DPARCKEN in the DSCOMMAND0 register on the aic7890/91/96/97. Parity checking is broken for some chip/MB combinations and this is the work around recommended by Adaptec. dpt_pci.c: Remove a superflous '{' that prevented DPT_ALLOW_MEMIO from working. pcireg.h: Add a definition for Parity Error Reponse bit in the PCI Space command register. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 1998-10-07T03:42:44.000000Z K 7 svn:log V 39 Add entries for the adw device driver. END K 10 svn:author V 6 msmith K 8 svn:date V 27 1998-10-07T07:34:31.000000Z K 7 svn:log V 81 Request the flags back when checking for keyboard status. Submitted by: rnordier END K 10 svn:author V 4 kato K 8 svn:date V 27 1998-10-07T09:27:08.000000Z K 7 svn:log V 60 Fix typo. Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-07T10:55:46.000000Z K 7 svn:log V 56 Fix that pesky boot aguments parsing bug. (I think :-) END K 10 svn:author V 4 kato K 8 svn:date V 27 1998-10-07T13:46:09.000000Z K 7 svn:log V 123 Use MACHINE_ARCH instead of MACHINE to detect x86 arch. Pointed out by: Akio Morita END K 10 svn:author V 6 msmith K 8 svn:date V 27 1998-10-07T13:50:17.000000Z K 7 svn:log V 57 Add strcasecmp source file required for dosfs operation. END K 10 svn:author V 6 obrien K 8 svn:date V 27 1998-10-07T13:51:46.000000Z K 7 svn:log V 32 Fix syntax errors I introduced. END K 10 svn:author V 5 luoqi K 8 svn:date V 27 1998-10-07T13:59:26.000000Z K 7 svn:log V 253 Use vm_page_xxx() inline functions to manipulate vm_page::flags, vm_page::busy. As a side effect, a few wakeup() calls are added, which might fix some of the missing vm_page wakeups people have been seeing. Reviewed by: Doug Rabson END K 10 svn:author V 3 des K 8 svn:date V 27 1998-10-07T14:42:24.000000Z K 7 svn:log V 109 Add missing newline in probe message. PR: kern/8168 Submitted by: Stefan Eggers END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-07T17:32:49.000000Z K 7 svn:log V 290 Add a simple mechanism for reading property lists from files (which I'll convert sysinstall to use shortly) and a simple call which uses this mechanism to implement an /etc/auth.conf file. I'll let Mark Murray handle the format and checkin of the sample auth.conf file. Reviewed by: markm END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-07T19:40:51.000000Z K 7 svn:log V 19 Add isa_devtab_cam END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-07T19:42:46.000000Z K 7 svn:log V 40 Read in all the nlist entries properly. END K 10 svn:author V 3 des K 8 svn:date V 27 1998-10-07T19:45:36.000000Z K 7 svn:log V 100 By popular request, mention that mailq responds to the same options as sendmail(8). PR: i386/8149 END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-07T21:53:14.000000Z K 7 svn:log V 246 Add MFSKERN flag to enable the combining of kernel and MFS fs. At some point, it will always be off from the user's POV and used only internally to build (optionall) both mfskern floppies and ones where mfs root and kernel go in separate places. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-07T22:15:24.000000Z K 7 svn:log V 11 Fix typos. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-07T22:36:48.000000Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-07T22:54:04.000000Z K 7 svn:log V 87 Support 3 floppy images as standard now: boot kernel, mfs image and kernel+mfs image. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-07T22:58:22.000000Z K 7 svn:log V 59 Unreverse a conditional and gzip the mfs image by default. END K 10 svn:author V 4 alex K 8 svn:date V 27 1998-10-08T00:32:08.000000Z K 7 svn:log V 247 Check the timeval passed to BIOCSRTIMEOUT with itimerfix. Use tvtohz() to convert the timeval into a tick count. Suggested by: bde Reviewed by: bde Handle hz > 1000 in BIOCGRTIMEOUT. Pointed out by: bde Reviewed by: bde Obtained from: OpenBSD END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-08T01:56:49.000000Z K 7 svn:log V 59 Correct a build error that got past my build test somehow. END K 10 svn:author V 3 ken K 8 svn:date V 27 1998-10-08T05:46:38.000000Z K 7 svn:log V 830 Add the quirk entry framework to handle disabling the synchronize cache command on drives that don't like it. Right now, there's just a bogus quirk entry in the table that doesn't do anything, but that should be changed once we get actual inquiry data for drives that don't like the synchronize cache command. Also, add a shutdown hook that runs through all direct access peripherals and runs a synchronize cache on them if they're still open, and if synchronize cache isn't disabled via a quirk entry. Add a synchronize cache call at the end of dadump() (again, conditionalized on the quirk entry), so we can insure that the disk cache contents get flushed to physical media after a dump. Check the new quirk entry in daclose() to decide whether or not to synchronize the cache for a disk at final close. Reviewed by: gibbs END K 10 svn:author V 5 markm K 8 svn:date V 27 1998-10-08T06:12:04.000000Z K 7 svn:log V 139 Add auth.conf. JKH Added the code to understand this to libutil, and I will be following up with commits to use it in KerberosIV userland. END K 10 svn:author V 3 sos K 8 svn:date V 27 1998-10-08T06:41:44.000000Z K 7 svn:log V 36 Remove debug output on disk change. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-08T06:53:32.000000Z K 7 svn:log V 57 Add some rudimentary documentation for my new functions. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-08T07:12:37.000000Z K 7 svn:log V 26 Remove a gratuitous copy. END K 10 svn:author V 3 phk K 8 svn:date V 27 1998-10-08T08:56:01.000000Z K 7 svn:log V 135 Avoid using dmesg to find devices, the buffer may not be big enough. Reviewed by: phk Submitted by: Mike Spengler END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-08T09:06:16.000000Z K 7 svn:log V 45 Final cleanup pass over boot floppy changes. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-08T09:40:17.000000Z K 7 svn:log V 33 Make both types of boot targets. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-08T09:53:32.000000Z K 7 svn:log V 30 Add boot bits to boot floppy. END K 10 svn:author V 6 obrien K 8 svn:date V 27 1998-10-08T09:56:10.000000Z K 7 svn:log V 30 Quiet many compiler warnings. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-08T10:02:28.000000Z K 7 svn:log V 58 Only install boot blocks if !MFSKERN. Too big otherwise! END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-08T10:18:55.000000Z K 7 svn:log V 48 Finally settle on a name for the mfsroot image. END K 10 svn:author V 4 kato K 8 svn:date V 27 1998-10-08T12:09:38.000000Z K 7 svn:log V 53 Sync with sys/i386/i386/userconfig.c revision 1.111. END K 10 svn:author V 4 kato K 8 svn:date V 27 1998-10-08T12:10:07.000000Z K 7 svn:log V 54 Sync with sys/i386/conf/GENERIC revision up to 1.123. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 1998-10-08T15:45:36.000000Z K 7 svn:log V 168 Correctly update the tail pointer of the transmit queue in tl_start() (one-liner). I have yet to actually encounter any problems due to this bug, but why take chances. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 1998-10-08T15:47:10.000000Z K 7 svn:log V 58 MFC: fix updating of tx queue tail pointer in tl_start(). END K 10 svn:author V 4 kato K 8 svn:date V 27 1998-10-08T16:15:22.000000Z K 7 svn:log V 43 BIOS ROM base address is 0xe8000 on PC-98. END K 10 svn:author V 4 kato K 8 svn:date V 27 1998-10-08T17:04:59.000000Z K 7 svn:log V 116 Add SMC EtherEZ98 support to ed driver (PC-98). Reviewed by: kato Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) END K 10 svn:author V 4 kato K 8 svn:date V 27 1998-10-08T17:06:32.000000Z K 7 svn:log V 133 Add ungermann-Bass Access/PC N98C+ support to fe driver (PC-98). Reviewed by: kato Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) END K 10 svn:author V 4 kato K 8 svn:date V 27 1998-10-08T17:07:44.000000Z K 7 svn:log V 119 Add entry for EtherEZ98 and Access/PC N98C+ cards. Reviewed by: kato Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) END K 10 svn:author V 4 kato K 8 svn:date V 27 1998-10-08T17:16:41.000000Z K 7 svn:log V 74 Oops, discard my previous commits becase sumitted code is for RELENG_2_2. END K 10 svn:author V 4 kato K 8 svn:date V 27 1998-10-08T17:20:58.000000Z K 7 svn:log V 25 Discard previous commit. END K 10 svn:author V 4 kato K 8 svn:date V 27 1998-10-08T17:24:27.000000Z K 7 svn:log V 116 Add SMC EtherEZ98 support to ed driver (PC-98). Reviewed by: kato Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) END K 10 svn:author V 4 kato K 8 svn:date V 27 1998-10-08T17:28:19.000000Z K 7 svn:log V 133 Add Ungermann-Bass Access/PC N98C+ support to fe driver (PC-98). Reviewed by: kato Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) END K 10 svn:author V 4 kato K 8 svn:date V 27 1998-10-08T17:29:33.000000Z K 7 svn:log V 123 Added entries for EtherEZ98 and Access/PC N98C+ cards. Reviewed by: kato Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) END K 10 svn:author V 3 des K 8 svn:date V 27 1998-10-08T18:47:30.000000Z K 7 svn:log V 510 Remove all references to tickadj(8) from rc, rc.conf and rc.conf.5. Disable building tickadj(8) by removing util from SUBDIR in the xntpd Makefile. Note that the sources are still there and tickadj can still be built and installed by doing: # cd /usr/src/usr.sbin/xntpd/util # make all install There are enough references to tickadj in e.g. the xntpd documentation (not to mention the sysctl variables it uses etc.) that I don't feel up to implementing the final solution right now. Kinda-approved-by: phk END K 10 svn:author V 3 des K 8 svn:date V 27 1998-10-08T18:52:17.000000Z K 7 svn:log V 227 While I'm at it, remove the tickadj manpage from src/share/man0/man8, though I'm afraid there's a lot more that needs fixing in this file, judging by 'find /usr/src -name "*.8" -print'. Spotted-by: glimpse -H /usr/src tickadj END K 10 svn:author V 3 ken K 8 svn:date V 27 1998-10-08T19:59:40.000000Z K 7 svn:log V 119 Fix a memory leak in rpc.rstatd that shows up when it's run in standalone mode. (i.e., not from inetd) PR: bin/8212 END K 10 svn:author V 3 des K 8 svn:date V 27 1998-10-08T20:55:54.000000Z K 7 svn:log V 368 Make that annoying "device busy" message dependent on DEBUG (using the DEB macro). There are probably quite a few other messages that warrant a similar treatment, and many more that should be converted to plain log messages (e.g. "WARNING: wrintr but write DMA inactive!"). Now that I think of it, same goes for the CAM code (e.g. the famed "tagged openings" message) END K 10 svn:author V 3 des K 8 svn:date V 27 1998-10-08T21:01:22.000000Z K 7 svn:log V 49 MFC: put a DEB around the "device busy" message. END K 10 svn:author V 6 msmith K 8 svn:date V 27 1998-10-08T21:03:41.000000Z K 7 svn:log V 164 Fix up the kernel environment and module data pointers in the bootinfo if they are present. If we are told where the end of the loaded kernel image is, believe it. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-08T23:10:41.000000Z K 7 svn:log V 300 remove stdio.h include; I forgot Bruce's cardinal rule that header files shouldn't include other ones (which, unfortunately, is also a hellish rule since he broke interfaces like sysctl this way by requiring undocumented header files to be included just in order to be able to use them now - SIGH!). END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-08T23:14:02.000000Z K 7 svn:log V 99 This thing has its own puts function, so use it. Submitted by: Matthew Jacob END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-08T23:34:44.000000Z K 7 svn:log V 181 Allow the module area to be used in order to find the MFS image (in addition to allowing it to be compiled in) and stop overloading the MFS_ROOT variable to store size information. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-09T00:01:16.000000Z K 7 svn:log V 189 Use lstat() rather than stat in determining whether a file exists, otherwise we'll miss the "symlink exists but points nowhere" case. Submitted by: asami and/or possibly END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-09T00:01:34.000000Z K 7 svn:log V 16 MFC: lstat fix. END K 10 svn:author V 3 jdp K 8 svn:date V 27 1998-10-09T00:24:49.000000Z K 7 svn:log V 801 Fix a panic on SMP systems, caused by sleeping while holding a simple-lock. The reviewer raises the following caveat: "I believe these changes open a non-critical race condition when adding memory to the pool for the zone. I think what will happen is that you could have two threads that are simultaneously adding additional memory when the pool runs out. This appears to not be a problem, however, since the re-aquisition of the lock will protect the list pointers." The submitter agrees that the race is non-critical, and points out that it already existed for the non-SMP case. He suggests that perhaps a sleep lock (using the lock manager) should be used to close that race. This might be worth revisiting after 3.0 is released. Reviewed by: dg (David Greenman) Submitted by: tegge (Tor Egge) END K 10 svn:author V 6 msmith K 8 svn:date V 27 1998-10-09T00:30:50.000000Z K 7 svn:log V 65 New files for kernel environment and module metadata interfaces. END K 10 svn:author V 6 msmith K 8 svn:date V 27 1998-10-09T00:31:06.000000Z K 7 svn:log V 60 Initialise kernel environment and module metadata pointers. END K 10 svn:author V 6 msmith K 8 svn:date V 27 1998-10-09T00:31:29.000000Z K 7 svn:log V 52 Kernel environment access, preloaded module lookup. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-09T00:39:09.000000Z K 7 svn:log V 39 All these have to include stdio.h now. END K 10 svn:author V 5 asami K 8 svn:date V 27 1998-10-09T01:27:21.000000Z K 7 svn:log V 321 Add new variable NO_FILTER_SHLIBS -- it will disable ELF <-> a.out shlib name conversion. Use it for binary ports that come with its own private shlib dirs, ports that install linux compatibility libraries (thus following their naming conventions and not ours), etc. Reviewed by: Martin Cracauer END K 10 svn:author V 5 asami K 8 svn:date V 27 1998-10-09T01:27:55.000000Z K 7 svn:log V 13 Merge 1.293. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-09T01:40:56.000000Z K 7 svn:log V 44 include proper header for Mike's new stuff. END K 10 svn:author V 3 jdp K 8 svn:date V 27 1998-10-09T01:43:08.000000Z K 7 svn:log V 188 Don't try to print out the signal number that caused core to be dumped. It is not in a fixed location in the file, so at best, garbage comes out. I don't think this code was ever valid. END K 10 svn:author V 6 msmith K 8 svn:date V 27 1998-10-09T01:44:09.000000Z K 7 svn:log V 80 Missing defines for the kernel environment and module metadata lookup functions END K 10 svn:author V 5 wpaul K 8 svn:date V 27 1998-10-09T03:59:24.000000Z K 7 svn:log V 264 Add support for yet another "cyclone" board, with PCI device id 0x905A. This is a 100BaseFX board with SC fiber media connectors. I don't actually have one of these but I've been told it works with the xl driver. Submitted by: Jason Wright from the openbsd group END K 10 svn:author V 5 wpaul K 8 svn:date V 27 1998-10-09T04:00:16.000000Z K 7 svn:log V 40 MFC: add support for 100baseFX/SC board END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-09T06:21:12.000000Z K 7 svn:log V 58 Add some evil temporary phys-to-kern translation for mfs. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-09T06:28:28.000000Z K 7 svn:log V 127 Initialize boot configuration files on floppy correctly. We now support 3 kinds of floppies: boot+mfs (standard), boot, mfs. END K 10 svn:author V 5 markm K 8 svn:date V 27 1998-10-09T06:31:45.000000Z K 7 svn:log V 69 Add JKH's auth.conf-file parser to turn Kerberos on/off in userland. END K 10 svn:author V 5 markm K 8 svn:date V 27 1998-10-09T06:38:33.000000Z K 7 svn:log V 64 Use KJH's auth.conf parser to turn on/off Kerberos in userland. END K 10 svn:author V 5 markm K 8 svn:date V 27 1998-10-09T06:47:57.000000Z K 7 svn:log V 64 Use KJH's auth.conf parser to turn on/off Kerberos in userland. END K 10 svn:author V 6 msmith K 8 svn:date V 27 1998-10-09T07:06:43.000000Z K 7 svn:log V 62 MODINFO_NAME can't be 0, that's the end of the metadata area. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-09T07:07:55.000000Z K 7 svn:log V 34 Small refinements to boot script. END K 10 svn:author V 6 msmith K 8 svn:date V 27 1998-10-09T07:09:22.000000Z K 7 svn:log V 205 Sync the MODINFO constants with Remove debugging in command_read(). Correctly strip leading controls on script commands. Make 'ls' more DWIM in regard to pathnames. We can still do better. END K 10 svn:author V 6 msmith K 8 svn:date V 27 1998-10-09T07:11:19.000000Z K 7 svn:log V 326 Remove some debugging code. Do a much better job of DWIM with partial device specifications. Fix the module metadata build process, which was completely broken. Use a larger read buffer when copying large objects in; this improves performance marginally and will avoid flushning any small caches we might choose to implement. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-09T07:28:14.000000Z K 7 svn:log V 29 Take the path spec back out. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-09T07:32:38.000000Z K 7 svn:log V 131 o move path in libutil.h to paths.h o make property_read() take a fd instead to avoid stdio.h mess o update auth to new interface. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-09T07:33:58.000000Z K 7 svn:log V 39 Update docs to match interface change. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-09T07:34:47.000000Z K 7 svn:log V 66 Move auth.conf path in here. Doesn't affect published interface. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-09T07:40:22.000000Z K 7 svn:log V 43 MFC: for /usr/doc since it's not branched. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-09T09:18:49.000000Z K 7 svn:log V 62 Adjust documentation to note the 3 boot images available now. END K 10 svn:author V 3 des K 8 svn:date V 27 1998-10-09T10:33:46.000000Z K 7 svn:log V 281 fread() returns 0 on eof or error, not EOF. This fixes the following bug: "head -c " never exit and loops forever (until it is killed), if the input stream has fewer bytes than specified (n). PR: bin/8225 Submitted-by: FUJIMOTO Kensaku END K 10 svn:author V 3 des K 8 svn:date V 27 1998-10-09T10:40:03.000000Z K 7 svn:log V 286 MFC: fread() returns 0 on eof or error, not EOF. This fixes the following bug: "head -c " never exit and loops forever (until it is killed), if the input stream has fewer bytes than specified (n). PR: bin/8225 Submitted-by: FUJIMOTO Kensaku END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-09T11:03:46.000000Z K 7 svn:log V 21 Fix damaged comment. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-09T11:24:20.000000Z K 7 svn:log V 53 Now take stdio.h out of files that don't require it. END K 10 svn:author V 3 kjc K 8 svn:date V 27 1998-10-09T11:48:22.000000Z K 7 svn:log V 164 fix a bug which could lock up a transmitter. don't use the entire buffer space. if WRTX becomes equal to RDTX, the transmitter stops assuming the buffer is empty. END K 10 svn:author V 3 des K 8 svn:date V 27 1998-10-09T11:50:52.000000Z K 7 svn:log V 202 Bring inetd almost in sync with CURRENT (mostly nits, such as printf format errors, missing printf arguments, 0 instead of NULL) in preparation for bringing in Graham Wheeler's signal handling patches. END K 10 svn:author V 4 kato K 8 svn:date V 27 1998-10-09T12:36:25.000000Z K 7 svn:log V 50 Sync with sys/i386/i386/machdep.c revision 1.312. END K 10 svn:author V 5 abial K 8 svn:date V 27 1998-10-09T12:42:20.000000Z K 7 svn:log V 74 Fix for bad calculation of netmask bits. I'm amazed it worked thus far... END K 10 svn:author V 5 abial K 8 svn:date V 27 1998-10-09T12:42:56.000000Z K 7 svn:log V 41 Put some #ifdef's around debugging code. END K 10 svn:author V 3 des K 8 svn:date V 27 1998-10-09T17:11:14.000000Z K 7 svn:log V 41 Hand me the pointy hat, and make it big. END K 10 svn:author V 8 rnordier K 8 svn:date V 27 1998-10-09T17:19:51.000000Z K 7 svn:log V 56 Get this building as a.out or ELF. With thanks to: jdp END K 10 svn:author V 5 gibbs K 8 svn:date V 27 1998-10-09T17:41:39.000000Z K 7 svn:log V 85 When 'using defaults' ensure that termination is enabled. Removed some unused code. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 1998-10-09T17:42:28.000000Z K 7 svn:log V 128 Pass termination information via softc flags to the core driver. The EISA probe missed out on this change in attach->core API. END K 10 svn:author V 2 dt K 8 svn:date V 27 1998-10-09T19:01:30.000000Z K 7 svn:log V 213 Fix some bugs in pthread scheduler: make pthread_yield() more reliable, threads always (I hope) preempted at least every 0.1 sec, as intended. PR: bin/7744 Submitted by: "Richard Seaman, Jr." END K 10 svn:author V 5 markm K 8 svn:date V 27 1998-10-09T20:14:48.000000Z K 7 svn:log V 63 Add JKH's auth.conf parser to turn on/off Kerberos in userland END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-09T20:35:45.000000Z K 7 svn:log V 101 An elf_reloc() function for the i386. Based on alpha/alpha/elf_machdep.c and rtld-elf/i386/reloc.c. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-09T20:38:03.000000Z K 7 svn:log V 166 Null commit.. CVS aborted on freefall last time (reaonly file). An elf_reloc() function for the i386. Based on alpha/alpha/elf_machdep.c and rtld-elf/i386/reloc.c. END K 10 svn:author V 6 msmith K 8 svn:date V 27 1998-10-09T21:21:34.000000Z K 7 svn:log V 91 Don't try to initialise the environment out of a sysinit, it's handled in MD code instead. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 1998-10-09T21:38:36.000000Z K 7 svn:log V 136 Hook up ahapoll so that dumps, synchronize cache commands or any other command that comes in through xpt_polled_action works correctly. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 1998-10-09T21:40:50.000000Z K 7 svn:log V 319 Only pull 16 bits of residual information from completing queues. This is a work-around from an LRAM access bug on the 940UA. In a future microcode revision, the high 16bits of residual information will be moved to a safe location and we'll return to 32bit residuals. Since we only allow 64KB I/O, 16bits is enough. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 1998-10-09T21:42:19.000000Z K 7 svn:log V 203 Call dpt_intr from our timeout routine to clear any pending commands before performing actual timeout processing. Modify a few printf statements. Submitted by: Simon Shapiro END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-09T22:22:34.000000Z K 7 svn:log V 51 Clean up the boot targets a bit. Suggested by: jdp END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-09T23:03:27.000000Z K 7 svn:log V 202 Add SI_SUB_KLD First part of support for merging SYSINIT sets. This, and the following KLD commits have been OK'ed by jkh and msmith based on my assertion that it works here (barring merge errors :-). END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-09T23:05:45.000000Z K 7 svn:log V 138 A hook for storing the origin of a module, this is important when it's being registered in sorted sysinit sequence and not in load order. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-09T23:07:27.000000Z K 7 svn:log V 246 Debug typo fixes. Change symbol_values return type to int, on the chance that we've been given the wrong symbol table. Symbols have a string index that must be relative to the correct string table. Add prototypes for better kld support for ddb. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-09T23:08:14.000000Z K 7 svn:log V 44 elf_machdep.c and rindex.c are now standard END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-09T23:11:05.000000Z K 7 svn:log V 240 loader <-> kernel preload module interface constants moved to common file. Remove Mike's explicit data structures for dependency info. This is done via DT_NEEDED etc in the dynamic section for now. This may need to be revisited later on. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-09T23:12:34.000000Z K 7 svn:log V 92 Use a consistant module search path (same as kernel will be). Use new dependency mechanism. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-09T23:15:39.000000Z K 7 svn:log V 307 Preload support for a.out KLD not implemented yet. (almost) KLD modules are *not* PIC. (Shared libs are pic to avoid relocations causing copy-on-write, that's irrelevant here). setenv kernelname when we load it. Use MODINFO_SSYM/ESYM for each symbol section when (if) there are more than one being loaded. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-09T23:18:43.000000Z K 7 svn:log V 282 Implement preloading for elf modules - get dependency info from PT_DYNAMIC's DT_NEEDED tags. - store MODINFOMD_DYNAMIC for the kernel's later use setenv kernelname when we have it Fix firstaddr/lastaddr calculation (duh! :-) Explicitly skip string table with section names in it. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-09T23:20:47.000000Z K 7 svn:log V 134 Remove kernelname setenv, the common code does it. Use the metadata for symtab pointers, mainly to keep it common with elf_freebsd.c. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-09T23:22:30.000000Z K 7 svn:log V 169 Turn symbol table info passing back on, although it's probably not particularly useful in this form. KLD can deal with it much better. setenv kernelname moved earlier. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-09T23:24:55.000000Z K 7 svn:log V 270 Attempt to at least align MODINFO_* blocks. IMHO, decoding this stuff should be MD code since one day we'll have to recover pages from deleted preload data. MI code can't be expected to know how to deal with pmap internals, assuming it gets done via pmap that is. :-) END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-09T23:26:26.000000Z K 7 svn:log V 113 Remove DDB_ELF_SYMBOLS and DDB_KLD_SYMBOLS options. KLD will be the sole interface to symbols in an elf kernel. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-09T23:29:44.000000Z K 7 svn:log V 258 We don't compile this on an elf kernel (and explicitly not on alpha in case it's possible to compile in something like ECOFF) The three db_xxx.c symbol interfaces are "standard" because config isn't flexible enough without forcing the user to know about it. END K 10 svn:author V 8 rnordier K 8 svn:date V 27 1998-10-09T23:30:16.000000Z K 7 svn:log V 154 Turn off the new /sys/boot stuff (except boot0) unless OBJFORMAT is elf. (The BTX client must be ELF, though it is packaged as a.out for compatibility.) END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-09T23:32:03.000000Z K 7 svn:log V 329 At the moment, the alpha tentatively uses the ddb elf code rather than KLD, because the alpha boot loader hasn't been converted yet, and because it needs the full symbol tables with local symbols in order to make sense of stack tracebacks. KLD will implement this (using full sybmol table rather than the globals only) shortly. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-09T23:34:09.000000Z K 7 svn:log V 300 Call some helper routines to be supplied by kern_linker.c in order to get to all the symbol tables for all modules, not just the core kernel symbol table. Yes, DDB can see KLD module symbols with this, both by lookup and in tracebacks. No more references to _end from tracebacks within an LKM. :-) END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-09T23:36:26.000000Z K 7 svn:log V 314 Relocate the preload module info from machdep specifically rather than trying to do it in locore. We also walk through the module table and relocate any MODINFO_ADDR pointers so that they become KVM relative rather than physical addresses. This means that hacks for adding 0xf0000000 in places like MFS go away. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-09T23:37:37.000000Z K 7 svn:log V 85 MODINFO_ADDR has real addresses now, remove the manual relocation based on cpu type. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-09T23:42:47.000000Z K 7 svn:log V 633 Implement merging SYSINIT's from preloaded KLD modules. This means we check off SYSINIT entries as they are run, and when more arrive, we re-sort and restart (skipping the already-run entries). This can *only* be done after KMEM (and malloc) is up and running - this is fine because KLD is the only consumer of this and it's done after that. The nice thing about this is that the SYSINIT's within preloaded KLD modules are executed in their natural order. It should be possible to register devices for the probes which follow, etc. (soon.. several key things prevent this, such as use of linker sets for things like pci devices). END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-09T23:49:28.000000Z K 7 svn:log V 807 Updates for KLD backends. - symbol_values checks that the symbol is indeed belonging to the correct symbol and string table pairs before looking up. (since there could be many pairs, and KLD/DDB need to find out). - different ops for files versus preload modules - the unload mechanism is different. (a preloaded module has to be deleted on unload since the in-core image is tainted by relocation and variables used) - Do not build an a.out kernel module if we're running on an elf kernel. :-) Note that it should theoretically be possible to mix a.out and elf KLD modules providing -mno-underscores was used to compile it, or some other symbol conversion takes place. - Support preload modules (even though /boot/loader doesn't yet) - Search the module path when loading files. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-09T23:55:31.000000Z K 7 svn:log V 687 Fully implement KLD and preloading. - seperate unload for preloaded linker objects. - Don't build a kernel object if running as an a.out kernel. - extract the real kernel name rather than hardwiring "kernel" for kldstat. (sysctl kern.bootfile getst the full name via bootinfo) - use real addresses on the kernel "module" rather than fictitious ones. - preloaded module support - search module path for file modules. - symbols are checked to see if they are in the right containing file before using their indexes into string tables. This is to help ddb since it only supplies a pointer to an opaque symbol and there is no telling which file/object/module/whatever it came from. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-09T23:59:01.000000Z K 7 svn:log V 565 Updates for alignment rounding. XXX this is highly machine dependent and should probably be moved to i386/i386/link_machdep.c (and the same for the alpha). Implement "deleting" a preloaded module by destroying it's tags. This is a hack. We cannot reuse the data, it's been destroyed by relocation, statically initialized variables have been modified, etc. Note that to reclaim the load space is going to be more machine-dependent work. Implement a relocate hook for machdep.c to call so that the physical addresses get converted to the equivalent KVM addresses. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-10T00:03:07.000000Z K 7 svn:log V 348 Keep track of the containing file for modules. This is a bit of a hack, but I can't think of another (relatively) easy way of getting the info since the boot-time initialization is not done immediately after "loading". XXX module_register() gained an extra arg. This might break the alpha compile, if so, just add a zero to get the old behavior. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-10T00:07:53.000000Z K 7 svn:log V 389 Use Mike Smith's linker module search path code. Implement preloading in a fairly MI way, assuming the information is prepared. DDB interface helpers.. Provide some support for db_kld.c so that we don't have to export too much detail. Debugging and cosmetic nits left in from development.. The other half of the containing file hack so modules can associate themselves with their "file". END K 10 svn:author V 3 imp K 8 svn:date V 27 1998-10-10T00:44:12.000000Z K 7 svn:log V 289 Fix conficts in probe: o For bt and aha only probe the one I/O range if a specific I/O is specified in the config file. o Don't even try to probe I/O ranges that have been seen already. o If we conflict with an IRQ or DRQ, then fail the probe. Requested by: bde, gibbs Approved by: jkh END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-10T01:00:56.000000Z K 7 svn:log V 35 rm *.so and *.ko in clean as well. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-10T02:29:07.000000Z K 7 svn:log V 71 Display module type as well as module name when we find one preloaded. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-10T02:44:53.000000Z K 7 svn:log V 366 Attempt to work around the page fault in tulip_txput(). I've been running this myself for ages, but wasn't able to get any feedback from the people that I sent it to for testing. Guy Helmer has given it a shot (before getting on a plane, thanks!) and it appears to stop his reproducable page fault panic in the testing he was able to do. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-10T08:12:24.000000Z K 7 svn:log V 57 Allow more flexible use of MFS root. Submitted by: peter END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-10T08:13:58.000000Z K 7 svn:log V 104 Add entries for MFS which are consistent with the others, now that Peter has made this more selectable. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-10T08:15:38.000000Z K 7 svn:log V 30 Adjust for new MFS root code. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-10T08:21:18.000000Z K 7 svn:log V 86 Don't chain makes with &&; apparently this is evil for parallelism. According to: bde END K 10 svn:author V 6 obrien K 8 svn:date V 27 1998-10-10T09:25:12.000000Z K 7 svn:log V 30 Add GENERIC rev 1.124 changes END K 10 svn:author V 4 kato K 8 svn:date V 27 1998-10-10T09:38:02.000000Z K 7 svn:log V 29 PC-98 doesn't have CMOS ram. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-10T09:43:44.000000Z K 7 svn:log V 41 Add missing newline to debugging output. END K 10 svn:author V 7 thepish K 8 svn:date V 27 1998-10-10T09:58:20.000000Z K 7 svn:log V 71 PR: bin/8250 protect against buffer overruns in mail temporary files. END K 10 svn:author V 3 des K 8 svn:date V 27 1998-10-10T10:27:30.000000Z K 7 svn:log V 125 Make the probe message consistent with the rest of the kernel. PR: i386/8245 Submitted-by: John Saunders END K 10 svn:author V 4 kato K 8 svn:date V 27 1998-10-10T10:36:12.000000Z K 7 svn:log V 29 PC-98 doesn't have CMOS ram. END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-10T10:54:54.000000Z K 7 svn:log V 123 Quick commit to see if I can't fix Robert's i386/boot problem in one line. If this doesn't work, we'll try something else. END K 10 svn:author V 4 kato K 8 svn:date V 27 1998-10-10T11:16:08.000000Z K 7 svn:log V 157 PC-98 uses different boot code from IBM-PC. So, MACHINE is used instead of MACHINE_ARCH. Submitted by: Takahashi Yoshihiro END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-10-10T12:48:48.000000Z K 7 svn:log V 191 Don't build or install ${MAN1}. It's just a copy of ${MAN1aout} and installing it clobbers the elf ${MAN1}. The MAN1 -> MAN1aout changes actually work now. Fixed order of MAN* and BINDIR. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-10-10T13:11:39.000000Z K 7 svn:log V 110 Fixed searching for section "1aout" man pages. Section numbers must be single digits or in the section list. END K 10 svn:author V 6 eivind K 8 svn:date V 27 1998-10-10T13:31:32.000000Z K 7 svn:log V 280 Remove the description of EBADF (that's an implementation detail if I ever saw one), and move the description of NULL behaviour out to a 'NOTES' section, with an extra note that programs should not rely up on it. Kinda-approve-by: bde (by not replying to the mail with the diff) END K 10 svn:author V 4 kato K 8 svn:date V 27 1998-10-10T13:37:16.000000Z K 7 svn:log V 104 mp_machdep.c: Set a vector to boot code (PC-98). locore.s: Tell the bios to warmboot next time (PC-98). END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-10-10T13:51:24.000000Z K 7 svn:log V 295 Fixed warnings for pointer versus int type mismatches. Addresses must be converted to fixed-sized integers when they are passed across the binary interface to the kernel. Didn't fix rotted bits (including not passing dosdev to the kernel and serious out of dateness when initially committed). END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-10-10T14:02:07.000000Z K 7 svn:log V 172 Fixed warnings for pointer versus int type mismatches. Addresses must be converted to fixed-sized integers when they are passed across the binary interface to the kernel. END K 10 svn:author V 8 rnordier K 8 svn:date V 27 1998-10-10T14:03:03.000000Z K 7 svn:log V 62 Fix a typo. Output another newline before invoking bootstrap. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-10-10T14:30:05.000000Z K 7 svn:log V 178 Don't pretend to support ix86's with 16-bit ints by using longs just to ensure 32-bit variables. Doing so broke i386's with 64-bit longs. This also fixes printf format errors. END K 10 svn:author V 8 rnordier K 8 svn:date V 27 1998-10-10T15:47:16.000000Z K 7 svn:log V 89 Kill an extraneous dot. PR: 8103 Submitted by: Kazuo Horikawa END K 10 svn:author V 7 gpalmer K 8 svn:date V 27 1998-10-10T18:32:18.000000Z K 7 svn:log V 62 Make kernel build on alpha again. New kld stuff needs rindex. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-10-10T18:37:02.000000Z K 7 svn:log V 53 Removed debugging cruft. Broken in: previous commit END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-10-10T19:01:47.000000Z K 7 svn:log V 308 Fixed gross breakage in previous commit. The malloc sizes for the temporary file names were uninitialized if TMPDIR was set and 1 too small otherwise. Fixed style bugs in previous commit. Fixed missing checks for malloc failure in previous commit. Report malloc failure consistently, at least in temp.c. END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-10-10T19:18:30.000000Z K 7 svn:log V 290 vfork -> fork. This home made popen() had the same bug as the library popen(), but worse. The child calls execvp(), which calls malloc() a bit more than execl(), and it calls non-library functions that call malloc() and who-knows-what else (stdio is called in at least some error cases). END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-10-10T19:21:39.000000Z K 7 svn:log V 60 vfork -> fork. The child calls abort(), which calls stdio. END K 10 svn:author V 2 dg K 8 svn:date V 27 1998-10-10T19:26:40.000000Z K 7 svn:log V 31 Fixed mbuf leak in fxp_stop(). END K 10 svn:author V 3 bde K 8 svn:date V 27 1998-10-10T19:30:45.000000Z K 7 svn:log V 422 vfork -> fork. The child calls execl() which calls malloc(), so vfork() can't be used. We could use alloca() in execl() so that it can be called between vfork() and execve(), but a "portable" popen() shouldn't depend on this. Calling execle() instead of execl() should be fairly safe, since execle() is supposed to be callable from signal handlers and signal handlers can't call malloc(). However, execle() is broken. END K 10 svn:author V 2 dg K 8 svn:date V 27 1998-10-10T19:51:00.000000Z K 7 svn:log V 61 Brought in fix from rev 1.56: fixed mbuf leak in fxp_stop(). END K 10 svn:author V 3 jkh K 8 svn:date V 27 1998-10-10T19:56:59.000000Z K 7 svn:log V 78 Move OBJFORMAT hack to the correct line; what can I say, it was very late. :) END K 10 svn:author V 5 gibbs K 8 svn:date V 27 1998-10-10T21:10:36.000000Z K 7 svn:log V 178 If the bus delay is >= 2 seconds, notify the user that we are waiting for devices to settle. This will hopefully allay any 'first installation' fears that the machine has hung. END K 10 svn:author V 4 dima K 8 svn:date V 27 1998-10-11T03:53:35.000000Z K 7 svn:log V 19 add END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-11T04:10:14.000000Z K 7 svn:log V 147 Don't install an elf liby.so[.2] in /usr/lib/compat. We have never had any elf binaries linked against it. Try and clean up the mess left over.. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-11T04:18:30.000000Z K 7 svn:log V 256 Don't install an elf libgnumalloc.so* in /usr/lib/compat.. No elf binaries have been linked against it. Try and clean up the leftovers. Also, put the a.out libs in /usr/lib/compat/aout since that's where the default a.out ldconfig compat path points to. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-11T04:21:56.000000Z K 7 svn:log V 208 Don't build elf libresolv.so*, no elf freebsd binaries have used it ever. Also, the a.out compat version is supposed to go into /usr/lib/compat/aout. Try and clean up the mess left behind in /usr/lib/compat. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-11T04:39:56.000000Z K 7 svn:log V 303 Deal with /usr/lib/compat/aout, and that we've been installing things in the wrong places for a while. Also, the the libtermlib.so -> libtermcap.so manually for elf, otherwise the hard link follows the symlink and the result looks rather wierd. The *.a files are still hard linked under elf as before. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-11T04:41:43.000000Z K 7 svn:log V 140 libatm uses libmd; add it to the dependency list so that programs using libatm are not forced to know the internals of it's implementation. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-11T04:44:12.000000Z K 7 svn:log V 146 libf2c.so.* depends on libm.so. I'm not sure that this matters in this case because I expect the f2c front-end should add the -lm automatically. END K 10 svn:author V 5 peter K 8 svn:date V 27 1998-10-11T04:45:50.000000Z K 7 svn:log V 124 libopie also depends on libmd. Programs using libopie shouldn't have to know about libopie's internals in order to use it. END K 10 svn:author V 3 jdp K 8 svn:date V 27 1998-10-11T04:54:16.000000Z K 7 svn:log V 257 Fix a couple of out-of-bounds array references in mapping between Linux and FreeBSD signal numbers. Also, check signal numbers passed in from application programs for validity. Without these checks, it is trivial to panic the system from a Linux program. END