Commit Graph

22897 Commits

Author SHA1 Message Date
peter
486333fcfd kill the undead 1997-07-13 14:26:00 +00:00
bde
84834b817c Create fifos using mkfifo() instead of attempting to create them using
mknod().
1997-07-13 14:07:48 +00:00
jkh
20d1b8751a Back out ld.so.conf change until the question is resolved. 1997-07-13 13:22:15 +00:00
kato
bd5e9c8cd5 Synchronize with sys/i386/isa/clock.c revision 1.89. 1997-07-13 12:14:18 +00:00
kato
4eb0c582ad Synchronize with following changes:
>  Revision  Changes    Path
>  1.11      +127 -1    src/sys/i386/boot/biosboot/bios.S
>  1.20      +6 -2      src/sys/i386/boot/biosboot/boot.h
>  1.24      +32 -5     src/sys/i386/boot/biosboot/io.c
1997-07-13 12:13:02 +00:00
guido
9b98d67c6f Remove -I/sys 1997-07-13 11:51:42 +00:00
guido
9bdf968dee Remove -I/sys and add -I${.CURDIR}/../../sys 1997-07-13 11:51:28 +00:00
bde
112cf7fc76 The m4 doc sources aren't in Lite* or FreeBSD, and Lite2 removed this
unused Makefile.
1997-07-13 07:58:56 +00:00
bde
dec6f3aeb8 devname.c moved to libc before Lite1 and isn't in ps in Lite2. 1997-07-13 07:43:41 +00:00
jkh
74df5988ae Commit a long-forgotten tweak for building tags in /usr/src/sys. 1997-07-13 07:36:20 +00:00
bde
20786833ba Fixed quoting of backslash. 1997-07-13 07:28:06 +00:00
sef
5c5c3ffeb2 Fix a problem introduced with a recent change that caused a hang with
unreachable hosts.  Note that most of this consists of telling SIGINT
and SIGALRM to interrupt the system call, instead of restarting them.
Also try to get rid of some potential races Bruce didn't like; hopefully
they aren't a problem (potential or otherwise) now.

Reviewed by:	julian
1997-07-13 06:16:44 +00:00
fsmp
eb632f277f new code to control other CPUs: stop_cpus()/restart_cpus()/_Xstopcpu
this code is controlled by smptests.h: TEST_CPUSTOP, OFF by default

new code for handling mixed-mode 8259/APIC programming without 'ExtInt'
this code is controlled by smptests.h: TEST_ALTTIMER, ON by default
1997-07-13 01:22:48 +00:00
fsmp
accf58cb2b Cleanup old stop_cpus/restart_cpus() cruft.
new code for handling mixed-mode 8259/APIC programming without 'ExtInt'
new code to control other CPUs: stop_cpus()/restart_cpus()/_Xstopcpu
1997-07-13 01:18:51 +00:00
fsmp
623a2c46bd Many new test defines, including:
- TEST_CPUSTOP		adds stop_cpus()/restart_cpus(), OFF by default
 - TEST_ALTTIMER	new method for attaching 8259 PIC to APIC
			this method avoids 'ExtInt' programming, ON by default
 - TIMER_ALL		sends 8259/8254 timer INTs to all CPUs, ON by default
 - ASMPOSTCODExxx	code to display bytes to POST hardware, OFF by default
1997-07-13 01:15:30 +00:00
fsmp
6199fe70f1 Cleanup old stop_cpus/restart_cpus() cruft.
Leave TEST_TEST1 for now.
1997-07-13 01:07:57 +00:00
jkh
0bf85b62d4 OK, *this* is how the ports stuff should have been built to begin
with. ;-)
1997-07-13 00:54:22 +00:00
brian
253d097eb2 Support "host:port" as first arg. 1997-07-12 19:26:49 +00:00
brian
aa8643ed6c Allow service names in "set server" 1997-07-12 19:22:34 +00:00
peter
a6c3d5ca85 Add an alias for master.passwd -> master.passwd.byname to the list
of convenience map aliases.
1997-07-12 14:34:26 +00:00
peter
2af34ea464 Add a quick description of sysctlbyname() and link sysctl.3 to
sysctlbyname.3
1997-07-12 11:16:18 +00:00
peter
e577692d0a Have sysctlbyname() take a const first arg (the ascii string) 1997-07-12 11:14:30 +00:00
peter
395891c085 What the heck, declare the sysctlbyname() first arg const. 1997-07-12 11:12:41 +00:00
peter
7c18197060 Add a proto for sysctlbyname() 1997-07-12 11:04:25 +00:00
peter
4787e78f21 Dynamically adapt to smp mode at runtime. This stops the cpu column
appearing on uniprocessor systems since the smp->current merge.
1997-07-12 10:51:54 +00:00
joerg
2c7082dfba Make this compile again under -current. The modifications to io.c
and bios.S were small enough and have been merged back into their
respective files in biosboot/, conditionalized on CDBOOT.  Other
files might be merged at a later stage.

