>>> On 3/10/2010 at 05:15 AM, in message <[email protected]>, Rishikesh K Rajak <[email protected]> wrote: > On Thu, Feb 25, 2010 at 11:56:15AM +0530, Rishikesh K Rajak wrote: >> On Wed, Feb 24, 2010 at 05:08:56PM -0800, Garrett Cooper wrote: >> > On Wed, Feb 24, 2010 at 3:49 PM, Murlin Wenzel <[email protected]> wrote: >> > > Added clean_swap() to cleanup routine. This makes sure all leftover >> > > swap > files are removed. >> > > >> > > Signed-off-By: Murlin Ray Wenzel [email protected] >> > >> > Committed -- thanks! >> > -Garrett >> >> Thanks Garret & Murlin. > > > Hi Murlin, > > can you please look into this failure as it still fails on my SLES11 & > RHEl5.4 > boxes. > > [r...@mx3455a bin]# ./swapon03 > swapon03 1 TFAIL : Failed swapon for file swapfile29: errno=EPERM(1): > Operation not permitted > swapon03 0 TWARN : tst_rmdir(): rmobj(/tmp/swasf2sLb) failed: > unlink(/tmp/swasf2sLb/swapfile22) failed; errno=1: Operation not permitted > swapon03 1 TFAIL : Failed to setup swaps > > attached is the strace log. > > -Rishi
That's the other part of the problem that I'm not sure what to do with yet. The original test was written entirely based on the assumption that there were always a max of 30 swap files available. With newer kernels (SLE11 RHEL5.4) the kernel can be configured so that the max could be as low as 29 if not 28. The kernel is doing the right thing returning EPERM, but the test needs to be re-worked to deal with new maximum limits/possibilites. Murlin ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
