Wed, Jun 15, 2016 at 06:15:29PM IDT, labbott(a)redhat.com wrote:
On 06/15/2016 02:55 AM, Ido Schimmel wrote:
> Hi,
>
> I work on a driver (drivers/net/ethernet/mellanox/mlxsw) that is made up
> of three modules: mlxsw_pci, mlxsw_core and a third module that is
> loaded by mlxsw_core according to the probed PCI device ID via
> request_module(). However, this function fails with rawhide kernels
> during boot.
>
> While debugging this, I found out that if I build the kernel myself with
> the exact same config, but set CONFIG_MODULE_SIG=n, then everything is
> fine. In addition, when modprobing mlxsw_pci myself all the modules are
> successfully loaded.
>
> Any ideas how this can be solved? Did anyone else bump into this
> problem?
>
> Thanks.
>
Can you share kernel logs showing the error?
The only error in the log is the one from the driver:
mlxsw_pci 0000:03:00.0: cannot register bus device
mlxsw_pci: probe of 0000:03:00.0 failed with error -22