Commit Graph

69152 Commits

Author SHA1 Message Date
thorpej 25fe521af4 Fix a locking glitch in callwheel_slock handling. Noted by Bill Sommerfeld. 2000-08-22 15:30:59 +00:00
leo 67f170f93c Need to specify BINDIR or the executable ends up in / 2000-08-22 14:26:04 +00:00
tron 815deae8b6 Use vfork(2) instead of fork(2) to create child process for "gzip" and
wait until it terminates. Problem noted by Enami Tsugutomo on
"current-users@netbsd.org"
2000-08-22 14:20:17 +00:00
abs 863e9c9128 Bring up to date and save some more space (as ever). 2000-08-22 14:11:45 +00:00
abs 911ac86efa Switch to boot.400000, as the default sparc boot breaks if the in kernel
ramdisk is greater than 2950 (for the current INSTALL kernel).
2000-08-22 14:11:07 +00:00
abs 5838140e1a Add COPYSTRIPCOMMENTS, which passes files through sed to strip comments and
some whitespace, which halves the size of at least /etc/services...
2000-08-22 14:08:47 +00:00
abs bd9b9e0b4c Shave another few bytes here and there - compile with -Os 2000-08-22 14:06:37 +00:00
abs ec021a9f22 Fix some netinstall related text 2000-08-22 13:44:45 +00:00
abs 02a00854f4 Diet a little to help fitting onto a floppy 2000-08-22 13:36:14 +00:00
joda 991b448f39 add newline at end of file, to please (the quite buggy) mkid 2000-08-22 12:24:17 +00:00
lukem 003803c5d4 - add rc.conf.d to list of items to link
- update man page to reflect reality
- use mdoc macros correctly...
2000-08-22 12:06:46 +00:00
wdk caa807ac35 * Tidy up reading of Mips volume header information
All compatable values are copied from the MIPS volume header to the
  BSD disklabel structures.

* Add support for writing Mips volume header.

* Remove support for writing NetBSD label directly (this was broken)

These changes allow the kernel to read either a BSD disklabel created under
NetBSD/sparc or a MIPS volume header created under RISC/os.

There is a small amount of losage with the conversion between the 2
types of disk labels (mainly to do with file system types).
A table is used to map partition numbers and types between the two
types, and unless someone does something real fancy (or crazy) it should
work in both senario's

This change will allow the stand alone shell to directly load a NetBSD
kernel and mount a file system, avoiding the need for a seperate disk or
bootp server to bootstrapping NetBSD.

NetBSD/mipsco is now self sufficiant.  We are not far from having a
miniroot filesystem and removing the need to have another NetBSD
machine to create the base filesystems.

Minor Trap for young players:
   The root partition must be created with 'newfs -O' in order for the
   stand alone shell to boot the kernel

TODO:
   Add support for writing NetBSD disk labels back in - it will be useful
   for non boot disks.   I'm just not sure how to control the 2 behavours
