Thanks so much for your feedback.
Regards,
FR
Jiri Palecek wrote:
Hi,
On Wednesday 11 March 2009 15:43:37 Francesco RUNDO wrote:
Hi All,
I'd like to show a strange behaviour I got by running latest
LTP-20090131 on SH based hw (and also for i386).
During the LTP session, running the gf0x testcases
($LTPROOT/testcases/kernel/fs/doio/) I got the same error previously
reported by Alvin (see below).
I checked it on i386 arch with FC7 (Fedora core 7), and I got the same
error/behaviour.
As for Alvin, only gf07 test fails as the others gf0x tests worked fine
both in SH arch and i386 ones.
I've analyzed the error and looking at the source code and it seems to
me that the test gf07 should pass without problem!
The gf07 basically checks the growing of file with random lseek and
"polled async" type of aio operations ("-I p " option).
The test at the end, run the function "dataasciichk()".
Only, for gf07 that function returns an error (even though it should
return no errors!).
The function "dataasciichk()" is included in the LTPROOT/lib files
(included with the tlibio.[ch]) to provide the libltp.a library.
Now, recently some code related to async io has been changed on the
tlibio.[ch] so that I think probably the problem could be placed on that
changes.
As reported Alvin, the same code built by using previous tlibio.o works
fine. The source code of the growfile.c and dataasciichk.[ch] is
basically the same of previous LTP release (20081031).
Finally, I've to say that changing some paramaters at command line, the
gf07 works fine (even though the check made by dataasciichk() is the same):
./growfiles -W gf07 -b -e 1 -u -r 1-5000 -R 0--2 -i 0 -L 30 -C 1 -I p
g_rand13 g_rand13.2: DIDN'T WORK
./growfiles -W gf07 -b -e 1 -u -r 1-5000 -R 0--1 -i 0 -L 30 -C 1 -I p
g_rand13 g_rand13.2: WORKs FINE
./growfiles -W gf07 -b -e 1 -u -r 1-5000 -R 0--3 -i 0 -L 30 -C 1 -I p
g_rand13 g_rand13.2: WORKs FINE
./growfiles -W gf07 -b -e 1 -u -r 1-5000 -R 0--2 -i 0 -L 30 -C 1 -I s
g_rand13 g_rand13.2: WORKs FINE
./growfiles -W gf07 -b -e 1 -u -r 1-5000 -R 0--2 -i 0 -L 30 -C 1 -I a
g_rand13 g_rand13.2: WORKs FINE
Please, could you send me your opinion/feedback ?
Thanks so much.
I already looked at it, there are various problems. First, it actually selects
pread() instead of polled aio, second, growfiles doesn't work with pread(),
third, it doesn't give useful error info sometimes. Expect patches soon.
Regards
Jiri Palecek
Regards,
FR
Alvin wrote:
Hi, all,
The kernel is 2.6.24-19-386 and ltp suite is ltp-full-20090131.gz.
Only gf07 failed, other growfiles test cases pass. And I modified
ltp/include/tlibio.h ltp/lib/tlibio.c to the previous version, it will
pass.
Error Log:
$ ./growfiles -W gf07 -b -e 1 -u -r 1-5000 -R 0--2 -i 0 -L 30 -C 1 -I
p g_rand13 g_rand13.2
growfiles(gf07): 24212 growfiles.c/2513: 1 CW data mismatch at offset
0, exp:0101, act:0 in file g_rand13
growfiles(gf07): 24212 growfiles.c/1678: 1 Hit max errors value of 1
gf07 1 FAIL : Test failed
~Alvin
------------------------------------------------------------------------
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list