<!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 07:23 PM, Ma Lele wrote:
<blockquote
cite="mid:28467386.32d48.13ad6889604.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
23:11:19,"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/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
moz-do-not-send="true" 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
moz-do-not-send="true" 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>
<blockquote style="margin: 0pt 0pt 0pt 40px; border: medium
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>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>
</div>
</blockquote>
I read briefly about this problem here<br>
<a class="moz-txt-link-freetext" href="http://www.google.ru/#hl=ru&newwindow=1&output=search&sclient=psy-ab&q=error:+%E2%80%98GMP_RNDA%E2%80%99+undeclared+%28first+use+in+this+function%29&oq=error:+%E2%80%98GMP_RNDA%E2%80%99+undeclared+%28first+use+in+this+function%29&gs_l=hp.3...1133.1133.0.1855.1.1.0.0.0.0.162.162.0j1.1.0...0.0...1c.MHmOs_lcELk&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.&fp=e800db04da655d86&bpcl=37189454&biw=1272&bih=775">http://www.google.ru/#hl=ru&newwindow=1&output=search&sclient=psy-ab&q=error:+%E2%80%98GMP_RNDA%E2%80%99+undeclared+%28first+use+in+this+function%29&oq=error:+%E2%80%98GMP_RNDA%E2%80%99+undeclared+%28first+use+in+this+function%29&gs_l=hp.3...1133.1133.0.1855.1.1.0.0.0.0.162.162.0j1.1.0...0.0...1c.MHmOs_lcELk&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.&fp=e800db04da655d86&bpcl=37189454&biw=1272&bih=775</a><br>
<br>
and after all decided to update MPC library included to Aspectator
from 0.8.1 to 0.8.2. Commit ecf6966 in the master branch of LDV
tools contains updated MPC library, it will become public in half an
hour. Try it and provide me a feedback, please.<br>
<blockquote
cite="mid:28467386.32d48.13ad6889604.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 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>
<pre class="moz-signature" cols="72">--
Best regards, Evgeny Novikov.</pre>
</body>
</html>