Commit Graph

4081 Commits

Author SHA1 Message Date
nonaka
511069cd63 copy zbsdmod.o into installation/ and create sums. 2008-05-18 01:45:47 +00:00
jmcneill
911f972dcf Add sgi_fam, one less thing that has to be done when one wants to run
GNOME on NetBSD.
2008-05-17 21:37:09 +00:00
chris
2d9b8b788b As part of make release copy the miniroot.kmod into installation/miniroot/
and create sums for it.

This means all the pieces to do network installation are easily accessible
following a release build (and will also come out of the build servers).

netbsd-GENERIC is in binary/kernel/
pxeboot_ia32.bin is in installation/misc/
miniroot.kmod is in installation/miniroot/
2008-05-11 12:31:45 +00:00
macallan
3b2abbc7b0 add ttyE1-3 2008-05-08 16:15:05 +00:00
tsutsui
a48fac26d7 vt100 is better than unknown for ttyZ[01]. 2008-05-08 16:03:09 +00:00
gdt
6231d15c35 Remove gzipped kernel file just before running gzip >, avoiding
permission errors in unprivileged builds using a pre-existing
releasedir.
2008-05-07 21:30:26 +00:00
ad
59978d093b Put the GENERIC kernel onto i386 installation CDs and load a kernel module
from the boot loader to provide the miniroot.
2008-05-02 23:13:05 +00:00
ad
7d1f779aa2 Build and install modules into /kernel/modules. Each module gets a
directory for properties, blobs, etc. It's not fixed in stone and
can easily be changed if there are issues with the location/layout.
2008-05-02 23:12:00 +00:00
jmmv
322798e84e Adjust directory list after import of atf-0.5. 2008-05-01 15:32:46 +00:00
garbled
4b476699e2 Add a netboot directory to releasedir/installation. Put symlinks to the
kernels and ofwboot in there.
2008-05-01 01:58:10 +00:00
ad
928d6a0983 Give i386 and amd64 a default boot.cfg. 2008-04-30 16:48:53 +00:00
ad
da694a1ffc For PR kern/38537:
- Make MULTIPROCESSOR mandatory on i386.

Installation changes:

- Update installation section of release notes to match reality.
- Rename INSTALL to INSTALL_FLOPPY, retire INSTALL_LARGE.
- Build INSTALL kernel from GENERIC, like on amd64.
- Update boot menu to allow disabling ACPI and/or SMP.
- Remove GENERIC.NOACPI from the installed kernel list.
- TODO: install default boot.cfg in etc.tgz.
- TODO: possibly enable PCI fixup stuff at runtime if ACPI is disabled.

Build changes:

- No longer build ALL, it's for verification, is slow to build and the
  build process is already crippled by the number of kernels built.
- No longer build GENERIC.NOACPI.
2008-04-30 15:29:11 +00:00
martin
11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
xtraeme
fe3dc8ad88 Fixup the rfact for the -12V sensor in the Gigabyte P35C-DS3R
motherboard.
2008-04-26 13:02:35 +00:00
jmmv
44baf61c66 Add sample (commented-out) entries to change the keyboard's repeat rate.
I always do this after a system install but never remember the correct
syntax.
2008-04-25 13:09:13 +00:00
xtraeme
1b916313b0 - Fixup rfact values for itesio(4) in the Gigabyte P35C-DS3R mobo.
Only a sensor is only returning unknown data, all the other ones
  match what the BIOS returns.

- Improve comments and add a note for contacting me if the values
  returned by drivers are not correct.
2008-04-22 13:16:32 +00:00
plunky
486e4624e5 some changes to serial bluetooth host controller interfaces
btuartd(8) should be named btattach(8) for consistency
with other parts of NetBSD

make btattach(8) a single-use tool for less complexity

device specicific initialisation (from btuart(4)) is carried
out prior to activating the line discipline (in btattach(8)),
which simplifies the API somewhat and means that the user
tool and the kernel do not need to be kept in sync.

btuart(4) driver is much reduced; naming is made consistent
and all tsleep() and delay() are removed to userland
2008-04-15 11:17:47 +00:00
apb
af04b66a89 Remove an extraneous "%" from the end of a line. 2008-04-15 09:53:58 +00:00
apb
0a0e65b2a1 In the nooutput function, use {...} to ensure that shell messages
like "cmd: not found" are also redirected.

This should fix a problem reported by Chavdar Ivanov in which
the message "mtree: not found" appears during installation.
2008-04-15 09:52:41 +00:00
mjf
702dec85cb Remove entry for ttyv0. To quote chris@
"we're wscons on acorn32 now, and we're not going back"
2008-04-14 19:51:06 +00:00
apb
b0ec85766d * Fix the problem with pax complaining "file would overwrite itself" for
already-existing device nodes.  This is done by invoking pax with its
  current working directory set to an empty temporary directory.

* Add "-t mtree" command line option, to force MAKEDEV to use "mtree
  -e -U" to create device nodes.  Here are some timings from "MAKEDEV
  ${method} all" on an i386 system; each method was executed three
  times, first in an empty directory, then twice in an already-populated
  directory:

    -m mknod
	    4.56 real         1.58 user         1.68 sys
	    2.96 real         1.37 user         1.48 sys
	    2.95 real         1.43 user         1.44 sys
    -p pax
	    1.80 real         0.18 user         0.62 sys
	    2.35 real         0.25 user         0.80 sys
	    2.38 real         0.24 user         0.82 sys
    -t mtree
	    1.62 real         0.22 user         0.44 sys
	    0.23 real         0.29 user         0.04 sys
	    0.24 real         0.28 user         0.05 sys

* If no command line options force a choice, then prefer mtree, pax, or
  mknod, in that order of preference.

No objections in tech-userlevel to an earlier version of this change.
2008-04-09 20:19:15 +00:00
dyoung
d3627477d7 Certain misguided people have complained, NetBSD only runs rare or
"retro" computers, but NetBSD also runs a growing number of rare
and retro add-on cards.  With this patch, NetBSD supports the IDEC
Supervision/16, a black&white image capture board for the 16-bit
ISA bus.  Approximate date of manufacture: 1991.  Total instances
known to be in use throughout the world: one.

Coming soon; isvctl(8), the utility program for capturing 8-bit,
512x480 images at speeds of up to 6 frames per second.
2008-04-02 01:34:36 +00:00
mlelstv
930dfcfc6c The previous versions of kdc got different levels of patches
to make them work like a standard detaching daemon. Now keep
the original and just supply the "work as a daemon" command line
option as a default.
2008-03-27 21:42:22 +00:00
tsutsui
ec8e6f5b4b Add entries for zstty(4) serial on Qube 2700.
Also add tty0[1-3] entries to ttys(5) for com(4) at puc(4).
2008-03-27 15:26:39 +00:00
lukem
d2075344b1 Add pam_skey so that we get behaviour similar to "pre PAM". 2008-03-26 11:31:17 +00:00
lukem
a6de26fe1b add USE_* to params 2008-03-22 12:02:59 +00:00
lukem
2c1c2b60b2 Convert all the etc/etc.*/Makefile.inc to use RELEASEDIR/RELEASEMACHINEDIR
just like etc/Makefile does.
2008-03-18 04:20:36 +00:00
lukem
0068a17f43 show RELEASEMACHINEDIR in params 2008-03-16 07:25:57 +00:00
nakayama
868048cf4d SMP support for sparc64 now works, so make GENERIC.MP kernel build
by default.
2008-03-14 16:43:16 +00:00
tnn
f0a736e7f1 Add ttyE[0-3] entries for wscons. 2008-03-07 19:01:44 +00:00
christos
5a9c754ab2 Make makedir code optional for all directories (fd and altq) are affected.
This is so that md code that tries to call makedev altq or fd does not fail
when the file exists. This was reported in port-powerpc, when building /dev.
2008-03-05 02:29:51 +00:00
tron
634457e76e Print out a message explaining why the system is rebooting if the root
filesystem is modified by fsck(8).
2008-03-02 21:31:30 +00:00
tron
5acd6cb052 Don't try to shutdown amd(8) gracefully. It seems to cause problems for
more people than the old (also broken) behavior. This fixes PR bin/36506
and PR bin/38103.
2008-02-25 22:12:42 +00:00
christos
3a24c02f26 cleanup fsck error handling:
1. explain what each error means
2. remove 130 (128 + 2) which was presumably there because fsck_msdos did
   not handle SIGINT properly
2008-02-24 01:05:35 +00:00
jmmv
d82bccf48d Add directories for modules tests. 2008-02-10 12:41:06 +00:00
garbled
5219d864e2 Only build GENERIC and INSTALL 2008-02-05 19:03:38 +00:00
tron
5858f60bb7 Use official file from "ftp.internic.net". 2008-02-05 09:19:06 +00:00
spz
32d3eee2a4 AAAA at last! 2008-02-05 06:08:35 +00:00
jmmv
53f55c0659 Add the new directories required by atf 0.4. 2008-02-04 20:31:07 +00:00
tsutsui
bd48677918 Build a RAMDISK kernel on "release" target. 2008-02-02 14:07:39 +00:00
reed
f8fd203aa2 Add comment to point to manual page for details. 2008-01-31 15:21:32 +00:00
xtraeme
6efe384afc Remove references to check_uucp in daily.conf(5) and the defaults
file... uucp was removed a while ago.
2008-01-27 05:20:24 +00:00
garbled
9d727f97fa Default /dev/console to 9600, add new bridge mode kernel sets to build. 2008-01-23 23:18:50 +00:00
bouyer
61d4b35251 build XEN3PAE kernels as part of release. 2008-01-23 19:52:24 +00:00
lukem
35ec5a7f7a Set the permissions of /etc/openssl/private to 0700.
This makes sense and matches the behaviour of many other systems.
PR misc/18258.
2008-01-22 01:21:04 +00:00
christos
3e0495561a try to use programs from base (from anon ymous) sudo -> su 2008-01-17 00:37:46 +00:00
lukem
114e456e17 Ensure kdc starts after syslogd and ntpdate. 2008-01-16 23:58:26 +00:00
simonb
d8de5b102b Remove support for NetBSD/pc532. 2008-01-09 11:25:58 +00:00
mrg
a386f0e8b3 build an INSTALL kernel. it's just GENERIC with md(4) root space. 2008-01-02 11:32:15 +00:00
ad
2ecdf58c2c Remove systrace. Ok core@. 2007-12-31 15:31:24 +00:00
xtraeme
b7d6181694 Fixup some comments. 2007-12-27 01:23:55 +00:00
xtraeme
b9fa8c12a2 Add configuration properties for the Gigabyte P35C-DS3R, that uses
an IT8718F Super I/O.
2007-12-27 00:52:40 +00:00
jmmv
c78fd9679d Register the directories for the puffs tests. 2007-12-26 20:51:26 +00:00
ad
f4c9b5b65a Make SMP the default on i386. For the time being the noacpi kernel does
not have it enabled.
2007-12-25 01:03:31 +00:00
jmmv
98c2eca191 Register the /usr/tests/net/sys subtree. 2007-12-23 13:50:50 +00:00
jmcneill
1247e31569 Add example hotkey_button script 2007-12-22 19:04:10 +00:00
ad
f28895c808 Remove GENERIC.MP config and enable SMP by default on amd64. 2007-12-20 23:32:24 +00:00
apb
3501e2d554 .include <bsd.own.mk> early, otherwise the .PATH doesn't always work.
Now "etcupdate -s /path/to/src" should no longer complain about being
unable to make atf-run.hooks.  build.sh passes NETBSDSRCDIR in the
environment, so it used to work even without this include.
2007-12-20 16:53:59 +00:00
apb
2912d6fb40 Comment out an example, which was accidentally uncommented in my previous
change to this file.  This is where the mystery /dev/foo came from.
2007-12-20 07:30:25 +00:00
riz
ed16d9b321 Create drvctl as part of 'all'. 2007-12-17 04:29:50 +00:00
apb
f90ed3540d s/07555/0755/ in permissions of /dev file system. Thanks to
Dieter Roelants for the report.
2007-12-16 16:09:27 +00:00
apb
802860abdb When MAKEDEV creates a memory file system, let it try mount_tmpfs(8)
before falling back to mount_mfs(8).  Also calculate required number
of inodes more accurately.

