Commit Graph

7579 Commits

Author SHA1 Message Date
dg
cd51aefb3b Backed out Jordan's #include of queue.h 1995-04-10 00:43:18 +00:00
dg
2bfee71b90 Removed bogus #include of netinet/in_pcb.h 1995-04-10 00:41:25 +00:00
dg
8914c3c002 Added #include <sys/queue.h> 1995-04-10 00:38:15 +00:00
nate
188af0f76b as Thomas Graichen recently wrote in private mail:
> * the gdb-4.13 of current (compiled and used under 2.0R) can not attach to my
> own processes (it works only then i'm root - else i get open failed - for my
> own processes)

how embarassing ! This turns out to be a bug in infptrace.c. Below
is a patch. Could some kind soul apply it ?

Submitted by:	"Gary J." <garyj@rks32.pcs.dec.com>
1995-04-10 00:01:01 +00:00
ache
a73ccaef2d ptcwakeup() was called from wrong places 1995-04-09 22:28:24 +00:00
wpaul
c5bffa89b5 First crack at a man page for ypbind. 1995-04-09 21:59:06 +00:00
wpaul
6aecfbe4c5 More of the same: we also need to handle multiple domains properly
even if /var/yp/binding/DOMAIN.VERS doesn't exist yet.
1995-04-09 21:52:31 +00:00
wpaul
01c09e205a Fix behavior of YP library routines in environments with multiple domains,
where one or more of the non-default domains are not yet bound.

If we make a YP request for a domain other than the default domain,
and there is no binding for the new domain yet, _yp_dobind() sees
that the /var/yp/binding/DOMAIN.VERS file for the unbound domain is
not locked (by ypbind) and from this it concludes that the NIS system
is dead, so it gives up.

This behavior has been changed: before giving up in this case, we now
make a second check to see if the binding file for the *default* domain
is also not locked. Only if the default domain binding file is also
unlocked to we now assume that ypbind has bought the farm and bail out.
(Note: this assumes that the user hasn't changed the default domain
while ypbind is running.)

With this change, _do_ypbind() is allowed to proceed into the next
section of code wherein it prods ypbind into establishing a binding
for the new domain. This first call times out after ten seconds,
after which it should retry and succeed. From then on, the binding
for the second domain should be handled normally.
1995-04-09 19:26:23 +00:00
jkh
bec47d2918 #include <sys/queue.h> or die horribly. 1995-04-09 16:46:47 +00:00
jkh
739253c4cb Add matcd.4 to list of manpages. 1995-04-09 15:55:21 +00:00
jkh
7d1fb8167a Part of Frank Durda IV's new matcd driver CD audio support.
Submitted by:   Frank Durda IV <uhclem%nemesis@fw.ast.com>
1995-04-09 15:50:48 +00:00
jkh
e0949c1367 This is the new submission of the matcd driver. In addition to the
new driver code, there are diffs to several other existing files
on the system and a man page.

This version of matcd implements the rest of the key ioctls related to
playing audio CDs and reading table of contents information from any
type of disc.

This update also corrects several problems detected since the original
version 1(10) was released.  These include:
1.	Jordons report on the kernel -c string problem.
2.	A problem with the driver being confused by other types of
	devices located at addresses it probes.
3.	An old CD TOC wouldn't always be cleared after a disc change.
4.	Cleaned up code so -Wall yields no warnings on 2.0 and later.
5.	A problem with drive getting out of sync with the driver when
	changing between CD-Data and CD-DA.

There have only been two reports from the field relating to problems
so either the first release isn't really being used or doesn't have
many problems.

If there are any problems with this submission, please let me know.

Submitted by:	Frank Durda IV <uhclem%nemesis@fw.ast.com>
1995-04-09 15:50:27 +00:00
jkh
2e20878333 A new man page for the matcd driver.
Submitted by:   Frank Durda IV <uhclem%nemesis@fw.ast.com>
1995-04-09 15:49:46 +00:00
dg
3a245c136a Updated for 4.4BSD queue macros. (Oops, I forgot to commit this last night;
sorry Jordan).
1995-04-09 15:21:08 +00:00
dg
270c8aac65 That's what I get for doing things in a hurry...applied up-to-date patch
to this file rather than old one (before I renamed the structure element).
1995-04-09 15:12:21 +00:00
jkh
6546aeeaf8 Add true support for dependency lists.
1. pkg_create now has a -P argument for specifying dependencies on the
   command line.
2. pkg_add will honor dependencies and chain-load them automatically if
   it finds the required package(s) in the same directory as the package
   that is being loaded.  For best results, install packages from a directory
   containing all the packages you'll possibly need
   (like /usr/ports/packages/all).

2 remaining flaws:

