Skip to contentSkip to conversation

Why this output?

DISCUSSION Zeno Davatz 2 participants 10 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Hi List

I do sensors-detect and get:

System vendor: System Manufacturer
We can start with probing for (PCI) I2C or SMBus adapters. You do not need any special privileges for this.
Do you want to probe now? (YES/no):
Probing for PCI bus adapters...
Use driver i2c-piix4' for device 00:04.3: Intel 82371AB PIIX4 ACPI Use driver i2c-voodoo3' for device 01:00.0: 3Dfx Voodoo3 Probe succesfully concluded.

Then I continue with YES and get:

We will now try to load each adapter module in turn.
Load `i2c-piix4' (say NO if built into your kernel)? (YES/no):
/lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/dmi_scan.o: unresolved symbol iounmap_Rsmp_5fb196d4 /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/dmi_scan.o: unresolved symbol __ioremap_Rsmp_9eac042a /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/dmi_scan.o: unresolved symbol printk_Rsmp_1b7d4074 /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/dmi_scan.o: unresolved symbol kmalloc_Rsmp_93d4cfe6 /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/dmi_scan.o: insmod /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/dmi_scan.o failed /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/dmi_scan.o: insmod i2c-piix4 failed
Loading failed ()... skipping.
Load `i2c-voodoo3' (say NO if built into your kernel)? (YES/no):
/lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/i2c-algo-bit.o: unresolved symbol i2c_add_adapter_Rsmp_33b75073 /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/i2c-algo-bit.o: unresolved symbol printk_Rsmp_1b7d4074 /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/i2c-algo-bit.o: unresolved symbol schedule_Rsmp_4292364c /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/i2c-algo-bit.o: unresolved symbol __const_udelay_Rsmp_eae3dfd6 /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/i2c-algo-bit.o: unresolved symbol __udelay_Rsmp_9e7d6bd0 /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/i2c-algo-bit.o: unresolved symbol jiffies_Rsmp_0da02d67 /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/i2c-algo-bit.o: unresolved symbol i2c_del_adapter_Rsmp_5babfe4d /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/i2c-algo-bit.o: insmod /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/i2c-algo-bit.o failed /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/i2c-algo-bit.o: insmod i2c-voodoo3 failed
Loading failed ()... skipping.

Any idea what this onresolved symbol is doing?

Thanks for any help and hints.

Zeno

#1 lore raw
Quoted 12 lines

/lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/dmi_scan.o: unresolved symbol iounmap_Rsmp_5fb196d4 /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/dmi_scan.o: unresolved symbol__ioremap_Rsmp_9eac042a /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/dmi_scan.o: unresolved symbol printk_Rsmp_1b7d4074 /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/dmi_scan.o: unresolved symbol kmalloc_Rsmp_93d4cfe6 /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/dmi_scan.o: insmod /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/dmi_scan.o failed /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/dmi_scan.o: insmod

Quoted 1 line

Any idea what this onresolved symbol is doing?

My first guess is that you forgot to run "depmod -a" after installing lm_sensors. So, try to run (as root) "depmod -a" and see what happens. If nothing happens, it's alright and you should be able to run sensors-detect.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#2 lore raw
In reply to Zeno Davatz
Quoted 11 lines

Thanks for the hint. Something does happen:
depmod: *** Unresolved symbols in /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/dmi_scan.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/i2c-algo-bit.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/i2c-algo-pcf.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/i2c-ali1535.o

Quoted 1 line

And a lot more messages like this one.

Ok, so the problem is real. You may try "depmod -ae" to display which symbols are unresoled, it may be an interesting clue.

Quoted 1 line

Do you know where to get the Kernel-Source of Debian 2.4.18-bf2.4

I do not use Debian, sorry.

Quoted 1 line

I think I need that source and then I will get one step further.

One important thing to notice is that i2c and lm_sensors will use information found un /usr/src/linux to compile well and choose where to install the modules. If the kernel you are running doesn't match the sources in /usr/src/linux, then it explains why you're having trouble. The next release (2.6.6) of i2c and lm_sensors should be easier to install because it will install for the running kernel regardless of what /usr/src/linux contains or points to (which has other drawbacks IMHO, but would probably help more that hurt).

