[LU-6486] ppc64 client: lov: Unknown symbol lustre_swab_lov_mds_md Created: 23/Apr/15  Updated: 08/Aug/16  Resolved: 12/Jun/15

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

Type: Bug Priority: Major
Reporter: Frank Heckes (Inactive) Assignee: Jian Yu
Resolution: Fixed Votes: 0
Labels: patch, ppc
Environment:

shadow


Attachments: File lustre-initialization-1.lustre-initialization_1.autotest.shadow-35vm6.log.bz2    
Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

ppc64 client build can't mount Lustre FS. Error happened during lustre-initialization - phase testing build #66 of Jenkins job 'lustre-ppc-6.6':

Apr 22 14:09:29 shadow-31 kernel: lov: Unknown symbol lustre_swab_lov_mds_md

Test session associated with build is
https://testing.hpdd.intel.com/test_sessions/ae0a97f6-e902-11e4-acb0-5254006e85c2
(see autotest log file, dmesg, messages of node shadow-31)

Error can be reproduced manually also. Created MGS/MDT on shadow-35vm3, OSTs on shadow-35vm8 and tried to mount Lustre FS on ppc64 client (shadow-31):

mount -t lustre 10.1.5.185@tcp0:/temp /mnt/lustre

Apr 23 11:34:51 shadow-31 modprobe: FATAL: Error inserting lustre (/lib/modules/2.6.32-504.12.2.el6.ppc64/extra/kernel/fs/lustre/lustre.ko): Unknown symbol in module, or unknown parameter (see dmesg)
Apr 23 11:34:51 shadow-31 kernel: lov: Unknown symbol lustre_swab_lov_mds_md
Apr 23 11:34:51 shadow-31 kernel: LustreError: 165-2: Nothing registered for client mount! Is the 'lustre' module loaded?
Apr 23 11:34:51 shadow-31 kernel: LustreError: 26855:0:(obd_mount.c:1342:lustre_fill_super()) Unable to mount  (-19)

Lustre FS is operational as it can be mounted on x86_64 client node

[root@shadow-35vm5 ~]# mount -t lustre 10.1.5.185@tcp0:/temp /mnt/lustre
[root@shadow-35vm5 ~]# mount |grep lustre 
10.1.5.185@tcp0:/temp on /mnt/lustre type lustre (rw)


 Comments   
Comment by James A Simmons [ 23/Apr/15 ]

I see what the problem is. The function lustre_swab_lov_mds_md is not being exported. Very simple fix.

Comment by Gerrit Updater [ 23/Apr/15 ]

James Simmons (uja.ornl@yahoo.com) uploaded a new patch: http://review.whamcloud.com/14545
Subject: LU-6486 ptlrpc: export lustre_swab_lov_mds_md
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: d292da400084adf11ac45fd05acc920dd35c66bd

Comment by Peter Jones [ 24/Apr/15 ]

Jian

Could you please take care of this patch?

Thanks

Peter

Comment by Gerrit Updater [ 24/Apr/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/14545/
Subject: LU-6486 ptlrpc: export lustre_swab_lov_mds_md
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 1982c0c34313a0ab135ce5a25c54cc01dd8556e5

Comment by Andreas Dilger [ 24/Apr/15 ]

Patch landed to master for 2.8.0.

Comment by Frank Heckes (Inactive) [ 05/Jun/15 ]

A similar error occurred while trying to test build 'lustre-ppc-6.6 build 109'. Thiis time for symbol lustre_swab_lmv_mds_md:

Jun  5 09:48:42 shadow-31 kernel: lustre: Unknown symbol lustre_swab_lmv_mds_md
Jun  5 09:48:42 shadow-31 modprobe: FATAL: Error inserting lustre (/lib/modules/2.6.32-504.16.2.el6.ppc64/extra/kernel/fs/lustre/lustre.ko): Unknown symbol in module, or unknown parameter (see dmesg)

The error can be reproduced also manually again as described above.
Could you please export the function, too and check whether there are additional function that need to be handled the same way?
I attached the lustre initialization log file as for administrative reason ppc test session are upload to maloo staging server at the moment only. Not sure everybody has access.

Comment by Gerrit Updater [ 05/Jun/15 ]

James Simmons (uja.ornl@yahoo.com) uploaded a new patch: http://review.whamcloud.com/15159
Subject: LU-6486 ptlrpc: export lustre_swab_lmv_mds_md
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 00ceeeb99bbe36ad51141ba57d1dfbefb94d2f48

Comment by Gerrit Updater [ 12/Jun/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15159/
Subject: LU-6486 ptlrpc: export lustre_swab_lmv_mds_md
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 873e8e73b82f8ef201ffa475e38d8b9ca11335a9

Comment by James A Simmons [ 12/Jun/15 ]

Patch landed. Ticket can be closed.

Generated at Sat Feb 10 02:00:38 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.