* [LTP] When I execute ppoll01 testcase in mips board, the testcase failed. @ 2010-03-19 5:15 Henry xu 2010-03-22 6:39 ` Rishikesh K Rajak 0 siblings, 1 reply; 4+ messages in thread From: Henry xu @ 2010-03-19 5:15 UTC (permalink / raw) To: takahiro.yasui.mp, yumiko.sugita.yf, sa-fuji; +Cc: ltp-list Hi,all summary: =================================================================== When I execute ppoll01 testcase in mips board,the testcase failed. Environment ================================================================ linux version:2.6.27.45 hardware platform:mips symptom Details ===================================================================== root@localhost:/opt/mytest> ./ppoll01 ppoll01 0 TINFO : (case00) START ppoll01 0 TINFO : EXPECT: revents=0x0005 ppoll01 0 TINFO : RESULT: revents=0x0005 EXPECT: return value(ret)=(N >= 0) errno=0 (Success) RESULT: return value(ret)= 1 errno=0 (Success) ppoll01 0 TINFO : (case00) END => OK ppoll01 0 TINFO : (case01) START EXPECT: return value(ret)=0 errno=0 (Success) RESULT: return value(ret)=-1 errno=4 (Interrupted system call) ppoll01 0 TINFO : (case01) END => NG ppoll01 0 TINFO : (case02) START ^CEXPECT: return value(ret)=0 errno=0 (Success) RESULT: return value(ret)=-1 errno=4 (Interrupted system call) ppoll01 0 TINFO : (case02) END => NG ppoll01 0 TINFO : (case03) START ppoll01 0 TINFO : EXPECT: revents=0x0020 ppoll01 0 TINFO : RESULT: revents=0x0020 EXPECT: return value(ret)=(N >= 0) errno=0 (Success) RESULT: return value(ret)= 1 errno=0 (Success) ppoll01 0 TINFO : (case03) END => OK ppoll01 0 TINFO : (case04) START EXPECT: return value(ret)=-1 errno=4 (Interrupted system call) RESULT: return value(ret)=-1 errno=4 (Interrupted system call) ppoll01 0 TINFO : (case04) END => OK ppoll01 0 TINFO : (case05) START EXPECT: return value(ret)=-1 errno=4 (Interrupted system call) RESULT: return value(ret)=-1 errno=4 (Interrupted system call) ppoll01 0 TINFO : (case05) END => OK ppoll01 0 TINFO : (case06) START EXPECT: return value(ret)=-1 errno=22 (Invalid argument) RESULT: return value(ret)=-1 errno=22 (Invalid argument) ppoll01 0 TINFO : (case06) END => OK ppoll01 0 TINFO : (case07) START EXPECT: return value(ret)=-1 errno=14 (Bad address) RESULT: return value(ret)=-1 errno=14 (Bad address) ppoll01 0 TINFO : (case07) END => OK ppoll01 1 TFAIL : ppoll01 failed: TEST_ERRNO=EFAULT(14): Bad address NGppoll01 0 TWARN : tst_rmdir(): rmobj(/tmp/ppoKT1uvV) failed: unlink(/tmp/ppoKT1uvV/.nfs00000000005bcdac00000035) failed; errno=16: Device or resource busy ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LTP] When I execute ppoll01 testcase in mips board, the testcase failed. 2010-03-19 5:15 [LTP] When I execute ppoll01 testcase in mips board, the testcase failed Henry xu @ 2010-03-22 6:39 ` Rishikesh K Rajak 2010-03-22 8:10 ` Garrett Cooper 0 siblings, 1 reply; 4+ messages in thread From: Rishikesh K Rajak @ 2010-03-22 6:39 UTC (permalink / raw) To: Henry xu; +Cc: ltp-list, takahiro.yasui.mp, sa-fuji, yumiko.sugita.yf On Fri, Mar 19, 2010 at 01:15:55PM +0800, Henry xu wrote: > Hi,all > > summary: > =================================================================== > When I execute ppoll01 testcase in mips board,the testcase failed. Again can you send us the strace of this ? @All, Let us know if anyone also facing the same problem, i am not having any mips box but may be someone can help here to Henry. -Rishi > > Environment > ================================================================ > linux version:2.6.27.45 > hardware platform:mips > > > > symptom Details > ===================================================================== > root@localhost:/opt/mytest> ./ppoll01 > ppoll01 0 TINFO : (case00) START > ppoll01 0 TINFO : EXPECT: revents=0x0005 > ppoll01 0 TINFO : RESULT: revents=0x0005 > EXPECT: return value(ret)=(N >= 0) errno=0 (Success) > RESULT: return value(ret)= 1 errno=0 (Success) > ppoll01 0 TINFO : (case00) END => OK > ppoll01 0 TINFO : (case01) START > EXPECT: return value(ret)=0 errno=0 (Success) > RESULT: return value(ret)=-1 errno=4 (Interrupted system call) > ppoll01 0 TINFO : (case01) END => NG > ppoll01 0 TINFO : (case02) START > ^CEXPECT: return value(ret)=0 errno=0 (Success) > RESULT: return value(ret)=-1 errno=4 (Interrupted system call) > ppoll01 0 TINFO : (case02) END => NG > ppoll01 0 TINFO : (case03) START > ppoll01 0 TINFO : EXPECT: revents=0x0020 > ppoll01 0 TINFO : RESULT: revents=0x0020 > EXPECT: return value(ret)=(N >= 0) errno=0 (Success) > RESULT: return value(ret)= 1 errno=0 (Success) > ppoll01 0 TINFO : (case03) END => OK > ppoll01 0 TINFO : (case04) START > EXPECT: return value(ret)=-1 errno=4 (Interrupted system call) > RESULT: return value(ret)=-1 errno=4 (Interrupted system call) > ppoll01 0 TINFO : (case04) END => OK > ppoll01 0 TINFO : (case05) START > EXPECT: return value(ret)=-1 errno=4 (Interrupted system call) > RESULT: return value(ret)=-1 errno=4 (Interrupted system call) > ppoll01 0 TINFO : (case05) END => OK > ppoll01 0 TINFO : (case06) START > EXPECT: return value(ret)=-1 errno=22 (Invalid argument) > RESULT: return value(ret)=-1 errno=22 (Invalid argument) > ppoll01 0 TINFO : (case06) END => OK > ppoll01 0 TINFO : (case07) START > EXPECT: return value(ret)=-1 errno=14 (Bad address) > RESULT: return value(ret)=-1 errno=14 (Bad address) > ppoll01 0 TINFO : (case07) END => OK > ppoll01 1 TFAIL : ppoll01 failed: TEST_ERRNO=EFAULT(14): Bad > address > NGppoll01 0 TWARN : tst_rmdir(): rmobj(/tmp/ppoKT1uvV) failed: > unlink(/tmp/ppoKT1uvV/.nfs00000000005bcdac00000035) failed; errno=16: > Device or resource busy > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Ltp-list mailing list > Ltp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ltp-list -- Thanks & Regards Rishi LTP Maintainer IBM, LTC, Bangalore Please join IRC #ltp @ irc.freenode.net ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LTP] When I execute ppoll01 testcase in mips board, the testcase failed. 2010-03-22 6:39 ` Rishikesh K Rajak @ 2010-03-22 8:10 ` Garrett Cooper 2010-03-22 18:16 ` Henry Yei 0 siblings, 1 reply; 4+ messages in thread From: Garrett Cooper @ 2010-03-22 8:10 UTC (permalink / raw) To: Henry xu, takahiro.yasui.mp, yumiko.sugita.yf, sa-fuji, ltp-list On Sun, Mar 21, 2010 at 11:39 PM, Rishikesh K Rajak <risrajak@linux.vnet.ibm.com> wrote: > On Fri, Mar 19, 2010 at 01:15:55PM +0800, Henry xu wrote: >> Hi,all >> >> summary: >> =================================================================== >> When I execute ppoll01 testcase in mips board,the testcase failed. > > Again can you send us the strace of this ? > > @All, Let us know if anyone also facing the same problem, i am not having any > mips box but may be someone can help here to Henry. > > -Rishi >> >> Environment >> ================================================================ >> linux version:2.6.27.45 >> hardware platform:mips >> >> >> >> symptom Details >> ===================================================================== >> root@localhost:/opt/mytest> ./ppoll01 >> ppoll01 0 TINFO : (case00) START >> ppoll01 0 TINFO : EXPECT: revents=0x0005 >> ppoll01 0 TINFO : RESULT: revents=0x0005 >> EXPECT: return value(ret)=(N >= 0) errno=0 (Success) >> RESULT: return value(ret)= 1 errno=0 (Success) >> ppoll01 0 TINFO : (case00) END => OK >> ppoll01 0 TINFO : (case01) START >> EXPECT: return value(ret)=0 errno=0 (Success) >> RESULT: return value(ret)=-1 errno=4 (Interrupted system call) >> ppoll01 0 TINFO : (case01) END => NG >> ppoll01 0 TINFO : (case02) START >> ^CEXPECT: return value(ret)=0 errno=0 (Success) >> RESULT: return value(ret)=-1 errno=4 (Interrupted system call) >> ppoll01 0 TINFO : (case02) END => NG >> ppoll01 0 TINFO : (case03) START >> ppoll01 0 TINFO : EXPECT: revents=0x0020 >> ppoll01 0 TINFO : RESULT: revents=0x0020 >> EXPECT: return value(ret)=(N >= 0) errno=0 (Success) >> RESULT: return value(ret)= 1 errno=0 (Success) >> ppoll01 0 TINFO : (case03) END => OK >> ppoll01 0 TINFO : (case04) START >> EXPECT: return value(ret)=-1 errno=4 (Interrupted system call) >> RESULT: return value(ret)=-1 errno=4 (Interrupted system call) >> ppoll01 0 TINFO : (case04) END => OK >> ppoll01 0 TINFO : (case05) START >> EXPECT: return value(ret)=-1 errno=4 (Interrupted system call) >> RESULT: return value(ret)=-1 errno=4 (Interrupted system call) >> ppoll01 0 TINFO : (case05) END => OK >> ppoll01 0 TINFO : (case06) START >> EXPECT: return value(ret)=-1 errno=22 (Invalid argument) >> RESULT: return value(ret)=-1 errno=22 (Invalid argument) >> ppoll01 0 TINFO : (case06) END => OK >> ppoll01 0 TINFO : (case07) START >> EXPECT: return value(ret)=-1 errno=14 (Bad address) >> RESULT: return value(ret)=-1 errno=14 (Bad address) >> ppoll01 0 TINFO : (case07) END => OK >> ppoll01 1 TFAIL : ppoll01 failed: TEST_ERRNO=EFAULT(14): Bad >> address >> NGppoll01 0 TWARN : tst_rmdir(): rmobj(/tmp/ppoKT1uvV) failed: >> unlink(/tmp/ppoKT1uvV/.nfs00000000005bcdac00000035) failed; errno=16: >> Device or resource busy I was seeing similar back when I had access to Cavium mips hardware and worked in my prior group. Neither case is true anymore so I can't verify this issue. Thanks, -Garrett ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LTP] When I execute ppoll01 testcase in mips board, the testcase failed. 2010-03-22 8:10 ` Garrett Cooper @ 2010-03-22 18:16 ` Henry Yei 0 siblings, 0 replies; 4+ messages in thread From: Henry Yei @ 2010-03-22 18:16 UTC (permalink / raw) To: Garrett Cooper; +Cc: sa-fuji, ltp-list, takahiro.yasui.mp, yumiko.sugita.yf On Mon, Mar 22, 2010 at 1:10 AM, Garrett Cooper <yanegomi@gmail.com> wrote: > On Sun, Mar 21, 2010 at 11:39 PM, Rishikesh K Rajak > <risrajak@linux.vnet.ibm.com> wrote: >> On Fri, Mar 19, 2010 at 01:15:55PM +0800, Henry xu wrote: >>> Hi,all >>> >>> summary: >>> =================================================================== >>> When I execute ppoll01 testcase in mips board,the testcase failed. >> >> Again can you send us the strace of this ? >> >> @All, Let us know if anyone also facing the same problem, i am not having any >> mips box but may be someone can help here to Henry. >> >> -Rishi >>> >>> Environment >>> ================================================================ >>> linux version:2.6.27.45 >>> hardware platform:mips >>> >>> >>> >>> symptom Details >>> ===================================================================== >>> root@localhost:/opt/mytest> ./ppoll01 >>> ppoll01 0 TINFO : (case00) START >>> ppoll01 0 TINFO : EXPECT: revents=0x0005 >>> ppoll01 0 TINFO : RESULT: revents=0x0005 >>> EXPECT: return value(ret)=(N >= 0) errno=0 (Success) >>> RESULT: return value(ret)= 1 errno=0 (Success) >>> ppoll01 0 TINFO : (case00) END => OK >>> ppoll01 0 TINFO : (case01) START >>> EXPECT: return value(ret)=0 errno=0 (Success) >>> RESULT: return value(ret)=-1 errno=4 (Interrupted system call) >>> ppoll01 0 TINFO : (case01) END => NG >>> ppoll01 0 TINFO : (case02) START >>> ^CEXPECT: return value(ret)=0 errno=0 (Success) >>> RESULT: return value(ret)=-1 errno=4 (Interrupted system call) >>> ppoll01 0 TINFO : (case02) END => NG >>> ppoll01 0 TINFO : (case03) START >>> ppoll01 0 TINFO : EXPECT: revents=0x0020 >>> ppoll01 0 TINFO : RESULT: revents=0x0020 >>> EXPECT: return value(ret)=(N >= 0) errno=0 (Success) >>> RESULT: return value(ret)= 1 errno=0 (Success) >>> ppoll01 0 TINFO : (case03) END => OK >>> ppoll01 0 TINFO : (case04) START >>> EXPECT: return value(ret)=-1 errno=4 (Interrupted system call) >>> RESULT: return value(ret)=-1 errno=4 (Interrupted system call) >>> ppoll01 0 TINFO : (case04) END => OK >>> ppoll01 0 TINFO : (case05) START >>> EXPECT: return value(ret)=-1 errno=4 (Interrupted system call) >>> RESULT: return value(ret)=-1 errno=4 (Interrupted system call) >>> ppoll01 0 TINFO : (case05) END => OK >>> ppoll01 0 TINFO : (case06) START >>> EXPECT: return value(ret)=-1 errno=22 (Invalid argument) >>> RESULT: return value(ret)=-1 errno=22 (Invalid argument) >>> ppoll01 0 TINFO : (case06) END => OK >>> ppoll01 0 TINFO : (case07) START >>> EXPECT: return value(ret)=-1 errno=14 (Bad address) >>> RESULT: return value(ret)=-1 errno=14 (Bad address) >>> ppoll01 0 TINFO : (case07) END => OK >>> ppoll01 1 TFAIL : ppoll01 failed: TEST_ERRNO=EFAULT(14): Bad >>> address >>> NGppoll01 0 TWARN : tst_rmdir(): rmobj(/tmp/ppoKT1uvV) failed: >>> unlink(/tmp/ppoKT1uvV/.nfs00000000005bcdac00000035) failed; errno=16: >>> Device or resource busy > > I was seeing similar back when I had access to Cavium mips > hardware and worked in my prior group. Neither case is true anymore so > I can't verify this issue. > Thanks, > -Garrett > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Ltp-list mailing list > Ltp-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ltp-list > Here is a description of the kernel patch which fixed the issue thatppoll01 exposed under mips in our internal tree. Description: Using compat_sys_ppoll instead of sys_ppoll in n32 userspace. This concerns to timespec structure. Its members tv_sec and tv_nsec have 4-bytes type long int in n32 userspace, but 8-bytes type long in the kernel. So, it must be used compat_sys_ppoll with compat_timespec structure. Signed-off-by: Yadviga Grigorieva <yadviga@ru.mvista.com> The patch should make it upstream soon. Henry Yei <hyei@mvista.com> ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-03-22 18:48 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-03-19 5:15 [LTP] When I execute ppoll01 testcase in mips board, the testcase failed Henry xu 2010-03-22 6:39 ` Rishikesh K Rajak 2010-03-22 8:10 ` Garrett Cooper 2010-03-22 18:16 ` Henry Yei
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.