Caveat emptor: i cannot test this right now.
1997-07-12 10:23:31 +00:00
guido
6eb35755c8 Fix typo 1997-07-11 22:11:13 +00:00
jkh
5a0e63af19 Use /etc/ld.so.conf as a library path override, if it exists.
Submitted by:	Hans Zuidam <hans@brandinnovators.com>
1997-07-11 14:52:52 +00:00
jkh
9ede654e00 Allow ldconfig to accept files (containing directory paths) as well as
directory paths.
Reviewed by:	jkh & jdp
Submitted by:	Hans Zuidam <hans@brandinnovators.com>
1997-07-11 14:45:41 +00:00
charnier
4320b92868 Setting eval to 1 after calling warn was the original behaviour. 1997-07-11 06:13:18 +00:00
charnier
aad076cc73 Fix typo I introduced during last commit. 1997-07-11 06:11:35 +00:00
joerg
c81672091f (Part #2, after the Internet link broke totally yesterday.)
This is the long-threatened ISO 9660 CD-ROM bootstrap code.

This work has been sponsored by Plutotech International, Inc (who paid
the initial work), and interface business GmbH (where i did most of
the work).  A big thanks also goes to Bruce Evans, for his continuing
help and answering my stupid questions.

The code is basically functioning, with the following caveats:

. Rock Ridge attributes are not yet supported.
. Only SCSI CD-ROMs are supported, since i fail to see any possibility
  to determine the drive type using BIOS functions.  (Even for hard disks,
  this determination is done by a big hack only.)
. El Torito specifies a lot of crap and useless misfeatures, but crucial
  things like the ability to figure out the CD TOC have been ``forgotten''.
  Thus, if you wanna boot a multisession CD, you need to know at which CD
  block your session starts, and need to speciffy it using the @ clause.

. None of the CD-ROM controllers i've seen so far implements the full
  El Torito specification at all.  Adaptec is probably the closest, but
  they miss on non-emulation booting (which would be the most logical
  choice for us).  Thus, the current code bloats the 7.5 KB boot code
  up to 1.44 MB, in order to fake a `floppy' image.

  If you wanna use it, specify this file as the boot image on the
  command-line of the mksiosfs command (option -b).

  Caveat emptor: some versions of the Adaptec BIOS might even fail to
  access the CD-ROM at all, using the BIOS functions.  I think i've
  notice this for ver 1.26, the code has been tested with ver 1.23.

The boot string is as follows:

        [@sess-start] [filename] [-flags]

sess-start      Extend # where the last session starts, measured in
                CD-ROM blocks.

filename        As usual, but the input is case-insensitive by now
                (since we  don't grok RR anyway).

flags           As usual, but -C (use CDROM root f/s) is default, so
                specifying -C will decactivate this option (which is
                probably not what you want :).

A lot of cleanup work is probably required, and some of the files
could/should be merged back to biosboot, perhaps made conditional on
some #ifdef.  The malloc implementation that comes with cdboot might
also be useful for kzipboot.  (I needed a malloc() since the root dir
ain't fixed in size on a CD.)

I've been testing all this with a 2.2-STABLE as the base for biosboot.
I don't expect too many surprises, although i know the biosboot stuff
has been changed a lot in -current lately.  I'm sure Bruce will
comment on all this here anyway. :-)
1997-07-11 05:52:41 +00:00
jdp
b55cfe9f16 Fix breakage induced by read-only copyright string.
Submitted by:	Chris Timmons <skynyrd@opus.cts.cwu.edu>
1997-07-11 02:08:56 +00:00
joerg
309a7c304d This is the long-threatened ISO 9660 CD-ROM bootstrap code.
This work has been sponsored by Plutotech International, Inc (who paid
the initial work), and interface business GmbH (where i did most of
the work).  A big thanks also goes to Bruce Evans, for his continuing
help and answering my stupid questions.

The code is basically functioning, with the following caveats:

. Rock Ridge attributes are not yet supported.
. Only SCSI CD-ROMs are supported, since i fail to see any possibility
  to determine the drive type using BIOS functions.  (Even for hard disks,
  this determination is done by a big hack only.)
. El Torito specifies a lot of crap and useless misfeatures, but crucial
  things like the ability to figure out the CD TOC have been ``forgotten''.
  Thus, if you wanna boot a multisession CD, you need to know at which CD
  block your session starts, and need to speciffy it using the @ clause.

. None of the CD-ROM controllers i've seen so far implements the full
  El Torito specification at all.  Adaptec is probably the closest, but
  they miss on non-emulation booting (which would be the most logical
  choice for us).  Thus, the current code bloats the 7.5 KB boot code
  up to 1.44 MB, in order to fake a `floppy' image.

  If you wanna use it, specify this file as the boot image on the
  command-line of the mksiosfs command (option -b).

  Caveat emptor: some versions of the Adaptec BIOS might even fail to
  access the CD-ROM at all, using the BIOS functions.  I think i've
  notice this for ver 1.26, the code has been tested with ver 1.23.

The boot string is as follows:

	[@sess-start] [filename] [-flags]

sess-start	Extend # where the last session starts, measured in
		CD-ROM blocks.

filename	As usual, but the input is case-insensitive by now
		(since we  don't grok RR anyway).

flags		As usual, but -C (use CDROM root f/s) is default, so
		specifying -C will decactivate this option (which is
		probably not what you want :).

A lot of cleanup work is probably required, and some of the files
could/should be merged back to biosboot, perhaps made conditional on
some #ifdef.  The malloc implementation that comes with cdboot might
also be useful for kzipboot.  (I needed a malloc() since the root dir
ain't fixed in size on a CD.)

I've been testing all this with a 2.2-STABLE as the base for biosboot.
I don't expect too many surprises, although i know the biosboot stuff
has been changed a lot in -current lately.  I'm sure Bruce will
comment on all this here anyway. :-)
1997-07-10 21:58:43 +00:00
davidn
9c6cf56f17 Adds sysctl int for shutdown timeout.
Reviewed by:	Poul-Henning Kamp <phk@dk.tfs.com>
1997-07-10 11:44:42 +00:00
kato
0b4e905ca9 Synchronize with sys/i386/isa/isa.c revision 1.94. 1997-07-10 10:22:34 +00:00
kato
d5d11f5dbb Synchronize with sys/i386/isa/syscons.c revision 1.223. 1997-07-10 10:21:47 +00:00
charnier
c4ced555e1 Use err(3) instead of local redefinition, incorporate `hd' in usage str. 1997-07-10 06:48:24 +00:00
charnier
6ebe32537f Use err(3) instead of local redefinition. 1997-07-10 06:46:13 +00:00
charnier
3e5d2f9ca5 Use err(3). 1997-07-10 06:45:02 +00:00
charnier
fecd0ac4cd Add usage(), use err(3). 1997-07-10 06:43:41 +00:00
charnier
4765108b7f Typo. 1997-07-10 06:41:33 +00:00
asami
61f12296a0 (1) Add preliminary support for architecture/operating system-dependent
patches and files.  Note this is just for testing -- I don't
    expect "patches.OpenBSD" or "Makefile.alpha" start cropping up on
    our ports tree just yet!
Pretty much ignored by: the ports/committers list

(2) Add "SH?=/bin/sh" to the list of command-name macros.  Use it.
Checked by: recompiling all packages
1997-07-10 02:29:51 +00:00
wosch
45d57b586f Delete $Id$ line from copyright.
Submitted: Bruce
1997-07-09 20:38:19 +00:00
julian
7b9a0408f2 don't count packets as being transmitted when we know that the sendto()
failed (e.g. ENOBUFS)
1997-07-09 20:33:58 +00:00
julian
95c4ece894 ping called printf() from a signal handler..
this is a NO-NO

re-arange to just set a "please die immediatly" flag in the signal handler
and handle this in the normal thread.

also handle ping -f better on slow links by backing off a bit when
we get a ENOBUFFS from the sendto().
1997-07-09 19:40:43 +00:00
ache
aed838b666 Back out 'conflicts' with IRQs, remove intr_registered() decl 1997-07-09 18:08:15 +00:00
ache
96b4a920ad Back out changes for 'conflicts' with IRQ, remove intr_registered() 1997-07-09 18:06:25 +00:00
ache
7d8d720ba6 Back out my changes with 'conflicts' keyword for IRQs,
sounddriver fixed now.
1997-07-09 17:58:16 +00:00
kato
ff033633da Synchronize with sys/i386/isa/syscons.c revision up to 1.222. 1997-07-09 14:43:19 +00:00