Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1139885

Bug#1032271: Module advansys fails to load on amd64

From Pascal Hambourg <pascal@plouf.fr.eu.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1032271: Module advansys fails to load on amd64
Date 2023-03-02 17:20 +0100
Message-ID <G4TOV-9Axf-5@gated-at.bofh.it> (permalink)
Organization Plouf !

Cross-posted to 2 groups.

Show all headers | View raw


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.

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1032271: Module advansys fails to load on amd64 Pascal Hambourg <pascal@plouf.fr.eu.org> - 2023-03-02 17:20 +0100

csiph-web