Commit Graph

12766 Commits

Author SHA1 Message Date
joerg a9315a99ce Fix support for negative keywords: the keyword is prefixed directly with
! without space, so that the splitting works as expected. Adjust entries
for bsdgrep.
2012-02-03 22:18:04 +00:00
nisimura 9aa0874ef1 Add Mini2440 entry to sysinst kernel selection. 2012-02-03 00:35:35 +00:00
phx 678263a5d4 Translate some new messages into german. 2012-02-02 22:15:04 +00:00
phx bd07308fb4 Use sync(8) instead of echo(1) to avoid writing an RDB disklabel.
echo(1) is not part of the miniroot file system.
2012-02-02 21:58:31 +00:00
tsutsui 8e1b1dc1f4 Build INSTALL_C700 ramdisk kernel and install into releasedir. 2012-02-02 16:02:44 +00:00
tsutsui 96d29df0a1 Select a proper kernel set (GENERIC or C700) per running INSTALL kernel name. 2012-02-02 16:00:35 +00:00
matt 37e06c30ca Add ext2/msdos support, allow mount from udf, add flashctl. 2012-02-01 22:25:46 +00:00
matt 48bb1d5677 Put ld0/ld1 on the ramdisk (for sdmmc). 2012-02-01 21:57:13 +00:00
dholland 8ca6501118 Set list updates for libquota bump. 2012-02-01 17:53:54 +00:00
dholland 59b296daa7 Change the syscall API for quotas over to the new non-proplib one.
- struct vfs_quotactl_args -> struct quotactl_args
   - add sys/stdint.h to sys/quotactl.h for clean userland build
   - install sys/quotactl.h in /usr/include
   - update set lists for same
   - add new marshalling code in libquota
   - add new unmarshalling code in vfs_syscalls.c
   - discard proplib interpreter code in vfs_quotactl.c
   - add dispatching code for the 14 quotactl ops in vfs_quotactl.c
   - mark the proplib quotactl syscall obsolete
   - add a new syscall number for the new quotactl syscall
   - change the name of the syscall to __quotactl()
   - remove the decl of the old quotactl from quota/quotaprop.h
   - add a decl of the new quotactl to sys/quotactl.h
   - update the libc build
   - update ktruss
   - remove proplib marshalling code from libquota
   - update copy of syscall table in gdb ppc sources
   - hack rumphijack to accomodate new quotactl name (as I recall,
     pooka wanted such a name change to simplify something, but I
     don't really see what/how)

This change appears to require a kernel version bump for rumpish
reasons.
2012-02-01 05:34:38 +00:00
nisimura 94c24683fe add MINI2440_INSTALL image to the distribution. 2012-02-01 03:35:14 +00:00
nisimura 6e0f9f1c21 introduce evbarm bootmini2440(8) man entry. 2012-01-31 12:23:32 +00:00
tls 286b7417a0 Add ipf_rb.h to setlist -- missed in earlier commits in ipf 5.1.1 import. 2012-01-30 22:51:51 +00:00
dholland f674bc87d8 Set list updates for libquota minor bump.
(the 32-bit lib and debug lib lists really ought to be automatically
generated)
2012-01-30 16:54:46 +00:00
nisimura 77b78cdcff Add FriendlyARM Mini2440 support.
- new code for Samsung S3C2440 SoC.
- update for other S3C2xx0.
This port was done by Paul Fleischer.
2012-01-30 03:28:33 +00:00
joerg a7dacf1e8f Bump libsqlite3 minor version for new functions in 3.7.10. 2012-01-29 23:29:00 +00:00
phx 2be87fafe3 Add support for RDB-partitioned disks.
When an RDB block was found on the disk we cannot change the disk layout,
and everything which has to do with MBR partitioning will be skipped.
2012-01-29 16:01:36 +00:00
phx ba87b849a9 Introduce some initial documentation for NetBSD/ofppc. 2012-01-29 15:54:35 +00:00
phx 36f7200ab1 Update list of supported NAS products. 2012-01-28 21:48:32 +00:00
phx 0de3893ab5 Use MAX3232 instead of MAX232 for the serial converter. 2012-01-28 21:48:00 +00:00
pgoyette 2f1f723965 Add new directories for trousers to sets lists. The directories get
created even if they're not populated.

Hello again, christos!
2012-01-28 15:10:24 +00:00
jnemeth 4ce18a15d5 put back accidentally obsoleted pxeboot 2012-01-27 08:47:52 +00:00
jnemeth a9a0f4b79c Stop building boot ROM images for old PC NICs as discussed on tech-kern. 2012-01-27 08:41:35 +00:00
tsutsui c1e4c0e11a zaurus zboot supports UFS2. (as defined in zaurus/stand/zboot/conf.c) 2012-01-26 16:12:14 +00:00
phx c43563e336 netboot is called altboot now 2012-01-25 19:03:35 +00:00
dholland 2cd8cfd233 Set list update for libquota manpage 2012-01-25 17:54:32 +00:00
christos 1897181a72 From tnozaki@: make fpos_t a complex object that keeps track of the parse
state of the stream. Change argument of the seek function to funopen() from
fpos_t to off_t. Make f{g,s}etpos() use the new fpos_t struct, while providing
backwards compatible entry points. Approved by releng@
2012-01-22 18:36:14 +00:00
tsutsui 02828259e9 Appease warnings `"expr 0 \* 1024 \* 1024 / 512" returned non-zero status.'
SWAPMB could be zero (in install-image case) and
expr(1) returns exit status 1 in that case.  Umm.
2012-01-22 16:56:22 +00:00
tsutsui 99c3f09a00 Fix checks for RELEASEDIR (and xxxxIMGBASE) variables to perform it
only on live_image or install_image targets.  PR toolchain/45864
2012-01-22 16:50:00 +00:00
jnemeth 08503b5d53 Fix build break: put back accidentally deleted tp.html. 2012-01-22 08:58:13 +00:00
christos 6fb39d18da add a tpm driver from bsssd.sourceforge.net 2012-01-22 06:44:28 +00:00
tsutsui 3cf69f27e2 Add "live-image" and "install-image" target support to build.sh.
"live-image" target builds pre-installed disk images that can be used on
emulators or boot from USB memory sticks to try NetBSD without installation.
Currently amd64, i386, pmax, sparc, sparc64, sun2, sun3, and vax
(which have working emulators and don't require extra tools like preparing
 msdosfs or partitioning MD label structures) support this target.

"install-image" target builds an bootable installation disk image that can
be used as an install CD but burned into USB memory sticks etc.
Current only amd64 and i386 (which would support USB boot) have this target.

For more details (and known issue) see following posts on netbsd-bugs@:
http://mail-index.NetBSD.org/netbsd-bugs/2011/08/06/msg023639.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/09/23/msg024207.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/07/msg025166.html
http://mail-index.NetBSD.org/netbsd-bugs/2011/12/08/msg025178.html

No particular comments about implementation, and
"go ahead" comments from mrg@, riz@ and christos@.

Closes PR toolchain/45153 and PR misc/45155.
2012-01-22 03:53:29 +00:00
isaki 2d602d5f8b Remove my (isaki@) acknowledgement. 2012-01-21 04:43:54 +00:00
agc d2e3329102 While the resulting image from mkimage can always be mounted with vnd,
and then modified, it is much easier to let this late, user-oriented
customisation be done automatically.  These mods let mkimage change
information based on files in a "custom" directory, which can be set
in mkimage using -c customdir.

After all other configuration, the files under custom/ will be copied
into the main image.  The files under custom/ are taken into account
when performing autosizing.

Also, generalise the sets directory to point to the current machine
architecture, although this can be overwritten from the command line
by anyone making cross-images.

An example to make a user image with an embedded read-only 100 MB
iSCSI target:

% ./mkimage -c custom
=== making a new 272 MB image in usermode.img ===
272+0 records in
272+0 records out
285212672 bytes transferred in 7.616 secs (37449142 bytes/sec)
=== mounting image via vnd vnd0 ===
/dev/rvnd0a: 272.0MB (557056 sectors) block size 8192, fragment size 1024
        using 6 cylinder groups of 45.34MB, 5803 blks, 11264 inodes.
super-block backups (for fsck_ffs -b #) at:
32, 92880, 185728, 278576, 371424, 464272,
=== installing sets ===
base
etc
modules
=== performing customisations ===
=== making extra directories ===
=== customising /var/tmp ===
=== user customisations from files in custom ===
Filesystem    1K-blocks       Used      Avail %Cap Mounted on
/dev/vnd0a       269967     263958      -7489 102% /mnt
% ls -l -R custom
total 8
drwxr-xr-x  3 agc  agc  512 Jan 18 03:58 etc
drwxr-xr-x  2 agc  agc  512 Jan 18 04:00 iscsi

custom/etc:
total 8
drwxr-xr-x  2 agc  agc  512 Jan 18 03:58 iscsi
-rw-r--r--  1 agc  agc  564 Jan 18 03:58 rc.conf

custom/etc/iscsi:
total 6
-r--r--r--  1 agc  agc  799 Jan 18 04:27 targets

custom/iscsi:
total 102484
-rw-r--r--  1 agc  agc  104857600 Jan 18 04:00 iscsi-target0
% sudo vnconfig vnd0 usermode.img
% sudo mount /dev/vnd0a /mnt
% cat /mnt/etc/iscsi/targets
# $NetBSD: targets,v 1.2 2006/02/16 19:30:57 agc Exp $
#
# Structure of this file:
#
# + an extent is a straight (offset, length) pair of a file or device
#   it's the lowest common storage denominator
#   at least one is needed
# + a device is made up of one or more extents or other devices
#   devices can be added in a hierachical manner, to enhance resilience
# + in this example, no device definitions are necessary, as the target
#   will just use a simple extent for persistent storage
# + a target is made up of 1 or more devices
# The code does not support RAID1 recovery at present

# Simple file showing 1 extent, mapped straight into 1 target

# extent        file or device          start           length
extent0         /iscsi/iscsi-target0    0               100MB

# target        flags   storage         netmask
target0         ro      extent0         0.0.0.0/0
% ls -l /mnt/iscsi/iscsi-target0
-rw-r--r--  1 agc  agc  104857600 Jan 18 04:00 /mnt/iscsi/iscsi-target0
% diff custom/etc/iscsi/targets /mnt/etc/iscsi/targets
%
2012-01-20 02:19:47 +00:00
bouyer 9427679519 Make parts of the quota tests useable for more than quotas:
- rename h_quota2_server to h_ffs_server, there's nothing about quotas
  in there.
- extract non-quota parts of quotas_common.sh to ffs_common.sh
2012-01-18 20:51:23 +00:00
riz e37e023b0f Setlist fix for MKDEBUGLIB=yes on amd64. Probably needs a similar
fix on sparc64.
2012-01-18 17:32:41 +00:00
joerg 83683d552a kpasswd depends on MKKERBEROS, not USE_KERBEROS 2012-01-17 18:53:22 +00:00
jakllsch f4a9de15e0 Add lm, lm_isa_common, lm_isa, lm_wbsio and wbsio modules to the x86 build. 2012-01-17 16:59:37 +00:00
mbalmer 04ad68ff98 Add uts(4) man pages 2012-01-17 08:13:41 +00:00
jmcneill 4b2d521801 use ${CDIMAGE} instead of ${CDBASE}.iso 2012-01-15 22:34:33 +00:00
joerg e5f626f9f7 Add nhpow(4) 2012-01-15 17:33:23 +00:00
agc 00c311bc00 Add 3 scripts which are useful for making images for usermode, or any
embedded platform in particular.

+ mkimage will make an autosized image in a file (using vnd) from sets
the resulting image can be mounted read-only, with tmpfs used for volatile
files on top of read-only bases

+ mkpkgs will make an autosized image in a file (using vnd) from binary
packages

+ usermode is an easy way to invoke usermode, making sure that bridging
is set up properly, and that the host syscallemu module is loaded. This
script then runs usermode with two file images (as produced by mkimage
and mkpkgs)
2012-01-15 02:01:02 +00:00
jmcneill ce4646dd28 PR# install/44593: Please give release ISO's more meaningful names
Change release ISO filenames, what was once 'i386cd.iso' will now look
like 'NetBSD-5.99.60-i386.iso'.

ok snj@
2012-01-14 22:56:30 +00:00
joerg 0cd0c897dd Update LLVM/Clang snapshot to r147888. Most importantly, this fixes a
number of ABI issues for i386 and provides the correct
__FLT_EVAL_METHOD__ when using i387.
2012-01-11 23:24:46 +00:00
rkujawa f4dbc84931 Add cv3dpb(4) page to set list 2012-01-11 17:28:52 +00:00
gson f6c2d0baa7 Add support for installing source sets as discussed on tech-install,
with improved German translations from Martin Husemann and Julian
Djamil Fagir.  French, Spanish, and Polish translations are
still needed.  OK christos, riz.
2012-01-10 21:02:47 +00:00
rkujawa 5375f8165e Add p5membar(4) to man set list. 2012-01-10 20:47:01 +00:00
snj c86bce3cfd spz and riz request that we don't list ftp.NetBSD.org's IP addresses. 2012-01-10 01:57:27 +00:00
sborrill 1e3389e580 Add dkctl to install ramdisk so that you can enable disk writecaches before
install, if necessary.
2012-01-09 17:45:03 +00:00
skrll b2ab995d00 Fix set list. kame_ipsec.html was missing. 2012-01-09 16:59:36 +00:00