From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sfi-mx-1.v28.ch3.sourceforge.com ([172.29.28.121] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1NxCLE-0005EY-Jx for ltp-list@lists.sourceforge.net; Thu, 01 Apr 2010 04:49:16 +0000 Received: from e9.ny.us.ibm.com ([32.97.182.139]) by sfi-mx-1.v28.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) id 1NxCLC-00014f-48 for ltp-list@lists.sourceforge.net; Thu, 01 Apr 2010 04:49:16 +0000 Received: from d01relay03.pok.ibm.com (d01relay03.pok.ibm.com [9.56.227.235]) by e9.ny.us.ibm.com (8.14.3/8.13.1) with ESMTP id o314bkC2024390 for ; Thu, 1 Apr 2010 00:37:46 -0400 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay03.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o314n8cx148406 for ; Thu, 1 Apr 2010 00:49:08 -0400 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id o314n7g8017908 for ; Thu, 1 Apr 2010 00:49:07 -0400 Date: Thu, 1 Apr 2010 10:19:05 +0530 From: Rishikesh K Rajak Message-ID: <20100401044905.GA3379@linux.vnet.ibm.com> References: <20100331045334.GA3878@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [LTP] Fcntl16 test case 2 failure List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net To: Anthony Ton Cc: "ltp-list@lists.sourceforge.net" On Wed, Mar 31, 2010 at 10:39:31PM -0400, Anthony Ton wrote: > Hi Rishikesh, > My mistake, both of them fail. But one with error code 5 (runltp), while fcntl16 run by itself with error code 37. Ok . /me is seeing some issue or regression here may be. > I am running against kernel 2.6.27.18. Will it be possible for you to test with 2.6.33 kernel on the same env ? meanwhile i will also spend some time on this early next week. -Rishi > I observe that if I running the test suite using runltp, then fcntl16 passes the test. However, if I run fcntl16 by itself, I get the TFAIL as mentioned in previous email. Do you know why the results are different if running fcntl16 from runltp vs. runing fcntl16 by itself? > Thanks, > Anthony > > -----Original Message----- > From: Rishikesh K Rajak [mailto:risrajak@linux.vnet.ibm.com] > Sent: Tuesday, March 30, 2010 9:54 PM > To: Anthony Ton > Cc: ltp-list@lists.sourceforge.net > Subject: Re: [LTP] Fcntl16 test case 2 failure > > > Hi Anthony, > > >Hi LTP Team, > >I run test case fcntl16 and get a failure on test case 2 with messages > >below > > I have tested with latest kernel 2.6.32 and i could not face this problem. > > Can you let us know about your setup little bit more ? > > > > >fcntl16 0 TINFO : Entering block 2 > >fcntl16 1 TFAIL : First parent lock failed > >fcntl16 2 TFAIL : Test case 1, errno = 37 > >fcntl16 0 TINFO : Test case 2: with mandatory record locking FAILED > > > >>I look into the code and think that it is trying to do a lock on the > >>entire file > >with write lock using option F_WRLCK, 0, 0L, 0L, IGNORED. Is it > >correct? Can someone > >+elaborate a little more? What does the errno = 37 mean? > > This errno means you are not having any lock available while doing operation with fcntl, with F_SETLK . > > asm-generic/errno.h:#define ENOLCK 37 /* No record locks > available */ > > -- > Thanks & Regards > Rishi > LTP Maintainer > IBM, LTC, Bangalore > Please join IRC #ltp @ irc.freenode.net -- 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