mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Problems compiling kernel 2.4.22
@ 2003-09-03 16:28 Alberto Manuel Brandão Simões
  2003-09-03 16:51 ` Alberto Manuel Brandão Simões
  0 siblings, 1 reply; 5+ messages in thread
From: Alberto Manuel Brandão Simões @ 2003-09-03 16:28 UTC (permalink / raw)
  To: linux-kernel

[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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problems compiling kernel 2.4.22
  2003-09-03 16:28 Problems compiling kernel 2.4.22 Alberto Manuel Brandão Simões
@ 2003-09-03 16:51 ` Alberto Manuel Brandão Simões
  2003-09-03 16:58   ` Richard B. Johnson
  0 siblings, 1 reply; 5+ messages in thread
From: Alberto Manuel Brandão Simões @ 2003-09-03 16:51 UTC (permalink / raw)
  To: linux-kernel

On Wed, 2003-09-03 at 17:28, Alberto Manuel Brandão Simões wrote:
> [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!
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.
> 
> [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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problems compiling kernel 2.4.22
  2003-09-03 16:51 ` Alberto Manuel Brandão Simões
@ 2003-09-03 16:58   ` Richard B. Johnson
  2003-09-03 17:10     ` Alberto Manuel Brandão Simões
  0 siblings, 1 reply; 5+ messages in thread
From: Richard B. Johnson @ 2003-09-03 16:58 UTC (permalink / raw)
  To: Alberto Manuel Brandão Simões; +Cc: linux-kernel

On Wed, 3 Sep 2003, Alberto Manuel [ISO-8859-1] Brandão Simões wrote:


> On Wed, 2003-09-03 at 17:28, Alberto Manuel Brandão Simões wrote:
> > [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:

[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.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problems compiling kernel 2.4.22
  2003-09-03 16:58   ` Richard B. Johnson
@ 2003-09-03 17:10     ` Alberto Manuel Brandão Simões
  2003-09-03 17:28       ` Richard B. Johnson
  0 siblings, 1 reply; 5+ messages in thread
From: Alberto Manuel Brandão Simões @ 2003-09-03 17:10 UTC (permalink / raw)
  To: root; +Cc: linux-kernel

On Wed, 2003-09-03 at 17:58, Richard B. Johnson wrote:
> On Wed, 3 Sep 2003, Alberto Manuel [ISO-8859-1] Brandão Simões wrote:
> > On Wed, 2003-09-03 at 17:28, Alberto Manuel Brandão Simões wrote:
> > > [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:
> 
> [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 
> 
> 
> Cheers,
> Dick Johnson
> Penguin : Linux version 2.4.22 on an i686 machine (794.73 BogoMips).
>             Note 96.31% of all statistics are fiction.
> 
> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problems compiling kernel 2.4.22
  2003-09-03 17:10     ` Alberto Manuel Brandão Simões
@ 2003-09-03 17:28       ` Richard B. Johnson
  0 siblings, 0 replies; 5+ messages in thread
From: Richard B. Johnson @ 2003-09-03 17:28 UTC (permalink / raw)
  To: Alberto Manuel Brandão Simões; +Cc: linux-kernel

On Wed, 3 Sep 2003, Alberto Manuel [ISO-8859-1] Brandão Simões wrote:

> On Wed, 2003-09-03 at 17:58, Richard B. Johnson wrote:
> > On Wed, 3 Sep 2003, Alberto Manuel [ISO-8859-1] Brandão Simões wrote:
> > > On Wed, 2003-09-03 at 17:28, Alberto Manuel Brandão Simões wrote:
> > > > [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:
> >
> > [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.

> 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"

> Thanks for any help.
> Alberto
> >


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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-09-03 17:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-03 16:28 Problems compiling kernel 2.4.22 Alberto Manuel Brandão Simões
2003-09-03 16:51 ` Alberto Manuel Brandão Simões
2003-09-03 16:58   ` Richard B. Johnson
2003-09-03 17:10     ` Alberto Manuel Brandão Simões
2003-09-03 17:28       ` Richard B. Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®