Commit Graph

186641 Commits

Author SHA1 Message Date
tsutsui
93bd1a122c Use /dev/fd0a rather than /dev/rfd0a to read instfs.tgz image from floppy.
It looks newer (appearred after 1.6) gzip tries to read less than DEV_BSIZE
(to check header?) so we can't use raw device directly.
(note sparc bootfs ramdisk doesn't have dd(1))

Workaround for PR port-sparc/42193, and would also fix PR install/28734.
2009-12-24 14:56:14 +00:00
kiyohara
4018fc33a7 Fix interrupt number.
The data sheet describes that the interrupt of ECC is 17.
2009-12-24 09:29:36 +00:00
kiyohara
38d5a971c8 Add COMPAT_50. 2009-12-24 09:26:43 +00:00
jakllsch
75bfe4c1bd defflag UGEN_BULK_RA_WB is no more.
Hi pooka
2009-12-24 01:32:22 +00:00
jakllsch
36338876d4 Add libdwarf lint file. 2009-12-24 01:13:20 +00:00
pgoyette
5c06b9862c In ATZ_F_VERBOSE mode, log a message whenever the active cooling level
changes, even when the new level is ATZ_ACTIVE_NONE
2009-12-24 00:26:28 +00:00
dsl
5281921f56 Add info for -A ptn_alignment[/ptn_0_offset] 2009-12-23 20:56:18 +00:00
cegger
49fd8fe03d Add tooldir include path.
This fixes amd64 toolchain build on OSX.
2009-12-23 20:28:29 +00:00
mrg
8c0cbe863f revert the previous; not intended to be part of that commit, or any commit 2009-12-23 20:17:13 +00:00
mrg
3fa4bcf59c rework the main SUBDIR list here as suggested by enami. put .WAIT on
the same line as the target that needs to wait, but before the target,
rather than on the previous line, which led to confusion and an error
being introduced in the previous change.
2009-12-23 20:15:21 +00:00
asau
931d85f035 Correct spelling: "HDAUDIO_AFG_DEBUG" 2009-12-23 19:38:33 +00:00
dsl
4d8b353d15 Put #endif in correct place - fixes PR/42500
Update usage() for -A, and rename one of the variables for clarity.
2009-12-23 18:50:40 +00:00
pgoyette
160a805c1d Check for value exceeding crit-max limit before checking against warn-max
limit.  Otherwise we'll never notice if we exceed crit-max (assuming that
crit-max is at least as large as warn-max).
2009-12-23 18:31:00 +00:00
tron
e24ad332ec LVM gets built by default these days. 2009-12-23 18:02:25 +00:00
tron
6d4aa8c1f7 Fix typo. 2009-12-23 18:00:38 +00:00
stacktic
f3ec34d58f Fixed ukfs build on non-NetBSD system. 2009-12-23 17:17:59 +00:00
stacktic
5074dd48b8 Fixed build when using unreal allocators. 2009-12-23 17:16:40 +00:00
pooka
26bd716185 Print pathnames for created files. No change to generated files. 2009-12-23 14:17:19 +00:00
mlelstv
c96a848326 Use wide char versions of tolower/toupper/islower/isupper where
appropriate. Fixes ~ command on big-endian architectures.
2009-12-23 12:44:21 +00:00
wiz
dbb0a194be Make HTML-ready. 2009-12-23 09:54:22 +00:00
mbalmer
1ce3f76abb Fix typo, no code change. 2009-12-23 09:23:53 +00:00
mbalmer
43a53fa2dc Fix typo in a comment, no code change. 2009-12-23 09:22:16 +00:00
mbalmer
c84c875a15 Bump date. 2009-12-23 09:18:48 +00:00
mbalmer
a72f71643d Fix typo in comments, no code change. 2009-12-23 09:17:40 +00:00
mbalmer
8a65aabe5b Fix typo in command output. 2009-12-23 09:13:21 +00:00
wiz
b7b8b3a374 Bump date for defaulting UGEN_BULK_RA_WB to on. 2009-12-23 09:10:07 +00:00
roy
0e40647876 Import dhcpcd-5.1.4 2009-12-23 08:33:58 +00:00
roy
5f8a05b17d Import dhcpcd-5.1.4
Changes from dhcpcd-5.1.3 include:
 * dhcpcd logs even in quiet mode.
 * Sleep for 1/100th of a second to give time for kernel to send RELEASE.
 * -S option now works.
 * Only warn about using CSR on bind.
2009-12-23 08:30:06 +00:00
pgoyette
07dad0134f Since we're using the active cooling levels as warning threshold, we
should store the value in the correct location.  We're already setting
the correct flag bit.

