Commit Graph

23091 Commits

Author SHA1 Message Date
guido
2ab999d709 Remove -I/sys and add -I${.CURDIR}/../../sys 1997-07-13 11:51:28 +00:00
bde
4aa216fc4c 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
d04c5a7006 devname.c moved to libc before Lite1 and isn't in ps in Lite2. 1997-07-13 07:43:41 +00:00
jkh
258343d3de Commit a long-forgotten tweak for building tags in /usr/src/sys. 1997-07-13 07:36:20 +00:00
bde
97ea0bd511 Fixed quoting of backslash. 1997-07-13 07:28:06 +00:00
sef
37b914af36 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
2e5fa9e507 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
89f1878c25 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
c59ff61657 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
3cbfb56e3f Cleanup old stop_cpus/restart_cpus() cruft.
Leave TEST_TEST1 for now.
1997-07-13 01:07:57 +00:00
jkh
0082a95e2e OK, *this* is how the ports stuff should have been built to begin
with. ;-)
1997-07-13 00:54:22 +00:00
brian
c28aef6462 Support "host:port" as first arg. 1997-07-12 19:26:49 +00:00
brian
e9b75437bd Allow service names in "set server" 1997-07-12 19:22:34 +00:00
peter
16324c9851 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
85e6de78dd Add a quick description of sysctlbyname() and link sysctl.3 to
sysctlbyname.3
1997-07-12 11:16:18 +00:00
peter
b7a2d22e6c Have sysctlbyname() take a const first arg (the ascii string) 1997-07-12 11:14:30 +00:00
peter
16bc646242 What the heck, declare the sysctlbyname() first arg const. 1997-07-12 11:12:41 +00:00
peter
4c93237073 Add a proto for sysctlbyname() 1997-07-12 11:04:25 +00:00
peter
90f9237552 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
6537a51762 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
3a5ceb4c1d Fix typo 1997-07-11 22:11:13 +00:00
jkh
fc9a411da4 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
e47b85a513 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
7e9d4b0063 Setting eval to 1 after calling warn was the original behaviour. 1997-07-11 06:13:18 +00:00
charnier
07a596a3e0 Fix typo I introduced during last commit. 1997-07-11 06:11:35 +00:00
joerg
7988e77614 (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
fee17a4fd3 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
6cc55dc737 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
f18960de82 Adds sysctl int for shutdown timeout.
Reviewed by:	Poul-Henning Kamp <phk@dk.tfs.com>
1997-07-10 11:44:42 +00:00
kato
573691102a Synchronize with sys/i386/isa/isa.c revision 1.94. 1997-07-10 10:22:34 +00:00
kato
aa1a0ce09c Synchronize with sys/i386/isa/syscons.c revision 1.223. 1997-07-10 10:21:47 +00:00
charnier
7a214b4a35 Use err(3) instead of local redefinition, incorporate `hd' in usage str. 1997-07-10 06:48:24 +00:00
charnier
f9a9733f4b Use err(3) instead of local redefinition. 1997-07-10 06:46:13 +00:00
charnier
91c47e87e8 Use err(3). 1997-07-10 06:45:02 +00:00
charnier
8c64c1f757 Add usage(), use err(3). 1997-07-10 06:43:41 +00:00
charnier
2f1515c1fa Typo. 1997-07-10 06:41:33 +00:00
asami
0f2af15d1a (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
7d92ae9ffa Delete $Id$ line from copyright.
Submitted: Bruce
1997-07-09 20:38:19 +00:00
julian
a2d2f3d081 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
e3cb78a6fc 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
2ebe632af6 Back out 'conflicts' with IRQs, remove intr_registered() decl 1997-07-09 18:08:15 +00:00
ache
444924fdd5 Back out changes for 'conflicts' with IRQ, remove intr_registered() 1997-07-09 18:06:25 +00:00
ache
d742242573 Back out my changes with 'conflicts' keyword for IRQs,
sounddriver fixed now.
1997-07-09 17:58:16 +00:00
kato
b75d6cd97e Synchronize with sys/i386/isa/syscons.c revision up to 1.222. 1997-07-09 14:43:19 +00:00
brian
725d723e85 Don't allow CONS_HISTORY ioctl to alter history pointers
while in "scroll mode" (return EBUSY).
Suggested by:	Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1997-07-09 14:10:19 +00:00
jkh
add80ac9e8 Move ports distribution copying for ftp dist into the correct place. 1997-07-09 12:45:17 +00:00
fsmp
fe169f78b1 Screwed up again, gotta remember to turn off those debugs! 1997-07-09 05:00:47 +00:00
fsmp
9c29e029e7 General cleanup of APIC code.
stop_cpus()/restart_cpus() STILL not working!
1997-07-08 23:46:00 +00:00
fsmp
29bb535fa3 Minor cleanup of APIC code. 1997-07-08 23:42:02 +00:00
fsmp
23f9763c71 added #define IPI_LEVEL 1997-07-08 23:39:02 +00:00