Commit Graph

22878 Commits

Author SHA1 Message Date
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
brian
7bafd4334c 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
f4e6702e75 Move ports distribution copying for ftp dist into the correct place. 1997-07-09 12:45:17 +00:00
fsmp
b792f310a3 Screwed up again, gotta remember to turn off those debugs! 1997-07-09 05:00:47 +00:00
fsmp
8b1518042f General cleanup of APIC code.
stop_cpus()/restart_cpus() STILL not working!
1997-07-08 23:46:00 +00:00
fsmp
b1362d3974 Minor cleanup of APIC code. 1997-07-08 23:42:02 +00:00
fsmp
69d0dec16e added #define IPI_LEVEL 1997-07-08 23:39:02 +00:00
fsmp
ad60f9a67b General cleanup of APIC code.
stop_cpus/restart_cpus STILL not working!
1997-07-08 23:32:58 +00:00
fsmp
46d585214c Reordered call to apic_initialize and setting invltlb_ok. 1997-07-08 23:25:40 +00:00
dima
8efa570208 Fixed buffer overflow.
Reviewed by:	Warner
1997-07-08 21:03:16 +00:00
adam
bebb78e244 execve of interpreter files
reword for grammar/clarity
1997-07-08 18:27:38 +00:00
ache
d8f815e1b9 Remove 'conflicts' keyword from SB family devices, it is not
needed now. Uncomment awe0 device
1997-07-08 15:39:29 +00:00
ache
06397f39e1 Don't pass configured information back to ISA for this subdevices,
it cause conflicts
1997-07-08 15:35:28 +00:00
brian
42967d1e5f Remove useless comparison.
Suggested by:	Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1997-07-08 13:38:58 +00:00
ache
043d604a07 Move logwtmp(shutdown) call before any real action in death(). 1997-07-08 11:51:11 +00:00
charnier
a905367e59 Use err(3), remove unused variables. 1997-07-08 11:05:59 +00:00
charnier
0b74b1044e Use err(3) instead of local redefinition. 1997-07-08 11:04:19 +00:00
charnier
47dc77937c Use err(3). 1997-07-08 11:02:48 +00:00
charnier
c82bc63df1 Use err(3). Add prototypes. 1997-07-08 11:01:35 +00:00
charnier
3354e4d90e Add usage(), use err(3). 1997-07-08 10:59:50 +00:00