Commit Graph

191612 Commits

Author SHA1 Message Date
mrg
bf0e9a40ae when complaining we don't support this many MTRR's, say how many there are. 2010-06-17 06:38:19 +00:00
mrg
7b21e162d6 if MKPIGZ != no, build gzip, otherwise build pigz. 2010-06-17 06:29:16 +00:00
mrg
42a9c5d4fe default MKPIGZ to "no", for now. 2010-06-17 06:17:02 +00:00
mrg
85af15b32b cross build infrastructure for pigz. 2010-06-17 06:10:44 +00:00
mrg
e25fdb51d0 (once again in the right place)
initial import of pigz 2.1.6 sources.

from http://www.zlib.net/pigz/:
"""
pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that exploits multiple processors and multiple cores to the
hilt when compressing data. pigz was written by Mark Adler, and uses the zlib and pthread libraries.

How is it pronounced?
I'm glad you asked. It is pronounced "pig-zee". It is not pronounced like the plural of pig.
"""

once i am done adding bz2 support to pigz, i plan to obsolete my usr.bin/gzip.
2010-06-17 06:05:09 +00:00
mrg
bfe3cf1b4b oops, these are in the wrong directory. 2010-06-17 06:04:08 +00:00
mrg
aae0a61fa5 initial import of pigz 2.1.6 sources.
from http://www.zlib.net/pigz/:
"""
pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that exploits multiple processors and multiple cores to the hilt when compressing data. pigz was written by Mark Adler, and uses the zlib and pthread libraries.

How is it pronounced?
I'm glad you asked. It is pronounced "pig-zee". It is not pronounced like the plural of pig.
"""

once i am done adding bz2 support to pigz, i plan to obsolete my usr.bin/gzip.
2010-06-17 05:44:06 +00:00
sjg
aa86bc2068 JobFinish: call PrintOnError if we detected an error we are not ignoring.
This gives the .ERROR target a chance to run at the first sign of trouble.
2010-06-17 03:36:05 +00:00
mrg
72ceb9b885 disable some DEBUG code uvm_pglist_add() that has severe performance
problems with large mappings.  i've seen my system hang for a total
of 45 seconds when radeondrm is opened by X11, and it is the checks
in this function that take so long.
2010-06-17 03:13:58 +00:00
mrg
b6aa233709 ugh. this needs a real fix, but for now just update it to reality.
the diff -u is more obvious than a description:

-X11FLAGS.VERSION=      -DOSMAJORVERSION=1 -DOSMINORVERSION=6           # XXX
+X11FLAGS.VERSION=      -DOSMAJORVERSION=5 -DOSMINORVERSION=99          # XXX
2010-06-17 03:10:21 +00:00
joerg
75622a5f69 Move the character table initialisation a bit earlier for man pages that
contain special characters in the header. From upstream.
2010-06-17 00:56:03 +00:00
joerg
ded915dd51 Do not abuse .Ta, but use a real tabulator. 2010-06-16 22:26:56 +00:00
jmcneill
5ddffda4bf PR port-arm/43299: Support added for igepv2/cortexa8/omap3530
Apply patch from PR, with build fixes. ok skrll, matt
2010-06-16 22:06:53 +00:00
hubertf
e9f2ad5ce9 Make debug message print more than the device name
OK mbalmer, jmcneill
2010-06-16 20:15:53 +00:00
pooka
48eab2d7f9 tests 2010-06-16 19:30:11 +00:00
pooka
1647962cb4 Add simple etfs test which almost tests for bug fixed yesterday
(the yesterday bug was against an emulated block device, so slighlty
different).  But at least this test uncovered a few bugs already.
2010-06-16 19:29:33 +00:00
pooka
44b844dd2d * support VOP_SEEK
* correctly handle VOP_OPEN(FREAD|FWRITE)
* fix host file write offset
2010-06-16 19:26:58 +00:00
pooka
e9abc8e26b report actual size from read/write vops 2010-06-16 19:03:08 +00:00
pooka
5b19556a02 Set kinfo_lwp to 0 before filling it so that if someone removes
variable assignments from here, kernel memory does not leak to
userspace.

Bug found, a little bit suprisingly, by the atf ps test which failed
due to the column width between the -o holdcnt column being too
wide due to the contents displayed being garbage.
2010-06-16 18:49:22 +00:00
joerg
ad666fa3f9 Merge mdocml-1.10.1 2010-06-16 18:13:41 +00:00
joerg
3efd71c962 Update build infrastructure for mdocml-1.10.1 2010-06-16 18:10:57 +00:00
joerg
7574e07ef5 Import mdocml-1.10.1:
- Support multiline .Bl -column content
- cleanup SYNOPSIS macro handling
- Allow specifying the terminal width for -Tascii
- Initial PostScript output
2010-06-16 18:09:40 +00:00
pooka
56552afa73 i missed some changes to expected output caused by xfail change 2010-06-16 17:29:07 +00:00
pooka
4c4df11b4b Fix test: we need to mount /dev/pts to /null/dev/pts, not /dev to
/null/dev: we're interested in /dev/pts and nullfs doesn't traverse
underlying mountpoints.

(I had code for nullfs mountpoint traversal in the tree i used to
test this originally... but I assume the rest of the world doesn't.
Before this change the test would still fail, but fail in the wrong
place and due to the wrong reason.)
2010-06-16 15:57:11 +00:00
pooka
a17a919421 Set xfail for tests which have a PR for them. 2010-06-16 15:39:41 +00:00
pooka
e76dd665c0 Introduce expected failures to atf. They can be used to flag tests
which are known to fail, e.g.:

        atf_tc_set_md_var(tc, "xfail", "PR kern/43456");