Discussed in tech-userlevel.
2007-12-15 21:33:13 +00:00
apb
beae89cd6d In MAKEDEV.tmpl:
* Add a nooutput function to be used instead of redirecting to /dev/null,
  because /dev/null might not exist early in the boot sequence.  This
  should fix a bug in which the pax autodetection failed when used from
  init(8) with a read-only root file system without a /dev/null.
* Move most of the main program into a new makedev_main function,
  to allow reuse by MAKEDEV.local.

In MAKEDEV.local:
* Use the new makedev_main function defined in MAKEDEV.  This allows
  MAKEDEV.local to support all the options understood by MAKEDEV, instead
  of only a subset.  This should fix a bug in which the setup() function
  could try to use pax mode even though that was previously not supported.

In MAKEDEV.local man page:
* Update list of command line options.
* Don't explain all the options, just refer to MAKEDEV(8) man page.
* Remove BUGS section now that all MAKEDEV options are supported
  by MAKEDEV.local.
2007-12-15 17:28:09 +00:00
apb
280f9669d3 * Move duplicated code into a check_pax function, and improve the test
for whether pax is likely to be usable.
* Don't try to create an mfs with fewer than 10 inodes.
* Add a missing exit in an error case.
2007-12-11 11:51:19 +00:00
apb
c1da1584c4 Pass "-pe" flag to pax, otherwise the devices get created with
permissions modified by the umask.
2007-12-11 10:02:24 +00:00
nisimura
f45e56dfd5 - more arrangement to have minimal devices for init) and ramdisk) cases.
- make sure to have four tty[00-03] and assign 115200bps for the first.
2007-12-11 05:05:16 +00:00
garbled
f17dca7877 New MAKEDEV.conf for ofppc. Based on the unified powerpc majors file.
This can probably be simply copied to any port using the unified majors.
2007-12-10 18:17:48 +00:00
garbled
12d0909e08 Change to deal with the shared powerpc majors file, copied from the arm32
handling.
2007-12-10 17:57:24 +00:00
apb
6d3d3ebe02 * MAKEDEV's "-M -M" option was always intended for use only by init(8).
Improve the documentation around that.
* The "-p pax", "-m mknod", and "-s" (mtree specfile) options should
  always have been mutually exclusive.  Now enforce that.
* The "-f" option didn't ever work with pax or mtree mode; document that,
  and make it an error to try something that won't work.
* Make pax mode the default, if no other options prevent this, and if
  "pax -w -M" appears to be usable.
* Add missing options to a usage message.
2007-12-09 08:46:16 +00:00
apb
5e14203889 Update some comments and remove an unnecessary eval. No functional change. 2007-12-08 17:52:34 +00:00
apb
3bc3600ea3 Add a linecount shell function, and use it to count the lines in the
output from MAKEDEV.local.

Fixes PR 37498 from dlagner at rambler.ru, using an idea from David
Laight.  The while loop in the old code is executed in a subshell, so it
can't make persistent modifications to the parent shell's variables.
2007-12-08 17:31:12 +00:00
christos
d2c255cb71 PR/29634: me: missing pam racoon file. 2007-12-07 20:30:31 +00:00
mjf
d4a648c345 Implement a new magic string for magic symlinks, @ruid, which exapnds to the
real user id of the process and use this magic string for per-user tmp.
This should fix PR/35687

Kernel parts reviewed by wrstuden@
2007-12-04 22:09:01 +00:00
ad
2fdfbee8ac -GENERIC_DIAGNOSTIC 2007-12-02 23:55:52 +00:00
pavel
990a4b27aa Source /etc/shrc only if it exists. Inspired by PR install/37209. 2007-11-24 11:14:41 +00:00
dholland
d08cb6cf65 Handle non-trivial NIS compat entries (like +joe:::::::::) in the password
file. Fixes (my own) PR bin/33138.

