aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Added the TODO file. Also wanted to announce the previous change to rtld.cJordan K. Hubbard1993-12-091-0/+4
| | | | | | | | which eliminates the stack walking code (from David G.). My previous commit message was eaten by mistake! Notes: svn path=/head/; revision=836
* David Greenman's latest changes to eliminate much stack-walking jazzJordan K. Hubbard1993-12-092-188/+16
| | | | | | | (no more sbrk_init()!). Notes: svn path=/head/; revision=835
* 1) Fix error with port recognition, speed initialization codeAndrey A. Chernov1993-12-093-6/+39
| | | | | | | | | | added to probe. 2) Force CLOCAL=on for outgoing ports and CLOCAL=off for incoming ports into open in bidirectional case. 3) Add DELAY after writing to com_ier for fifo drain into probe. Notes: svn path=/head/; revision=834
* We've got accounting, might as well have a directory for it.Nate Williams1993-12-081-0/+2
| | | | Notes: svn path=/head/; revision=833
* Fixed spelling error. Added NSIP (XNS over IP). Fixed TP class 4 overGarrett Wollman1993-12-063-9/+12
| | | | | | | | IP line (TPIP) to be an option rather than a pseudo-device (the code keys off #ifdef TPIP, not #if NTPIP > 0, as makes sense). Notes: svn path=/head/; revision=832
* Added entries for sup into services.Andreas Schulz1993-12-052-1/+8
| | | | | | | Added an example entry for the pop3 popper into inetd.conf as a comment. Notes: svn path=/head/; revision=831
* Fixed the error that a Fdopen succeeds without a found fd controller inAndreas Schulz1993-12-043-6/+9
| | | | | | | the system. Notes: svn path=/head/; revision=830
* More changes to bring FreeBSD in sync with Paul K's latest.Jordan K. Hubbard1993-12-042-6/+6
| | | | Notes: svn path=/head/; revision=829
* More changes to bring FreBSD in sync with Paul K's latest.Jordan K. Hubbard1993-12-048-282/+42
| | | | Notes: svn path=/head/; revision=828
* From: Jeffrey Hsu <hsu@soda.berkeley.edu>Andrew Moore1993-12-039-9/+26
| | | | | | | | | | | | | | | | | | | | | | | | | The following patch adds the addr argument to signal handlers. The kernel with the patch is no more and no less in compliance or in violation of POSIX and ANSI C than the kernel before the patch. The added functionality this addr argument provides is quite useful. It enables an entire class of algorithms which use mprotect to trace memory references. Beside garbage collectors, I have heard of this technique being applied to debuggers and profilers. The only benchmarking I've performed is using akcl to compile maxima: without the kernel patch, it takes 7 hours to compile maxima, while with stratified garbage collection, it only takes 50 minutes. Basically, I can't think of a reason not to add the addr argument and there is a compelling need for it. If you find the patch acceptable, please let me know so I can send my FreeBSD akcl config files to wfs for inclusion in the core akcl release. The old 386BSD config files there won't work on either NetBSD or FreeBSD. Notes: svn path=/head/; revision=827
* Reset fdc during probe.Andrew Moore1993-12-033-3/+21
| | | | | | | | | | | | | | | From: <dec@lazarus.nrtc.northrop.com> Changes between EPSILON and RELEASE of FreeBSD have again caused the kernel to not see my floppy disk drives. I don't know what happened, 'cause I don't see any changes to fd.c, but here is an old fix that I have applied to the probe routine which will solve the problem (at least for me). Since this is a rather brute-force solution - I understand if you want to ignore it... [Upgrading to pre-Beta FreeBSD caused this on my system. -AM] Notes: svn path=/head/; revision=826
* Sorry, Jordan, but I restore previous version again.Andrey A. Chernov1993-12-021-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | You write that LDFLAGS+= -Xlinker -Bstatic no more needed, but you have CFLAGS += -static -I$(.CURDIR) -I$(.CURDIR)/$(MACHINE) This -static doesn't make any sense in your version, because it not passed to linker's state (LDFLAGS), so we have SHARED /usr/bin/ld in this case. (Older Makefile produce non-shared ld). I suppose, that -static in CFLAGS was introduced to make non-shared ld, so I restore previous LDFLAGS to have non-shared ld. If we want to have shared ld we need to remove -static from CFLAGS too, not only LDFLAGS, but this need special issue and corresponding commit log. Your current version hang into intermediate state (beetween two sides), so I move it to one side. Second, I restore NOPIC dependance again from older Makefile: .if !defined(NOPIC) SUBDIR+= rtld .endif We don't need ld.so, if NOPIC P.S. I don't see any purpose to commit new makefile, old version is better. Notes: svn path=/head/; revision=825
* #ifdef DEBUG unwanted message, third time after Jordan...Andrey A. Chernov1993-12-021-2/+2
| | | | Notes: svn path=/head/; revision=824
* Moved DEBUG conditional where it belonged to remove DEBUG code out ofNate Williams1993-12-021-2/+2
| | | | | | | default compilation. Notes: svn path=/head/; revision=823
* Second attempt to integrate Paul K's changes.Jordan K. Hubbard1993-12-022-2/+112
| | | | Notes: svn path=/head/; revision=822
* Second attempt to integrate Paul K's changes.Jordan K. Hubbard1993-12-024-20/+36
| | | | Notes: svn path=/head/; revision=821
* deleted all references to rindex and included string.h instead.Andreas Schulz1993-12-011-6/+6
| | | | Notes: svn path=/head/; revision=820
* changed the order of the includes and deleted a reference to indexAndreas Schulz1993-12-013-5/+5
| | | | | | | nd added an include to string.h instead Notes: svn path=/head/; revision=819
* All -static and -Xlinker -Bstatic flags missed inAndrey A. Chernov1993-12-011-4/+8
| | | | | | | | | | newly commited Makefile. NOPIC dependance missed too! Oh it is really pain to check all that broken stuff, Please, check it *before* commit! Notes: svn path=/head/; revision=818
* #ifdef DEBUG missed by several lines!Andrey A. Chernov1993-12-011-2/+2
| | | | | | | !!! Please, COMPILE *BEFORE* COMMIT! Notes: svn path=/head/; revision=817
* Add DEBUG #ifdef, (second time!)Andrey A. Chernov1993-12-011-1/+3
| | | | | | | | !!! Please, anybody who update ld to NetBSD current, !!! look at old cvs logs! Notes: svn path=/head/; revision=816
* Remove hanging #else part (with second sbrk()) without #if & #endifAndrey A. Chernov1993-12-012-110/+6
| | | | | | | | | Add missing argument to findshlib, I am not shure, but it seems that it is 1. !!! Does anybody compile it before commit? Notes: svn path=/head/; revision=815
* Remove -g option (second time!)Andrey A. Chernov1993-12-011-2/+2
| | | | | | | | !!! Please anybody who port Makefiles from NetBSD, !!! remove -g option! Notes: svn path=/head/; revision=814
* From: Julian Howard Stacey <stacey@guug.de>Rodney W. Grimes1993-12-011-2/+1
| | | | | | | | | | | | Subject: Bug & Fix for etc/Makefile cpio-floppy: re /tmp creation. Date: Fri, 26 Nov 1993 11:35:04 +0100 Editors Note: tmp was listed in the CPIO_FILES section and thus the entire contents of ${DESTDIR}/tmp would end up on the cpio floppy. This fix moves tmp to CPIO_DIRS so that no longer happens. Notes: svn path=/head/; revision=813
* Latest from Paul K. for better checking of PIC code.Jordan K. Hubbard1993-11-308-51/+187
| | | | Notes: svn path=/head/; revision=812
* Many recent fixes from Paul K, add support for chaining of shared lib deps.Jordan K. Hubbard1993-11-3018-233/+704
| | | | Notes: svn path=/head/; revision=811
* allow spaces in $sendmail_flags.Rich Murphey1993-11-301-2/+2
| | | | Notes: svn path=/head/; revision=810
* wmesg was too long (>7), fixedAndrey A. Chernov1993-11-292-6/+6
| | | | Notes: svn path=/head/; revision=809
* * Revision 2.16 1993/11/29 16:55:56 davidgDavid Greenman1993-11-294-20/+56
| | | | | | | | | | | * merged in Garrett Wollman's strict prototype changes * * Revision 2.15 1993/11/29 16:32:58 davidg * From Thomas Sandford <t.d.g.sandford@comp.brad.ac.uk> * Add support for the 8013W board type Notes: svn path=/head/; revision=808
* Direct #undefs removed to allow flexible manipulationAndrey A. Chernov1993-11-283-32/+14
| | | | | | | | via config options. Unneded #defines removed. Improved dependance of "snd.h" and NSND. Notes: svn path=/head/; revision=807
* Patch from Gene Stark:David Greenman1993-11-283-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Subject: Page fault in PTE area fails in copyout Index: sys/i386/i386/trap.c FreeBSD-1.0.2 Description: Reading files of several megabytes into Emacs, or many small files all at once, would fail with "IO error - bad address". Repeat-By: The bug can be exercised by a test program that malloc()'s a 5MB chunk of memory, and then, without accessing the memory first, filling it with data from a file using read(). (I read 64k chunks from /dev/wd0d into successive 64k regions of the 5MB chunk.) The read() will fail with EFAULT at the first virtual address boundary that is a multiple of 0x400000. Fix: The problem was code in sys/i386/i386/trap.c that tries to figure out what kind of trap occurred and to handle it appropriately. It was interpreting any page fault with virtual address >= vm->vm_maxsaddr as being a user stack segment fault. In fact, addresses >= USRSTACK are in the user structure/PTE area, and if they are handled as stack faults, the proper PTE will not be paged in when it is supposed to be. This situation comes up in copyout() and copyoutstr(), if PTE's are accessed for the first time ever. The page fault on accessing the nonexistent PTE is mishandled as a stack fault, and then the fault that occurs on the subsequent access to the page itself causes copyout to fail with EFAULT. Notes: svn path=/head/; revision=806
* Move soundcard.h & ultrasound.h to proper location <machine/...>Andrey A. Chernov1993-11-2710-20/+139
| | | | | | | to allow application access it. Notes: svn path=/head/; revision=805
* Declare cnopen, cnclose, and other console routines.Garrett Wollman1993-11-272-4/+32
| | | | Notes: svn path=/head/; revision=804
* Declared cn{open,close,read,write,ioctl,select} extern.Rich Murphey1993-11-271-1/+7
| | | | Notes: svn path=/head/; revision=803
* Fix conflicting prototypes and return values.Rich Murphey1993-11-273-63/+114
| | | | Notes: svn path=/head/; revision=802
* Fix d_write_t -> d_rdwr_t (typing error).Garrett Wollman1993-11-261-8/+4
| | | | Notes: svn path=/head/; revision=801
* Don't start update daemon; it's now internel to the kernel.David Greenman1993-11-251-2/+1
| | | | Notes: svn path=/head/; revision=800
* Patch from Julian Elischer:David Greenman1993-11-251-2/+3
| | | | | | | | | | | | | | | | | Here is the fix for the 'hanging' bug. This bug happenned whenever two operations were already underway on the disk and a third (non-IO) command was requested.. in this case the process submitting the NON-IO command was requested to wait, and a flag set so that on completion of the IO commands, the Non-io command was given priority over any pending IO commands. (the queue is not allowed to drain while there are pending "special" ops). The flag that indicated this was not being reset, so further IO commands were prohibited from that moment on. Notes: svn path=/head/; revision=799
* Make the LINT kernel compile with -W -Wreturn-type -Wcomment -Werror, andGarrett Wollman1993-11-2590-926/+1571
| | | | | | | add same (sans -Werror) to Makefile for future compilations. Notes: svn path=/head/; revision=798
* Added -lgcc_pic back again.Jordan K. Hubbard1993-11-252-4/+4
| | | | Notes: svn path=/head/; revision=797
* /var/run is cleared on boot. Rerun 'ldconfig /usr/X386/lib' afterRich Murphey1993-11-241-1/+5
| | | | | | | clearing /var/run if /sbin/ldconfig exists. Notes: svn path=/head/; revision=796
* Subject: Panic - can't mount route (Soren's changes)Nate Williams1993-11-231-2/+2
| | | | | | | | | | | | | | | | From: Geoff Rehmet <g89r4222@braae.ru.ac.za> Description: On bootup, probe of wd drives fails (CP30104), and kernel panics - cannot mount root It appears that the device probe just times out. Increasing the timeout back to its old value fixes the problem. Repeat-By: SUP FreBSD-current, Find a CP30104 ..... (ok ok ok) Basically - Soren's changes barf my disk. Notes: svn path=/head/; revision=795
* Changed return(-1) in switch_scr to return(EINVAL), because -1 isChristoph Robitschko1993-11-233-6/+6
| | | | | | | ERESTART on return from a system call. Notes: svn path=/head/; revision=794
* Stop gap measure until we can get Bruce's driver debugged.Nate Williams1993-11-221-70/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | --- From: sos@login.dkuug.dk (S|ren Schmidt) Subject: IDE-disk hangs - solution/patches NetBSD/FreeBSD Summary: fixes for lost interrupts with IDE disks Keywords: hanging-disk, IDE-disk, lost-interrupt Due to "popular" demand I'm posting these patches to NetBSD/FreeBSD instead of mailing them around the world :-) As many have found out there is a problem when using IDE disks on FreeBSD. Following is a patch that fixes the problem with lost intterrupts. Both fixes is based on a patch posted here some month ago by Stefan Behrens?? (sorry I've lost the original article). But anyway it works (for me :-). Basically it does a timeout on lost interrupts, starting the operation again and logging and error message on the console. It additionally makes the allready present while loop timeouts independent of CPU speed, and adds minor numbers for easy access to dos partitions. Notes: svn path=/head/; revision=793
* Some of the latest changes from Paul K (taken from NetBSD-current).Jordan K. Hubbard1993-11-2215-103/+320
| | | | Notes: svn path=/head/; revision=792
* * Revision 2.14 1993/11/22 10:55:30 davidgDavid Greenman1993-11-224-110/+294
| | | | | | | | | | | | | | | | * change all splnet's to splimp's * * Revision 2.13 1993/11/22 10:53:52 davidg * patch to add support for SMC8216 (Elite-Ultra) boards * from Glen H. Lowe * * Revision 2.12 1993/11/07 18:04:13 davidg * fix from Garrett Wollman: * add a return(0) at the end of ed_probe so that if the various device * specific probes fail that we just don't fall of the end of the function. Notes: svn path=/head/; revision=791
* patches from Julian Elischer -David Greenman1993-11-223-5/+57
| | | | | | | Added support for mmapping /dev/mem Notes: svn path=/head/; revision=790
* Missing part of Julians new scsi code, add new driver uk and revise theRodney W. Grimes1993-11-222-78/+74
| | | | | | | entries for st. Notes: svn path=/head/; revision=789
* If we're not logging history information, don't demand write access.Jordan K. Hubbard1993-11-201-1/+1
| | | | Notes: svn path=/head/; revision=788
* added 5us delay before checking BUSY flag to conform to ATA spec -David Greenman1993-11-191-2/+17
| | | | | | | as suggested by John Dyson (dyson@implode.rain.com) Notes: svn path=/head/; revision=787