Commit Graph

192646 Commits

Author SHA1 Message Date
martin
e5dd924fda Make it compile again 2010-07-27 08:07:36 +00:00
jruoho
1d37b0a731 Add a quirk for pgoyette@'s old (ACPI 1.0) NVIDIA board.
It was analyzed that this DSDT busy-loops some unknown PCI memory regions in
several places. Because the regions are apparently almost constant, this
causes several conditions where the interpreter might enter into an infinite
loop. Luckily ACPICA detects this and rightly spams AE_AML_INFINITE_LOOP
warnings.

Not much we can do. Declare as broken beyond repair. Set acpi_force_load=1
to use ACPI or use a custom DSDT.
2010-07-27 06:14:37 +00:00
jakllsch
b4db231882 Allow aria(4) to compile with AUDIO_DEBUG on LP64. 2010-07-27 05:38:18 +00:00
jakllsch
a765d9e669 Make PIIXPM_DEBUG work with 64-bit size_t. 2010-07-27 05:29:05 +00:00
jakllsch
a9e9b32ddd Make DEBUG_EXT2 work with 64-bit size_t. 2010-07-27 05:15:56 +00:00
jruoho
1392a1cea1 Move the GAS definition to the header so it can be shared. Make a basic
sanity check before casting to the GAS. Rename the _CSD structure; the
optional "cross logical processor dependency information" is almost
identical in C, P, and T states. Add some comments to the header.
2010-07-27 05:11:32 +00:00
matt
6910a36f83 Only allow jbls/jblc x(r) iff (x & 3) == 0 2010-07-27 01:13:41 +00:00
jym
c1564f54b6 Announce PAE for i386. 2010-07-26 22:40:11 +00:00
jym
da702eb93d Add PAE to ALL kernel, so that most paddr_t format string errors get caught
during compilation.

While here, fix the compilation for ALL.
2010-07-26 22:33:23 +00:00
pooka
3dd552295f comment out lp64-offensive line (the syslog() calls are not used currently) 2010-07-26 19:24:35 +00:00
pooka
2e0aeba23a setlistlust: exports for nfs tests 2010-07-26 19:19:15 +00:00
pooka
f64ec08558 Install the exports file too so that the server can find it. 2010-07-26 19:17:37 +00:00
pooka
4c4a775b33 Add for-fun cast ... no, not really. casting is never fun.
But now this code builds both on 5.0 and -current.
2010-07-26 18:51:02 +00:00
pooka
13a893ded4 retire unwieldy casts 2010-07-26 18:47:36 +00:00
pooka
2823460ad3 make unsignedness match 2010-07-26 17:53:21 +00:00
joerg
b299cc5e23 Explicitly depend on dist file 2010-07-26 17:25:31 +00:00
agc
026072e736 fix a build problrm pointed out by moof on source-changes-discuss 2010-07-26 17:24:32 +00:00
pooka
ee762b35da need to link in nfs client bits 2010-07-26 16:25:19 +00:00
pooka
11c84a1189 setlist lottery for nfs tests 2010-07-26 16:23:31 +00:00
pooka
0ad2fa281a nfs testdirs 2010-07-26 16:18:35 +00:00
pooka
fd87d4c523 fix TESTSDIR 2010-07-26 16:17:21 +00:00
pooka
82233993ff Add NFS to the list of file systems exercised by the "vfs" tests.
How it works:
NFS tests fork and exec the nfs service from fs/nfs/nfsservice.
The child then:
  a) creates a FFS file system
  b) mounts it
  c) starts rpcbind
  d) starts mountd
  e) starts nfsd
  f) handles requests

The client, as expected, does the standard RPC regotiation and
calls mount(MOUNT_NFS).  It then proceeds to execute the test.

An individual test which executes everything described above and
does a few file operations on the NFS mount takes 0.16s wall time
on my laptop from start to finish.  This means it is feasible to
run hundreds of tests while still getting results in a timely
fashion.

Like in other networked tests, the two processes are connected via
the rump shmif which uses mmapped files as ethernet busses.  The
entire test suite can be executed by an unprivileged account.

As a side effect, these tests exercise also the kernel NFS server
in addition to the kernel NFS client.

While everything is currently targetted at executing the vfs tests,
there is no reason this could not be extended to exercise features
specific to NFS.  For example, the server can run through all
exportable file system types, permissions can be tested, etc.
2010-07-26 16:15:49 +00:00
pooka
e0ac41f174 Add libc rpc bits modified to be suitable for testing the nfs
server & client.
2010-07-26 15:56:45 +00:00
pooka
07196c5dd8 Descend into nfsserver, i.e. build & install the kernel nfs server bits. 2010-07-26 15:55:41 +00:00
pooka
25f5a6a3a9 Add NFS service suitable for use in testing. 2010-07-26 15:53:00 +00:00
jakllsch
a08c2fef18 Store information for bus_dmamem_unmap() and bus_dmamem_free()
somewhere outside the bus_dmamap_t. The bus_dmamap_t has already
been destroyed by this time.

Fixes DMA memory leak at siisata_detach() time.
2010-07-26 15:41:33 +00:00
hannken
87506b0c16 When both vget() and vrelel() call vn_lock() we know VI_XLOCK is clear.
No need to use LK_INTERLOCK or LK_RETRY here.
The return value of vn_lock() is already examined here.

Ok: Antti Kantee <pooka@netbsd.org>
2010-07-26 15:22:16 +00:00
jruoho
6ba3ba49aa Fix wrong return value. 2010-07-26 15:14:33 +00:00
pooka
522a0d0c47 catch "child died" 2010-07-26 14:53:52 +00:00
pooka
3c23c993d0 Remove stuff handled by common code now. 2010-07-26 14:10:31 +00:00
pooka
6b62441252 Calculate broadcast IP instead of requiring it as a config parameter. 2010-07-26 14:07:04 +00:00
njoly
9cd958c424 Make sysvbfs rename work for filenames longer than {NAME_MAX}. 2010-07-26 13:43:26 +00:00
njoly
dccf0d483f Add create and rename testcases to exercize filenames longer than
{NAME_MAX}.
2010-07-26 13:37:48 +00:00
christos
db136ffc75 fix typo. 2010-07-26 12:50:52 +00:00
christos
f0a414ccfb follow suit with the i386, and correct the siginfo codes for integer overflow
and zerodivide.
2010-07-26 12:39:04 +00:00
njoly
29a656f391 Improve _PC_NO_TRUNC description. From Matthew Mondor on
current-users@.
2010-07-26 12:30:16 +00:00
pooka
dadac8f503 Add select to list on compat syscalls. Makes some code work for
me with a nb5 userland without having to compile with -g ;)
2010-07-26 11:52:25 +00:00
agc
736e4816e4 Hook minimalist JSON implementation into the BSD build 2010-07-26 06:40:38 +00:00
agc
ae58342f30 hook minimalist JSON sources into the autoconf build 2010-07-26 06:39:43 +00:00
agc
16aefefa5e add a minimalist JSON implementation, and add a new function to access the
data, and serialise it using JSON.
2010-07-26 06:37:35 +00:00
enami
16e5bbfbd5 cat9/vprint.0 is still there. Salvage the deleted line by previous commit
to fix build breakage.
2010-07-26 02:51:57 +00:00
pooka
0f32fbbadd use normal include-protection 2010-07-25 22:29:15 +00:00
pooka
e8fbc2f15e necessary headers 2010-07-25 22:28:48 +00:00
pooka
9c488b476a new test 2010-07-25 21:47:47 +00:00
pooka
5828037405 here we go loop if loop 2010-07-25 21:45:21 +00:00
pooka
3185d2a443 Add xfail test for kernel diagnostic panic described in PR kern/43664 2010-07-25 21:42:08 +00:00
pooka
772871ea1c make interface/routing configuration a bit more generic 2010-07-25 21:39:20 +00:00
jruoho
e31d462f48 Document the fine nullop() family of dummy functions. 2010-07-25 21:05:13 +00:00
christos
4d3eef173b map npx control/status codes into siginfo codes. 2010-07-25 19:19:57 +00:00
christos
4e9585b5e0 PR/43655: Taylor R Campbell: Incorrect siginfo code's for integer zero
divide and overflow.
2010-07-25 19:19:06 +00:00