----- Original Message ----- > From: "Om Prakash PAL" <[email protected]> > To: [email protected] > Sent: Monday, 2 July, 2012 8:49:20 AM > Subject: [LTP] Failure of syscalls in kernel version 3.4 > > Hi, > > I am currently using ltp-full-20110915.bz2. > When I switched to kernel 3.4(from kernel 3.0) then these syscalls ltp are > failing.
I'd suggest you try latest LTP from git. Some of these failures should be already fixed. (Latest I ran was kernel 3.3 and it ran fine for the ones you listed) > [1]. get_robust_list01 > get_robust_list01 1 TPASS : get_robust_list failed as expected with > EFAULT > get_robust_list01 2 TPASS : get_robust_list failed as expected with > EFAULT > get_robust_list01 3 TPASS : get_robust_list failed as expected with > ESRCH > get_robust_list01 4 TFAIL : get_robust_list succeeded unexpectedly > get_robust_list01 5 TPASS : get_robust_list succeeded > > [2]. gettimeofday02 > gettimeofday02 0 TINFO : checking if gettimeofday is monotonous, takes > 30s > gettimeofday02 1 TFAIL : Time is going backwards: old 946 > > > [3]. lseek03 > lseek03 1 TFAIL : lseek(tfile_16887, 1, 4) Failed, errno=6 No such > device or address, expected 22(EINVAL) > lseek03 2 TPASS : lseek(tfile_16887, 1, -1) Failed, errno=22 : Invalid > argument > lseek03 3 TPASS : lseek(tfile_16887, 1, 7) Failed, errno=22 : Invalid > argument > [4]. readlink03 > readlink03 1 TPASS : readlink(), No Search permissions to process, > returned errno 13 > readlink03 2 TPASS : readlink(), No Search permissions to process, > returned errno 13 > readlink03 3 TPASS : readlink(), Buffer size is not positive, returned > errno 22 > readlink03 4 TPASS : readlink(), Buffer size is not positive, returned > errno 22 > readlink03 5 TPASS : readlink(), File is not symbolic link, returned > errno 22 > readlink03 6 TPASS : readlink(), File is not symbolic link, returned > errno 22 > readlink03 7 TPASS : readlink(), Symlink path too long, returned errno > 36 > readlink03 8 TPASS : readlink(), Symlink path too long, returned errno > 36 > readlink03 9 TFAIL : readlink() failed, Symlink Pathname is empty, > errno=2, expected errno=22 > > [5] shmat01 > shmat01 1 TFAIL : shmat call failed: TEST_ERRNO=EINVAL(22): Invalid > argument > > [6] sysctl01 > sysctl01 1 TFAIL : sysctl(2) failed unexpectedly errno:38 > sysctl01 2 TFAIL : sysctl(2) failed unexpectedly errno:38 > sysctl01 3 TFAIL : sysctl(2) failed unexpectedly errno:38 38 is ENOSYS, this works only if your kernel supports it (CONFIG_SYSCTL=y). > > any idea why these testcases are failing now?. Kernel implementation moved forward, your LTP is almost year old. Regards, Jan > How can I resolve it?. > > Best Regards, > Om Prakash Pal ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