Should resolve problem reported by Frank Wille on current-users...
2009-12-23 02:29:46 +00:00
pooka
3454464e10 Technically we're supposed to use flags from the RUMP_NAMEI namespace
instead of NAMEI directly.  Probably doesn't matter in practise,
since the chances of this running on non-NetBSD are low.  But make
it correct anyway.
2009-12-23 01:15:11 +00:00
pooka
81eb543b62 Use NAMEI_INRENAME to improve the situation with detecting on when
to save componentname instead of looking at SAVESTART.  Not perfect,
but better.  Also, try to be more forgiving of kernel bugs.
2009-12-23 01:11:39 +00:00
pooka
e1bbdeb452 regen: INRENAME 2009-12-23 01:09:57 +00:00
pooka
3142d3ac31 Define namei flag INRENAME and set it if a lookup operation is part
of rename.  This helps with building better asserts for rename in
the DELETE lookup ... the RENAME lookup is quite obviously a part
of rename.
2009-12-23 01:09:24 +00:00
pooka
bb27c3b9ac unifdef -D UGEN_BULK_RA_WB
Default behaviour unchanged, the feature must still be explicitly
enabled for a ugen fd.
2009-12-23 01:04:45 +00:00
darran
666c22984b Add libdwarf files. 2009-12-23 00:33:25 +00:00
elad
4f2529fdb9 Including sysctl.h once is enough. 2009-12-23 00:21:38 +00:00
darran
ebf62180d8 Add libdwarf to the build. 2009-12-23 00:17:40 +00:00
darran
c6ebd49b09 Fix a signed vrs unsigned cast. 2009-12-23 00:12:57 +00:00
mrg
dfb480e0a2 enable mem space if it isn't already enabled. several bioses leave
this not enabled, and viaide kind of depends upon it.

fixes viaide(4) on several machines.

idea from PR 38011, but reworked a little.
2009-12-23 00:11:36 +00:00
darran
73d7a467ee while (0) -> while (/*CONSTCOND*/0) 2009-12-23 00:11:30 +00:00
darran
e65b189966 Add build glue. 2009-12-23 00:10:15 +00:00
darran
bd99ed90ac Add a script to prepare libdwarf for import. 2009-12-23 00:06:53 +00:00
darran
88d2277d90 Import libdwarf from FreeBSD 8.0-RC1.
ok tls@.
2009-12-23 00:03:21 +00:00
dsl
9193c05dda Add support for partition being aligned on non-cylinder boundaries.
Info can be specified with -A parameter.
Default is based on how the first partition is defined.
For empty disks larger than 128GB (arbitrary figure) use 1MB alignment.
2009-12-22 21:55:12 +00:00
dsl
5cb32d7a27 Editing partitions larger than 1TB works better if 'decimal' returns
64 bit integer values!
2009-12-22 21:04:37 +00:00
dsl
668acfeeca Use sizeof correct type, not pointer to wrong type.
Fixes PR/42498.
This has been wrong since the initial import!
2009-12-22 20:50:46 +00:00
pooka
ca10ccf636 Limit DIOCGPART and struct partinfo visibility to _KERNEL. 2009-12-22 18:55:25 +00:00
pooka
8b5875c7e6 Add a simple example of how to run the kernel umass/USB in userspace
and attach it back to the host kernel using pud(4).  The result is
pretty much indistinguisable from if kernel drivers were used.

It's possible to e.g. mount a file system backed by the userspace
block device driver:

golem> disklabel ./rumpsd0d
[...]
5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 d:   1994752         0     unused      0     0        # (Cyl.      0 -   3895)
 e:   1994512       240      MSDOS                     # (Cyl.      0*-   3895)

golem> s mount_msdos ./rumpsd0a /mnt
mount_msdos: "./rumpsd0a" is a non-resolved or relative path.
mount_msdos: using "/usr/home/pooka/src/umserv/rumpsd0a" instead.
mount_msdos: /usr/home/pooka/src/umserv/rumpsd0a on /mnt: Device not configured

golem> s mount_msdos ./rumpsd0e /mnt
mount_msdos: "./rumpsd0e" is a non-resolved or relative path.
mount_msdos: using "/usr/home/pooka/src/umserv/rumpsd0e" instead.
golem> df -h /mnt
Filesystem                               Size       Used      Avail %Cap Mounted on
/usr/home/pooka/src/umserv/rumpsd0e      974M       5.2M       968M   0% /mnt

etcetc.
2009-12-22 18:36:02 +00:00
pooka
c23e4f05d3 Don't -I from $S/sys. 2009-12-22 17:50:22 +00:00
pooka
789329033b Handle DIOCGPART in-kernel because a userspace server doesn't have
a chance in phobos of handling it.  This makes it possible to do a
kernel mount of most file systems with the block device backed by
a pud userspace server.

-  i'm too young to compile
-  hey, no tty rough
-  hurd me plenty
=> abstraction-violence
-  nightmare!
2009-12-22 17:32:03 +00:00