<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Shyamjith,<br>
<br>
Your installation warnings look strange but not critical. Also
parameter "drivers=" should contain either relative path to the
driver or subsystem in the kernel or absolute path to an archive
with a driver and build script. Examples:<br>
<br>
"drivers=drivers/net/usb/cdc-phonet.ko"<br>
"drivers=drivers/net/usb/"<br>
"drivers=/home/user/mypath/to/driver.tar.bz" (works only without
"kernel_driver=1" flag)<br>
<br>
And note, that it is better to use rules with postfix "a" like
"rule_models=32_7a".<br>
<br>
Regarding the problem with Wait3 unfortunately I cannot recommend
something except switching to perl 18 or even earlier, since we
have never met such behaviour. By the way we can provide you with
a Docker image with both sources and installation to run LDV
without any dependencies installation. You can download it from
there:
<a class="moz-txt-link-freetext" href="http://linuxtesting.org/downloads/ldv-src-docker-0.8.tar.gz">http://linuxtesting.org/downloads/ldv-src-docker-0.8.tar.gz</a> and
learn how to deal with it here:
<a class="moz-txt-link-freetext" href="http://forge.ispras.ru/projects/ldv/wiki/LDV_Tools_in_Docker">http://forge.ispras.ru/projects/ldv/wiki/LDV_Tools_in_Docker</a><br>
<br>
--
<br>
With best regards,
<br>
Ilja Zakharov
<br>
Linux Verification Center, ISPRAS
<br>
web: <a class="moz-txt-link-freetext"
href="http://linuxtesting.org">http://linuxtesting.org</a>
<br>
e-mail: <a class="moz-txt-link-abbreviated"
href="mailto:ilja.zakharov@ispras.ru">ilja.zakharov@ispras.ru</a>
<br>
<br>
05.06.2015 11:59, Shyamjith K V пишет:<br>
</div>
<blockquote
cite="mid:CABL4uh8HZfCYTAvYzFwfw-Eo=xdc3qOPZPQ4rJ7tfO0VnU=Q4g@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div> I am finding some difficulties in testing a linux kernel
driver with LDV.</div>
<div>Before going to the error , i want to confirm that my LDV
console-tool is installed correctly</div>
<div><br>
</div>
<div>The following were the last few console outputs of my
"make" command</div>
<div><br>
</div>
<div><b><br>
</b></div>
<div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><b>/home/acsia/.rvm/gems/ruby-2.2.1/gems/bones-3.8.3/lib/bones/helpers.rb:7:
warning: Insecure world writable dir
/home/acsia/perl5/perlbrew/bin in PATH, mode 040777<br>
cd pkg/logging-1.4.3<br>
WARNING: licenses is empty, but is recommended. Use a
license abbreviation from:<br>
<a moz-do-not-send="true"
href="http://opensource.org/licenses/alphabetical">http://opensource.org/licenses/alphabetical</a><br>
WARNING: open-ended dependency on little-plugger (>=
1.1.3) is not recommended<br>
if little-plugger is semantically versioned, use:<br>
add_runtime_dependency 'little-plugger', '~> 1.1',
'>= 1.1.3'<br>
WARNING: open-ended dependency on flexmock (>= 0,
development) is not recommended<br>
if flexmock is semantically versioned, use:<br>
add_development_dependency 'flexmock', '~> 0'<br>
WARNING: open-ended dependency on bones-git (>= 0,
development) is not recommended<br>
if bones-git is semantically versioned, use:<br>
add_development_dependency 'bones-git', '~> 0'<br>
WARNING: open-ended dependency on bones-extras (>= 0,
development) is not recommended<br>
if bones-extras is semantically versioned, use:<br>
add_development_dependency 'bones-extras', '~> 0'<br>
WARNING: open-ended dependency on bones (>= 3.8.3,
development) is not recommended<br>
if bones is semantically versioned, use:<br>
add_development_dependency 'bones', '~> 3.8',
'>= 3.8.3'<br>
WARNING: See <a moz-do-not-send="true"
href="http://guides.rubygems.org/specification-reference/">http://guides.rubygems.org/specification-reference/</a>
for help<br>
Successfully built RubyGem<br>
Name: logging<br>
Version: 1.4.3<br>
File: logging-1.4.3.gem<br>
mv logging-1.4.3.gem ../logging-1.4.3.gem<br>
cd -<br>
make[1]: Leaving directory
`/home/acsia/Desktop/LDV/ldv-tools/shared/ruby'</b></blockquote>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>and the following were the logs after <i>sudo
prefix=/path/to/installation/dir make install-console-tools</i></div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><b><br>
</b><b>cd gems/logging && gem install --install-dir
/home/acsia/Desktop/LDV/consol-tool-5.22.0/shared/ruby/gem
--bindir
/home/acsia/Desktop/LDV/consol-tool-5.22.0/shared/ruby/bin
--no-rdoc --no-ri pkg/logging*.gem<br>
</b><b>Fetching: little-plugger-1.1.3.gem (100%)<br>
</b><b>Successfully installed little-plugger-1.1.3<br>
</b><b>Successfully installed logging-1.4.3<br>
</b><b>2 gems installed</b></blockquote>
<div>
<div><br>
</div>
<div><br>
</div>
<div>is my console-tools installed properly??</div>
<div><br>
</div>
<div><br>
</div>
<div>Now come to the error that i was faced..</div>
<div><br>
</div>
<div>I have Downloaded linux-2.36.tar.bz2 and placed it it
inside a sample directory..and run</div>
<div><br>
</div>
<div><b>ldv-manager "envs=linux-2.6.36.tar.bz2"
kernel_driver=1
"drivers=/home/acsia/Desktop/LDV/new_result/linux-2.6.36/drivers"
"rule_models=32_7 32_1"</b><br>
</div>
<div><br>
</div>
<div>But i am getting the following error...</div>
<div><br>
</div>
<div><br>
</div>
<div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><b>Compilation
failed in require at
/home/acsia/Desktop/LDV/consol-tools/drv-env-gen/../shared/perl/Utils.pm
line 13.<br>
BEGIN failed--compilation aborted at
/home/acsia/Desktop/LDV/consol-tools/drv-env-gen/../shared/perl/Utils.pm
line 13.<br>
Compilation failed in require at
/home/acsia/Desktop/LDV/consol-tools/ldv-core/../drv-env-gen/drv-env-gen
line 31.<br>
BEGIN failed--compilation aborted at
/home/acsia/Desktop/LDV/consol-tools/ldv-core/../drv-env-gen/drv-env-gen
line 31.<br>
No such file or directory at
/home/acsia/Desktop/LDV/consol-tools/ldv-core/ldv-core
line 311.<br>
ldv-core: WARNING: Fatal error. Stopping services
before reporting...<br>
ldv-core: WARNING: Killing build...<br>
ldv-core: WARNING: BCE failed</b></blockquote>
<div><br>
</div>
<div>The line number 13 inside Utils.pm is <b>use
Proc::Wait3</b></div>
<div><b> </b>i have that tool already installed </div>
<div><b>locate Wait3</b> give as follows </div>
<div>/usr/local/lib/perl5/site_perl/5.22.0/x86_64-linux/auto/Proc/Wait3/Wait3.so<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>NOTE: i am using perl-5.22.0</div>
<div><br>
</div>
<div>output <b><i>which per</i></b><i><b>l</b></i> command
is</div>
<div><br>
</div>
<div>/home/acsia/perl5/perlbrew/perls/perl-5.22.0/bin/perl<br>
</div>
<div><br>
</div>
<div>but the perl used inside some files like ldv-core is </div>
<div>#!/usr/bin/perl</div>
<div><br>
</div>
<div>Please guide me to resolve this problem ...... sorry if
i included too much information </div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div> </div>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">Regards,
<div>Shyam<br>
</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ldv-project mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ldv-project@linuxtesting.org">ldv-project@linuxtesting.org</a>
<a class="moz-txt-link-freetext" href="http://linuxtesting.org/cgi-bin/mailman/listinfo/ldv-project">http://linuxtesting.org/cgi-bin/mailman/listinfo/ldv-project</a>
</pre>
</blockquote>
<br>
</body>
</html>