[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1032271: Module advansys fails to load on amd64



Package: src:linux
Version: 5.10.162-1
Severity: normal

Dear maintainer,

Loading the 'advansys' module fails with any -amd64 kernel:

# modprobe advansys
modprobe: ERROR: could not insert 'advansys': No such device

The module loads successfully with any -686 or -686-pae kernel.

I observed the same behaviour with any stable Debian kernel from 4.9 to 6.1 I have, regardless of whether the supported device and required firmware are present or not.

After adding a few printk() in the module code, it appears that the reason is because calls to isa_register_driver() in advansys_init() fail. The failure may be related with some ISA-related config option missing in amd64 kernels. A quick comparison shows that the following options are enabled in -686 config but not in -amd64 config:

CONFIG_ISA=y
CONFIG_ISA_BUS_API=y
CONFIG_ISAPNP=y

However I believe a better solution would be to have the module not fail if ISA is disabled, as it also support EISA and PCI devices.


Reply to: