Skip to contentSkip to conversation

Problems compiling kernel 2.4.22

DISCUSSION Alberto Manuel Brandão Simões 2 participants 5 messages Sep 3, 2003

lore
Share & tools
lore
#0 lore raw

[1.] One line summary of the problem:
modules symbols broken references

[2.] Full description of the problem/report:
when I make 'make modules_install' I get:
depmod: *** Unresolved symbols in /lib/modules/2.4.22/kernel/net/ipv4/ipip.o
depmod: ip_send_check
depmod: register_netdevice
..

and so on, and not only for these modules: vfat, smbfs, msdos, etc

By the way, when I tried to ssh to paste more information, I got in the console:

Unable to handle kernel NULL pointer dereference at virtual address 0000000fc
*pde = 0000000000
Oops: 0000
CPU: 0

EIP: 0010:[c019fb66>] Not tainted
EFLAGS: 00010286
eax: 00000000 ebx: ffffff4 ecx: cf7e83c8 edx: ca2631e0
...
and more I can't paste... to copy hex code is too hawful!

[3.] Keywords (i.e., modules, networking, kernel):
modules, kernel

[4.] Kernel version (from /proc/version):
2.4.22

[7.] Environment
[7.1.] Software (add the output of the ver_linux script here)
Gnu C - 2.95.3
Gnu make - 3.79.1
util-linux - 2.11f
mount - 2.11b
modutils - 2.4.6
e2fsprogs - 1.25
reiserfsprogs - 3.x.0j
pcmcia-cs - 3.2.3
PPP - 2.4.1
Linux C Library - 2.3.2
Dynamic linker (ldd) - 2.3.2
Linux C++ Library 3.0.2
Procps - 2.0.7
Net-tools - 1.60
Kbd - 1.06
Sh-utils - 2.0
Modules Loaded: usb-storage, usb-ohci, hid, usbcore, mousedev, input, sr_mod,
ide-scsi, ide-cd, cdrom, isofs, zlib_inflate, trident, ac97_codec, soundcore, sis900, crc32, pcmcia_core, parport_pc, parport, vfat, fat

[7.2.] Processor information (from /proc/cpuinfo):
processor: 0
vendor_id: GenuineIntel
cpu_family: 6
model: 8
model name: Pentium III (Coppermine)
stepping: 10
cpu MHz: 996.837
cache size: 256 KB
fdiv_bug: no
hlt_bug: no
f00f_bug: no
coma_bug: no
fpu: yes
fpu_exception: yes
cpuid level: 2
wp: yes
flags: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips: 1985.74

...

Please send any answer with cc to me... I'm not subscribed.

#1 lore raw
Quoted 19 lines · Alberto Manuel Brandão Simões

[1.] One line summary of the problem:
modules symbols broken references

[2.] Full description of the problem/report:
when I make 'make modules_install' I get:
depmod: *** Unresolved symbols in /lib/modules/2.4.22/kernel/net/ipv4/ipip.o
depmod: ip_send_check
depmod: register_netdevice
..

and so on, and not only for these modules: vfat, smbfs, msdos, etc

By the way, when I tried to ssh to paste more information, I got in the console:

Unable to handle kernel NULL pointer dereference at virtual address 0000000fc
*pde = 0000000000
Oops: 0000
CPU: 0
Quoted 5 lines

EIP: 0010:[c019fb66>] Not tainted
EFLAGS: 00010286
eax: 00000000 ebx: ffffff4 ecx: cf7e83c8 edx: ca2631e0
...
and more I can't paste... to copy hex code is too hawful!

OK. Recompiled the kernel and know I can ssh to it.... Still with the same problem with undefined references.

Have too a problem with ACPI. I can't modprobe any of the ACPI modules (init_module: No such device). And yes, I don't have the /proc/acpi directory.

Quoted 52 lines

[3.] Keywords (i.e., modules, networking, kernel):
modules, kernel

[4.] Kernel version (from /proc/version):
2.4.22

[7.] Environment
[7.1.] Software (add the output of the ver_linux script here)
Gnu C - 2.95.3
Gnu make - 3.79.1
util-linux - 2.11f
mount - 2.11b
modutils - 2.4.6
e2fsprogs - 1.25
reiserfsprogs - 3.x.0j
pcmcia-cs - 3.2.3
PPP - 2.4.1
Linux C Library - 2.3.2
Dynamic linker (ldd) - 2.3.2
Linux C++ Library 3.0.2
Procps - 2.0.7
Net-tools - 1.60
Kbd - 1.06
Sh-utils - 2.0
Modules Loaded: usb-storage, usb-ohci, hid, usbcore, mousedev, input, sr_mod,
ide-scsi, ide-cd, cdrom, isofs, zlib_inflate, trident, ac97_codec, soundcore, sis900, crc32, pcmcia_core, parport_pc, parport, vfat, fat

