84 Commits

Author SHA1 Message Date
cgd
94e47e37ce changes, running on sef's machine to good effect, likely contributed
by torek.  (sef told me to get them, and their origin...)
1993-04-09 17:13:17 +00:00
cgd
18e2f762df From: andrew@werple.apana.org.au (Andrew Herbert)
Here are some fixes I derived from the mach 3.0 VM system a couple of months
ago.  At the time, I was giving the memory object routines a good looking
at, trying to fix the long-standing problem where vm_object_collapse()
sometimes fails to collapse objects left over from the exit of a forked
child.  As bde has noted, the problem seems to occur when portions of the
parent are paged out.  These "lost" memory objects, which can eat up a huge
amount of swap space, are reclaimed when the parent responsible for the
fork()s is killed.
1993-04-09 16:53:46 +00:00
cgd
7629f3cea7 have probe return size of io space on successful return, rather
than simply 1.
1993-04-09 16:43:56 +00:00
cgd
4c443f4ec5 have probe return size of io space on successful return, rather
than simply 1.
1993-04-09 16:25:07 +00:00
cgd
2b1ba7a578 make printing of i/o addresses a bit prettier, and fix off-by-one error. 1993-04-09 16:24:26 +00:00
cgd
dbaf26ba57 from sean eric fagan:
it seems to keep the vm system from deadlocking the system when it runs
out of swap + physical memory.
prevents the system from giving the last page(s) to anything but the
referenced "processes" (especially important is the pager process,
which should never have to wait for a free page).
1993-04-09 15:54:56 +00:00
cgd
198f198f95 from Rodney W. Grimes (rgrimes@agora.rain.com) (patchkit patch 117):
This patch adds the symbol names to icu.s that vmstat expects
the interrupt counters to be called.  It also adds code to config
so that the names of the interrupts are written at the end of vectors.s
so vmstat can report real device names.  It also cleans up and enables
the logging of stray interrupts.  The counters for false interrupts
are added but the fix for them is not (the fix I have is not done
very good.) A false interrupt is when a device asserts it's interrupt
signal, then removes it before the 8259 can latch it.  This is the number
one cause of stray IRQ7's and IRQ15's.

        Additional device probe information is now printed.  This includes
ending I/O address (many drivers do not return the correct value from a
probe this still needs to be fixed), memory address and size, driver
flags passed in by config.
1993-04-09 13:43:40 +00:00
cgd
692ea175be from Rodney W. Grimes (rgrimes@agora.rain.com) (patchkit patch 117):
This patch adds the symbol names to icu.s that vmstat expects
the interrupt counters to be called.  It also adds code to config
so that the names of the interrupts are written at the end of vectors.s
so vmstat can report real device names.  It also cleans up and enables
the logging of stray interrupts.  The counters for false interrupts
are added but the fix for them is not (the fix I have is not done
very good.) A false interrupt is when a device asserts it's interrupt
signal, then removes it before the 8259 can latch it.  This is the number
one cause of stray IRQ7's and IRQ15's.

	Additional device probe information is now printed.  This includes
