summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Add one forgotten u_quad_t typecast in dosetrlimit.ats1994-12-021-2/+2
|
* Add a check to make sure that we don't fiddle with the NFS routing tableswollman1994-12-021-10/+3
| | | | | as well (bleah!). Also, increase the interval to the real-life value and eliminate debugging printfs. This will be standard once tested by others.
* Change wakeup to endtsleep, because wakeup don't produce timeoutache1994-12-013-9/+12
| | | | state, cause infinite wakeups loop in ttywait
* Add latest version of ``advanced route metric management'' :-)wollman1994-12-011-18/+71
| | | | | As before, this is currently conditionalized on options IN_RMX until I'm sure it's working.
* The values for setrlimit in the data size and stack size case areats1994-12-011-6/+6
| | | | | | | | | | used as an address value. Then all comparisons should be done unsigned and not signed. Fix it with a typecast of u_quad_t. Error can be demonstrated with the current bash in port, do a ulimit -s unlimited and the machine hangs. bash delivers through an internal error a large negative value for the stacksize, the comparison saw this smaller than MAXSSIZ and then tried to expand the stack to this size.
* Changed the TIOCSTAT ioctl to a no argument type so that tcsh and friendsdg1994-11-301-2/+2
| | | | | don't have to pass in the address of a bogus variable just to make ioctl happy.
* Fix bug I introduced that broke BPF support. Caused by a byte order problemdg1994-11-303-9/+3
| | | | | in an if () expression. Problem fixed by removing the test for ETHERTYPE_* before passing packet to higher layers.
* Reverse the meaning of previous change.jkh1994-11-303-21/+15
| | | | | | Now floppy tape support is *disabled* unless you specifically request otherwise. Poul wanted it this way, and I guess I'm not going to argue though it may seem counter-intuitive. We can always change it back, later.
* Restore mv check, cause panic without itache1994-11-292-6/+2
| | | | Submitted by: Ade Barkah
* Put the sequencer into FASTMODE during initialization. I can nowgibbs1994-11-293-9/+18
| | | | get up to 8m/sec write performance out of a pd2100 with this driver.
* Merge in latest Linux sequencer code release with my changes. This shouldgibbs1994-11-295-170/+175
| | | | | | | | | | | | make the sequencer code fully compatible with the aic7870 (ie 294x adaptors). I've also added to my local mods putting the sequencer into "FASTMODE" clock. This gives upwards of 2M/sec write preformance improvement in some scenarios. There haven't been any reports of this causing problems, and I have been reaping the benifits of it for more than a week now. This also includes a new version of the pre-generated file <ugh> Obtained from: John Aycock (aycock@cpsc.ucalgary.ca) and myself
* Experimental change to floppy driver to NOT probe the floppy tape ifjkh1994-11-293-6/+21
| | | | | | flags & 0x1. Somebody should build a kernel with this and see if the floppy-tape damaged people can turn it off properly with userconfig. I can't reproduce the original problem here.
* Really deactivated the code that puts scsi stats into dk0.se1994-11-282-8/+8
| | | | | | This should have been disabled for some time, but I had screwed up ... This made spurious values appear for fd0 in systat, when there was NCR SCSI activity.
* Added: ICMP reply,TCP SYN check,logging..ugen1994-11-282-222/+224
|
* Include "scbus.h" in scsiconfig.c to get the number NSCBUS from theats1994-11-271-1/+2
| | | | config file.
* Comment out an illegal define (E_CLNL_???).ats1994-11-271-2/+2
|
* Fix previous change: don't attempt to reserve cblocks if the tty is null.bde1994-11-272-10/+16
|
* Expand again the SYMTAB_SPACE for LINT.ats1994-11-273-6/+6
|
* Go back to -O optimization...Bruce's arguments against -O2 are convincingdg1994-11-273-6/+6
| | | | enough for me.
* Temporary kludge: treat \r same as \n in input, so working on ajoerg1994-11-271-2/+2
| | | | | | | | | | | | | | comconsole will behave as expected. The true problem should be fixed instead, Bruce' comment for this: >Anyway, i found the reason for my problems: somehow, ICRNL isn't in >effect at `userconfig' time (but only for comconsole?), hence only ICRNL doesn't apply to cngetc(). cnputc() unconditionally does the equivalent of ONLCR; perhaps cngetc() should unconditionally do the equivalent of ICRNL. Ddb must be checking for CR. Userconfig only checks for NL. Userconfig works with syscons because pccngetc() does the conversion. This is probably the wrong place to do it.
* I made a syntax error yesterday.phk1994-11-272-4/+4
| | | | Submitted by: John Capo
* Expand the EISA MAX_SLOTS from 8 to 16.ats1994-11-262-4/+4
|
* Submitted by: Kirk McKusickbde1994-11-261-2/+2
| | | | | | | | | Allow chown() to return success if the gid isn't changed even if the gid is not the caller's. Such gids are normal for files created in world-writable directories sucj as /tmp. This "fixes" annoying error messages for mv'ing files created in /tmp to another file system. mv still preserves the foreign gid of /tmp, but now does it silently.
* Fix cblock starvation bugs by reserving enough cblocks for minimalbde1994-11-266-164/+339
| | | | | | | | | operation of each clist. Limit the growth of each clist. Clists can only grow larger than the reserved minimum if there are free cblocks in a shared pool. The size of this pool is now fixed (this could be improved). The reserved and maximum sizes are more carefully allocated for slip and ppp, depending on the mtu. A maximum MTU of 16384 is now enforced for ppp.
* Don't block for output in non-blocking mode if clists run out.bde1994-11-261-5/+11
| | | | | Remove an unnecessary test (if the output queue is above high water then it is nonempty).
* Always put received packets in an mbuf cluster. This simplifies the codedg1994-11-262-188/+42
| | | | considerably and is measurably faster. Various comment fixes.
* Set the bootverbose if so desired.phk1994-11-262-4/+24
| | | | | if (bootverbose) Print the geometries the bios passes to us (through the bootblocks).
* Declare "extern int bootverbose", so that device-drivers and othersphk1994-11-262-2/+4
| | | | easily can find it.
* Implement RB_VERBOSE. This is intended to mean: Print all information whichphk1994-11-262-3/+6
| | | | could be of any use for trouble-shooting problems with boot/devices/drivers.
* Changed the MAX_SLOTS constant from 8 to 16. The EISA bus can have upats1994-11-253-6/+6
| | | | to 16 slots.
* These changes fix a couple of lingering VM problems:dg1994-11-253-110/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. The pageout daemon used to block under certain circumstances, and we needed to add new functionality that would cause the pageout daemon to block more often. Now, the pageout daemon mostly just gets rid of pages and kills processes when the system is out of swap. The swapping, rss limiting and object cache trimming have been folded into a new daemon called "vmdaemon". This new daemon does things that need to be done for the VM system, but can block. For example, if the vmdaemon blocks for memory, the pageout daemon can take care of it. If the pageout daemon had blocked for memory, it was difficult to handle the situation correctly (and in some cases, was impossible). 2. The collapse problem has now been entirely fixed. It now appears to be impossible to accumulate unnecessary vm objects. The object collapsing now occurs when ref counts drop to one (where it is more likely to be more simple anyway because less pages would be out on disk.) The original fixes were incomplete in that pathological circumstances could still be contrived to cause uncontrolled growth of swap. Also, the old code still, under steady state conditions, used more swap space than necessary. When using the new code, users will generally notice a significant decrease in swap space usage, and theoretically, the system should be leaving fewer unused pages around competing for memory. Submitted by: John Dyson
* Added #define PROBE_VERBOSE and description (PCI chip set boot messages)se1994-11-243-3/+15
| | | | | | Reviewed by: Submitted by: Obtained from:
* Don't try to page to a vnode that had it's filesystem unmounted.dg1994-11-241-7/+23
|
* Moved conversion of ether_type to host byte order out of ethernet driversdg1994-11-2416-446/+48
| | | | | | and into ether_input(). It was silly to have bpf want this one way and ether_input want it another way. Ripped out trailer support from the few remaining drivers that still had it.
* Changed optimization level to -O2.dg1994-11-243-6/+6
|
* The long-time-waited-for patch for PPP.ugen1994-11-231-1/+2
| | | | | See Gene's mail for explanation.. Submitted by: Gene Stark
* Bunch of fixes from Matt Thomas:dg1994-11-223-129/+183
| | | | | | | | | | | | | | 1) make #includes correct 2) fix bugs in address check macros 3) fixed bugs in, and enabled, recopy if heavily fragmented code 4) moved call to bpf tap to be before enqueing packet (probably gratuitous) 5) fixed bug that caused "abnormal interrupt" at boot time/first use 6) added support for reading Zynx address ROM 7) fixed bug that caused broadcasts to not work shortly after booting (only manifested if not using multicast - e.g. not in FreeBSD 2.0) 8) fixed spelling errors in comments Submitted by: Matt Thomas
* Preallocate the first swap block to work around a failure with swap startingdg1994-11-221-2/+2
| | | | | at physical block 0. Note that this will show up in pstat -s and swapinfo as space "in use". In reality, the space is simply never made available.
* Fix wrong size check for scroll forward/backward ('S'/'T')ache1994-11-213-15/+15
|
* Attempt to fix scroll forward/ scroll backward bug bringed by vi,ache1994-11-213-12/+12
| | | | 'S' and 'T' use count 1 in fillw() instead of count == n.
* More intelligent BackTab fix using BTAB special key (unused before)ache1994-11-196-27/+33
|
* Fix all keymaps to bring BackTab to life.ache1994-11-193-18/+18
|
* I just learned that isa.h is included in assembler files too...phk1994-11-192-6/+4
|
* addphk1994-11-192-2/+6
| | | | | extern u_int atdevbase; /* offset in virtual memory of ISA io mem */ here for a moment, to get it into BETA
* Register with devconfg so we show up in lsdev.gibbs1994-11-183-3/+75
|
* Put ie0 above ep0. Otherwise, the ie0 probe clobbers it.jkh1994-11-182-4/+4
| | | | Submitted by: gibbs
* IO_EISASIZE should be 1 slot, not 2.gibbs1994-11-182-4/+4
|
* From: wpaul@ctr.columbia.edu (Bill Paul)jkh1994-11-181-4/+6
| | | | | | | | | | | | | | | | | Subject: Mea culpa -- small fix for netboot fixes In accordance with the unavoidable principle sof Murphy's Law, I discovered that the fixes I recently contributed for the netboot code had some small flaws in them. Two of them were just typos and had no effect on how the program functioned. The other one was a missing line from the rootopts and swapopts functions I created in bootmenu.c, which was supposed to initialize the NFS sotype flag. It defaults to UDP, and you can change it to TCP with the rootopts or swapopts commands, but then you can't change it back again. I originally had a line at the top of each function to reinitialize this flag, but somehow it got lost in the shuffle, probably because I don't actually have a need for that flag yet. Submitted by: wpaul
* Boy, was THIS buggered up! Calm the compiler by fixing the obviousjkh1994-11-181-8/+5
| | | | syntax errors.
* Improve the case for ST506 disks a bit: Pick up Bios-geometry.phk1994-11-181-6/+32
| | | | | | | | | That was the good news. The bad news is that bad144 is a proper mess, and I don't have time to fix it now, so you will probably not be able to use it anyway. Sorry guys, go out and buy a 100Mb IDE drive and a paddleboard :-( If somebody wants to pick up on this: bad144 needs to learn how to stay inside our slice of the disk. That's the trick.
OpenPOWER on IntegriCloud