reviewed: christos
2007-11-23 15:51:27 +00:00
bouyer
8fc0f9f54d Build amd64 xen kernels, and include them in the distrib. 2007-11-22 21:23:42 +00:00
bouyer
400aed76df Add Xen devices 2007-11-22 16:25:04 +00:00
jmmv
72ff826442 Add the debug directory for tests/util/id. Noted by drochner@. 2007-11-21 20:49:12 +00:00
njoly
8bb343aabb Add tests to the obsolete files list to be installed. 2007-11-21 16:23:29 +00:00
pooka
b305014b90 add /dev/pud 2007-11-20 18:58:46 +00:00
minskim
315b1fb6f5 Remove MKUUCP from RELEASEVARS. It is no longer used in src. 2007-11-19 18:27:27 +00:00
wiz
af2d5d85c1 Replace references to it(4) with ones for itesio(4). 2007-11-18 01:58:19 +00:00
jmmv
3ed83147c3 Add the directory for the id(1) tests. 2007-11-16 18:07:02 +00:00
joerg
611565d05b Remove GENERIC_LAPTOP and INSTALL_LAPTOP. To compensate, switch
bootfloppy-big to actually use INSTALL_LARGE (with ACPI) and 5 floppies.
2007-11-15 00:31:19 +00:00
jmmv
6ff8382f07 Fix build of tests with an MKDEBUG build by properly creating the target
directories that will hold the debug programs and by registering those in
the file lists.  (Untested, but hopefully will work.)  Noted by drochner@.
2007-11-14 20:37:53 +00:00
pooka
005e676a62 Create /dev/putter and symlink /dev/puffs to it. 2007-11-13 13:14:25 +00:00
jmmv
98380f8b63 Convert the regress/games tests to the atf
This change converts all the existing regression tests in regress/games
to the new framework provided by atf.  As a side effect, this also moves
all the tests programs in regress/games to tests/games.
2007-11-12 15:19:45 +00:00
jmmv
9b7401e7cb Convert the regress/sys/fs/tmpfs tests to the atf
This change converts all the existing regression tests in
regress/sys/fs/tmpfs to the new framework provided by atf.  As a side
effect, this also moves all the tests programs in regress/sys/fs/tmpfs to
tests/fs/tmpfs.
2007-11-12 15:18:07 +00:00
jmmv
65926be28b Convert the regress/bin tests to the atf
This change converts all the existing regression tests in regress/bin to
the new framework provided by atf.  As a side effect, this also moves all
the tests programs in regress/bin to tests/util, as they all belong to
utilities installed by the base-util-root package.
2007-11-12 15:13:58 +00:00
jmmv
3b0ca37dba Add the atf tests
This adds reachover Makefiles to build and install the atf tests.
2007-11-12 15:09:26 +00:00
jmmv
4d9b8b6a50 Add the tests.tgz set
This adds a new tests.tgz set to releases which includes all the tests
for the system.  It is important to note that this set does not rely on
comp.tgz: a user of the system can run the tests without having the
development tools installed, which can be useful in a production machine.
2007-11-12 15:06:45 +00:00
jmmv
dc55116c56 Add the ATF documentation
This change adds the ATF manual pages that are not tied to any specific
tool nor library.  It also adds some distribution documentation to the
system, as this is linked to by the manual pages (plus we have to install
the license text to comply with its terms).
2007-11-12 15:04:02 +00:00
jmmv
ce8090f1b4 Add the atf configuration files
This change adds the directory used by atf to look for its configuration
files.
2007-11-12 15:02:57 +00:00
jmmv
78bb0388d3 Add the ATF data files
This change adds example files shipped with ATF as well as other data files
required to support some of its features.
2007-11-12 15:01:50 +00:00
jmmv
fa5c7fcfae Add the atf shell subroutines
This adds the atf shell subroutines: i.e. the code that implements test
programs and is shared among all of them to avoid duplication.
2007-11-12 14:57:34 +00:00
jmmv
096ebe7672 Add the libatf library
This adds reachover Makefiles to build the libatf library and enables it in
the parent Makefile.

Things to review in this change:

* Add proper version numbers in the shlib_version files.

* Is libatf properly listed in lib/Makefile?  It theoretically needs
  libstdc++, but the resulting binary library is not linked against it.
2007-11-12 14:56:24 +00:00
jmcneill
a5bfefb1b0 Add support for /dev/padN devices 2007-11-11 17:54:47 +00:00
tsutsui
d4fdb655f8 Remove fd0 and fd1 devices (which are nonexistent on cobalt)
from (probably unused) "minimal" target.
2007-11-07 13:19:45 +00:00
gdt
0930138fa6 Make cfs (for coda) as part of all, conforming to the documentation
which says that "all" means "all known devices".
2007-11-03 19:33:36 +00:00
itohy
b3e176bbca Update to 2007110100 version 2007-11-02 03:37:23 +00:00
rjs
b641aac5c9 The kernel config has been renamed to GENERIC. 2007-10-29 09:45:31 +00:00
nisimura
3f59c64134 - add minimalist init) clause for the case of empty /dev directory.
- since no floppy drive is useful even with standard SP3 and EnCorePP1
  configuration, floppy related descriptions will be removed in future.
  installation procedure needs to have renovations.
2007-10-25 13:32:16 +00:00
nisimura
2839aa3fd4 dismiss GENERIC.X2 kernel to build as the conf file has gone. 2007-10-22 06:46:14 +00:00
garbled
5f16c40aeb Remove the pmppc etc stuff. Delete the pmppc manpage dirs from the mtree
list, but add mtree dirs for evbppc in section 4, because the pmppc sec.
4 manpages will be moving there.
2007-10-17 23:04:10 +00:00
tls
215e50961e Add httpd to the build. Add _httpd to passwd and groups and postinstall.
Add /var/www to mtree, add example line to inetd.conf.
2007-10-16 02:47:12 +00:00
wiz
ceaca18114 Fix syntax error in example. 2007-10-16 00:21:51 +00:00
xtraeme
cee3aed721 Also log the 'low-power' event via logger -p warning to have records
of what happened.
2007-10-11 19:47:26 +00:00
xtraeme
b8ef2c3d1f Fix a typo in previous. 2007-10-11 00:30:47 +00:00
xtraeme
d6753145c8 Use consistenly more meaningful messages in all envsys scripts. 2007-10-11 00:11:24 +00:00
xtraeme
7ade6d03ad Fix the problems described in:
http://mail-index.netbsd.org/current-users/2007/07/16/0012.html

