<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 11/06/2012 05:48 PM, Ma Lele wrote:
<blockquote
cite="mid:4c91aa37.320b9.13ad631c14b.Coremail.tupipa0929@126.com"
type="cite">
<div style="line-height: 1.7; color: rgb(0, 0, 0); font-size:
14px; font-family: arial;"><br>
<br>
<br>
<br>
<br>
At 2012-11-06
22:59:25,"Evgeny Novikov" <a class="moz-txt-link-rfc2396E" href="mailto:eugenenovikov@yandex.ru"><eugenenovikov@yandex.ru></a> wrote:<br>
<blockquote id="isReplyContent" style="padding-left: 1ex;
margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204,
204, 204);"> On 11/04/2012 05:13 PM, Ma Lele wrote:
<blockquote
cite="mid:dce57f4.bab8a.13acbc52a50.Coremail.tupipa0929@126.com"
type="cite">
<div style="line-height: 1.7; color: rgb(0, 0, 0);
font-size: 14px; font-family: arial;">
<div style="line-height: 1.7; color: rgb(0, 0, 0);
font-size: 14px; font-family: arial;">
<div style="line-height: 1.7; color: rgb(0, 0, 0);
font-size: 14px; font-family: arial;"><br>
Hello Evgeny Novikov,
<div><br>
</div>
<div>I installed ldv-console and visualizer
successfully, but when verifying the cdrom driver by
command:</div>
<div><br>
</div>
<div>
<div>LDV_VIEW=y LDV_DEBUG=100 ldv-manager
tag=current "envs=linux-2.6.36.tar.bz2"
kernel_driver=1 "drivers=drivers/cdrom"
"rule_models=32_7 32_1"<br>
<br>
Then, upload to the database, I got the "failed
before RI" results.<br>
</div>
<div><a moz-do-not-send="true"
href="http://photo.163.com/tupipa0929@126/big/#aid=247175574&id=7964848051"
target="_blank"><img moz-do-not-send="true"
style="width: 547px; height: 83px;"
orgheight="114" orgwidth="750"
src="http://mp.ph.126.net/o09ld_i2YPNnkDpCZG9nsw==/6597594233702886104.jpg"
border="0"></a></div>
<div>The most strange thing is that the
warnings/errors seemed as the same to the other
success verifying process ,such as the usb kernel
driver. I attached both the outputs by files
"cdrom.log", and "usb.log". <br>
<br>
and the usb verification results is:<br>
<br>
</div>
<div><a moz-do-not-send="true"
href="http://photo.163.com/tupipa0929@126/big/#aid=247175574&id=7964852091"
target="_blank"><img moz-do-not-send="true"
style="width: 776px; height: 65px;"
orgheight="63" orgwidth="750"
src="http://mp.ph.126.net/1g3S7CGIFBySSKdoIF4kHw==/6597604129307532296.jpg"
border="0"></a><br>
<br>
So , what should be done to solve the problem?<br>
<br>
Thank you in advance!<br>
</div>
<br>
<div>--<br>
<div>Best Regards,</div>
<div>MA Lele</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
Hello Lele, <br>
<br>
Logs for cdrom and usb drivers differ from each other. There
is such the line in cdrom log:<br>
ldv-core: WARNING: SOAP error: 500 Server closed connection
without sending any data back at
/home/malele/programs/ldv/ldv-core/ldv-core line 231<br>
Actually I don't know why did this happen. You have to examine
and attach BCE or/and CSD logs to understand the reason (they
can be found elsewhere in
/home/malele/ldv-lab/2.0-test-0032-cdrom.c-2.6.36/ws4/work/current--X--drivers/cdrom--X--defaultlinux-2.6.36--X--32_7--X--32_1/linux-2.6.36/ldv_tempdir/
and
/home/malele/ldv-lab/2.0-test-0032-cdrom.c-2.6.36/ws4/work/current--X--drivers/cdrom--X--defaultlinux-2.6.36--X--32_7--X--32_1/linux-2.6.36/bce_tempdir/
at your machine). As for me It works, but I have tried a
different command:<br>
rm -rf work && LDV_DEBUG=100 LDV_VIEW=y time
ldv-manager envs=linux-2.6.39.tar.bz2 drivers=drivers/cdrom
rule_models=32_7a kernel_driver=1 2>&1 | tee log<br>
<br>
May be you need to remove "work" directory before launching
ldv-manager since old launch results may affect new ones
(note, that I used "rm -rf work &&" before launching
ldv-manager).<br>
<br>
<pre class="moz-signature" cols="72">--
Best regards, Evgeny Novikov.</pre>
</blockquote>
<br>
<br class="Apple-interchange-newline">
Firstly , for the previous running , I simply attached the
whole directory : <br>
/home/malele/ldv-lab/2.0-test-0032-cdrom.c-2.6.36/ws4/work/current--X--drivers/cdrom--X--defaultlinux-2.6.36--X--32_7--X--32_1/linux-2.6.36
<div>compressed to linux-2.6.36.tar.gz (attached) .</div>
<div><br>
</div>
<div>Then , I remove the work directory elsewhere and run the
command as directed, update to database, but still the same
error:</div>
<div>"failed before RI", I also attached the file 'log' the
command outputs.</div>
<div><br>
</div>
</div>
</blockquote>
I examined your log. So, I guess that you have to update LDV tools
one more time, because of commit 08610c4, made at October 31, has
fixed a critical issue related with in kernel drivers verification.
This update should be much more easy. You just need in GIT directory
run something like:<br>
git pull origin master<br>
git submodule update --init --recursive<br>
prefix=... make install<br>
<br>
and you will get working LDV tools in a couple of minutes.<br>
<blockquote
cite="mid:4c91aa37.320b9.13ad631c14b.Coremail.tupipa0929@126.com"
type="cite">
<div style="line-height: 1.7; color: rgb(0, 0, 0); font-size:
14px; font-family: arial;">
<div>BTW, Can I just run to the RI itself, with no father
running ?</div>
</div>
</blockquote>
Why do you need this? IMHO RI without other LDV tools is almost
useless because of both it input and output are produced and
interpreted by other LDV tools. May be you need separate C
Instrumentation Framework that can be used for different program
instrumentation and is based on aspect-oriented programming. You can
obtain it here: <a class="moz-txt-link-freetext" href="http://forge.ispras.ru/projects/cif/repository">http://forge.ispras.ru/projects/cif/repository</a>.
Unfortunately, there isn't installation and usage manuals still. But
if you installed LDV tools you will be able to install CIF on the
same computer. As for usage, you can try to run installed cif with
--help option.<br>
<blockquote
cite="mid:4c91aa37.320b9.13ad631c14b.Coremail.tupipa0929@126.com"
type="cite">
<div style="line-height: 1.7; color: rgb(0, 0, 0); font-size:
14px; font-family: arial;">
<div> </div>
<div><br>
</div>
<div>--<br>
<div>
<div>Best Regards,</div>
<div>MA Lele</div>
</div>
</div>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Best regards, Evgeny Novikov.</pre>
</body>
</html>