[7.2.] Processor information (from /proc/cpuinfo):
processor: 0
vendor_id: GenuineIntel
cpu_family: 6
model: 8
model name: Pentium III (Coppermine)
stepping: 10
cpu MHz: 996.837
cache size: 256 KB
fdiv_bug: no
hlt_bug: no
f00f_bug: no
coma_bug: no
fpu: yes
fpu_exception: yes
cpuid level: 2
wp: yes
flags: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips: 1985.74

...

Please send any answer with cc to me... I'm not subscribed.

#2 lore raw
Quoted 11 lines · On Wed, 3 Sep 2003, Alberto Manuel [ISO-8859-1] Brandão Simões wrote:
Quoted 10 lines · Alberto Manuel Brandão Simões

[1.] One line summary of the problem:
modules symbols broken references

[2.] Full description of the problem/report:
when I make 'make modules_install' I get:
depmod: *** Unresolved symbols in /lib/modules/2.4.22/kernel/net/ipv4/ipip.o
depmod: ip_send_check
depmod: register_netdevice
..

Quoted 4 lines
Quoted 4 lines

and so on, and not only for these modules: vfat, smbfs, msdos, etc

By the way, when I tried to ssh to paste more information, I got in the console:

[SNIPPED...]

BYW. Did you try booting the new system, THEN, executing depmod -a ?

Cheers,
Dick Johnson
Penguin : Linux version 2.4.22 on an i686 machine (794.73 BogoMips).
Note 96.31% of all statistics are fiction.

#3 lore raw
Quoted 12 lines · Richard B. Johnson
Quoted 11 lines · On Wed, 3 Sep 2003, Alberto Manuel [ISO-8859-1] Brandão Simões wrote:
Quoted 10 lines · Alberto Manuel Brandão Simões

[1.] One line summary of the problem:
modules symbols broken references

[2.] Full description of the problem/report:
when I make 'make modules_install' I get:
depmod: *** Unresolved symbols in /lib/modules/2.4.22/kernel/net/ipv4/ipip.o
depmod: ip_send_check
depmod: register_netdevice
..

Quoted 8 lines
Quoted 4 lines
Quoted 4 lines

and so on, and not only for these modules: vfat, smbfs, msdos, etc

By the way, when I tried to ssh to paste more information, I got in the console:

[SNIPPED...]

BYW. Did you try booting the new system, THEN, executing depmod -a ?

ok. In this case, it does not give any broken reference. But, then, why does make modules_install run depmod if we know (almost certain) that it will give broken references?

But, I need some more help. I can't load any ACPI modules, getting a No such device as answer. I don't have also a /proc/acpi directory.

Thanks for any help.
Alberto

Quoted 8 lines

Cheers,
Dick Johnson
Penguin : Linux version 2.4.22 on an i686 machine (794.73 BogoMips).
Note 96.31% of all statistics are fiction.

#4 lore raw
Quoted 18 lines · On Wed, 3 Sep 2003, Alberto Manuel [ISO-8859-1] Brandão Simões wrote:
Quoted 17 lines · Richard B. Johnson
Quoted 15 lines · On Wed, 3 Sep 2003, Alberto Manuel [ISO-8859-1] Brandão Simões wrote:
Quoted 14 lines · Alberto Manuel Brandão Simões

[1.] One line summary of the problem:
modules symbols broken references

[2.] Full description of the problem/report:
when I make 'make modules_install' I get:
depmod: *** Unresolved symbols in /lib/modules/2.4.22/kernel/net/ipv4/ipip.o
depmod: ip_send_check
depmod: register_netdevice
..

and so on, and not only for these modules: vfat, smbfs, msdos, etc

By the way, when I tried to ssh to paste more information, I got in the console:

Quoted 7 lines
Quoted 3 lines

[SNIPPED...]

BYW. Did you try booting the new system, THEN, executing depmod -a ?

ok. In this case, it does not give any broken reference. But, then, why does make modules_install run depmod if we know (almost certain) that it will give broken references?

make modules_install executes depmod to create some entries in the new /lib/modules/$(VERSION)/modules.dep. It probably should have it's error output redirected to /dev/null because the kernel you are going to use the modules with, may not require the exported symbols found missing.

Quoted 3 lines

But, I need some more help. I can't load any ACPI modules, getting a No such device as answer. I don't have also a /proc/acpi directory.

This is a different problem and has nothing to do with:
*** Unresolved symbols in /lib/modules/2.4.22/kernel/net/ipv4/ipip.o

You need to review your configuration and see what else needs to be turned ON to get ACPI to work.

grep ACPI .config... Bet it's "CONFIG_ACPI is not set"

Quoted 3 lines

Thanks for any help.
Alberto

Quoted 1 line

Cheers,
Dick Johnson
Penguin : Linux version 2.4.22 on an i686 machine (794.73 BogoMips).
Note 96.31% of all statistics are fiction.