On 3/16/22 00:23, Bedosti Francesco wrote:
Dear all,
I'm trying to install Lustre client (version 2.15.0-RC2, but seems
that older releases give same results) on Debian 11 hosts with kernel
version 5.10.0-12
I used Lustre extensively on Debian 10 without problems in the past.
The build of packages goes well with:
sh autogen.sh && ./configure --disable-server
--with-linux=/usr/src/linux-headers-$(uname -r) && make debs
sh autogen.sh && ./configure --disable-server
--with-linux=/usr/src/linux-headers-$(uname -r) && make dkms-debs
I am surprised this build worked, the includes in the
/usr/src/linux-headers-<version>-common are needed for the build to
work, I would expect exactly the error in files you had attached.
Perhaps the contents of /usr/src/linux-headers-$(uname -r) were fixed to
include parts of -common?
An alternative (for building) is:
sh autogen.sh && ./configure --disable-server
--with-linux=/usr/src/linux-headers-<version>-common
--with-linux-obj=/usr/src/linux-headers-$(uname -r) && make dkms-debs
However the resulting dkms packages will not pickup the linux/obj fix.
I pushed a patch that fixes the configure for Debian so the dkms build
should succeed.
https://review.whamcloud.com/46836
Regards,
Shaun
but when I install the generated deb package dkms compilation fails:
-------
root@node:~# dpkg -i
lustre-client-modules-dkms_2.15.0-RC2-dirty-1_amd64.deb
Selecting previously unselected package lustre-client-modules-dkms.
(Reading database ... 90592 files and directories currently installed.)
Preparing to unpack
.../lustre-client-modules-dkms_2.15.0-RC2-dirty-1_amd64.deb ...
Unpacking lustre-client-modules-dkms (2.15.0-RC2-dirty-1) ...
Setting up lustre-client-modules-dkms (2.15.0-RC2-dirty-1) ...
Creating symlink
/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/source ->
/usr/src/lustre-client-modules-2.15.0-RC2-dirty
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
sh autogen.sh && ./configure
--with-linux=/lib/modules/5.10.0-12-amd64/build
--with-linux-obj=/lib/modules/5.10.0-12-amd64/build --disable-server
--disable-quilt --disable-dependency-tracking --disable-doc
--disable-utils --disable-iokit --disable-snmp --disable-tests
--enable-quota --with-kmp-moddir=updates && make......(bad exit
status: 1)
Error! Bad return status for module build on kernel: 5.10.0-12-amd64
(x86_64)
Consult
/var/lib/dkms/lustre-client-modules/2.15.0-RC2-dirty/build/make.log
for more information.
-------
make.log and config.log are attached
is there something I missed? or is it impossible to run Lustre on
5.10.* kernels?
many thanks
Francesco
_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org