Commit Graph

34280 Commits

Author SHA1 Message Date
David Nugent
08fe832b6e Remove bogus file locking in main(). 1999-01-08 10:52:38 +00:00
Nick Hibma
1a180222e0 Ignore return value for strip. Avoids make world going pop
because of

strip maybe_stripped
strip: maybe_stripped: File format not recognized
*** Error code 1

in I/usr/src/gnu/usr.bin/binutils/strip
1999-01-08 10:33:12 +00:00
Jordan K. Hubbard
bed7bf35a2 close doc race. 1999-01-08 09:13:00 +00:00
Brian Somers
47dd77c14d Don't use the next phone number after the ``|'' if the
dial & login are successful.
Submitted by:   Toshiomi Moriki <Toshiomi.Moriki@ma1.seikyou.ne.jp>
PR:             9382
1999-01-08 09:04:58 +00:00
Jordan K. Hubbard
71696ba327 Copy only the boot1 and boot2 (if exists) files into mfs/boot since
we don't need the others there.
1999-01-08 05:33:11 +00:00
Jordan K. Hubbard
9694e175f1 DTRT with gzip'd alpha kernels.
Submitted by:	dfr
1999-01-08 00:33:21 +00:00
Jordan K. Hubbard
a864ef37a3 Changes for alpha support.
Submitted by:	dfr
1999-01-08 00:32:19 +00:00
Jordan K. Hubbard
af61828f44 Adapt sysinstall more fully to the alpha (deal with proper boot signatures,
don't present label editor, etc).

Submitted by:	dfr
1999-01-08 00:14:22 +00:00
Nick Hibma
7306cb58a8 Major synchronisation with NetBSD USB code 1999-01-07 23:31:46 +00:00
Nick Hibma
a73f7cf01f Major synchronisation with NetBSD USB code 1999-01-07 23:07:57 +00:00
Nick Hibma
a1aa3832a4 Clean up, nothing major 1999-01-07 23:01:11 +00:00
Nick Hibma
002ad23e7a Name change suggested by Justin (QUEUE->UNTIL) 1999-01-07 22:27:53 +00:00
Dmitrij Tejblum
6143bceb3f Make pmap_ts_referenced check more than 1 pv_entry. (One should be carefull
when move elements to the tail of a list in a loop...)
1999-01-07 22:15:51 +00:00
Warner Losh
4c00dd8215 Minor adjustments to prior commits:
o break at end of sentences
	o add $id$
	o change date

Noticed by: the ever watchful bde
1999-01-07 22:09:05 +00:00
Julian Elischer
dc9c271aa1 Changes to the LINUX_THREADS support to only allocate extra memory for
shared signal handling when there is shared signal handling being
used.

This removes the main objection to making the shared signal handling
a standard ability in rfork() and friends and 'unconditionalising'
this code. (i.e. the allocation of an extra 328 bytes per process).

Signal handling information remains in the U area until such a time as
it's reference count would be incremented to > 1. At that point a new
struct is malloc'd and maintained in KVM so that it can be shared between
the processes (threads) using it.

A function to check the reference count and move the struct back to the U
area when it drops back to 1 is also supplied. Signal information is
therefore now swapable for all processes that are not sharing that
information with other processes. THis should addres the concerns raised
by Garrett and others.

Submitted by:	"Richard Seaman, Jr." <dick@tar.com>
1999-01-07 21:23:50 +00:00
Matt Jacob
f55ca80bcf Like the problems just fixed in scsi_da.c, make sure
to release the probe ccb before taking down the periph.
Also, don't do cdscheduling if you're not going to
attach the device after all.
Reviewed by:	ken@freebsd.org
1999-01-07 20:20:57 +00:00
Matt Jacob
f403e6edea A better fix to avoid race conditions between failed probes
and peripheral removal.
Obtained from:gibbs@freebsd.org
1999-01-07 20:19:09 +00:00
Steve Price
0997d762cf Strip the leading path from __progname.
Ok'd by:	jdp
1999-01-07 20:18:18 +00:00
Archie Cobbs
740e54be27 Add the 'diffburst' tool, which does the following:
Reads the output of 'diff -r' and splits it into separate
    patch files, one per file. The files are named 'patch-XX'
    where XX is aa, ab, ac, ... Useful when creating ports.
1999-01-07 19:28:57 +00:00
Bruce Evans
de5d1ba57c Don't pass unused unused timestamp args to UFS_UPDATE() or waste
time initializing them.  This almost finishes centralizing (in-core)
timestamp updates in ufs_itimes().
1999-01-07 16:14:19 +00:00
Kazutaka YOKOTA
fc847f6651 Remove a hard-coded table of kernel console I/O functions exported
from sc, vt and sio drivers.  Use instead a linker_set to collect them.

Staticize ??cngetc(), ??cnputc(), etc functions in sc and vt drivers.
We must still have siocngetc() and siocnputc() as globals because they
are directly referred to by i386-gdbstub.c :-(

Oked by: bde
1999-01-07 14:14:24 +00:00
Peter Wemm
7cedcfa765 ld was kinly looking up the Linux /etc/ld.so.conf (which we don't have).
Teach it about the FreeBSD equivalent, because there are some funny things
going on with -rpath that I can't quite get a handle on.  It looks like
setting an rpath on a new shared object overrides all the implicit
DT_RPATH's from the dependencies, causing them to fail at link time
(but not runtime).
1999-01-07 14:03:27 +00:00
Eivind Eklund
b8c993ec7c Don't do the ldconfig rescan if DESTDIR is set. 1999-01-07 13:09:15 +00:00
Andrzej Bialecki
cf93ca2686 When compiled with INTRO_USERCONFIG, skip the intro screen anyway if we
already loaded and interpreted userconfig_script. Otherwise, when using
such kernel system would always block waiting for user input in UserConfig,
while the intention was to avoid this by having userconfig_script.

Reviewed by:	msmith
1999-01-07 09:49:28 +00:00
Peter Wemm
51c5836ce4 The upgrade process from 2.2.x -> 3.0-ELF assumes the existence of
GENERICupgrade, which got kinda fried.  Try to copy GENERIC if the
user has not supplied their own.
1999-01-07 07:20:41 +00:00
Peter Wemm
c30fe42c78 Flip the kernel default to ELF.. Add a test to try and warn people
that they might be about to blow their feet off if they have not been
reading their mail.  I don't know if or how well this will work, but it's
worth a try.
1999-01-07 06:52:41 +00:00
Peter Wemm
6c7178bdfb OBJFORMAT_DEFAULT = elf now. (this is where /usr/bin/objformat and
libc/gen/getobjformat.c get their default from)
1999-01-07 06:35:18 +00:00
Peter Wemm
10f7260a44 OBJFORMAT=elf in the absense of an override for both alpha and i386 by
default now.
1999-01-07 06:32:22 +00:00
Peter Wemm
5813daedb1 make aout-to-elf first does an a.out makeworld to bring the current
environment and tools up to date so it can then build an ELF world.
Teach it to cope with the a.out disable.
1999-01-07 06:30:14 +00:00
Peter Wemm
c9ef6e40fe ``Disable'' a.out 'make world', as per flag day notification on current and
committers.  A 'make aout-to-elf' is strongly encouraged.  This isn't quite
the end of the line for people who have a real problem with updating yet,
but we've got to get this over and done with.  Yes, it's bound to be a
couple of bumpy couple of days.
1999-01-07 06:26:33 +00:00
Kenneth D. Merry
4cdd022168 The Quantum Atlas III evidently has an identical problem to the Atlas II.
It keeps returning queue full until we have reduced the number of tagged
openings to the minimum.

So, put in a quirk entry with the same work-around.  This quirk entry is
only for the 9G Atlas III, once someone comes up with inquiry information
for the 18G version of that drive, we can quirk it as well.

Submitted by:	"Johan Granlund" <johan@granlund.nu>
1999-01-07 01:11:24 +00:00
Nick Hibma
f21bc50cc2 queue.h has taken over this functionality 1999-01-06 23:16:45 +00:00
Greg Lehey
acf3160e71 Fix an overflow problem which prevented revive from working on plexes
of more than 4 GB.

Reported by: dg
1999-01-06 23:11:29 +00:00
Julian Elischer
2267af789e Add (but don't activate) code for a special VM option to make
downward growing stacks more general.
Add (but don't activate) code to use the new stack facility
when running threads, (specifically the linux threads support).
This allows people to use both linux compiled linuxthreads, and also the
native FreeBSD linux-threads port.

The code is conditional on VM_STACK. Not using this will
produce the old heavily tested system.

Submitted by: Richard Seaman <dick@tar.com>
1999-01-06 23:05:42 +00:00
Nick Hibma
f6b387c28e Copied STAILQ_HEAD_INITIALIZER and LIST_HEAD_INITIALIZER from NetBSD, and
added STAILQ_REMOVE_HEAD_QUEUE to emulate NetBSD's SIMPLEQ_REMOVE_HEAD (that
removes not only the first element but a queue of elements).
1999-01-06 20:03:11 +00:00
Nick Hibma
d718b44f52 Added proper names to the device messages at probe and attach.
Missing ones:
	Device Id ADS technologies
	Device Id's SiS hardware
1999-01-06 19:55:49 +00:00
Warner Losh
63f8ec6b73 Fix printf errors in the hflag case.
Fix old bug with bogus casing to (long).
Document the true limits of factor on 64-bit architectures.

Submitted by: bde
1999-01-06 19:46:56 +00:00
Warner Losh
0061cc0461 Add pointer to mergemaster.
Submitted by: Jaye Mathisen <mrcpu@internetcds.com>

Also minor formatting nits.
1999-01-06 19:35:46 +00:00
Jordan K. Hubbard
162cd2a6ab copy resolv.conf to chroot area. 1999-01-06 19:18:45 +00:00
Bruce Evans
4591d9bb7e UFS_UPDATE() takes a boolean `waitfor' arg, so don't pass it the value
MNT_WAIT when we mean boolean `true' or check for that value not being
passed.  There was no problem in practice because MNT_WAIT had the
magic value of 1.
1999-01-06 18:18:06 +00:00
Dag-Erling Smørgrav
eec1dbe6ce Make the implementation and documentation agree. Specifically:
- document that sysctl() and sysctlbyname() return 0 on success

 - if the provided buffer is too small, set errno to ENOMEM and return -1
   instead of returning ENOMEM.
1999-01-06 18:11:53 +00:00
Bill Paul
fae0c289fb Add some tweaks to mx_mii_readreg(), mx_phy_readreg(), mx_phy_writereg()
and mx_setcfg() so that we can read the internal MII registers on the
MX98713 chip correctly. With these changes, media autoselection now
works correctly on the original 98713. All Macronix chips should now
be properly supported (unless there's a surprise waiting in the 98725).

Thanks to Ulf Zimmermann for providing a 98713 board.
1999-01-06 17:30:06 +00:00
Bruce Evans
d64dbc8719 Ifdefed the conditionally used variable `prtrealloc'. Declare it
as volatile so that there is no chance that the code that it controls
is optimised away.
1999-01-06 17:04:33 +00:00
Bruce Evans
5991fd0370 Backed out rev.1.47. It just broke my optimisations for lazy syncing
of timestamps in rev.1.45.  The soft updates bug was elsewhere.

Forgotten by:	luoqi
1999-01-06 16:52:38 +00:00
Kazutaka YOKOTA
9620286730 Added kbd*. 1999-01-06 16:18:05 +00:00
Robert Nordier
89aeb8ced9 Make a start on revising the boot documentation. 1999-01-06 14:19:09 +00:00
Peter Wemm
f24d193ed0 No more src/lkm dir... 1999-01-06 14:02:35 +00:00
Peter Wemm
0dbed541fe We load kld's in preference to LKM's, these do not need the root fs to be
read/write to load.
1999-01-06 14:01:52 +00:00
Peter Wemm
1825309d72 Remove some remaining references to LKM's. Snaps were trying to unpack
slkm* etc, among other things.
1999-01-06 13:55:14 +00:00
Nick Hibma
953327085a Removed NetBSD specific code 1999-01-06 12:31:28 +00:00