Commit Graph

4646 Commits

Author SHA1 Message Date
yamt 85ccb2e960 update RELEASEVARS 2011-11-02 16:39:23 +00:00
apb bddc18304e Change the pattern for matching ttys to allow any number of digits,
(tty[0-9]*).  This should fix PR 45514.
2011-10-26 09:02:20 +00:00
christos f78b488307 put back a commented out EXINIT entry. 2011-10-19 14:42:37 +00:00
dholland 3d0061d217 Re-enable EDITOR=vi because otherwise stuff breaks. (Or runs ed, which
is arguably equivalent to breaking.)

Per the discussion on tech-userlevel, document the settings offered.

(All of this needs quite a bit more work still.)
2011-10-19 11:27:26 +00:00
tsutsui a27f299c14 Cleanup ancient entries derived from 4.4BSD Lite2 merge
for newer useradd(8) users:
- remove all aliases
- remove annoying EXINIT setting
- comment out other environment settings

Discussed on tech-userlevel@.
2011-10-19 10:14:35 +00:00
jmcneill 3ed028dc67 restart dhcpcd if we get a "released" event from the vmt0 driver 2011-10-17 23:27:41 +00:00
tsutsui b1979e41c3 Make sure to put a.out GENERIC kernel into distribution. 2011-10-17 14:42:42 +00:00
mbalmer e0c22d6455 Install, and add to the set lists, example code to illustrate Lua module use. 2011-10-15 13:00:59 +00:00
apb a844ed90bd Exit with non-zero status when asked to create an unrecognised device. 2011-10-12 20:57:55 +00:00
njoly 7c1e53294f PR/45452: Fix pasto (found by tsutsui@) which prevented ra* device
special files creation.
2011-10-12 17:03:49 +00:00
tsutsui f6bedb7e36 Create sysmon(4) devices. Noticed by Y.Sugahara. 2011-10-11 12:08:20 +00:00
mbalmer 63bfe64311 Link the gpio(4) Lua module to the build and add it to the set lists.
(There is no manual page yet, since we have not yet decided where to put
them for Lua modules.)
2011-10-08 13:14:03 +00:00
hauke 087ced08e5 Create the sysmon device node for the software watchdog 2011-10-04 10:55:53 +00:00
pgoyette c2d58f1a39 Also re-add usr/include/dev/i2c to the mtree file 2011-10-02 19:31:45 +00:00
jmcneill ab747348b5 Install dev/i2c/i2c_io.h and implement the API in the iic(4) driver.
Obsolete the I2C_SCAN option as this can now be done from userland.
2011-10-02 16:39:45 +00:00
christos ca07041815 mention kern.tty.qsize requested by Matthew Mondor. 2011-09-25 21:47:22 +00:00
apb b80ac66c04 Don't try to fsck root device if "/" is not mentioned in fstab.
Also don't assume that all network mounts are "nfs".
2011-09-20 12:13:21 +00:00
jruoho 4a45a29ad9 Move the tests/libc/ieeefp to tests/libc/gen to match the structure of libc.
Also rename the test files to gain functional scope.
2011-09-19 05:25:50 +00:00
jym 256df2d4a9 - use -q to test for presence of a sysctl(7) variable silently
- modify powerd(8) sleep_button script so it can handle the soon-to-be
Xen suspend command.
2011-09-17 14:44:18 +00:00
apb 00aba3793b Revert previous now that "make cleandir" uses bsd.clean.mk to clean
both the obj dir and the src dir.
2011-09-10 17:02:46 +00:00
riz 6fc3b870af Create and install an rc.d file for devpubd - a daemon to listen
on drvctl and autocreate device nodes in /dev for those which don't have any.
Set the default to "NO" for now.
2011-09-06 21:32:29 +00:00
apb f11ca724cb Change foo*) case patterns to foo[0-9]*) in MD MAKEDEV.conf files,
as was done earlier today for the MI MAKEDEV.tmpl.  There are
also a few instances of slightly different changes in the
case patterns.
2011-09-06 14:40:10 +00:00
apb 99fac48d4f MAKEDEV dk<n> should create only the dk<n> device, but it previously
looped creating everything from dk0 to dk<n>.
Reported by M. Levinson.

Also add comments to cases where MAKEDEV loops creating multiple
devices.
2011-09-06 13:34:44 +00:00
apb 4bf21f27b6 In most case patterns, change foo*) to foo[0-9]*). There are also
a few where foo*) changes to foo|foo[0-9]*) or some other slightly
more complex pattern.

