Hi Subrata,
This has been tested on PPC440 and PPC405 PowerPC targets below are the
results :
---------------------------------------------------
<<<test_start>>>
tag=remap_file_pages01 stime=1248547976
cmdline="remap_file_pages01"
contacts=""
analysis=exit
<<<test_output>>>
remap_file_pages01 1 TPASS : Non-Linear shm file OK
remap_file_pages01 2 TPASS : Non-Linear /tmp/ file OK
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=18 cstime=13
<<<test_end>>>
<<<test_start>>>
tag=remap_file_pages02 stime=1248547976
cmdline="remap_file_pages02"
contacts=""
analysis=exit
<<<test_output>>>
remap_file_pages02 1 TPASS : remap_file_pages(2) expected failure; Got
errno - EINVAL : start does not refer to a valid mapping created with the
MAP_SHARED flag
remap_file_pages02 2 TPASS : remap_file_pages(2) expected failure; Got
errno - EINVAL : start is invalid
remap_file_pages02 3 TPASS : remap_file_pages(2) expected failure; Got
errno - EINVAL : size is invalid
remap_file_pages02 4 TPASS : remap_file_pages(2) expected failure; Got
errno - EINVAL : prot is invalid
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
-------------------------------------------------------
Or else other option to make these test cases pass on these target is to
modify the kernel config options :
Change of TASK_SIZE from 0x80000000 to 0xc0000000. A workaround is to
set these config options to
revert back to the old TASK_SIZE:
CONFIG_ADVANCED_OPTIONS=y
CONFIG_TASK_SIZE_BOOL=y
CONFIG_TASK_SIZE=0x80000000
Thanks,
-Srikanth
On Thu, Jul 30, 2009 at 11:59 PM, Subrata Modak
<[email protected]>wrote:
> Has this Patch been tested on the concerned Power Box ? I would need
> some info before applying this.
>
> Regards--
> Subrata
>
> On Wed, 2009-07-29 at 18:38 +0530, srikanth krishnakar wrote:
> > Hi all,
> >
> >
> > I always found the remap_file_pages failing in PowerPC target
> > (ppc44x) , the patch to fix the test cases of remap_file_pages passes
> > the test cases on PowerPC targets ( ppc44x virtex target does not use
> > bootloader ), any better suggestions are welcome.
> >
> > -Srikanth
> >
> > On Fri, Jul 24, 2009 at 2:01 AM, srikanth krishnakar
> > <[email protected]> wrote:
> >
> >
> >
> > On Thu, Jul 23, 2009 at 6:33 AM, Kumar Gala
> > <[email protected]> wrote:
> >
> > On Jul 22, 2009, at 11:32 AM, srikanth krishnakar
> > wrote:
> >
> >
> >
> > On Wed, Jul 22, 2009 at 9:14 PM, Kumar Gala
> > <[email protected]> wrote:
> >
> > On Jul 22, 2009, at 10:38 AM, srikanth
> > krishnakar wrote:
> >
> >
> >
> > On Wed, Jul 22, 2009 at 8:52 PM, Kumar Gala
> > <[email protected]> wrote:
> > I'm not seeing any BUG* in traps.c @ line 904.
> >
> >
> > On Jul 21, 2009, at 4:33 AM, srikanth
> > krishnakar wrote:
> >
> > The LTP test case msgctl10.c fails on
> > linux-2.6.29.6 for PowerPC architecture
> > (ppc440)
> >
> >
> > msgctl10 1 B------------[ cut
> > here ]------------
> > kernel BUG at arch/powerpc/kernel/traps.c:904!
> > Oops: Exception in kernel mode, sig: 5 [#9]
> >
> > I'm not seeing any BUG* in traps.c @ line
> > 904. Do you have some other patches on top of
> > 2.6.29.6?
> >
> > - k
> >
> >
> > I have LTTng patches on top of linux-2.6.29.6.
> >
> > Does it modify traps.c? Can you see what the
> > code around line 904 looks like and post that.
> >
> > - k
> > 896
> > 897 #if defined(CONFIG_XILINX_VIRTEX_5_FXT)
> > && defined(CONFIG_PPC_FPU)
> > 898 if (reason & REASON_ILLEGAL) {
> > 899 if (excep_state < 1) {
> > 900 excep_state++;
> > 901 return;
> > 902 }
> > 903 /* should never get here
> > */
> > 904 BUG();
> > 905 }
> > 906 #endif
> > 907
> > 908 /* Try to emulate it if we
> > should. */
> >
> >
> >
> > Are you sure this is coming from the LTTng patches?
> > Which actual patch makes this change?
> >
> > - k
> > Thanks kumar,
> >
> >
> >
> > I've got the patch out which fixes the issues. But now.. seems
> > there is some generic issue in PPC440 targets, I am observing
> > that
> > remap_file_pages01 and remap_file_pages02 test cases from LTP
> > are failing since Linux-2.6.24 kernel to Linux-2.6.30. If you
> > can give some pointers that would be greatly appreciated ! Or
> > if you have results for this on any PPC44x would be helpful.
> >
> >
> > Arch : PowerPC
> >
> > Target : Xilinx PowerPC440 virtex5
> >
> >
> >
> > I've tried to test the cause for this but found that kernel
> > throws error message of "segmentation fault".
> >
> >
> >
> > Thanks in Advance.
> >
> >
> >
> > -Srikant
> >
> >
> >
> >
> >
> >
> >
> > --
> > "The Good You Do, The Best You GET"
> >
> > Regards
> > Srikanth Krishnakar
> > **********************
> >
> ------------------------------------------------------------------------------
> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> > trial. Simplify your report design, integration and deployment - and
> focus on
> > what you do best, core application coding. Discover what's new with
> > Crystal Reports now. http://p.sf.net/sfu/bobj-july
> > _______________________________________________ Ltp-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ltp-list
>
>
--
"The Good You Do, The Best You GET"
Regards
Srikanth Krishnakar
**********************
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list