1. pkg_add looks in one place (where you were when you loaded the primary
   pkg) for depended packages.  If you can come up with a search path scheme
   that's not a total hack - be my guest!

2. Recursive dependency expansion can result in the name of a dep being
   listed more than once.  This doesn't bother pkg_add since it checks
   for package existance with pkg_info and will skip already-loaded packages.
   I don't know how/if pkg_delete handles this yet, however.  I need to look
   into it.
1995-04-09 15:05:01 +00:00
jkh
3967e6b4aa Add new -P argument to pkg_create. 1995-04-09 15:00:56 +00:00
jkh
e0ec897406 Add 2 new targets to facilitate some things I'm thinking about.
1.  package-name
	Simply echos the associated package name for a port (if any).
2.  package-depends
	Shows all package names on which this port depends.
1995-04-09 12:27:58 +00:00
jkh
d801dc5008 1. Fix the first line (should be a proper comment - silly emacs).
2. KEYWORDS+= CATEGORIES
3. CATEGORIES+= all (always want to be in "all"!)
1995-04-09 10:24:09 +00:00
asami
02c24bb5cf Add support for categorized subdirectories for packages. By default,
all .tgz files go to /usr/ports/packages/.packages, and a relative
symlink is created for every item in CATEGORIES...i.e., if "CATEGORIES
= foo bar", then /usr/ports/packages/{foo,bar}/pkgname.tgz both point
to /usr/ports/packages/.packages/pkgname.tgz.

Suggested by:	jkh
1995-04-09 09:59:42 +00:00
rgrimes
4973479e41 This is a purely cosmetic clean up. Fix many cut and paste problems that
had turned tabs into spaces.
1995-04-09 09:54:51 +00:00
joerg
64432417ca The rmt protocol didn't allow to pass a file creation mode (permission
bits) along, and rmt did the wrong thing in calling open(2) with random
garbage as third parameter.  Make it create new files with 0666
(modified by the umask of the remote shell anyway).

This removed the last show-stopper from tar not working with remote
archives.
1995-04-09 09:20:47 +00:00
jkh
2bdd8df192 Do another pass over the delete code. This is better. Now we don't
try to expand a wildcard to delete the entire contents.
1995-04-09 09:01:56 +00:00
jkh
8c9711ac36 Try and see if I can make the remove function work.. 1995-04-09 08:56:02 +00:00
jkh
dd8c269c96 Bump this to 950408-SNAP. 1995-04-09 07:17:45 +00:00
jkh
1338241869 Document that flags 0x1 is required on fdc0 line to make ft0 work.
Also please note that previous commit regarding UH24F controller was
misattributed to Poul - it was Steve's!
Submitted by:	Steve Gerakines <steve2@genesis.tiac.net>
1995-04-09 07:02:03 +00:00
jkh
37694758dc Could you please update the list of drives supported. It currently
lists:

        UH-14f Series <ISA>
        UH-34f Series <EISA/VLB>

Should read:

        UH-14f Series <ISA>
        UH-24f Series <EISA>
        UH-34f Series <VLB>

Submitted by:	phk
1995-04-09 06:59:42 +00:00
gibbs
b85b30828d More code optimizations. Use a slightly different approach to decide
whether a reconnecting target is a tagged device or not.
1995-04-09 06:40:16 +00:00
gibbs
01c2880911 Disable tagged queuing by default. option AHC_TAGENABLE will turn it on.
This is temporary until I can get a device flags added.
1995-04-09 06:39:01 +00:00
rgrimes
798677e519 Increase the timeout for FTCMD_SEEK commands to complete from 1 second to
1.5 seconds in ftintr_wait().

Three people have reported that this fixes the problem they are having.

Submitted by:	Steve Gerakines <steve2@genesis.tiac.net>
1995-04-09 06:23:12 +00:00
dg
39595648ad From John Dyson: Disabled multi-sector I/O. It is causing some people
problems.
1995-04-09 06:09:31 +00:00
phk
4c8f3b9d67 Clean up, and make it work with Bruces wd.c changes.
Bad144 is on the way back.
1995-04-09 06:06:01 +00:00
dg
a68a51bd80 Changes from John Dyson and myself:
Fixed remaining known bugs in the buffer IO and VM system.

vfs_bio.c:
Fixed some race conditions and locking bugs. Improved performance
by removing some (now) unnecessary code and fixing some broken
logic.
Fixed process accounting of # of FS outputs.
Properly handle NFS interrupts (B_EINTR).

(various)
Replaced calls to clrbuf() with calls to an optimized routine
called vfs_bio_clrbuf().

(various FS sync)
Sync out modified vnode_pager backed pages.

ffs_vnops.c:
Do two passes: Sync out file data first, then indirect blocks.

