Commit Graph

34520 Commits

Author SHA1 Message Date
eivind
52398d1d43 Don't do the ldconfig rescan if DESTDIR is set. 1999-01-07 13:09:15 +00:00
abial
3bc5961c9d 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
1be6f22601 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
ffadfbdb61 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
09df07a2ce 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
952455f04b 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
03d3e873c2 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
c1bbc538a6 ``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
ken
1b1f24d550 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
n_hibma
ece81ac15f queue.h has taken over this functionality 1999-01-06 23:16:45 +00:00
grog
5018d39f7e 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
71381aecc0 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
n_hibma
7d9db67cf1 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
n_hibma
ee282ee876 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
imp
8a37fd8e59 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
imp
4e8be77b96 Add pointer to mergemaster.
Submitted by: Jaye Mathisen <mrcpu@internetcds.com>

Also minor formatting nits.
1999-01-06 19:35:46 +00:00
jkh
129a0e1a00 copy resolv.conf to chroot area. 1999-01-06 19:18:45 +00:00
bde
6b4cb42fc5 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
des
0342838a18 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
wpaul
1d96f6a907 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
bde
1f6e98afde 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
bde
988dc25f2e 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
yokota
0c096ac99c Added kbd*. 1999-01-06 16:18:05 +00:00
rnordier
f4db463966 Make a start on revising the boot documentation. 1999-01-06 14:19:09 +00:00
peter
326c9ec17f No more src/lkm dir... 1999-01-06 14:02:35 +00:00
peter
8c55956ae7 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
51df12557f 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
n_hibma
c52465cd60 Removed NetBSD specific code 1999-01-06 12:31:28 +00:00
bde
20aae7550b Removed the weak spam of ${DESTDIR}/usr/include in the bootstrap
target (see the previous log message).  This works for bootstrapping
from 2.2.7.  It won't work for bootstrapping from 2.1.x, but that
fails due to include problems earlier.
1999-01-06 10:06:36 +00:00
abial
43769a4d0a Add new sysctl machdep.uc_devlist. It allows to cleanly retrieve the
list of devices which has been changed in UserConfig, without resorting
to reading /dev/kmem.

The data returned consist of series of struct isa_device and
char dev_name[8].

Ok'd by:	jkh
1999-01-06 09:09:22 +00:00
jkh
b50455ea33 Don't build biosboot by default - there's no point now that nothing
looks for /usr/mdec/boot{1,2}.  The other stuff in here is probably
equally useless/pointless but I'm going to not worry about it for now.
1999-01-06 08:46:26 +00:00
imp
db53dc9570 Change my mind on using base '0' for strtol for -i and -# operations
as this would change the meaning of -#050 in preexisting scripts.
1999-01-06 08:33:38 +00:00
imp
aca3a36c46 Add sanity checking to argument for -# and -i. Require these
arguments to be numbers.  Also use '0' base to allow hex, octal or
decimal numbers.

This was done by me based on ideas in pr 3556, submitted by Uwe
Laubenstein and commented upon by j@uriah.heep.sax.de (J Wunsch).

PR: 3556
1999-01-06 08:25:56 +00:00
imp
2ac9564641 added -h flag to allow for hexidecimal output.
Use '0' for base rather than 10 to allow for more flexible input bases.

Inspired by changes in PR 7402, but mostly redone by me to get past
bde filter.

Submitted by: Timo J. Rinne
PR: 7402
1999-01-06 08:14:26 +00:00
imp
ebef8d6a91 Allow PINGing from any address on multihomed hosts
In the words of the submitter:
"The patch below allows to ping from any address on the multihomed host.
 The man page is also updated, the text was cutted from traceroute(8)."

Submitted by: Ruslan Ermilov
PR: 6832
1999-01-06 07:54:28 +00:00
imp
4c8e9b2000 Add Robert Nordier's boot block URL. 1999-01-06 07:12:41 +00:00
imp
127cc0e824 More Elven advice:
Update /etc/rc* if you are going to run a system with aout
libraries, otherwise ldconfig won't know what to do and all dynamic
aout binaries will fail.
1999-01-06 07:06:38 +00:00
yokota
2131b0befc Assign CDEV 112 to the keyboard driver. 1999-01-06 06:43:51 +00:00
yokota
57b40e7260 Move IO_PSMSIZE from kbdio.h to isareg.h.
While I am here, correct the values for IO_MDASIZE and IO_CGASIZE; they
  should be 12 rather than 16.
1999-01-06 05:49:30 +00:00
yokota
0320af5ba5 Move IO_PSMSIZE from kbdio.h to isa.h. I thought I did this a long time
ago...

While I am here, correct the values for IO_MDASIZE and IO_CGASIZE; they
should be 12 rather than 16.
1999-01-06 05:40:01 +00:00
yokota
de8be8e641 Assign CDEV 112 to the keyboard driver. 1999-01-06 05:35:39 +00:00
obrien
9eac416ec7 add MLINKs for all the functions covered by the manpage 1999-01-06 05:00:17 +00:00
obrien
73c534f596 spell check 1999-01-06 04:59:53 +00:00
grog
1836fadca1 Complete change from DEBUG to VINUMDEBUG. Now it still builds when
VINUMDEBUG is set as well.
1999-01-06 04:22:48 +00:00
grog
59555fdcb6 Complete previous commit: change debug macro from DEBUG to VINUMDEBUG
Reported by: dg
1999-01-06 04:09:01 +00:00
grog
1a8193c372 Fix problems compiling without -DVINUMDEBUG
Reported by: dg
1999-01-06 04:07:49 +00:00
obrien
de9c379bac make comments more consistant 1999-01-06 02:44:29 +00:00
brian
2deaeba44c Typo: The idle timer is ignored in -ddial and -dedicated
mode, not in -ddial and -direct.
Pointed out by: Chris Timmons <skynyrd@opus.cts.cwu.edu>
1999-01-06 00:08:15 +00:00
brian
3a767c553b Don't warn when ``add xxxx HISADDR'' fails because HISADDR
is 0.0.0.0.  This isn't a problem as the sticky route is still
added.
Suggested by: Chris Timmons <skynyrd@opus.cts.cwu.edu>
1999-01-06 00:08:03 +00:00
ken
2aba6c5374 The Conner CFP2107 is a fixed-media drive, not removable media. This fixes
the quirk that disables tagged queueing for those drives.

Also, silence a warning by disabling xpt_for_all_targets() and
xpt_for_all_periphs().  These two functions are not currently used, but
they should not be removed.  They're part of a set of functions that
provide a way to execute a function for every {bus,target,device,periph} in
the system.

If anyone needs to use either function in the future, they can be
un-#ifdefed.
1999-01-05 21:37:07 +00:00