Expected failures do not count towards the ultimate pass/fail result
from the test run:

pain-rustique:39:~/<2>src/tests/fs/ptyfs> atf-run t_nullpts | atf-report
Tests root: /home/pooka/src/wholesrc2/src/tests/fs/ptyfs

t_nullpts (1/1): 1 test cases
    nullrevoke: Expected failure: PR kern/43456

Summary for 1 test programs:
    0 passed test cases.
    0 failed test cases.
    1 expected failures.
    0 skipped test cases.
pain-rustique:40:~/<2>src/tests/fs/ptyfs> echo $?
0

However, an xfail test which passes will count as a failure, i.e.
xfail inverts test case success/fail.  This way we can get a better
sense from the ultimate verdict of the NetBSD atf run by seeing if
there were any unexpected failures, i.e. new regressions.

This feature will be present in the upcoming atf 0.10 release,
possibly with finer grained control.

patch reviewed by jmmv
2010-06-16 15:17:37 +00:00
pooka
cd3e4f8ebc Reinstate the blanket pmap.h for archs which do not conform to the
kernel ABI (i.e. not i386 or amd64).  Due to the "half function,
half macro, all noodles" nature of pmap.h, it's too entangling and
too brittle to keep up with an ifdeffy MI implementation.
2010-06-16 11:45:21 +00:00
skrll
941a513e3b Note some stuff I've done. 2010-06-16 06:40:52 +00:00
jruoho
e493401fef Regen. 2010-06-16 06:19:16 +00:00
jruoho
0ea654cd56 Add CSC0000, CSC0003, CSC0010. Observed from jnemeth@'s ThinkPad 380Z. 2010-06-16 06:17:48 +00:00
riz
42943652d9 Add AGP support for a number of Intel onboard devices, including
82G41, 82B43, E7221, 82965GME, and "Iron Lake".  Device
types (i915, i965, G33, and G4X variants) from the Linux Intel AGP
driver, and (for 82G41) from Henry Bent in PR#42906.

There are a few more varieties that should be relatively low-hanging
fruit ("Pineview" and "Sandy Bridge"), but will require a little bit
of rejiggering of the "chiptype".

OK mrg@
2010-06-16 03:35:01 +00:00
riz
d44c415e3c Regen for added Intel IDs. 2010-06-16 03:28:49 +00:00
riz
1e60c8c8c6 Add a bunch of Intel host bridge and integrated graphics device IDs,
from the Linux Intel AGP driver and PR#42906 from Henry Bent.
2010-06-16 03:27:48 +00:00
pooka
28e6724056 Implement rumpblk_deregister, for unregistering fake block devices
(from etfs_deregister).  Prompted by use case from njoly.
2010-06-15 18:53:48 +00:00
njoly
eb8e417a7b Fix some rump_etfs_register/rump_etfs_remove memory leaks. 2010-06-15 17:23:31 +00:00
hannken
9ddf309cbe When mounting a file system re-lookup and lock the directory we mount on
after the file system is setup by VFS_MOUNT().  This way recursive vnode
locks are no longer needed here and mounts on null mounts no longer fail
as described in PR #43439 (mount_null panic: lockdebug_wantlock: locking
against myself).

Based on a proposal from  and
Reviewed by: David A. Holland <dholland@netbsd.org>
2010-06-15 09:43:36 +00:00
wiz
e20e5913d6 Sort SEE ALSO. 2010-06-15 06:36:08 +00:00
jruoho
839d06c021 Fix xref: timer_create(3) -> timer_create(2). 2010-06-15 05:29:52 +00:00
riz
85415e1eb9 Sort ugensa_devs by vendor/product. No functional change intended. 2010-06-14 22:24:14 +00:00
riz
ed9f91bc14 Sort u3g_devs by vendor/product. Also, remove duplicate
USB_PRODUCT_NOVATEL2_MERLINV620 entry.  No functional change intended.
2010-06-14 22:22:44 +00:00
pooka
e094e235ab add a vm allocator test which tests that:
* RUMP_MEMLIMIT works
* allocating memory with PR_NOWAIT will fail immediately if no memory
  is available and PR_WAITOK will wait for memory to be available
2010-06-14 21:06:09 +00:00
pooka
771f2275a6 Make it possible to define an upper limit for memory consumed by
the rump kernel by specifying RUMP_MEMLIMIT.  In case allocation
over that limit is attempted, essentially pool reclaim and uvm_wait()
is done.  The default is to allow to allocate as much as the host
will give.

XXX: uvm_km_alloc and malloc(9) do not currently conform.  the
former is easy, the latter requires kern_malloc.c (rump malloc is
currently directly relegated to host malloc).
2010-06-14 21:04:56 +00:00
riz
90f3d84c58 ugensa support for Sierra Wireless USB 305, from Andy Wallis
in PR#43468 .
2010-06-14 19:05:24 +00:00
riz
153e354bb9 Regen for Sierra Wireless USB 305 and sorting change. 2010-06-14 19:02:06 +00:00
riz
58c5a38c32 Sort Sierra Wireless products by ID. 2010-06-14 18:57:49 +00:00
riz
ab8cdf7297 Add ID for Sierra Wireless USB 305, from Andy Wallis in kern/43468. 2010-06-14 18:55:31 +00:00
pooka
08fa5b6e7e annotate failing testcase with PR number 2010-06-14 16:12:41 +00:00
pooka
637bf4639a ptyfs dir 2010-06-14 15:23:41 +00:00
pooka
5605e38e16 fix filename 2010-06-14 15:22:40 +00:00
pooka
a9459565dc ptyfs tests 2010-06-14 14:55:04 +00:00