2000-08-22 11:59:34 +00:00
tsubai eaa177d2f1 Add a missing entry to chrtoblktbl. 2000-08-22 11:48:23 +00:00
joda ce1bf05583 update description 2000-08-22 11:42:14 +00:00
abs 671e8ba97c unxexpand -a 2000-08-22 11:31:28 +00:00
tsubai f406aae2d2 MD part of mcount. 2000-08-22 11:25:49 +00:00
tsubai 84ecfb5e88 Call mcount for profiling. 2000-08-22 11:24:41 +00:00
lukem fa2f94238c - document `nostart' support for /etc/rc
- use bootconf.sh instead of fsck.sh as the `foo.sh' example
- add information how a normal script can stop the boot with kill -TERM $$
- update history
2000-08-22 08:53:17 +00:00
lukem ab1ba36358 replace references to /etc/rc.wscons with /etc/rc.d/wscons 2000-08-22 08:49:01 +00:00
joda 71cabc49dd (rbus_pccbb_parent_mem): make the rbus minimum start address
configurable (RBUS_MIN_START), since default value of 1GB doesn't work
well on some ThinkPads
2000-08-22 08:42:55 +00:00
lukem 05ad37d692 repalce rc.d/fsck.sh with rc.d/fsck 2000-08-22 08:38:54 +00:00
lukem 1d1d5add83 depreceate rc.wscons & rc.d/fsck.sh 2000-08-22 08:38:08 +00:00
mrg d12156f1bf #include <compat/netbsd32/netbsd32.h> if necessary 2000-08-22 07:36:04 +00:00
mrg 6c9a390cac sparc64 base set bits 2000-08-22 06:22:46 +00:00
mrg 1e067c72f0 add fstab.wd 2000-08-22 05:35:53 +00:00
mrg 7396e4ef69 for PCIIDE users. 2000-08-22 05:33:27 +00:00
mrg 743c8178fc base/md.sparc64 2000-08-22 05:31:13 +00:00
wdk 699089b936 Add mipsco port 2000-08-22 05:17:43 +00:00
wdk b45cb63296 Add portmaster for mipsco port 2000-08-22 05:10:10 +00:00
mrg 8638251139 declare struct firm_event32 2000-08-22 03:35:14 +00:00
erh df316aa06c Change the heap limit from 40000 to 50000 so the heap is the same size as it was before the "Hack from Hell'. 2000-08-22 02:46:30 +00:00
enami f6836da7ad Fix two more typos. 2000-08-22 01:33:52 +00:00
thorpej 14c0be9cd4 Protect hardclock_ticks and softclock_ticks with the callwheel
lock to prevent a race between hardclock() and callout_reset().
2000-08-21 23:51:33 +00:00
thorpej b7e86fa7a8 spllowersoftclock() is already void; no need to cast it. 2000-08-21 23:43:30 +00:00
thorpej 012500bf1f Add a lock for the callwheel (callout facility), and only go to
splclock() while holding it.
2000-08-21 23:40:56 +00:00
lukem ebc99afce8 sort lines. add nonlocalswap, securelevel 2000-08-21 23:39:07 +00:00
lukem e26f093e93 convert fsck.sh -> fsck (using kill -TERM $$ to stop autoboot). 2000-08-21 23:38:07 +00:00
lukem b94d4bd809 sort REQUIRE lines 2000-08-21 23:36:50 +00:00
lukem 093b7f0ae5 remove BEFORE DAEMON 2000-08-21 23:35:41 +00:00
lukem 3f5134ff22 REQUIRE ipfilter and ipsec 2000-08-21 23:35:20 +00:00
lukem 8f896c47b9 `REQUIRE bootconf' in lkm1 rather than `BEFORE beforenetlkm' in bootconf.sh 2000-08-21 23:34:45 +00:00
lukem a4517195f9 needs to run after mountcritremote, since ipnat is in /usr/sbin 2000-08-21 23:33:50 +00:00
lukem d8b52eec28 support running /etc/rc.shutdown.local 2000-08-21 23:33:06 +00:00
lukem ce3ce86261 migrate raising of securelevel from sysctl to separate securelevel script.
the latter depends upon aftermountlkm (but is required by DAEMON), so that
lkms may be loaded before the securelevel is raised.
noted by Rafal Boni <rafal@mediaone.net> in [bin/10780]
2000-08-21 23:31:24 +00:00
soren 7eaf9092e8 Typo. 2000-08-21 23:23:23 +00:00
thorpej a703d1e88e i before e except after c ... 2000-08-21 23:16:01 +00:00
lukem 49533ad06e don't start rc.d scripts with a `nostart' keyword 2000-08-21 23:09:50 +00:00
lukem 4e283949d1 remove rc.wscons 2000-08-21 23:07:11 +00:00
lukem 0c020b6812 migrate guts of these /etc/foo.conf config files into /etc/default/foo.conf,
and source the latter in the former.  this makes it easier for a sysadmin to
upgrade the default files without affecting local config, and retains the
semantics that the /etc/foo.conf files are the actual files that are edited
(as opposed to /etc/foo.local.conf or /etc/foo.conf.local or whatever, which
isn't as intuitive).
2000-08-21 23:06:22 +00:00
lukem 801142dbde - install files in etc/default/
- migrate rc.wscons to (already existing) rc.d/ wscons
2000-08-21 23:03:10 +00:00