Commit Graph

50956 Commits

Author SHA1 Message Date
agc 92003e043a If there is no /etc/ld.so.conf, it is not a fatal error. Correct the return
value from the function so that the exit value to the shell is correct.
1999-04-08 13:27:38 +00:00
bouyer a17071efea Sync with .eng versions. 1999-04-08 12:54:52 +00:00
drochner 31ca52f98b add "poll" entry to i4btel device 1999-04-08 12:10:53 +00:00
bouyer c2752835f7 Fix a long-standing bug with the ACAP_* flags:
- the cap field is a u_int8_t, so none of the defined flags would fit in.
  Looks like nobody had a drive using 16 bytes commands.
- the ACAP_DRQ_* flags are all wrong. Just remove them and use the definitions
  from ata/atareg.h, there's no need to duplicate theses. The effect of this
  was that we were always polling for the command phase, even for drives
  with interrupt DRQ. This didn't break until the code was changed to support
  shared interrupts.

Should fix the lookup problems or 'boot hangs' reported by some users, and
kern/7111.
1999-04-08 11:29:01 +00:00
drochner 6b39fd9da6 add a comment explaining how "pcvt" fonts can be used 1999-04-08 10:58:36 +00:00
drochner 3d6e675ba8 sanity: use ';' to separate statements 1999-04-08 10:26:21 +00:00
drochner 0ead10436a define VERSIONFILE, from John Darrow <John.P.Darrow@wheaton.edu>
per PR port-i386/7336
1999-04-08 10:23:23 +00:00
fair d023c654fd Slight tweak to the EXTRA_KERNELS build commands to work around a shell
parsing wierdness.
1999-04-08 08:24:44 +00:00
gwr 0a16f42840 Slim this down so it can be used as an Xkernel. 1999-04-08 07:10:20 +00:00
gwr c8cdcb1f4c sync with GENERIC 1999-04-08 07:00:58 +00:00
gwr ab812ca7f3 sync with GENERIC3X 1999-04-08 06:49:54 +00:00
gwr f6422020e5 Add opt_ddb.h 1999-04-08 05:07:35 +00:00
gwr 4d67424412 Make "dma" a real device so it can attach before esp.
Also pull in some changes from the sparc version.
1999-04-08 04:46:41 +00:00
gwr 6b0a331b5c Make "dma" a real device so it can attach before esp. 1999-04-08 04:37:00 +00:00
gwr fed408f387 Use the string kernel_arch to determine "sun3" vs "sun3x"
and leave the machine string as it was (make uses it).
1999-04-08 04:17:43 +00:00
gwr 8b27f916e1 Fix the IDPROM checksum. It should check only the first 16 bytes.
Also try to make the sun3 and sun3x versions more similar.
1999-04-08 04:08:01 +00:00
nisimura dd8e585cec - MIPS processors do not require to have memory barrier prior to read ops. 1999-04-08 03:14:35 +00:00
simonb c7a769fc26 Make unconditional clock cycle counter display conditional on DEBUG
being defined.
1999-04-07 23:04:34 +00:00
tron 5f36f07cc0 Looks like "filecorefs" is also affected by the problem described in
PR kern/7329.
1999-04-07 21:55:58 +00:00
fair c67241f483 Create an ex(4) man page from a little driver reading. Very bare bones;
needs to have the diagnostic list explained, and the media support
list filled out before it gets pulled up to the 1.4 branch.

However, it's here to answer PR#6870
1999-04-07 21:48:52 +00:00
fair cf0252688c Work this man page over for mdoc(7) issues, nroff issues, a few
mispellings, etc. It should be reviewed before being pulled up to
the 1.4 branch.
1999-04-07 21:39:34 +00:00
tron c60bb946c2 Avoid lockups on cd9660 filesystems after attempt to open file for write.
Fix supplied by Zdenek Salvet in PR kern/7329.
1999-04-07 21:37:11 +00:00
tron ed700187ba Allow softlinks for "bzip2 -c -d" or "bzcat". 1999-04-07 17:58:49 +00:00
perry a58de690de 1) Nuke NetBSD1_4 -- no point in perpetuating a bad practice. Since it
hasn't been seen by anyone yet, why encourage its use by defining it?
2) Indicate in a comment that the NetBSD define is now frozen, will
   never again be incremented, and may even be deprecated. Indicate
   yet again that all new code must use __NetBSD_Version__
