SPD-error -- only randomly - blacklisting does not work

kernel: ee1004 3-0052: probe with driver ee1004 failed with error -5

Although I have blacklisted the ee1004 driver, the driver is loaded every boot/reboot.
(Told by Hardinfo2)
And the error appears regardless of whether blacklisted or not blacklisted:
could mean, blacklisting does not work…

Original entry in /etc/modprobe.d/ee1004.conf blacklist ee1004

If that wasn’t just a typo, try removing the space before blacklist.

Error only appears every few days…

Are there any other issues besides this log entry?

I have never used Hardinfo2. How exactly does it gather it’s information about currently loaded kernel modules?

Does the module come up in a simple:

lsmod | grep ee1004

If not..

Hypothetical guessing

The kernel detects the device and tries to load ee1004, but the blacklist blocks it, producing the error, so the blacklist is doing its job.

So more of an error in the logging is all. A low priority bug.

The kernel loads ee1004, regardless of whether blacklisted or not…

lsmod | grep ee1004
ee1004 16384 0

Check whether the module is included in your initramfs:
lsinitcpio /boot/initramfs-6.18-x86_64.img | grep ee1004

Check whether the module might be loaded as a dependency:
modinfo -F depends ee1004

sudo lsinitcpio /boot/initramfs-7.0-x86_64.img | grep ee1004              
etc/modprobe.d/ee1004.conf

modinfo -F depends ee1004
(Result: empty)

Found my error: hardinfo2 lists all “available” modules :sweat_smile:
so: modprobe ee1004 ==> result is “not loaded”.
Nevertheless, the following error message occasionally appears:
kernel: ee1004 3-0052: probe with driver ee1004 failed with error -5
Mostly after updates of core-packages - I suspect.

Have you hard-coded ee1004 into the kernel?
zgrep EE1004 /proc/config.gz
Does it show a Y or an M?

I found this on Google:
Your modprobe.d config file:
install ee1004 /bin/false
instead of just
blacklist ee1004

This is supposed to prevent manual loading as well.

==> zgrep EE1004 /proc/config.gz
CONFIG_EEPROM_EE1004=m
I will try your suggestion now. Instead means “only”?
Result of install ee1004 /bin/false

(udev-worker): Error running install command ‘/bin/false’ for module ee1004: retcode 1
if:

blacklist ee1004
install ee1004 /bin/false

no error.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.