- Introduce sme_class into the sysmon_envsys struct to specify a
  class; currently there are two classes: SME_CLASS_ACADAPTER and
  SME_CLASS_BATTERY.

- Add a new envsys event: PENVSYS_EVENT_LOW_POWER that is reached when
  all SME_CLASS_BATTERY devices are in CRITICAL/LOW state and there's not
  any SME_CLASS_ACADAPTER connected.

- Add the 'low-power' event into the sensor_battery script that will
  shutdown the system gracefully via 'shutdown -p'. If powerd(8) is
  not running, cpu_reboot(9) with RB_POWERDOWN is used.

- Make acpiacad(4) a SME_CLASS_ACADAPTER device and acpibat(4) a
  SME_CLASS_BATTERY device.

Update the documentation accordingly to these changes.
2007-10-10 23:25:39 +00:00
xtraeme
51dabc46f7 Fix the it(4) values on the ASUS M2N-E motherboard, tested by wiz@. 2007-10-10 20:49:38 +00:00
xtraeme
2026f84dc1 Only print the message if the command ran successfully. 2007-10-07 05:30:56 +00:00
xtraeme
4b431f1771 Update for the new configuration file format for envstat(8)
and the envsys framework.

The rc.d has been simplified vastly... the configuration file now
is more powerful than ever!
2007-10-07 04:19:06 +00:00
xtraeme
c5c7ad7f7c Fix up the it(4) example. 2007-09-05 14:18:55 +00:00
xtraeme
29742be0c4 Only three events are reported now:
normal
	state-changed
	user-capacity

But there's a fourth argument passed to the script that will report
current state description.
2007-09-04 16:59:49 +00:00
jmmv
36188e7296 Properly capitalize NetBSD in URLs. 2007-08-30 15:56:34 +00:00
adrianp
67b08a07ec The location of the pkg_info binary can now be specified in /etc/security.conf.
The default remains as /usr/sbin/pkg_info.  This should fix PR# 36746.
2007-08-27 19:57:02 +00:00
pavel
d4b5db05c7 Add some magic (similar to the one in rc.d/sendmail introduced with 2.0
release) to not start postfix if $postfix is not explicitely set and
another mailer is selected in /etc/mailer.conf. Also print a warning if it
happens because the mailer in rc.conf is the removed sendmail.

This prevents starting two MTAs at once if one uses a custom MTA.

As proposed on tech-userlevel, approved by martin.
2007-08-27 10:59:05 +00:00
dyoung
ea3cf9a639 Let an rc variable, sysdb=YES|NO, control the building of the system
databases.  Defaults to YES.
2007-08-26 23:55:50 +00:00
apb
e2832b6345 Back out previous (which worked but made the code harder to understand),
and implement a different method of avoiding a "-0" result.
2007-08-25 07:07:39 +00:00
martin
fe7b5be8b0 Cosmetics: print 0 instead of -0.
From Zafer Aydogan in PR bin/36831.
2007-08-24 17:02:32 +00:00
nonaka
05cbb430da Added wscons to ramdisk for tpctl. 2007-08-10 16:23:59 +00:00
tron
b21dec1752 Add code to monitor the disk wedges (see dk(4)) configured on the
system. Based on a patch contributed by Andreas Wrede in PR misc/36747.
2007-08-09 07:50:58 +00:00
tsutsui
6abcd959b3 Restore targets for sd(4) devices, which can be attached at atapibus(4).
Closes PR port-shark/36693.
2007-08-08 13:12:06 +00:00
jnemeth
1c35d39ad7 PR/36732 - Jim Bernard -- delete /usr/libexec/uucp/uucico from list of shells 2007-08-05 00:10:37 +00:00
ad
18af8ee9bd Add cpuctl(8). For now this is not much more than a toy for debugging and
benchmarking that allows taking CPUs online/offline.
2007-08-04 11:02:56 +00:00
jmmv
9de952fb19 sysinst needs wskbd0 to set the keyboard encoding, so generate all wscons
devices instead of just ttyE0.
2007-08-01 14:19:32 +00:00
nonaka
a91142d11f INSTALL kernel build, too. 2007-08-01 11:38:53 +00:00
nonaka
4498ddd5cb Added apm and audio device files. 2007-08-01 11:38:16 +00:00
jmmv
458be06c42 Switch the console to use vt100, as done in almost all other platforms.
GENERIC has provided wscons for a while, with "options WSEMUL_VT100"
enabled by default.
2007-07-31 19:55:03 +00:00
jmmv
d291012153 Switch NetBSD/shark's installation kernel and disk image to use wscons
instead of pccons, just like its GENERIC kernel does.

This obsoletes pccons in this platform, which will probably be removed
later.
2007-07-31 19:51:58 +00:00
jmmv
a556f30fda In the shark's installation image, create the bpf device from the
'ramdisk' MAKEDEV goal instead of from a Makefile definition.  As there
is just one configuration for the ramdisk, it's better to keep everything
in one place.
2007-07-30 14:03:17 +00:00
xtraeme
66c5665356 - Ignore lines with desc at start/stop time, this target must be used
manually.
- Ignore lines with rfact at stop time, they cannot be stopped.

