Commit Graph

34700 Commits

Author SHA1 Message Date
phil
0e4140c713 - lower swap size for smaller systems
- fix bug in custom partition sizes that made huge swap partition defaults
1997-11-09 16:07:56 +00:00
phil
5337c61bc4 -TODO: Remove names as they were source name rather than names of who should
do it.
-change install confirmation message to outline install process
-move english print text into msg.mi.eng.
1997-11-09 15:54:15 +00:00
jonathan
b3da2a1b88 Fix target prefixing to handle both root-in-swap (traditional miniroot)
and current-root-is-target-root (pmax diskimage.

 * Add code to check disk names (e.g., "sd0") against the current
   kern.root_device  sysctl (whic  does *not* include a partition).

 * Add new function must_mount_root():
   check to see if it's the same device as the root.  If not,
   the current and target root partitions cannot overlap.
   If they do, do statfs() on "/", and return 1 iff we get back
   "root_device" as the mounted-on filesystem, otherwise zero.

* Call must_mount_root() right after the user specifies a disk as
  install/upgrade target, and  if it returns 1, print a message asking
  them to mount root, and abort.

*  Use statfs("/")  mounted_from string to check if a disk partition
    (e.g., "sd0a") matches the current root.
1997-11-09 12:47:06 +00:00
scottr
a41bde2076 Get rid of MSGBUFPTECNT; fixes PR 4331. 1997-11-09 06:10:44 +00:00
jonathan
3b987e7971 * Add local definition of DISKLABEL_CMD to arch/i386/md.h.
* Remove default definition from disk.c.  Ports that don't support
  dislabels (e.g., amiga) can now just not define DISKLABEL_CMD.
1997-11-09 04:14:10 +00:00
jonathan
c176a3646e Fix kernel divide-by-zero errors and other bugs with removable devices:
* Add code to query CDs for size, from MI scsi cd.c. Use it on CDs.
  * Set C partition size for CDs. 4.4bsd/pmax code only set `a' partition
    size and required users to mount `a' partition, breking raw-device
    access like "disklabel rz?".
  * Avoid possible divide-by-zero call to howmany() from rzstart(),
    on removable media that aren't ready at device-open time.

Verified to work on rrz42.
1997-11-09 03:08:23 +00:00
jonathan
9e1d749da4 Initialize nfs_boot_rfc_951 to 1. Makes pmax kernels to use bootp,
not RARP/bootparams, to get diskless-boot config info.
Decstation PROMs already use BOOTP so we lose nothing.
1997-11-09 02:03:50 +00:00
wrstuden
1d83bab62a Mention NETATALK as a kernel networking option. 1997-11-09 01:02:06 +00:00
lukem
94c2aad7df move description of history() return value 1997-11-09 00:13:52 +00:00
scottr
60dd653baa KNF: Fix some whitespace inconsistencies. 1997-11-08 23:22:38 +00:00
mhitch
0dfa0df14c The amiga tty erase character is ^?, not ^H. 1997-11-08 23:02:05 +00:00
mhitch
e711ce12ab The atari miniroot upgrade didn't need the network configuration files, but
we do on the amiga.  Add back the SYMLINKs needed to enable the network.
Remove a couple of [commented out] atari-specific lines.
1997-11-08 23:01:32 +00:00
jonathan
0f41aef4b9 Workaround for port-pmax/4438 (pmax kernel glass-tty console code is broken)
until a proper fix is available:
  Perpetuate the 4.4bsd design even further. Change keyboard-driver
  open routines to check for an active raster console. If active, set the
  keyboard struct tty's t_winsize from the rcons t_winsize on first open.
See pr 4438 for remaining problems and discussion of a complete fix.
1997-11-08 21:55:05 +00:00
mjacob
4261733b62 Ooops. It's blk=2,chr=12, not the other way around. 1997-11-08 20:56:35 +00:00
ws
f1be2b6fac Fix lossage with diroffset handling in root dir 1997-11-08 19:18:57 +00:00
lukem
4cda73731b more fixes for OPTIMIZE_DB (seems like this code was an unfinished idea;
i've fixed a lot of bugs in it):
* implement yp_close_map(struct opt_map *), to close a specific map,
  using the guts of yp_close_last()
* simplify yp_close_last() to use yp_close_map()
* ypdb_open_db(): add the st_dev, st_ino, and st_mtime of each map to
  the cached info, and check if changes if the db is cached; if so, close
  the map and reopen it fresh. also uncache entries if the domain or
  file disappear
1997-11-08 15:36:09 +00:00
lukem
721843cf7a use ".Tn YP" instead of "YP", fix up some .Nd entries, use .Pa for mapnames 1997-11-08 15:03:21 +00:00
jonathan
1dfe80f178 Add MODE SENSE code from MI scsi sd.c to rz.c.
* add includes for sys/dev/scsipi headers.
 * cut-and-paste mode_sense and disk-geometry sense code from sd.c,
   with name changes sd -> rz.
 * Write `rz_command()' to send SCSI sense commands based on
   existing rz size-sensing code.
 * get geometry info with page 4 and page 5 mode sense.
 * use resulting geom info for default label, fake label, and when
   using ultrix labels. (ultrix labels have no geometry info).

Fixes incrrect-label bugs with using sysinst to install onto
Ultrix-labelled disks.
1997-11-08 11:28:10 +00:00
lukem
828d282354 cosmetic change 1997-11-08 09:37:44 +00:00
lukem
54bdc1acab remove WARNS?=1, cleanup .Nm usage 1997-11-08 09:34:23 +00:00
lukem
8640f5d0af getopt returns -1 not EOF, use memmove instead of bcopy 1997-11-08 09:33:15 +00:00
lukem
b18fa5eb84 remove WARNS?=1 1997-11-08 09:31:04 +00:00
lukem
c47c1561be balance parenthesis correctly 1997-11-08 08:09:05 +00:00
jonathan
0bdc6f10b9 Commit `pacifier' driver for turbochannel PMAG-C option card:n
just acknowledge interrupts from the PMAG-C.
1997-11-08 07:27:49 +00:00
jonathan
fbac6ffd1b Delete ancient warning printf() from when this code hadn't been
tested on  3MIN or MAXINE motherboards.  Add __KERNEL_RSID while we're here.
1997-11-08 07:15:35 +00:00
thorpej
ec43979ba3 Properly determine the default media on '790-based cards. 1997-11-08 06:13:53 +00:00
thorpej
3d2b522093 Don't prototype ether_aton() here if __NetBSD__. 1997-11-08 05:57:15 +00:00
gwr
5eda2e37e8 Oops...(pasto) 1997-11-08 05:42:07 +00:00
jonathan
b0af934e5a Increase 'a' partitions from 16 to 32 mbytes, by stealing 16 Mbytes
from swap.  Sanity-check. With help from entropy@zippy.bernstein.com
1997-11-08 05:27:15 +00:00
briggs
527e5cbc44 Force the probe to find the internal video for the 63x/575 models. 1997-11-08 04:12:52 +00:00
mark
e968859def Install notes for NetBSD/arm32. 1997-11-08 02:55:06 +00:00
kml
86275dc497 TCP MSS fixes to provide cleaner slow-start and recovery. 1997-11-08 02:35:22 +00:00
mark
7555dda7db Remind the use which sets MUST be installed at the end of this script.
Don't try and install a kernel from the ramdisk image as this will now
be in a kern set.
1997-11-08 02:29:24 +00:00
mark
5cd730f2c3 Overhauled support for installing from CDROM. Support unsplit tar files
as well as split ones for installation sets.
1997-11-08 02:28:17 +00:00
mark
de12bd8b16 Include sysinst. 1997-11-08 02:26:16 +00:00
mark
b7fff31651 Initial commit of arm32 MD support for sysinst. 1997-11-08 02:17:16 +00:00
thorpej
cb96bff387 LintAlpha* have been removed. 1997-11-08 00:40:08 +00:00
hubertf
11f07e2683 - Not only add $CAT[1-9] to _CATLIST, but also $CAT[NL}
- Fixup documentation for CAT<sect>, CATPREFIX.
(these two changes were accidentally committed to the 1.3 branch
 as revisions 1.13.2.3 and 1.13.2.4 before!)
1997-11-08 00:18:24 +00:00
mrg
5952f7c2ce clean up a bit. 1997-11-07 23:07:37 +00:00
gwr
924c57cce0 Disable DMA and interrupts for now (via se_options). 1997-11-07 22:11:19 +00:00
scw
291b9b23f8 Add 'tty*' target for onboard serial ports. Include in list for 'all'.
(I'm surprised this wasn't spotted earlier...)
1997-11-07 21:29:21 +00:00
mrg
6bb686b3be print TNF copyright, like the kernel does. 1997-11-07 20:32:05 +00:00
mjacob
c2845107f1 If we're in the middle of opening, don't let st_interpret_sense get
into the act and return EIO or whatever when we're just eating the
initial TEST UNIT READY induced check condition.
1997-11-07 18:16:23 +00:00
drochner
23e7d0a259 Adjust comment for new default fragment table size. 1997-11-07 17:01:45 +00:00
drochner
4ad496626c Double default fragment table size. For fragmented and / or small
blocksize filesystems the old default was too small.
1997-11-07 16:59:41 +00:00
jonathan
5aa3e4ef06 reflect recent changes. Add more random ideas for features. 1997-11-07 14:12:27 +00:00
briggs
c1ed70f0d8 NetBSD RCSIds. 1997-11-07 13:31:15 +00:00
enami
140159fa85 Add the missing attribute dp8390nic' for the device we'. 1997-11-07 13:08:23 +00:00
mikel
77053262a2 add missing newline to usage string; from Manuel Bouyer in PR 4442 1997-11-07 09:01:29 +00:00
jonathan
cb086002a9 Add annoyingly verbose comments to pmax md.c and md.h, to serve as
documentation for porting to more hosts.

Define DISKLABEL_CMD in MD code.
CAVS: ----------------------------------------------------------------------
1997-11-07 08:43:46 +00:00