[LU-12803] lustre in staging interferes with 2.12.2 on Ubuntu 18.04 Created: 25/Sep/19 Updated: 21/Nov/19 Resolved: 27/Oct/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.12.2 |
| Fix Version/s: | Lustre 2.13.0, Lustre 2.12.4 |
| Type: | Bug | Priority: | Minor |
| Reporter: | James Beal | Assignee: | James A Simmons |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Ubuntu 18.04 |
||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
|
We have a number of old compute systems which have raid controllers, We are migrating these from a mix of redhat 7.6 and ubuntu 12.04 to ubuntu 18.04. The raid controllers on these systems require kernel modules from the distribution kernel-modules-extra package to function (e.g. to be able to drive the root filesystem device /dev/sda ). There is a version of lustre in the staging area of the -extra modules package in Ubuntu 18.04. This lustre system has a version of libcfs.ko version 0.7.0 while the libcfs.ko generated from a lustre 2.12.2 source tree has a libcfs.ko version 0.5.0 I have edited the source to bump the version of libcfs.ko to 0.8.0 and that results in a module that works on an 18.04 system with the modules-extra package installed. For example, inspecting the Ubuntu 18.04 module root@bc-25-1-02:~# modinfo /lib/modules/4.15.0-64-generic/kernel/drivers/staging/lustre/lnet/libcfs/libcfs.ko filename: /lib/modules/4.15.0-64-generic/kernel/drivers/staging/lustre/lnet/libcfs/libcfs.ko license: GPL version: 0.7.0 description: Lustre helper library author: OpenSFS, Inc. <http://www.lustre.org/> srcversion: 3EAA7DAA70F86FD8F262DC1 depends: staging: Y retpoline: Y intree: Y name: libcfs vermagic: 4.15.0-64-generic SMP mod_unload Cf the upstream dkms: root@farm5-head1:~# modinfo /lib/modules/4.15.0-64-generic/updates/dkms/libcfs.ko filename: /lib/modules/4.15.0-64-generic/updates/dkms/libcfs.ko license: GPL version: 0.5.0 description: Lustre helper library author: OpenSFS, Inc. <http://www.lustre.org/> srcversion: 01F59272261BC3745941E9A depends: retpoline: Y name: libcfs vermagic: 4.15.0-64-generic SMP mod_unload |
| Comments |
| Comment by James A Simmons [ 10/Oct/19 ] |
|
The reason for this is that libcfs in the linux kernel is further ahead in its cleanups. I never expected that this would be an issue. Easy fix thankfully. |
| Comment by Gerrit Updater [ 18/Oct/19 ] |
|
James Simmons (jsimmons@infradead.org) uploaded a new patch: https://review.whamcloud.com/36488 |
| Comment by James Beal [ 18/Oct/19 ] |
|
Can I ask if the chances in the linux kernel are useful, should they be moved foreward ? |
| Comment by Gerrit Updater [ 27/Oct/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36488/ |
| Comment by Peter Jones [ 27/Oct/19 ] |
|
Landed for 2.13 |
| Comment by Gerrit Updater [ 01/Nov/19 ] |
|
Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36642 |
| Comment by Gerrit Updater [ 21/Nov/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36642/ |