On Fri, 19 May 2023 12:36:30 +0300, Dmitry Antipov wrote: > When the module is definitely present but CONFIG_MODVERSIONS is > disabled, the following error message may be somewhat confusing: > > modprobe --dump-modversions /path/to/module.ko.xz > modprobe: FATAL: could not get modversions of /path/to/module.ko.xz: No such file or directory > > Choosing among the convenient errno values, I would suggest to use > ENODATA when the module lacks a particular ELF section (and vermagic > as well). So now it is expected to be: > > [...] Applied, thanks! [1/1] libkmod, depmod: prefer -ENODATA over -ENOENT if no section found commit: 5c004af29daf38119cc472dc8f1f080f10da6d82 Best regards, -- Lucas De Marchi <lucas.de.marchi@xxxxxxxxx>