<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><br><br><br><br><br>在 2012-11-07 00:23:26,"Ma Lele" <tupipa0929@126.com> 写道:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><br>At 2012-11-06 23:11:19,"Evgeny Novikov" <<a 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: #ccc 1px solid">
On 11/06/2012 05:48 PM, Ma Lele wrote:<br><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;">
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;">
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>
</blockquote><br>Thank you, Evegeny Novikov.<div><br></div><div>when I try to update ldv, I got errors below :</div><div><br><div></div></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><span style="font-size: 13px; "><div>make[8]: Entering directory `/home/malele/ldv-lab/ldv-tools/ri/cif/aspectator-build/mpc/src'</div></span></div><div><span style="font-size: 13px; "><div>/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../aspectator/mpc/src -I.. -I/media/D0B662DEB662C496/Users/nfs/Desktop/Class/lab-doc/ldv-tools/ri/cif/aspectator-build/./gmp -I/media/D0B662DEB662C496/Users/nfs/Desktop/Class/lab-doc/ldv-tools/ri/cif/aspectator/mpfr -g -fkeep-inline-functions -MT acos.lo -MD -MP -MF .deps/acos.Tpo -c -o acos.lo ../../../aspectator/mpc/src/acos.</div><div><br></div></span></div><div><span style="font-size: 13px; "><div>libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../aspectator/mpc/src -I.. -I/media/D0B662DEB662C496/Users/nfs/Desktop/Class/lab-doc/ldv-tools/ri/cif/aspectator-build/./gmp -I/media/D0B662DEB662C496/Users/nfs/Desktop/Class/lab-doc/ldv-tools/ri/cif/aspectator/mpfr -g -fkeep-inline-functions -MT acos.lo -MD -MP -MF .deps/acos.Tpo -c ../../../aspectator/mpc/src/acos.c -o acos.o</div><div><br></div></span></div><div><span style="font-size: 13px; "><div>../../../aspectator/mpc/src/acos.c: In function ‘mpc_acos’:</div></span></div><div><span style="font-size: 13px; "><div>../../../aspectator/mpc/src/acos.c:192: error: ‘GMP_RNDA’ undeclared (first use in this function)</div></span></div><div><span style="font-size: 13px; "><div>../../../aspectator/mpc/src/acos.c:192: error: (Each undeclared identifier is reported only once</div></span></div><div><span style="font-size: 13px; "><div>../../../aspectator/mpc/src/acos.c:192: error: for each function it appears in.)</div></span></div><div><span style="font-size: 13px; "><div>make[8]: *** [acos.lo] Error 1</div></span></div><div><span style="font-size: 13px; "><div>make[8]: Leaving directory `/home/malele/ldv-lab/ldv-tools/ri/cif/aspectator-build/mpc/src'</div></span></div><div><span style="font-size: 13px; "><div>Making all in tests</div><div>.....</div></span></div><div><span style="font-size: 13px; "><div>make: *** [ri-subdir-install] Error 2</div><div><br></div></span></div></blockquote><div><div></div><div>Where the directory </div><div><span style="font-size: 13px; line-height: 22px; ">/media/D0B662DEB662C496/ <span style="font-size: 18px; "></span></span></div><div style="font-size: 18px; "><font size="2"><span style="line-height: 22px; font-size: 14px; ">seems to be the Windows7 partition auto mounted when I have just installed the Ubuntu. But I have mounted this partion to /media/windows7 after that. Maybe I installed the ldv before the mount directory changed (my source dir is on Windows7 partition, and install dir is under /home of ubuntu). </span></font></div><div style="font-size: 18px; "><br></div><div style="font-size: 18px; "><font size="2"><span style="line-height: 22px; font-size: 14px; ">What's wrong with that error? Does the mount directory matter a lot?</span></font></div><div style="font-size: 18px; "><font size="2"><span style="line-height: 22px; font-size: 14px; ">Or Is there something wrong with my gmp , or mpfr installation? (But I have reinstalled them all , but the errors still.)</span></font></div><div><span style="font-size: 14px; line-height: 22px; "><span style="font-size: 14px; ">Or m</span>ay I have to download all the ldv source again ?</span></div><div style="font-size: 18px; "><font size="2"><span style="line-height: 22px; font-size: 14px; "><br></span></font></div><div style="font-size: 18px; "><font size="2"><span style="line-height: 22px; font-size: 14px; "><br></span></font></div><div style="font-size: 18px; "><font size="2"><span style="line-height: 22px; font-size: 14px; "><br></span></font></div><div><font size="2"><span style="line-height: 22px;"></span></font></div><div>--<br><div>Best Regards,</div>
<div>MA Lele</div></div></div></div></blockquote><br><br>Hello Evgeny,<div><br></div><div>This problem has been solved. </div><div><br></div><div>I have reinstalled g++ and installed mpc , then reinstalled the whole ldv.</div><div><br></div><div>now I can verify the cdrom now.</div><div><br></div><div>Thank you for your patient help!<br><br><br><div>--<br><div>Best Regards,</div>
<div>MA Lele</div></div></div></div>