Commit Graph

12753 Commits

Author SHA1 Message Date
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
skrll d2845d9eb6 Add a mkboot(8) man page. 2012-01-09 16:04:45 +00:00
dholland e15d192c7f Bump minor version of libquota.so. 2012-01-09 15:24:37 +00:00
dholland 0d7dfe62fa Add <quota.h> with the new libquota API.
This is the user/application API and does not include the kernel
interface. Definitions shared with the kernel are found in
<sys/quota.h>.

Since I've been working on a local branch I have taken the liberty of
moving the latest-so-far version of <quota.h> to the front of the
patch queue. This loses (a small amount of) history but has the
advantage of avoiding unnecessary version bumps of libquota.so.
2012-01-09 15:19:44 +00:00
drochner d107562abc Make FAST_IPSEC the default IPSEC implementation which is built
into the kernel if the "IPSEC" kernel option is given.
The old implementation is still available as KAME_IPSEC.
Do some minimal manpage adjustment -- kame_ipsec(4) is a copy
of the old ipsec(4) and the latter is now a copy of fast_ipsec(4).
2012-01-09 15:16:30 +00:00
sborrill 513c5af341 Add /sbin/dkctl. This allows you to drop to a command prompt and enable
writecaches before installing, if necessary.
2012-01-09 11:52:43 +00:00
skrll ccf87b9e24 Error if the root partition exceeds the PDC 2GB limit. The check now
catches invalid "existing" partitions. PR/45742

Thanks to martin for the German translation. The others are all my fault.

Thanks to mrg for comments
2012-01-09 11:51:41 +00:00
riz 9dc21a478b Copy resolv.conf into target even if it was created by DHCP, since in
that case, it will be replaced on next boot anyway.
2012-01-09 02:52:50 +00:00
riz a457d440cf Use the "doingwhat" message for the multiple disks case, not just the
single-disk case.

XXX Native speakers of .fr, .es, .de, and .pl please make sure the
replacement makes sense.  Thanks!
2012-01-09 01:51:47 +00:00
riz 1bfc197123 Add defs.h to DPSRCS. 2012-01-08 21:20:40 +00:00
christos ecad436e9c work for both X11R6 and X11R7 2012-01-08 02:32:00 +00:00
christos 56ed22796c this is only valid for X11R6; we never had a.out X11R7 2012-01-08 02:24:32 +00:00
christos 4e3ddc38b5 only deal with X11R7 now. 2012-01-07 18:54:30 +00:00
christos 4a6887196f add strspct 2012-01-07 18:42:38 +00:00