Reported by wiz@.
2007-07-25 12:47:44 +00:00
pavel
de89ac5321 Add a comment reminding to update the release notes if the list of
kernels change.
2007-07-24 10:49:23 +00:00
pavel
8a0862e62b Add a comment reminding to update the release notes if the list of
kernels change.
2007-07-24 10:28:05 +00:00
jmmv
344ebed286 Fix the URL to the send-pr form as it now lives in another address. Not
critical since the server has redirections to make the old URL work, but
these may disappear.
2007-07-24 09:05:53 +00:00
plunky
2134bb0314 add requirement for bthcid since devices may need to authenticate 2007-07-23 18:06:56 +00:00
xtraeme
e8d5f35d1f Do not shutdown the system when a critical event is received, this
doesn't work when there are two or more batteries in acpibat(4).
2007-07-17 13:56:25 +00:00
xtraeme
8a3fc18201 This one is shared for Indicators and Integers... update the comment. 2007-07-16 17:51:09 +00:00
ad
96d0aa8e9b fixsb has done its job. 2007-07-14 21:20:31 +00:00
adrianp
3e46582d49 Add a default audit-packages configuration file for audit-packages
(part of pkg_install-20070714)
2007-07-14 19:53:52 +00:00
xtraeme
504183f783 Fix previous: typo and missing word. 2007-07-07 09:57:47 +00:00
xtraeme
ac978f4c7f Add additional configuration for the ASUS M2N-E motherboard using
the it(4) driver, verified with aiboost(4). Values found by wiz@.
2007-07-07 09:31:54 +00:00
xtraeme
e9878e8efb Add the /etc/powerd/scripts/sensor_indicator to handle events on
indicator sensors.

Update powerd(8).
2007-07-02 15:26:18 +00:00
xtraeme
f48b67ffaf Forgot to add envsys.conf. 2007-07-01 11:04:31 +00:00
xtraeme
bca6ba70fe Add the /etc/rc.d/envsys script required by envsys2. 2007-07-01 08:01:29 +00:00
xtraeme
08d5afa292 Imported envsys 2, a brief description of the new features:
(Part 4: documentation and configuration files)

* Support for detachable sensors.
* Cleaned up the API for simplicity and efficiency.
* Ability to send capacity/critical/warning events to powerd(8).
* Adapted all the code to the new locking order.
* Compatibility with the old envsys API: the ENVSYS_GTREINFO
  and ENVSYS_GTREDATA ioctl(2)s are supported.
* Added support for a 'dictionary based communication channel' between
  sysmon_power(9) and powerd(8), that means there is no 32 bytes event
  size restriction anymore.
* Binary compatibility with old envstat(8) and powerd(8) via COMPAT_40.
* All drivers with the n^2 gtredata bug were fixed, PR kern/36226.

Tested by:

blymn: smsc(4).
bouyer: ipmi(4), mfi(4).
kefren: ug(4).
njoly: viaenv(4), adt7463.c.
riz: owtemp(4).
xtraeme: acpiacad(4), acpibat(4), acpitz(4), aiboost(4), it(4), lm(4).
2007-07-01 07:55:51 +00:00
christos
4e8192be1a sync with IANA 2007-06-23 18:15:28 +00:00
christos
016b142ce7 Remove duplicate entries and document the procedure how to regenerate this
file.
2007-06-23 17:04:05 +00:00
simonb
d1187d4dcb Use "default" for the getty type for the console and the serial
ports, like other evb* ports.
2007-06-22 03:47:42 +00:00
kiyohara
bbec0bb7bf Added OpenBSD's zyd(4) driver.
Supports ZyDAS ZD1211/ZD1211B USB IEEE 802.11b/g wireless network device.
2007-06-09 11:20:54 +00:00
martti
d405da7f9d Use "mktemp -d -t xxx" to create the temporary directories. This will use
TMPDIR environment variable if set, otherwise use /tmp.  (misc/35544)
2007-06-06 13:30:47 +00:00
agc
45743840cb Add /usr/pkg/{,s}bin to the default path for the default class for login.conf. 2007-06-01 19:01:51 +00:00
tsutsui
1f40a9d3d4 Remove more dup entries uniq(1) can't detect. 2007-05-24 15:55:50 +00:00
christos
e3d9822168 PR/36384: Patrick Welche: triplicate udp entries in /etc/services
ran it through uniq
2007-05-24 15:01:47 +00:00
hubertf
ae218465f7 Add GENERIC.NOACPI kernel that offers - surprise! - no ACPI
(in contrast to GENERIC).
2007-05-17 01:50:48 +00:00
martti
94f749229e Create /dev/bio 2007-05-16 13:06:03 +00:00
christos
a77bf0b003 check if the source exists, not that it is a file. Reported by
Blair Sadewitz
2007-05-16 01:24:42 +00:00
christos
6ae2c5aec7 append services that got lost during the services conversion. 2007-05-15 19:58:27 +00:00
elad
6700cfccd6 Some Veriexec stuff that's been rotting in my tree for months.
Bug fixes:
  - Fix crash reported by Scott Ellis on current-users@.

  - Fix race conditions in enforcing the Veriexec rename and remove
    policies. These are NOT security issues.

  - Fix memory leak in rename handling when overwriting a monitored
    file.

  - Fix table deletion logic.

  - Don't prevent query requests if not in learning mode.