Quoted 1 line

Thanks for your help and hints.

You're welcome.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#3 lore raw
In reply to Zeno Davatz
Quoted 4 lines
Quoted 3 lines

One important thing to notice is that i2c and lm_sensors will use information found un /usr/src/linux to

What information will it look for here? For the source-tree (.config)?

Yes, kernel configuration options in .config, amongst other things. Also, some things depend on the kernel version itself, and some constants defined in the linux kernel sources are used.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#4 lore raw
In reply to Zeno Davatz
Quoted 3 lines

When can I test version 2.6.6?
Thanks for your help and hints.

We plan to release it end-November (so, in about 2 weeks).

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#5 lore raw
In reply to Zeno Davatz
Quoted 4 lines · Jean Delvare

My first guess is that you forgot to run "depmod -a" after installing lm_sensors. So, try to run (as root) "depmod -a" and see what happens. If nothing happens, it's alright and you should be able to run sensors-detect.

Thanks for the hint. Something does happen:
depmod: *** Unresolved symbols in /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/dmi_scan.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/i2c-algo-bit.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/i2c-algo-pcf.o
depmod: *** Unresolved symbols in /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/i2c-ali1535.o

And a lot more messages like this one.

Do you know where to get the Kernel-Source of Debian 2.4.18-bf2.4

I think I need that source and then I will get one step further.

Thanks for your help and hints.

Zeno

#6 lore raw
In reply to Zeno Davatz
Quoted 2 lines · Jean Delvare

Ok, so the problem is real. You may try "depmod -ae" to display which symbols are unresoled, it may be an interesting clue.

Yes this gives me:
depmod: *** Unresolved symbols in /lib/modules/2.4.18-bf2.4/kernel/drivers/i2c/dmi_scan.o

depmod:         iounmap_Rsmp_5fb196d4
depmod:         __ioremap_Rsmp_9eac042a
depmod:         printk_Rsmp_1b7d4074
depmod:         kmalloc_Rsmp_93d4cfe6

And a lot more...

Quoted 1 line

I do not use Debian, sorry.

Ok. I believe they are not available.

Quoted 8 lines

One important thing to notice is that i2c and lm_sensors will use information found un /usr/src/linux to compile well and choose where to install the modules. If the kernel you are running doesn't match the sources in /usr/src/linux, then it explains why you're having trouble. The next release (2.6.6) of i2c and lm_sensors should be easier to install because it will install for the running kernel regardless of what /usr/src/linux contains or points to (which has other drawbacks IMHO, but would probably help more that hurt).

When can I test version 2.6.6?

Thanks for your help and hints.

Zeno

#7 lore raw
In reply to Zeno Davatz
Quoted 2 lines · Jean Delvare

One important thing to notice is that i2c and lm_sensors will use information found un /usr/src/linux to

What information will it look for here? For the source-tree (.config)?

Thanks for your help and hints.

Zeno

#8 lore raw
In reply to Zeno Davatz
Quoted 7 lines · Jean Delvare
Quoted 4 lines
Quoted 3 lines

One important thing to notice is that i2c and lm_sensors will use information found un /usr/src/linux to

What information will it look for here? For the source-tree (.config)?

Yes, kernel configuration options in .config, amongst other things. Also, some things depend on the kernel version itself, and some constants defined in the linux kernel sources are used.

Can you tell me exactly witch files need to be in /usr/src/linux? Or can you point me to a HOWTO or some other link?

I need to know what files are there cause I installed the Debian kernel-image-2.4.18... And so far I only found the config file for that kernel.

Obviously I am missing some more files but I do not know witch ones.

Thanks for your help.

Zeno

#9 lore raw
In reply to Zeno Davatz
Quoted 5 lines · Jean Delvare
Quoted 3 lines

When can I test version 2.6.6?
Thanks for your help and hints.

We plan to release it end-November (so, in about 2 weeks).

That is great. Thanks for the info.

Zeno