[LU-2658] Building a patchless client on ubuntu 12.04 Created: 21/Jan/13  Updated: 26/Feb/13  Resolved: 26/Feb/13

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.4.0
Fix Version/s: Lustre 2.4.0

Type: Improvement Priority: Major
Reporter: Thomas Lorenzen Assignee: Minh Diep
Resolution: Fixed Votes: 0
Labels: LB
Environment:
      1. lsb_release -a
        No LSB modules are available.
        Distributor ID: Ubuntu
        Description: Ubuntu 12.04.1 LTS
        Release: 12.04
        Codename: precise
      1. uname -a
        Linux tltest 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Rank (Obsolete): 6201

 Description   

Hi'

The quest is to build a patchless lustre client for the ubuntu platform, in this case the 12.04 version. Configuring of lustre thus takes place with option --disable-server.

As expected, 2.3.0 does not compile nicely, since 2.3.0 is not linux-3.x.y aware. However, I take note, that there has over autumn last year been activities in making lustre linux-3.x.y aware.

From git I have downloaded tag 2.3.58 (1f77320), and that fails to compile as well, but going a step backward to tag 2.3.57 (fad209e) was a successful compilation experience, and I now have a lustre client running based on that tag.

For your information, the compile of tag 2.3.58 fails at the following spot, and it would be great, if this could be fixed for tag post2.3.58.

/home/tl/source/lustre-release-1f77320/lustre/llite/file.c: In function ‘ll_file_seek’:
/home/tl/source/lustre-release-1f77320/lustre/llite/file.c:2036:8: error: too many arguments to function ‘generic_file_llseek_size’
/home/tl/source/linux-headers-3.2.0-23-generic/include/linux/fs.h:2451:15: note: declared here

Best regards.

Thomas.



 Comments   
Comment by Thomas Lorenzen [ 21/Jan/13 ]

Hi'

I just take note, that 2.3.59 was tagged over the weekend, so I quickly tried that tag out as well, but it fails to compile at the same spot as does 2.3.58.

Best regards.

Thomas.

Comment by Peter Jones [ 21/Jan/13 ]

Minh

Could you please look into this one?

Thanks

Peter

Comment by James A Simmons [ 22/Jan/13 ]

This will impact the FC18 support as well in ticket LU-1812.

Comment by Thomas Lorenzen [ 01/Feb/13 ]

Hi'

Just commenting, that also the recently tagged version 2.3.60 suffers from the reported issue.

Best regards.

Thomas.

Comment by James A Simmons [ 01/Feb/13 ]

Can you take a look at LU-2148/LU-2686. Some patches are floating around that might help you. What kernel version is this?

Comment by Minh Diep [ 04/Feb/13 ]

patch http://review.whamcloud.com/#change,5244

Comment by Yang Sheng [ 07/Feb/13 ]

Hi, Thomas, Could you please give a try to Minh's patch and feedback to us? I suspect it may failed by 'set but unused' warning. But i am not sure that Ubuntu if enabled it.

Comment by Minh Diep [ 19/Feb/13 ]

Hi Thomas,

Any update on this?

Comment by Peter Jones [ 26/Feb/13 ]

Landed for 2.4

Generated at Sat Feb 10 01:27:05 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.