Commit Graph

6 Commits

Author SHA1 Message Date
pooka bbc7636114 Add a test checks that 16 rump kernels on one shmif bus can ping
each other.
2011-03-10 14:09:46 +00:00
jmmv 9d0b4b5bb8 Get rid of static Atffiles and let bsd.test.mk generate them on the fly. 2010-07-13 21:13:21 +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 5c21ec6fa6 Add a test which checks autoloading modules from the host's
/stand/arch/vers/kmods works in rump (and that the result is usable ;).

On i386 this "just works".  For amd64, due to -mcmodel=kernel,
things are a little more complicated.  We must have the entire rump
kernel loaded in the lower 2GB.  Currently, this can be done either
by using the non-PIC version for the rump kernel compiled with
-mcmodel=small, or, as njoly pointed out, using netbsd32, which
causes vm_default_addr() to give something in the lower 2GB and
therefore shared libs "magically" getting loaded there.  I guess
it would be possible to put a suggested vaddr into the rump kernel
libs and make ld.elf_so map memory from the suggested address if
present ... but that's another show.

Also thanks to tron for access to an amd64 so that I could verify
the test works.
2010-06-09 12:35:45 +00:00
pooka 9a7330494a Add some kernel namespace (i.e. _KERNEL) helpers for regression tests. 2010-05-31 23:32:50 +00:00
pooka 80be26da9a add regression test for module init/fini in rump 2009-05-02 16:02:18 +00:00