1999-04-07 16:48:02 +00:00
minoura 957dabcbcd Forgotten from last commit. 1999-04-07 15:28:01 +00:00
minoura ce03570956 Do not remove netbsd.INSTALL and netbsd.INSTALL.gz. 1999-04-07 14:30:52 +00:00
oster 9f560505d4 Allow re-writing parity on a RAID 0 to trivially succeed, and to set the
clean bit.  This is somewhat bogus as RAID 0 does not have any parity,
but is a slightly cleaner than other solutions, and makes the handling
of clean bits for RAID 0 consistent with the handling of clean bits at
other RAID levels.
1999-04-07 14:17:10 +00:00
simonb 1c15941926 Remove any leading '/'s in the pathname component of the FTP URL.
When the complete URL is constructed, and '/' is inserted between
the hostname and the pathname components.
1999-04-07 13:09:55 +00:00
bouyer 29936d77d4 Now that we do real use of CDIOCCLOSE, we can have SSS_START|SSS_LOEJ
in scsipi_start(). Adjust test so that timeout will let enouth time to
the drive to spin up.
1999-04-07 12:47:27 +00:00
bouyer da5122af6d Hack to work around a problem in either SunOS 4.1.4 or our RPC code:
once we determined the rigth protocol to use, recall get_nfs_version()
so that the last RPC call was a successfull one. Otherwise with a SunOS 4.1.4
server (which doesn't accept TCP mounts) UDP mounts would fail.
1999-04-07 11:21:49 +00:00
dbj 4397d4c1fd convert tabs to spaces in ascii art circuit diagram 1999-04-07 10:21:31 +00:00
christos 29ddb0a0af regen 1999-04-07 08:21:42 +00:00
christos 7fdc304a14 Add another USR modem 1999-04-07 08:21:25 +00:00
cgd 884b75e9f3 adjust for changes in alpha /usr/mdec files. 1999-04-07 06:47:49 +00:00
scottr d6fd16c828 vm_size_t -> vsize_t 1999-04-07 06:45:14 +00:00
cgd 587e1ba75e save 4.3 bytes on the date string! 4 == day of week plus space,
.3 == a space on days of the month 1-9.
1999-04-07 06:30:34 +00:00
scottr fd295b15e1 Turn avail_next, avail_range, and avail_remaining into local variables. Also,
change vm_size_t -> vsize_t.
1999-04-07 06:14:33 +00:00
gwr 0678dfb266 That last commit left pagemove() entering random mappings... 1999-04-07 06:07:59 +00:00
scottr 466895623f Cleanup: GC unused externs, and some KNF. 1999-04-07 05:59:14 +00:00
wrstuden 2e1fa90ecb Fix obscure bug in namei(), which was the cause of PR 7306.
The problem is that if "sl" is a symbolic link, a lookup on "sl/"
will be flagged as the last component. Thus VOP_LOOKUP will lock
the parent directory if LOCKPARENT is set. In order for the symbolic
link to be resolved, this lock needs to be released. namei() would
test for this by checking if ni_pathlen == 1, which it wouldn't as
"/" is left in the name, and namei() would not unlock the parent.
The next call to lookup() to resolve the symbolic link would fail
as the parent was still locked.
1999-04-07 05:47:37 +00:00
proff 8775e52947 tiny KNF change 1999-04-07 05:34:32 +00:00
simonb f04624dfbf Remove single quotes from the ftp URL and remove the comment about
"protecting the URL from the shell."  run_prog() now breaks up it's
argument and calls execvp() directly, so there's no shell to be wary
off...
1999-04-07 05:18:49 +00:00
proff ae938abb49 Prevent reception of packets on downed interfaces (via an up interface).
fixes kern/7327
1999-04-07 02:31:05 +00:00
cgd d7f2b03827 update for changed alpha boot blocks and manual pages 1999-04-07 00:44:02 +00:00
cgd a694307d71 cross-reference boot(8) now that it exists. don't reference
the architecture manual, as boot(8) does that and only boot(8) provides
the necessary context to understand why the Alpha Architecture
Reference Manual is relevant.
1999-04-07 00:43:06 +00:00
cgd b9e2da9f7c add a boot(8) manual page for the alpha. the real value in this
page for now isn't the descriptive text, it's the comments in the
roff source which describe an outline of what the descriptive text
should look like.  also useful is the one stop shopping list of
non-deprecated bootstrap-related commands and files.
1999-04-07 00:39:43 +00:00
thorpej 5f38a5a010 Garbage-collect B_PAGET, B_PGIN, and B_UAREA. Nothing refers to them
anymore, and they don't make any sense in NetBSD's VM system.
1999-04-07 00:18:29 +00:00
thorpej b2741be06e More locking protocol fixes. Protect pool_head with a spin lock (statically
initialized).  This lock also protects the "next drain candidate" pointer.

XXX There is still one locking protocol problem, which should not be
a problem in practice, but is still marked as an issue in the code anyhow.
1999-04-06 23:32:44 +00:00
thorpej de38b189e4 Add a SIMPLELOCK_INITIALIZER macro, to statically initialize a simplelock,
so that simple_lock_init() is not necessary.
1999-04-06 23:08:48 +00:00
augustss cadb84965d Use complete sentences in the generated comments. 1999-04-06 23:03:44 +00:00