KPI updates:
  - fileassoc_table_run() now takes a cookie to pass to the callback.

  - veriexec_table_add() was removed, it is now done internally. As a
    result, there's no longer a need for VERIEXEC_TABLESIZE.

  - veriexec_report() was removed, it is now internal.

  - Perform sanity checks on the entry type, and enforce default type
    in veriexec_file_add() rather than in veriexecctl.

  - Add veriexec_flush(), used to delete all Veriexec tables, and
    veriexec_dump(), used to fill an array with all Veriexec entries.


New features:
  - Add a '-k' flag to veriexecctl, to keep the filenames in the kernel
    database. This allows Veriexec to produce slightly more accurate
    logs under certain circumstances. In the future, this can be either
    replaced by vnode->pathname translation, or combined with it.

  - Add a VERIEXEC_DUMP ioctl, to dump the entire Veriexec database.
    This can be used to recover a database if the file was lost.
    Example usage:

        # veriexecctl dump > /etc/signatures

    Note that only entries with the filename kept (that is, were loaded
    with the '-k' flag) will be dumped.

    Idea from Brett Lymn.

  - Add a VERIEXEC_FLUSH ioctl, to delete all Veriexec entries. Sample
    usage:

        # veriexecctl flush

  - Add a 'veriexec_flags' rc(8) variable, and make its default have
    the '-k' flag. On systems using the default signatures file
    (generaetd from running 'veriexecgen' with no arguments), this will
    use additional 32kb of kernel memory on average.

  - Add a '-e' flag to veriexecctl, to evaluate the fingerprint during
    load. This is done automatically for files marked as 'untrusted'.


Misc. stuff:
  - The code for veriexecctl was massively simplified as a result of
    eliminating the need for VERIEXEC_TABLESIZE, and now uses a single
    pass of the signatures file, making the loading somewhat faster.

  - Lots of minor fixes found using the (still under development)
    Veriexec regression testsuite.

  - Some of the messages Veriexec prints were improved.

  - Various documentation fixes.


All relevant man-pages were updated to reflect the above changes.

Binary compatibility with existing veriexecctl binaries is maintained.
2007-05-15 19:47:43 +00:00
christos
ab7e2cbd0e add rcsid 2007-05-15 17:13:16 +00:00
christos
a14fdbbe78 don't attempt to build the db file if the src file does not exist. 2007-05-13 17:23:56 +00:00
christos
2f776ce02e Move .db files for services and netgroup to /var/db per gimpy's request. 2007-05-10 17:45:50 +00:00
christos
66ee23cc21 iana-generated protocols file using:
http://www.sethwklein.net/projects/iana-etc/
2007-05-08 20:40:12 +00:00
christos
5258fdfda2 iana-generated services file using: http://www.sethwklein.net/projects/iana-etc/ 2007-05-08 20:38:37 +00:00
christos
f3418d6240 - don't trash utmp{,x} needlessly
- also support netgroup services and password
- pretty print
2007-05-08 20:33:59 +00:00
skrll
13951ee3d4 Add an INSTALL kernel for landisk and enable building it.
Also add an installation/misc directory for a boot.fs image which is WIP.
2007-05-02 08:02:00 +00:00
tron
e848cdf438 Terminate amd(8) gracefully during system shutdown.
This should avoid occasional problems with syncing or unmounting
filesystems on machines which use the automounter. Tested
successfully under NetBSD-i386 3.1_STABLE and 4.0_BETA2.
2007-04-23 14:27:30 +00:00
tron
01f7150efa The "routed" and "route6d" scripts must be run early during system startup
because they are part of the network initialization. Use similar
dependences as the "rtsold" script.