This should prevent "MAKEDEV foobar0" from accidentally matching
the foo* pattern when it should really give an error, and it
should make the order of the patterns less critical.
2011-09-06 10:54:03 +00:00
apb ed56faf952 Use ${.OBJDIR}/NetBSD.dist.tmp instead of just NetBSD.dist.tmp.
This fixes a problem in which NetBSD.dist.tmp had been created in
the SRCDIR by an earlier build (performed without an OBJDIR), and
the existence of the file in the SRCDIR confused a subsequent build
(performed with an OBJDIR).
2011-09-05 09:57:02 +00:00
mbalmer d88fd18413 Terminate line with a '.', not the word 'done', for consistency with other
startup scripts.
2011-09-02 07:13:28 +00:00
bouyer 9f200f93cc Add a INSTALL_LOONGSON kernel with a ramdisk.
build LOONGSON and INSTALL_LOONGSON for evbmips-mip64el
2011-08-29 18:32:18 +00:00
mrg f385d8f556 add the device publish daemon, written by jmcneill@.
listens on drvctl for new devices and invokes MAKEDEV for them.

missing:
  - manual page
  - rc.d script
  - more testing

but it works well enough to make new disk nodes appear in /dev when
netbsd sees them and they're missing.  you will need to make sure
you have a new /dev/MAKEDEV for this to work properly (postinstall
should handle this normally, of course.)


thanks jared!
2011-08-29 11:38:48 +00:00
dyoung 581feba28b Straggler from last: add the directory for ppath(3) tests. 2011-08-27 19:02:29 +00:00
dyoung 9943264696 Build and install ppath(3), property-list paths library. 2011-08-26 21:22:07 +00:00
matt b26c11e6b8 Build the GDIUM64 kernel (since it tests 16KB pages). 2011-08-24 16:03:34 +00:00
jym cec3d05bda Arch-specific rc.conf files are not really autonomous rc.conf
files, they are appended to the end of etc/defaults/rc.conf.

So rename them to rc.conf.append for clarity, as suggested by mrg@. Adapt
Makefile accordingly.
2011-08-22 20:48:38 +00:00
jym f56903492e Modify etc/defaults/Makefile so that architectures can specify an additional
rc.conf file. This one should reside under etc/etc.${MACHINE}/, and will
get automatically appended to etc/defaults/rc.conf at build time if present.

This is used by i386 and amd64 to append a small MD rc.conf(5) configuration
at the end of the defaults/rc.conf file, so that powerd(8) can be started
by default when we are running in a Xen environment. This is needed to support
save/restore functions for domains.

From all the alternatives proposed to fix that issue (from /etc/rc.conf
parsing in postinstall to etc/defaults/rc.conf arch-hooks) I believe
this one will appease everyone because it:
- does not touch etc/defaults/rc.conf template file,
- patches it at build time for MD hooks only when required,
- does not need to parse/modify a user-specified file like /etc/rc.conf (which
is a complex, error-prone operation),
- only enables powerd(8) by default when conditions are met (Xen environment)
while still allowing root to shoot himself in the foot if he wants to
override this manually in /etc/rc.conf.