ending I/O address (many drivers do not return the correct value from a
probe this still needs to be fixed), memory address and size, driver
flags passed in by config.
1993-04-09 13:27:46 +00:00
cgd
c89324c584 fix from Chris Torek (patch 106):
386BSD inherits a bug from the 4.3 Reno port for contiguous block allocation.
1993-04-09 12:19:12 +00:00
cgd
1384c0448a added netccitt, netiso, and netns support, from (currently
alpha) patch 126
1993-04-09 12:00:07 +00:00
glass
191ee8bc20 fixes stupid piece of bpf code that duplicates cdefs.h's handling of
'inline' in such a way as to cause stupid warnings.
1993-04-09 11:02:51 +00:00
deraadt
183a26440d dmesg output at boottime now tries to print out information as
soon as it is available. The output looks much more like Sunos.
1993-04-08 08:26:46 +00:00
cgd
9b6953f9f3 to get scsi system, you now use "options SCSI" rather
than "controller scbus0" -- makes more sense
1993-04-08 04:08:00 +00:00
cgd
8757be9504 put scsi system file list in the right place (finally) 1993-04-08 04:05:33 +00:00
glass
8ea5ff777e attempting to open an already opened tape drive should get you EBUSY, not
ENXIO.
1993-04-08 00:20:02 +00:00
deraadt
f907931982 /* ... /* ... */ problem in an include file 1993-04-07 09:15:28 +00:00
deraadt
a50b7b2db2 wd7000 entry 1993-04-06 20:59:57 +00:00
deraadt
37d23cbb23 wd7000 device driver, put in IO_WDS entry in isa.h. You can now build a
kernel with it. Hope your dma works better than mine <grr>
1993-04-06 20:58:01 +00:00
cgd
210d7348a0 changed order of copyright/version notice (to match 4.4 boot string)... 1993-04-06 14:23:00 +00:00
deraadt
185d1d9ea4 ripped out a message 1993-04-06 12:09:55 +00:00
deraadt
b275fb96da <no drive> message gone. 1993-04-06 12:04:04 +00:00
deraadt
1e53ca51d2 fd.c -- changed type=0 to correspond to "drive not found" 1993-04-06 11:52:35 +00:00
deraadt
d83e248cae Modified floppy and WD enties for mod-barsoom controller type. 1993-04-06 10:49:30 +00:00
glass
e0b24d6c97 used by makesyscalls.sh to produce init_sysent.c, syscalls.c ../sys/syscall.h
edit this to add/delete/ifdef system calls
1993-04-06 10:39:51 +00:00
glass
690272c3aa added 'makesyscalls.sh' from BNR/2. Edit only 'syscalls.master'
recreates init_sysent.c syscalls.c ../sys/syscall.h which should
then be checked back in.
1993-04-06 10:37:09 +00:00
deraadt
edb03f4db4 deraadt@fsa.ca's kernel config file 1993-04-06 10:08:17 +00:00
deraadt
379e0feb95 Mod-barsoom wd additions. config program + kernel config files changed too.
fd support had to change slightly too.
1993-04-06 10:06:28 +00:00
deraadt
c8e8f3239c added: incomplete wd7000-asc scsi controller device driver. 1993-04-06 10:04:46 +00:00
deraadt
31d7586929 commit damnit! 1993-04-06 06:50:20 +00:00
deraadt
a6ea41181f selwakeup() takes a "pid_t" rather than "struct proc *" now. 1993-04-05 22:04:09 +00:00
cgd
39589876a6 now uses maxfdescs' to bound openfiles' resource limit. 1993-04-04 04:32:14 +00:00
cgd
435b146737 added maxfdescs definition 1993-04-04 04:31:05 +00:00
cgd
2d8ae46ccc got rid of accidental extra newline 1993-04-03 11:19:42 +00:00
cgd
9f196698ed added `options KTRACE' 1993-04-03 07:33:10 +00:00
cgd
3a480a1783 converted date in kernel version to standard date output format. 1993-04-03 03:53:00 +00:00
cgd
10c041bb55 added changes from Steven Reiz <sreiz@aie.nl> (based on
those by Poul-Henning Kamp <phk@data.fls.dk>) to get the kernel
to compile properly when gcc2.* is cc.  (should still work
when gcc1.39 is in use.)
1993-04-03 02:15:18 +00:00
cgd
bf6d5bbc6b change from make tinguely (tinguely@hookie.cs.ndsu.NoDak.edu) to make
opening running programs for writing return ETXTBUSY.
1993-04-03 01:56:45 +00:00
cgd
418f0bc15e now just prints out version. also, got rid of kernel_version,
and fixed wfj's trampling on UCB copyright notices.
1993-04-03 01:41:32 +00:00
cgd
e051221728 added various things, to make kernel version info more useful 1993-04-03 01:40:55 +00:00
deraadt
f93ed71c3f getdomainname fix. had to declare get/setdomainname() implicitly extern. 1993-04-02 20:38:22 +00:00
cgd
18dbd6b199 Jay Fenlason <hack@datacube.com>:
1: the fi_readers and fi_writers fields of the fifoinfo structure were not
being initialized to 0.  This caused the driver to not sleep the first
process to open the fifo--it thought there was already another process to
talk to (most of the time.)

2: fifo_open() was calling tsleep() without unlocking the inode of the fifo
file.  This caused *any* subsequent access to the file (even an ls (!)) to
hang forever.  Note that this bug was usually masked by bug #1 above.
1993-04-02 20:19:48 +00:00
deraadt
d98a4aa1c4 added: the entire domainanme set. domainmame(1), domainname(2), and a spiffy
man page.
1993-04-02 12:24:21 +00:00
cgd
dc2efd15a6 make when PARANOID wouldn't work, for mis-remembered field name 1993-04-02 12:20:13 +00:00
cgd
45053b6fa6 changed value of NKMEMCLUSTERS, to help avoid kmem_map too small problem 1993-04-01 00:06:43 +00:00
cgd
3c8786fcc3 changed value of bufpages, to avoid kmem_map too small problem 1993-04-01 00:06:04 +00:00
cgd
7dd500533c broke out panics for *_map too small, and tried to coalesce the maps more
often.
1993-03-31 21:53:56 +00:00
cgd
6178306162 added . and .. 1993-03-30 05:16:56 +00:00
cgd
0dbb01098b added prompt for floppy root disk. 1993-03-29 22:30:55 +00:00
cgd
1765472d36 added ISOFS 1993-03-28 21:33:28 +00:00
cgd
0cd80e006f if PANICWAIT defined, will always wait for a key press before reboot
after panic.  (note that this only makes a difference if DDB is not
installed.)
1993-03-28 08:40:33 +00:00