This should fix PR misc/36171.
2007-04-21 15:20:07 +00:00
pooka
11931abec3 add 9P file/resource protocol: tcp/udp 564 2007-04-20 16:18:02 +00:00
bouyer
dcb3400385 Sync ISO target directory and name with distrib/common/Makefile.bootcd:
target directory is ${RELEASEDIR}/iso/, named ${MACHINE}cd.iso by
default.
2007-04-11 20:46:09 +00:00
scw
5764a76889 Remove support for NetBSD/{,evb}sh5. 2007-04-08 09:35:21 +00:00
apb
31edfc6f0f * Add a stop_boot() function in rc.subr, to terminate a multi-user boot
by killing the parent process.  The parent's PID is saved in $RC_PID.
* In all rc.d/* scripts that previously tried to stop the boot,
  replace in-line code with "stop_boot".
* Document this.

This should fix PR 29822.
2007-04-06 14:20:08 +00:00
mishka
833cf25850 Provide yet more functionality to wscons.conf's "setvar" (see
examples in the wscons.conf). Now, you have to specify wscons
control device and put variable name and parameter on separate
fields.

NB: changes ARE NOT backward compatible and config file must be
checked (but default config doesn't utilizing setvar).
2007-04-02 12:42:42 +00:00
tnozaki
fd2dd8ec0d add new encoding support to iconv(3):
- RISCOS-LATIN1
	- DEC-MCS
	- DEC-HANYU(libDECHanyu)
2007-04-01 18:52:28 +00:00
jnemeth
f2e950685d PR/36058 -- fix check for group/other writable home directories from
Jukka Salmi
2007-03-27 08:37:58 +00:00
dyoung
aa85121e03 Make './MAKEDEV local' work as expected, whether we are counting
the number of /dev nodes or not.
2007-03-21 23:07:00 +00:00
garbled
c81799dbbe Create /dev/residual on prep 2007-03-21 04:26:07 +00:00
dyoung
46abb5c0e8 Remove whitespace from ends of lines. 2007-03-21 03:39:41 +00:00
plunky
c6f8856e3c For sdpd(8), change default user/group from nobody/nobody to _sdpd/_sdpd 2007-03-18 15:53:54 +00:00
abs
bde6709836 Ignore comment (starting with #) lines in mixerctl.conf 2007-03-16 22:30:22 +00:00
bad
ae77ae0ca1 Recent versions of mkisofs (I've tested starting with cdrtools-2.01.01a20)
can't find the el-torito boot image with the old syntax. This can be
fixed by removed the leading "i386/" from the -b argument, but then
the mkisofs from the current cdrtools-2.01 package won't find the boot image.

Change the graf-point specifications so that a trailing / terminates
the grafted directories. This way both versions of mkisofs can find the
boot loader.
2007-03-16 21:12:17 +00:00
tnozaki
aeadbd280f add tr_TR.ISO8859-9 locale. 2007-03-14 15:49:25 +00:00
tnozaki
9eae719a71 1. added iconv support of KZ-1048 encoding
2. move PTCP154 to KAZAKH directory.
2007-03-13 16:34:37 +00:00
apb
1f33f6e66f Test whether pax works; if not, fall back to mknod.
This is intended for use on install media that might not have pax.
2007-03-11 16:08:11 +00:00
apb
f5b5e05c27 * Add "-p pax" flag, to create all device nodes at once using pax,
instead of one by one using mknod.  This is much faster (speed
  increases of up to 20 times have been observed, but 3 to 5 times is
  more common).
* One "-M" flag will create the mfs file system but not redirect output
  to a temporary console; "-M -M" will also redirect output.
* Change the way we accumulate options to pass to MAKEDEV.local.
2007-03-11 15:52:30 +00:00
jmmv
a9a41f6c67 Convert shark's installation kernel image (netbsd-INSTALL) to a.out format
so that it can be loaded by the machine's firmware.  Put the resulting
image inside the 'installation/instkernel' release subdirectory, as the
installation instructions explain.

Fixes port-shark/35563.
2007-03-10 17:57:41 +00:00
dsl
b1c0dd5ffc Replace hexprint with a version that is much faster for values > 15.
Since I managed to commit my alternate scheme for zeropad, delete
the commented out lines and replace the only other use.
I've not deleted the function itself though.
2007-03-09 19:16:47 +00:00
dsl
5c2f2286e3 Add a globally applied substitution pattern for the console major number.
Use it when creating a temporary node for the console.
MAKEDEV -M should now output what it is doing.
2007-03-09 13:57:54 +00:00
tnozaki
ab9a36c548 add nn_NO(Nynorsk) and nb_NO(Bokmal) locale. 2007-03-08 16:26:26 +00:00
bouyer
144d1a5c9c Make iso-image do nothing for all but mac68k, which still
relies on mkisofs to create bootable ISO image. macppc should also be there,
but it seems the code to make an iso bootable never got added in etc.macppc/
2007-03-06 21:59:40 +00:00
bouyer
ff6bcd05a5 For the benefit of modern hardware, enable ACPI by default in INSTALL and
GENERIC kernels. If ACPI is an issue on your hardware, 'boot -c' and
'disable acpi' should be a workaround. ACPI-enabled kernels works fine
on pre-acpi hardware.
for amd64:
- add ACPI to INSTALL and GENERIC, remove the *_ACPI config files.
- get rid of the bootfloppy-big.fs boot image, and got to a 3-floppy boot
  image
for i386:
- introduce INSTALL_LARGE which has ACPI and some devices with big firmware
- move some devices from INSTALL to INSTALL_LARGE
- Boot floppies still use INSTALL, and bootfloppy-big.fs is still there
  (for thoses who want to build el-torito floppy emulation boot CD) and use
  INSTALL.
For both, drop the 'iso-image' code in etc/ to make the iso bootable, we'll
use something else to build bootable CDs.
2007-03-06 21:47:45 +00:00
tnozaki
806c2e8ee3 add zh_HK.Big5-HKSCS locale, derrived from FreeBSD. 2007-03-06 15:50:45 +00:00
tsutsui
1427320b39 Create /dev/pci0. 2007-03-04 10:36:00 +00:00
apb
68723a5b5f Remove MAKEDEV.subr. This removes the risk of third party scripts (or
human procedures) breaking because they assume it's enough to copy
MAKEDEV fom one place to another.

Let MAKEDEV return after defining shell functions but before doing any
real work, if MAKEDEV_AS_LIBRARY is set.

Let MAKEDEV.local load MAKEDEV as a function library via
"MAKEDEV_AS_LIBRARY=1 . MAKEDEV".
2007-03-03 06:36:00 +00:00
dsl
7bb36ad737 Use the correct major number for the temporary console node 2007-03-02 22:44:16 +00:00
dsl
5c38fc826c Add code that can be used by init(1) to request MAKEDEV create a mfs
filesystem and then populate it.
Determine the actual number of inodes that will be needed and add 10%.
Use "mount_mfs -o union" to save us having to copy MADEDEV (in case
anyone wishes to see it.
2007-03-02 21:29:23 +00:00
apb
f21f1a9ef9 If we are called as 'sh MAKEDEV ...', then we would previously have
tried to do '. MAKEDEV.subr'.  That doesn't work, we need to do
'. ./MAKEDEV.subr' in that case.
2007-03-01 20:48:26 +00:00
garbled
1d2057e71c update mtree for man4.prep 2007-03-01 18:47:49 +00:00