See also http://mail-index.netbsd.org/tech-userlevel/2011/07/25/msg005246.html
2011-08-22 18:54:05 +00:00
phx 7084cee0f3 Turn off ttyE1-ttyE3 to avoid "Device not configured" messages after a
fresh installation with wscons disabled.
2011-08-21 10:41:51 +00:00
uwe 53fc796546 Revert previous as it introduces "Circular dependency on provision
`mountcritremote'".

route6d is "BEFORE: NETWORKING" and was made to "REQUIRE: mountcritremote",
but mountcritremote "REQUIRE: NETWORKING".
2011-08-18 16:46:14 +00:00
gdt ef4e1527ca Make route6d REQUIRE: mountcritremote.
route6d is in /usr/sbin, and thus on systems with separate / and /usr,
/etc/rc.d/route6d can be run before /usr is mounted, resulting in
route6d mysteriously failing to start.
2011-08-17 16:39:29 +00:00
apb 7535058544 Allow "echo -n" to work as expected in rc.d scripts that are executed
by /etc/rc.  Similarly for printf with a format that does not end with
"\n".  Previously, the partial line would not be visible on the console
until a newline was printed, possibly after an annoying delay.

This is done by adding echo() and printf() shell functions to rc.subr,
so that naive use of the echo and printf commands in rc.d scripts will
call these functions instead of the underlying commands.  These shell
functions send a new "nop" metadata message after the partial line, and
the rc_postprocess function in /etc/rc disentangles the partial line of
plain output from the metadata "nop".

Also add a "-n" option to the print_rc_normal function in rc.subr,
and make some cosmetic changes.
2011-08-11 22:52:46 +00:00
mbalmer a8d3ab0aa2 Print 'Keyboard encoding -> sg' instead of just 'encoding -> sg' on the
console.
2011-08-09 08:08:10 +00:00
jmcneill abbd5e9f62 add -u flag that causes the MAKEDEV script to only create a device node if it
doesn't exist
2011-08-06 12:29:39 +00:00
jmmv bbf950e188 Rename the _atf user to _tests. The _atf name will get obsoleted if/when
we migrate to Kyua (atf v2), so it's better to use a generic name that does
not depend on the specific implementation.  Also, this user has not gone
out yet into any stable release, so we can easily rename it.

Suggested by jruoho@.
2011-08-05 14:43:41 +00:00
matt ebed4b3440 Add CPMBR1400 and GDIUM as kernels to be built 2011-08-01 23:18:10 +00:00
taca 98fbd2eb78 Update to 2011060800.
- IPv6 address was added to D.ROOT-SERVERS.NET.
2011-08-01 10:04:27 +00:00
simonb fb56a64524 Restore "duplicate" entries, but use 0. and 1. names to ensure that
same hosts aren't used by both entries.
2011-07-28 22:28:07 +00:00
mbalmer 9e924e522c Remove duplicate (but commented out) entries. 2011-07-28 12:55:35 +00:00
christos 3c5f87c86e generate ecdsa key 2011-07-25 03:04:23 +00:00
mbalmer e37f33931b is is -> is 2011-07-24 08:28:11 +00:00
mrg a57ef5ffad remove unused directory. 2011-07-23 12:13:17 +00:00
christos 8095409b69 Sync keyboard list with reality. 2011-07-22 19:06:23 +00:00
tsutsui bf2202e183 Revive NetBSD/luna68k.
Even after almost a lost decade since NetBSD/luna68k was
switched to using ELF format by default back in 2001,
actually only one fix (bus.h) is required for a GENERIC kernel itself
to get multiuser login: prompt on a real hardware.  Hurrahhh!!!

Demonstrated with a working Xorg mono server on the NetBSD booth
at Open Source Conference 2011 Kansai @ Kyoto:
 http://www.ospn.jp/osc2011-kyoto/

"Very impressed," commented by Tomoko YOSHIDA,
Program Committee Chair of the Conference,
and some other OMRON guys.

Special Thanks to Tadashi Okamura, for providing
a working SX-9100/DT "LUNA" for this mission.


Changes details:

sys/arch/luna68k/include/bus.h
 - handle stride properly even on multi and region ops for MI spc(4)
 - also fix stride handling of (currently unused) 2 and 4 byte ops

sys/arch/luna68k/conf/Makefile.luna68k
sys/arch/luna68k/conf/kern.ldscript.head
sys/arch/luna68k/conf/kern.ldscript.tail
 - build a faked a.out kernel using elf2aout(8) tool
   and a linker script derived from cats and shark
   for the LUNA firmware that loads a.out binary directly
   via network or from a UNIOS partition on a local disk

sys/arch/luna68k/dev/omrasops.c
sys/arch/luna68k/dev/omron_rfont.h
 - use the original OMRON font derived from 4.4BSD-Lite/luna68k
   rather than gallant19 which is used on Sun workstations
   (XXX omrasops.c should be rewritten to use generic wsfont(4))

distrib/luna68k/*
distrib/utils/sysinst/arch/luna68k/*
etc/etc.luna68k/MAKEDEV.conf
etc/etc.luna68k/Makefile.inc
sys/arch/luna68k/conf/INSTALL
 - build a ramdisk based INSTALL kernel with sysinst(8) for luna68k
 - also build an installation iso image for luna68k

sys/arch/luna68k/conf/GENERIC
 - enable SYSVSHM (and other SYSV*) options for Xorg server

More Xorg changes (which need some more cleanup) and
isiboot.c fixes will come soon.
2011-07-16 15:52:20 +00:00
matt b8272261e5 Don't build 64bit kernel for evbmips-el 2011-07-14 05:31:16 +00:00
matt adf6b492c9 Add algor kernels 2011-07-10 23:49:31 +00:00
christos 011f77f43e default mdnstries to 0; most people don't use mdns, so this prevents spurious
warnings.
2011-07-09 19:24:13 +00:00
jmcneill 67cb532cd4 add /usr/include/dev/dtv 2011-07-09 14:55:44 +00:00
jmcneill 3b0709c8e2 create /dev/dvb/adapterN/* devices for dtv 2011-07-09 14:49:28 +00:00
jruoho 1d3a88895d Remove ../tests/syscall. 2011-07-07 07:40:46 +00:00
mrg e712e9f0f1 various updates for GCC 4.5. finally obsolete some very old gcc stuff. 2011-07-01 02:10:07 +00:00
matt 05461650d2 Add COMPRESS_PROGRAM=${TOOL_GZIP:Q} for pax.
Replace gzip with ${TOOL_GZIP}
2011-06-30 18:15:13 +00:00
nonaka c52f9a5df2 PR/45015: ld.elf_so: support ELF symbol versioning
Applied latest patch.
2011-06-25 05:45:10 +00:00
erh 2d7c053867 There is no .../5.99 path to use for PKG_PATH, so change it to 5.1 instead.
Also refer the reader to pkg_install.conf as an alternative.
2011-06-21 05:31:29 +00:00
plunky b41529f23b remove empty files 2011-06-18 18:43:41 +00:00
hans 21f62f04a1 remove -q argument, it is useless with Xorg and fails with XFree 2011-06-15 13:42:46 +00:00
christos 3a128b33dc PR/42642: Ed Ravin: Handle daemons that start with #!/usr/bin/env interp 2011-06-09 14:52:01 +00:00
phx 8e8cb185c4 Also create device nodes for wd2 and wd3. Up to 4 disks in a NAS system are
not unusual.
2011-06-08 18:37:23 +00:00
matt f48a97f0ed Add mpc85xx kernels. Add INSTALL_PMPPC
Put each family of kernels on a separate line.
2011-06-07 17:30:18 +00:00
njoly 3fa42f3842 Add testcase for PR bin/45004, to exercize suffixes lists for
mkdep(1).
2011-05-30 18:14:11 +00:00
plunky b52bb12959 provide a new 'bluetooth' rc.d script, to handle Bluetooth configuration
in a simpler manner. This replaces btattach, btconfig, bthcid, btdevctl
and sdpd scripts, and also should not require any configuration settings
other than "bluetooth=YES", though the full range of configurations is
still possible.
2011-05-27 09:28:41 +00:00
tsutsui 063351d547 Device nodes for zs serial have been renamed from tty0[0-3] to ttyZ[0-3].
There are still compat symlinks but it looks ttys(5) doesn't like it.

XXX: no /dev/com[01] nodes for in MAKEDEV.
2011-05-21 11:56:00 +00:00
tsutsui 3bf8818edb Also remove fd0 and fd1 from target all_md. 2011-05-20 08:29:05 +00:00
tsutsui bd408255f9 No floppy on zaurus. 2011-05-20 08:17:40 +00:00
jruoho f33b8e3d59 Add a test case for PR kern/44946. This tests that common first level sysctl
nodes (ddb, hw, machdep, etc.) are not writable by a normal user.
2011-05-09 17:53:54 +00:00
spz 52472990ca babylon5 ssh key changed (due to reinstall) 2011-05-08 13:19:08 +00:00
jruoho f9b73fbc67 Follow the real tree with the test directory structure. 2011-05-05 05:39:10 +00:00
jruoho cb861154c1 Add a test case for PR bin/26453. 2011-05-03 15:13:50 +00:00
jruoho 6e1e04d65f Add a test for PR bin/41880. 2011-05-03 08:36:15 +00:00
jruoho 765b090a54 A test for non-critical/low PR bin/42179. 2011-05-03 07:56:42 +00:00
jruoho 1f57069f96 Verify that PR bin/42628 is no longer an issue. 2011-05-03 07:23:19 +00:00
jruoho b76e0d98ce Add a test for non-critical/low PR bin/43141. 2011-05-03 06:13:06 +00:00
njoly ac283d741a Add back usr/libdata/debug/usr/tests/lib/libc/termios, needed for
debug builds.
2011-05-02 11:55:15 +00:00
pgoyette f2fa6a434c Get this right. It was not the debugdata directory that was missing... 2011-05-02 08:11:41 +00:00
pgoyette fd32cbc50c Add tests/lib/libc/termios subdirectory to accomodate jruoho's new test
t_tcsetpgrp
2011-05-02 02:43:04 +00:00
mbalmer 5f971e5eac Add Japan CBM character codes. 2011-04-27 20:05:56 +00:00
joerg 0cef9f9563 Add MKBSDGREP switch for easy testing of the GNU grep
replacement/alternative.
2011-04-21 14:26:33 +00:00
martin 470f713611 Get rid of var/chroot/tcpdump/etc 2011-04-17 13:07:18 +00:00
christos ccbde8e579 add cat8 and html8 2011-04-16 21:58:31 +00:00
christos dbc12114aa sort and add x86 2011-04-16 17:16:12 +00:00
joerg 873b4d7d94 Install clang's MD headers into /usr/include/clang-3.0 similar to GCC. 2011-04-15 19:31:06 +00:00
joerg dd04acc9a4 Move the headers for compiler and platform specific intrinsincs from
/usr/include to /usr/include/gcc-4.1.
2011-04-15 13:42:22 +00:00
matt 960a25c780 Add missing ./usr/libdata/debug/usr/tests/lib/libcurses 2011-04-12 17:07:52 +00:00
martin f327756f24 Ooops, fix source path for the "protocols" file 2011-04-11 21:49:13 +00:00
martin 75b76dfeb7 When run as root, tcpdump will chroot to /var/run/tcpdump - but it can
not look up /etc/protcols in there. So install a copy of /etc/protocols
into the chroot area.
Fixes PR bin/44721.
2011-04-11 20:03:45 +00:00
blymn 4743999381 Add libcurses to tests. 2011-04-10 09:45:59 +00:00
pgoyette 324074b933 atf-ify the various locale tests 2011-04-09 17:45:24 +00:00
plunky 77d265be45 link libbluetooth tests to the build 2011-04-07 06:24:07 +00:00
enami d89653b315 Unconfigure on shutdown so that component deivces are closed. 2011-04-05 02:52:27 +00:00
bouyer d9210c2405 Add a new libquota library, which contains some blocks to build and/or
parse quota plists; as well as a getfsquota() function to retrieve quotas
for a single id from a single filesystem (whatever filesystem this is:
a local quota-enabled fs or NFS). This is build on functions getufsquota()
(for local filesystems with UFS-like quotas) and getnfsquota();
which are also available to userland programs.
move functions from quota2_subr.c to libquota or libprop as appropriate,
and ajust in-tree quota tools.
move some declarations from kernel headers to either sys/quota.h or
quota/quota.h as appropriate. ufs/ufs/quota.h still installed because
it's needed by other installed ufs headers.
ufs/ufs/quota1.h still installed as a quick&dirty way to get a code
using the old quotactl() to compile (just include ufs/ufs/quota1.h instead of
ufs/ufs/quota.h - old code won't compile without this change and this is
on purpose).
Discussed on tech-kern@ and tech-net@ (long thread, but not much about
libquota itself ...)
2011-03-24 17:05:39 +00:00
phx f376dd1d49 Added missing devices: usb, sysmon, altq 2011-03-20 12:40:58 +00:00
nonaka 40ea0d961b added ld0 for SD/MMC. 2011-03-20 03:00:56 +00:00
pooka 0d3ccf3fed tests/fs/zfs 2011-03-10 20:03:40 +00:00
pooka 9eacb1b321 rumpnet tests 2011-03-10 14:11:18 +00:00
jmmv a3fddfa529 Enable the build of tmux and add the necessary directory and file entries. 2011-03-10 13:16:57 +00:00
pooka d1535ddeaf shmif_dumpbus tests 2011-03-10 11:16:03 +00:00
joerg aad599979d Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports
_rtld_tls_allocate and _rtld_tls_free. libpthread uses this functions to
setup the thread private area of all new threads. ld.elf_so is
responsible for setting up the private area for the initial thread.
Similar functions are called from _libc_init for static binaries, using
dl_iterate_phdr to access the ELF Program Header.

Add test cases to exercise the different TLS storage models. Test cases
are compiled and installed on all platforms, but are skipped on
platforms not marked for TLS support.

This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.

It is inspired by the TLS support in FreeBSD by Doug Rabson and the
clean ups of the DragonFly port of the original FreeBSD modifications.
2011-03-09 23:10:05 +00:00
jmcneill 0cce2c7d9b put a : in an otherwise empty function, makes this script work with bash 2011-03-07 23:21:13 +00:00
mrg 722355d60d install xorg-server.m4 at the request of jmcneill. 2011-03-06 22:15:29 +00:00
bouyer 063f96f3c2 merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
2011-03-06 17:08:10 +00:00
christos 6f0af47a9f too much quoting. pointed by anon ymous 2011-03-02 17:00:28 +00:00
phx 1b9ef66f08 Revert the major number for satmgr(4) back to 100 and allocate it from
majors.powerpc, as suggested by matt@.
2011-03-01 09:17:06 +00:00
ahoka 2b6ee22130 Import the Flash and NAND subsytem code contributed by the University
of Szeged, Hungary.

The commit includes:
 - Flash layer, which gives a common API to access flash devices
 - NAND controller subsystem for the flash layer
 - An example OMAP driver which is used on BeagleBoard or alike ARM boards
2011-02-26 18:07:13 +00:00
phx a1b66a73cd Changed satmgr(4) device major number from 100 to 144, which is reserved
for local/vendor use according to src/sys/conf/majors. This prevents
problems when the shared PowerPC device majors list gets another entry.
2011-02-26 09:52:16 +00:00
pooka f89c56e204 new testdirs 2011-02-24 10:29:04 +00:00
christos 555418b829 fix wrong path. Pointed by Anon Ymous 2011-02-20 19:23:19 +00:00
christos ab765c5256 missing directory 2011-02-20 16:23:59 +00:00
matt 3c68128777 Build different kernel when mips64e[bl] 2011-02-20 08:27:32 +00:00
christos 63a9799e3a Add the libsaslc example dir. 2011-02-20 02:16:05 +00:00
pooka 051ff4a0eb hfs 2011-02-18 13:08:41 +00:00
jmcneill a58d526ab8 Add rc.d script to make sure the system fontconfig cache is up to date. 2011-02-18 00:42:20 +00:00
uebayasi 51495ed0e7 Install "obsolete" files only when necessary. 2011-02-16 16:22:13 +00:00
uebayasi 0fe7ea2a0f Generate MAKEDEV only when really necessary. Write dependency correctly. 2011-02-16 16:20:06 +00:00
uebayasi d47c36d993 To install 0-sized files, check if the destination already has one.
This avoids unnecessary updates (== timestamp changes in METALOG).
2011-02-16 15:52:51 +00:00
matt 9767c9385f Add missing / 2011-02-10 19:17:35 +00:00
matt ad579a7d9b Add debugdirs for o32 and 64 2011-02-10 19:12:44 +00:00
obache a0925f0154 remove obsolete "sieve 2000/tcp" entry. PR#42426. 2011-02-10 13:39:32 +00:00
jym d67b6a35e5 Reinstate INSTALL kernel for embedded ramdisk installs.
Reasons being:
- INSTALL is GENERIC with an embedded ramdisk, and as such, can benefit from
features included within.
- INSTALL_FLOPPY has its own config(5) file, and is tailored for "small"
floppy images; it misses features/drivers that could be needed to boot
in a decent environment for recent x86 machines (like ACPI)
- makes it closer to floppies distrib available for amd64

While here, comment out INSTALL_FLOPPY and bootfloppy-big image build. NetBSD
does not use the 3.6MiB image for El Torito cdroms anymore.

Remove the FLOPPYMAX limit; i386 needs 4 floppies now. Modify boot.cfg and
release/contents to reflect reality.

See http://mail-index.netbsd.org/port-i386/2011/02/08/msg002307.html

No comments, no objections.
2011-02-10 00:43:19 +00:00
pooka cf0dbcff8b more testies 2011-02-09 14:34:42 +00:00
pooka deba567af1 oh no, more tests 2011-02-08 10:13:13 +00:00
pooka c221725e98 librumphijack build infra 2011-02-06 18:47:55 +00:00
tsutsui b04b7da893 Switch NetBSD/hp300 to wscons with rasops. Simply ported from OpenBSD/hp300.
- Only A1416 Kathmandu (topcat) framebuffer on 425t is tested, but
  all other variants (TigerShark, Hyperion, DaVinci, GatorBox, Renaissance)
  should also work if they are working on OpenBSD/hp300.
- sti(4) and SGC bus support are not pulled because I don't have 425e
  and I can't confirm that 362 and 382 actually have SGC bus.
  (I'll commit a DIO based dumb driver for 362 and 382 framebuffers later)
- Xorg server with wsfb driver will also be integrated soon
  once after keycode with NoSymbol problem is addressed.
  (We have to re-think what code should be used on WSDISPLAY_COMPAT_RAWKBD)
- MI HIL keyboard and mouse drivers are working fine though
  cngetc via hilkbd has some problem (still we can input commands).
- No old HP-UX like HIL ioctl compatibility (we removed COMPAT_HPUX anyway).
  grfinfo(8) and hilinfo(8) will be removed shortly.

Demonstrated on NetBSD booth at Open Source Conference 2011 Kagawa.
2011-02-06 18:26:51 +00:00
pooka 6e2c74cec3 + tests/usr.bin
+ tests/usr.bin/rump_server
2011-02-03 15:39:50 +00:00
rmind 07ac07d35f NPF checkpoint:
- Add libnpf(3) - a library to control NPF (configuration, ruleset, etc).
- Add NPF support for ftp-proxy(8).
- Add rc.d script for NPF.
- Convert npfctl(8) to use libnpf(3) and thus make it less depressive.
  Note: next clean-up step should be a parser, once dholland@ will finish it.
- Add more documentation.
- Various fixes.
2011-02-02 02:20:24 +00:00
jym 2ba7d66f55 Typo fix. 2011-02-01 21:28:43 +00:00
pooka 84a1daa21a add sandpoint dirs for man chapter 4, they seem to be required now 2011-01-26 15:00:56 +00:00
pooka 5f7e80a834 Add support for the Extensible MIPS ("eMIPS") platform. The
NetBSD/emips port runs on Xilinx and Beecube FPGA systems and the
Giano system simulator.

eMIPS is a platform developed at Microsoft Research for researching
reconfigurable computing.  eMIPS allows dynamic loading and scheduling
of application-specific circuits for the purpose of accelerating
computations based on the current workload.

NetBSD eMIPS support for NetBSD 4.x was written at Microsoft Research
by Alessandro Forin and Neil Pittman.  Microsoft Corporation has
donated full copyright to The NetBSD Foundation.

Platform support for eMIPS is the first part of Microsoft's
contribution.  The second part includes the hardware accelerator
framework and will be proposed on tech-kern soon.
2011-01-26 01:18:43 +00:00
jym d2834deaa5 Build miniroot.kmod installation module for amd64. Hook GENERIC
with it.

See http://mail-index.netbsd.org/port-i386/2011/01/14/msg002247.html
2011-01-18 00:22:56 +00:00
pooka 0625d22c3c h_server is back, now testier than ever 2011-01-14 13:24:45 +00:00
haad 7532abd112 Use chown now when it's available without /usr mounted. 2011-01-13 22:30:09 +00:00
pgoyette 809681d76f Sets-list and mtree dance for t_inet_network 2011-01-13 13:54:23 +00:00
kefren e0adf296c4 add ldpd rc script 2011-01-13 10:55:19 +00:00
pgoyette 1de58405f0 sets-list and mtree dance for moving t_mktime & t_strptime 2011-01-13 00:16:34 +00:00
pgoyette 893f5724c6 Hook up the getaddrinfo test in its new location 2011-01-12 02:59:16 +00:00
pgoyette f923271858 sets-list dance for getaddrinfo test 2011-01-11 16:31:32 +00:00
pooka f6b3a097e6 +tests/net/net 2011-01-11 10:55:27 +00:00
njoly 0938ffa1c1 Add lib/libc/sys test dirs. 2011-01-10 17:17:36 +00:00
pgoyette 99902ed6a7 sets-list dance for atf version of regex test 2011-01-08 18:11:21 +00:00
haad 2dc8282a58 Use /rescue/chown not chown from /usr/sbin which might not be available in
time of running this script.

XXX. Why is chown in /usr/sbin ? it should be moved to /sbin
2011-01-08 16:16:51 +00:00
pgoyette 871c88bcef mtree and set-list games for xdr test 2011-01-08 07:00:17 +00:00
pgoyette 27aeaab683 Hook the new atf db test 2011-01-07 15:06:37 +00:00
pgoyette 016a7f9b90 Hook t_cerror and t_ttyio into the build 2011-01-07 02:49:09 +00:00
haad 912a040b47 Allow operator to use lvm in read-only mode. Switch LVM lock dir to
/var/run/lvm and create it in rc.d/mountcritlocal. Fix dm control device
permissions to allow rw for operator.

Test if we are running lvm commands as operator and if that it's true do not
create vg backups and do not print confusing warning.
2011-01-05 14:57:27 +00:00
dholland 857817b9c3 Make the alternate name for "manet" caps so it's not a duplicate.
Gives the impression of closing PR 44311.
2011-01-04 06:54:59 +00:00
pgoyette 728b11b751 Add the new directory for hash test data 2011-01-02 22:04:45 +00:00
dbj 11be24bd28 add usr/tests/lib/libc/ieeefp and ./usr/libdata/debug/usr/tests/lib/libc/ieeefp 2011-01-02 11:34:13 +00:00
dbj 82507e5f0c add missing ./usr/tests/lib/libc/ieeefp 2011-01-02 09:30:08 +00:00
tsutsui 7afadd961b - build a GENERIC kernel on release for validation on releng daily build
- comment out targets which should be put once after src/distrib/amigappc
  is prepared
2011-01-02 08:49:33 +00:00
tsutsui 6320019e93 Make sure to build GENERIC kernel on release build.
This means there is no kernel binary in past releases. Oh well...
2011-01-02 08:17:24 +00:00
haad 082dce313a Remove optional keyword from directory definition. 2011-01-01 22:11:45 +00:00
haad 1d0e6bab66 Add /var/lock/lvm subdir for LVM it can be created automagically but I think
that it's better to have it created before.
2011-01-01 13:09:13 +00:00
haad 9ec41ae5fa Add /var/lock directory to base set it's used by LVM and other tools.
Change group owner to operator to enable LVM locking for him.
2011-01-01 12:49:48 +00:00
jruoho 7373892abb Use hw.acpi.sleep.state instead of machdep.sleep_state. 2010-12-31 09:36:15 +00:00
jruoho e26a5e9d52 Remove the apm(8) example. Instead point to the sleep_button -script. 2010-12-31 09:33:10 +00:00
jruoho d6f07c40ce Remove the sony(4) and piixpcib(4) based actions; all powerd(8) scripts
should either be machine-independent or provide hints for the user. Also
clean the script a little.
2010-12-31 09:29:43 +00:00
pgoyette cfe38ef780 Move the various setjmp tests from regress to atf 2010-12-27 19:35:30 +00:00
christos 4f848eee4b `` -> $() 2010-12-27 03:38:52 +00:00
pgoyette 575e75ffe4 Migrate the ssp tests from regress to atf.
Of the 17 tests, 4 fail in both the regress and atf style.  3 additional
tests fails in atf that did NOT fail in regress: gets, fgets, and read.
I will investigate why, and update when I can, but it is still useful to
get these tests into the new format where they can be exercised.
2010-12-27 02:04:18 +00:00
pgoyette f03970fd11 Migrate J.T.Conklin's public-domain str* tests from regress to atf.
While here, do some clean-up and knf.
2010-12-25 21:10:24 +00:00
phx faa62f01c6 Add ttyE1-ttyE3 for wscons.
Use serial devices tty00, tty01, tty10 and tty11, which are configured
by MAKEDEV.
2010-12-21 19:18:46 +00:00
pgoyette e02d91d677 Move the only regress/lib/libm test to the new atf format 2010-12-20 23:47:23 +00:00
jruoho 27cfff3b3e Make tcpdump(8) to drop root privileges and chroot(2) by default. 2010-12-17 09:54:27 +00:00
pooka cff244c45d goop for initial raidframe test 2010-12-15 20:42:23 +00:00
pooka 43f4e42ae4 usr.sbin/traceroute 2010-12-15 00:19:05 +00:00
pooka 15e64e6489 don't create h_img2cgd dirs anymore since they'll just be harvested by obsolete 2010-12-15 00:18:37 +00:00
pooka ae428f9a60 directory not used anymore 2010-12-13 13:41:41 +00:00
mrg 1cc7ce56fd if MKCOMPAT != "no", don't include the MD files for now -- they're only
used for compat right now.  we should fix this better later.
2010-12-10 07:17:00 +00:00
njoly f23e744cdd Make tests set generation optional, skipped for MKATF=no build. 2010-12-08 23:56:01 +00:00
christos 26717b4ba7 new /usr/include/pcap directory. 2010-12-05 05:55:29 +00:00
jmmv 2a4ba28f3b Set the default localcypher to sha1 as discussed in current-users@. 2010-12-03 21:40:04 +00:00
abs d5409df303 Add wd2 and wd3 to the default device set - noted by Donald Lee on port-macppc 2010-12-01 22:06:19 +00:00
pooka 024c6ce070 adjust previous a bit to attempt to deal with MKMONKEY 2010-12-01 07:03:21 +00:00
riz b16d0da05a Add sets/mtree goop for new test program and accompanying dirs. 2010-11-30 23:18:25 +00:00
pooka 30ef7f96b5 build system gobbeldygook for tests 2010-11-30 22:14:02 +00:00
pooka 48e1b6d6d5 Add simple test for md(4) which just stuffs junk into /dev/rmd0d
and checks the same data can be retrieved.
2010-11-23 15:38:53 +00:00
christos e614555f42 add want_agent to the commented line of pam_ssh 2010-11-13 19:19:40 +00:00
pooka afd7c107ce build system worship for new tests. 2010-11-11 22:48:47 +00:00
pooka b6e917cebd usual goop for new tp & dir 2010-11-07 19:55:58 +00:00
jmmv 52d94cef95 Add the _atf user and group to be able to run unprivileged tests automatically
without having to manually tweak the 'unprivileged-user' setting.  Suggested
by pooka@.
2010-11-07 17:47:47 +00:00
pooka bfc769e859 debug entries are sacred too 2010-11-04 13:24:26 +00:00
pgoyette 2ce20f6d94 Remove lib/libc/stdio - no longer anything in there. 2010-11-04 13:01:42 +00:00
pooka 90989e51c9 + tests/lib/libc/stdio 2010-11-04 11:50:27 +00:00
christos 1197565d44 add otus 2010-11-03 21:46:36 +00:00
joerg 6960a12118 Install XZ's header files. 2010-11-02 19:12:46 +00:00
christos 29f0bfc6b2 From Anon Ymous:
Send the SIGALRM to the correct process when we timeout. See the note
in src/etc/rc regarding RC_PID.

The former code would leave you with a root shell when the prompt
timed out (if the tty is marked secure) while continuing the boot
process in another shell.  This was easily hidden if you started
xdm(1) at boot, while the root shell remains on another tty
(accessible with CTL-ALT-F1).
2010-11-01 14:42:08 +00:00
christos a8684509ca add a cgd_stop function 2010-11-01 14:41:11 +00:00
mbalmer aa94cc597c Link Lua to the build and add the resulting files to the distribution sets.
Document the addition of Lua and the change we made to the default settings.
2010-10-31 11:52:50 +00:00
macallan 3f7245fde9 adapt to how backlight control is supposed to work - just flip the switch and
we don't need to save the brightness level
2010-10-28 02:06:02 +00:00
jmmv fc81f1bd0c Adjust file lists and directories to match atf 0.11. 2010-10-20 09:22:32 +00:00
kiyohara c0bd6c34f8 Create installation/floppy directory. 2010-10-17 10:56:48 +00:00
kiyohara 6cd4de0c46 Add bktr.
Remove mms, lms.
2010-10-17 10:55:01 +00:00
christos 8dbfedf8e0 update from the IANA database 2010-10-04 22:31:11 +00:00
tsutsui 424c2d5c6b Build a raw binary format GENERIC kernel and put it into distribution dir.
This would make it possible to create a bootable CD using root on gdrom
without toolchain (i.e. without whole src tree).
2010-10-04 16:03:30 +00:00
tsutsui 807849c28e Change distribution filename for KERNEL_SETS kernels with KERNEL_SUFFIXES
in ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/kernel/
from "netbsd.aout-GENERIC.gz" to "netbsd-GENERIC.aout.gz" or so
as src/distrib/common/Makefile.mdset does for mdroot ramdisk kernels.
2010-10-04 13:55:39 +00:00
tsutsui 82527754bc Copy ramdisk INSTALL.aout kernel into installation/instkernel in ${RELEASEDIR}
where it had been put and documented. Actually closes PR port-shark/41672.
2010-10-04 13:45:28 +00:00