vm_fault.c:
Fixed deadly embrace caused by acquiring locks in the wrong order.

vnode_pager.c:
Changed to use buffer I/O system for writing out modified pages. This
should fix the problem with the modification date previous not getting
updated. Also dramatically simplifies the code. Note that this is
going to change in the future and be implemented via VOP_PUTPAGES().

vm_object.c:
Fixed a pile of bugs related to cleaning (vnode) objects. The performance
of vm_object_page_clean() is terrible when dealing with huge objects,
but this will change when we implement a binary tree to keep the object
pages sorted.

vm_pageout.c:
Fixed broken clustering of pageouts. Fixed race conditions and other
lockup style bugs in the scanning of pages. Improved performance.
1995-04-09 06:03:56 +00:00
dg
6be26dbe4b Changes from John Dyson and myself:
Fixed remaining known bugs in the buffer IO and VM system.

vfs_bio.c:
Fixed some race conditions and locking bugs. Improved performance
by removing some (now) unnecessary code and fixing some broken
logic.
Fixed process accounting of # of FS outputs.
Properly handle NFS interrupts (B_EINTR).

(various)
Replaced calls to clrbuf() with calls to an optimized routine
call vfs_bio_clrbuf().

(various FS sync)
Sync out modified vnode_pager backed pages.

ffs_vnops.c:
Do two passes: Sync out file data first, then indirect blocks.

vm_fault.c:
Fixed deadly embrace caused by acquiring locks in the wrong order.

vnode_pager.c:
Changed to use buffer I/O system for writing out modified pages. This
should fix the problem with the modification date previous not getting
updated. Also dramatically simplifies the code. Note that this is
going to change in the future and be implemented via VOP_PUTPAGES().

vm_object.c:
Fixed a pile of bugs related to cleaning (vnode) objects. The performance
of vm_object_page_clean() is terrible when dealing with huge objects,
but this will change when we implement a binary tree to keep the object
pages sorted.

vm_pageout.c:
Fixed broken clustering of pageouts. Fixed race conditions and other
lockup style bugs in the scanning of pages. Improved performance.
1995-04-09 06:02:46 +00:00
dg
ec1da6645e Cosmetic changes. 1995-04-09 05:40:38 +00:00
dg
a2d7864aa2 Oops, remove some chaff from previous commit. 1995-04-09 05:34:54 +00:00
dg
b86e4188cf Updated netstat to grok 4.4 QUEUE macros now being used to like the PCBs
together.
1995-04-09 05:33:17 +00:00
ache
2d550d5f75 Add missing header reference 1995-04-09 04:59:40 +00:00
dg
2e7fa9cc68 From Matt Thomas: Added support for 100Mb cards (such as the DEC DE-500-XA
and SMC 9332).
1995-04-09 04:46:15 +00:00
jkh
748235d44f Add etc/sysconfig to list of files stuck on the cpio floppy. I thought
we did this already?!?
1995-04-09 03:47:55 +00:00
jkh
3a19d9585f Remove preservation of myname and defaultrouter files - they're deprecated
anyway.
1995-04-09 03:44:03 +00:00
ache
0b4602128d Non-blocking lock
Remove old salt cause possible endless loop
Submitted by: <wosch@cs.tu-berlin.de>
1995-04-09 03:34:10 +00:00
ache
329d8e6d18 Upgrade to RFC1700 (IANA) 1995-04-09 03:02:08 +00:00
dg
0294ad93f7 Implemented PCB hashing. Includes new functions in_pcbinshash, in_pcbrehash,
and in_pcblookuphash.
1995-04-09 01:29:31 +00:00
dg
76e7284b1f Added a few more entries to the list of prime numbers. 1995-04-09 01:19:25 +00:00
ache
0d9d52d7f4 Remove unneded substitutes 1995-04-08 21:51:26 +00:00
phk
274c0ec7e7 Move default address of lnc0 to 0x300. Luigi Rizzo said that his card
cannot even go below 0x300...
1995-04-08 21:41:52 +00:00
joerg
36d79e32c9 Implement a simple hook (or hack?) to allow graphics device console
drivers to protect DDB from being invoked while the console is in
process-controlled (i.e., graphics) mode.

Implement the logic to use this hook from within pcvt.  (I'm sure
Søren will do the syscons part RSN).

I've still got one occasion where the system stalled, but my attempts
to trigger the situation artificially resulted int the expected
behaviour.  It's hard to track bugs without the console and DDB
available. :-/
1995-04-08 21:32:11 +00:00
phk
130ce835b0 Don't choke if secure bits are not available. 1995-04-08 21:29:56 +00:00
joerg
44127843f2 pcvt is proud enough to have a man page. :) 1995-04-08 20:08:42 +00:00