FAQ: [#6857] [ltp] LTP test case lseek03 fails after kernel is upgraded to 3.1.0(2011)

Document created by Aaronwu Employee on Sep 12, 2013
Version 1Show Document
  • View in full screen mode

[#6857] [ltp] LTP test case lseek03 fails after kernel is upgraded to 3.1.0

Submitted By: Vivi Li

Open Date

2011-10-28 03:21:42     Close Date

2012-03-07 01:07:08

Priority:

Medium     Assignee:

Bob Liu

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

Kernel Functions     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.3-2011R1-RC2

App binary format:

N/A     

Summary: [ltp] LTP test case lseek03 fails after kernel is upgraded to 3.1.0

Details:

 

LTP test case lseek03 fail after kernel is upgraded from 3.0.0 to 3.1.0.

 

Last passed version:

--

kernel:    Linux release 3.0.0-ADI-2011R1-pre-svn10099, build #174 Tue Oct 25 19:59:02 CST 2011

toolchain: bfin-uclinux-gcc release gcc version 4.3.5 (ADI-2011R1-RC2)

user-dist: release svn-10452, build #2123 Tue Oct 25 19:57:53 CST 2011

--

 

First failed version:

--

kernel:    Linux release 3.1.0-ADI-2012R1-pre-svn10106, build #180 Thu Oct 27 09:28:12 CST 2011

toolchain: bfin-uclinux-gcc release gcc version 4.3.5 (ADI-2011R1-RC2)

user-dist: release svn-10454, build #2196 Thu Oct 27 09:27:01 CST 2011

--

 

Bellow is the error log:

--

root:/bin> lseek03

lseek03     1  TFAIL  :  lseek(tfile_11196, 1, 4) Failed, errno=6 No such device or address, expected 22(EINVAL)

lseek03     2  TPASS  :  lseek(tfile_11196, 1, -1) Failed, errno=22 : Invalid argument

lseek03     3  TPASS  :  lseek(tfile_11196, 1, 7) Failed, errno=22 : Invalid argument

root:/bin>

--

 

Follow-ups

 

--- Bob Liu                                                  2011-12-29 23:57:42

can't use 4 any more in ltp lseek case.

 

--- Vivi Li                                                  2012-03-07 01:48:45

OK. Close this bug.

I also run lseek03 in latest ltp release ltp-full-20120104 and it can pass. So

this bug fixing doesn't need to push to ltp mainline.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes