Toralf Förster | 20 Mar 2012 18:19
Picon
Picon

Re: kmod-7 test suite failed for a user mode linux image (Gentoo)


Lucas De Marchi wrote at 14:51:51
> Hi Toralf,
> 
> 2012/3/20 Toralf Förster <toralf.foerster@...>:
> > I get with 3.2.12 as hsot system and 3.3 as guest :
> > 
> > ...
> > make --no-print-directory check-TESTS
> >  GEN    testsuite/rootfs
> > TESTSUITE: running test_initlib, in forked context
> > TESTSUITE: 'test_initlib' [5644] exited with return code 0
> > TESTSUITE: PASSED: test_initlib
> > TESTSUITE: running test_insert, in forked context
> > TESTSUITE: ERR: could not insert module: No such file or directory
> 
> Did you configure it any different from what bootstrap-configure does?
> We don't support random rootprefix, prefix, etc for running testsuite.
> See testsuite/README, item #9.
> 
> 
> 
> 
> Regards,
> Lucas De Marchi

From Gentoo's developer I got :
--- Comment #3 from William Hubbs <williamh@...> ---
To answer upstream's question, yes we use a different prefix and
rootprefix from the default.

Another issue that he pointed out to me was that you would also need
/sys. Without that there is no way to tell whether modules are loaded.

He also pointed out, however, that the test suite is intended for kmod
developers.

Given this information, I have put a restriction in the kmod ebuild so
that we will not attempt to run the test suite.

--

-- 
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3

Gmane