Commit Graph

217349 Commits

Author SHA1 Message Date
para
82aa1e7edd calculate vnode cache size based on the resource it gets allocated from
this stops setting kern.maxvnodes to high so it exhausts available space in kmem

http://mail-index.netbsd.org/tech-kern/2013/03/08/msg015095.html
2013-03-18 13:36:21 +00:00
pooka
e3425032cb Move the rumpuser_net set of hypercalls to be a private to the sockin
component.  This cleans up the generic hypercall interfaces from ones
specific to only one component.  They should always have been private,
but the infrastructure to "make it so" didn't exist earlier.

no functional change
2013-03-18 13:14:10 +00:00
jmcneill
d35e9908e8 If there are no devices attached to the mux and software does
WSxxxIO_SETVERSION, the change doesn't actually get applied to the event
source as wsmux hands off processing of these ioctls to attached devices.
Handle these ioctls directly from the mux device instead of passing them
through, to correct an issue that prevented keyboards and mice from working
in X if there were zero devices attached when the X server started.
2013-03-18 11:40:39 +00:00
rmind
4183ea5f53 Always use BPF JIT for NPF rules (using BPF code) if it is available. 2013-03-18 02:24:45 +00:00
rmind
543d2971ab - Extend npf.conf syntax to support dynamic NAT policies.
- Imply dynamic group when using "ruleset" keyword.
2013-03-18 02:17:49 +00:00
rmind
9ef92dc6c0 npf_session_establish: fix previous. 2013-03-18 00:17:20 +00:00
rmind
3b8a2fcf9c Add npf_session_trackable_p() and npf_session_fillent() for the common code.
Simplify.  No functional change.
2013-03-18 00:14:57 +00:00
uwe
92646e4a5d Bump date for previous (PR #45981): the change ("c") command starts a
new cycle.
2013-03-17 21:13:04 +00:00
uwe
136610e484 The change ("c") command should start a new cycle.
Apply one line patch I posted in PR #45981 and document this in the
manual page.
2013-03-17 21:02:54 +00:00
msaitoh
f9f6bf4df0 No functional change:
- Fix comment
 - Use macro
 - Remove unused macro
2013-03-17 18:46:10 +00:00
martin
0d8a321eb6 Track what parts of initialization were successfull and only revert those
during detach - prevents a panic on shutdown when, for example, interrupt
mapping failed. Problem reported by Raymond Phillips on port-i386.
2013-03-17 18:30:00 +00:00
mlelstv
9e59300471 For MFS, no longer use heuristic based on rlimit to determine mmap size.
This is no longer functional with current memory allocation routines.
2013-03-17 12:25:36 +00:00
mlelstv
b36c60d9c0 Handle ALL_KERNELS selection 2013-03-17 12:19:57 +00:00
jmmv
371c38e8cf These tests are flaky so mark them as expected failures... when they fail.
See PR kern/47661.
2013-03-17 06:29:55 +00:00
jmmv
63dd2c4874 Apply upstream change 1b82d0fe146031526b73454cc64bca7ee1f5b87a:
Fix fs_test:cleanup__mount_point__busy

The first call to kyua_fs_cleanup in this test was supposed to fail as
it is exercising an error path.  But the check was reversed, expecting
no error.  Fix this obvious mistake.
2013-03-17 05:56:46 +00:00
jmmv
051a1f53b0 Do not special-case qemu when expecting the failure due to PR kern/43997.
I am sporadically observing this in my real machine as well.  It's harder
to trigger, but it happens.
2013-03-17 05:47:48 +00:00
jmmv
33af199a4a Try to trigger the cond_timedwait_race race several times.
Sometime this tests passes (after all, it's exercising a race condition) and
when it does it's reported as a failure.  By giving the test a few chances
to expose the problem, we prevent this noisy signal.  When the race is really
addressed, this will start failing consistently as expected.
2013-03-17 05:13:13 +00:00
jmmv
5ac530f373 Mark two routinely-broken tests as expected failures referencing PR lib/47660. 2013-03-17 05:02:13 +00:00
nakayama
99b8f1ddbf Remove duplicate source files. 2013-03-17 04:47:16 +00:00
jmmv
2be7ebf7e2 Remove unnecessary cleanup routines. 2013-03-17 04:46:06 +00:00
nakayama
e923193871 Revert previous. christos fixed the root cause. 2013-03-17 04:45:46 +00:00
jmmv
042bde1174 fexecve is not implemented, so mark the test as an expected failure.
While doing this, clean this whole thing: do not define a useless cleanup
routine and wait for the subprocess to finish instead of using sleep.
2013-03-17 04:35:59 +00:00
msaitoh
52f37720c3 - ADD support for BCM5719, BCM5720, BCM57766, BCM57782 and BCM57786.
- Use macros.
- Remove unused code.
- Sync with the latest {Free,Open}BSD's bge.
2013-03-17 04:06:39 +00:00
jmmv
ebd45a6ca9 Mark some long-standing failures as known failures.
The offending tests are these:
- t_filter_exec: f26, f27.
- t_filter_parse: i17.
- t_nat_exec: n12.

These tests are confirmed to fail in NetBSD/current under amd64, i386 and
sparc as reported by the continuous testing systems.
2013-03-17 03:00:05 +00:00
jmmv
2f611e9f98 Fix the t_renamerace:lfs_renamerace_dirs test on fast machines.
This test was failing on my machine when run natively but not causing any
problems when run within qemu, and the failure was "mkdir: No space left
on device".

My understanding of the issue is that this test overflowed the temporary
disk image due to its high rate of file churn and the lfs_cleanerd not
being able to keep up.  Note that this test is capped by time, not number
of operations, so this is why the problem does not show up in a slow
emulated system.

To fix this, just bump the test file system image limit a little bit.
(I tried increasing the frequency at which lfs_cleanerd does its thing,
but it wasn't enough.)
2013-03-17 02:48:31 +00:00
christos
d3d55324bd check return values 2013-03-17 02:23:31 +00:00
christos
3e4fc0a448 Add RCSID
Fix out of date comment
2013-03-17 02:13:10 +00:00
christos
12ea7fb385 add RCSID; use clr for pattern 2013-03-17 02:12:41 +00:00
jmmv
0818487da7 Simplify test_mount and log errors.
If mount_tmpfs fails, show what the stderr output of the command was instead
of failing without details.

While doing this, remove the stupidity to deal with the optional arguments
to the test_mount routine.
2013-03-17 01:16:45 +00:00
christos
86f7664c95 fix typo 2013-03-17 01:13:00 +00:00
christos
ab495c9f87 undo sparc64 kludge 2013-03-17 00:47:13 +00:00
christos
c6a7d21bf0 now in common/lib/libc/arch/sparc64/string 2013-03-17 00:45:03 +00:00
christos
74b509107c no more duplicate copy of the memcpy code. 2013-03-17 00:44:16 +00:00
christos
c60a6af952 now live in common/lib/libc/arch/sparc64/string 2013-03-17 00:43:45 +00:00
christos
ca8f29b6bf Use a single copy of the source. 2013-03-17 00:42:31 +00:00
christos
9a96afddbd order too 2013-03-16 23:51:39 +00:00
christos
8ef63ebd7d uniquefy, really should fix this so there are no dup rules. 2013-03-16 23:37:43 +00:00
riz
bf1b27dcc7 NetBSD 6.0 was released several months ago; time to garbage
collect this document.

It's not clear that src/doc is the best place to manage this
information;  a "NetBSD-7" file may or may not be forthcoming
shortly.
2013-03-16 23:35:01 +00:00
christos
ca64aca745 move the useful macros somewhere where they can be used in userland. 2013-03-16 23:04:22 +00:00
christos
747508ddb1 no man pages for tools build. 2013-03-16 22:32:50 +00:00
christos
b5b92792fe fix debugging sets 2013-03-16 22:16:02 +00:00
christos
d9f1763a86 Fix the build w/o DESTDIR 2013-03-16 21:38:21 +00:00
christos
605eafc82d fix the build! 2013-03-16 21:37:04 +00:00
christos
55f00bfae2 add debugging sets 2013-03-16 17:10:16 +00:00
skrll
b19588b393 As a workaround for the Raspberry PI, only allow 1 TX transfer to be
active at once.

XXX This might affect all host controllers
2013-03-16 15:48:21 +00:00
skrll
9d4b5bd001 Fix misunderstanding of how to handle wMaxPacketSize.
The *_host_{setup,data}_[tr]x routines already split transfers into < mps
units, so there no reason to do it in *_setup_{ctrl,data}_chain. Fix
short_pkt handling in the process.

This gives urtwn a fighting change to Tx large packets.
2013-03-16 12:05:02 +00:00
jmmv
6005599c16 Use /bin/sh for a temporary script instead of querying the name of the
shell from atf-config.
2013-03-16 07:54:04 +00:00
jmmv
a8e674a6ba Mark a bunch of routinely-broken ZFS tests as expected failures. Point
them at PR kern/47656.
2013-03-16 05:45:37 +00:00
jmmv
c2e8322972 Mark the zfs tests as requiring root.
This is wrong.  The zfs tests already use rump so they should not require
root.  However, I've already spent much more time than I wanted trying to
figure out why that's the case without much luck.  If you can find why,
just remove this hack.
2013-03-16 05:24:59 +00:00
jmmv
4efe0dfefd Mark the atf/atf-{c,c++}/pkg_config_test:version tests as needing atf-version. 2013-03-16 04:21:19 +00:00