mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.4.21-pre6: IPMI unresolved symbols
@ 2003-03-27 20:04 bunk
  2003-03-27 20:08 ` Marc-Christian Petersen
  0 siblings, 1 reply; 2+ messages in thread
From: bunk @ 2003-03-27 20:04 UTC (permalink / raw)
  To: Corey Minyard; +Cc: linux-kernel

: From: Adrian Bunk <bunk@fs.tum.de>

panic_notifier_list and panic_timeout are not EXPORT_SYMBOL'ed in 
kernel/panic.c resulting in the following unresolved symbol errors when 
building IPMI modular:

<--  snip  -->

...
depmod: *** Unresolved symbols in /lib/modules/2.4.21-pre6/kernel/drivers/char/ipmi/ipmi_msghandler.o
depmod:         panic_notifier_list
depmod: *** Unresolved symbols in /lib/modules/2.4.21-pre6/kernel/drivers/char/ipmi/ipmi_watchdog.o
depmod:         panic_notifier_list
depmod:         panic_timeout
...

<--  snip  -->

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


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

* Re: 2.4.21-pre6: IPMI unresolved symbols
  2003-03-27 20:04 2.4.21-pre6: IPMI unresolved symbols bunk
@ 2003-03-27 20:08 ` Marc-Christian Petersen
  0 siblings, 0 replies; 2+ messages in thread
From: Marc-Christian Petersen @ 2003-03-27 20:08 UTC (permalink / raw)
  To: bunk, Corey Minyard; +Cc: linux-kernel, Marcelo Tosatti

[-- Attachment #1: Type: text/plain, Size: 630 bytes --]

On Thursday 27 March 2003 21:04, bunk@fs.tum.de wrote:

Hi Adrian,

> panic_notifier_list and panic_timeout are not EXPORT_SYMBOL'ed in
> kernel/panic.c resulting in the following unresolved symbol errors when
> building IPMI modular:
> <--  snip  -->
> ...
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.21-pre6/kernel/drivers/char/ipmi/ipmi_msghandler.o depmod:
>         panic_notifier_list
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.21-pre6/kernel/drivers/char/ipmi/ipmi_watchdog.o depmod:  
>       panic_notifier_list
> depmod:         panic_timeout
> ...

patch attached.

ciao, Marc

[-- Attachment #2: ipmi-exported-symbols-fix.patch --]
[-- Type: text/x-diff, Size: 583 bytes --]

--- linux.orig/kernel/ksyms.c	Fri Dec  6 09:12:07 2002
+++ linux/kernel/ksyms.c	Fri Dec  6 09:13:01 2002
@@ -65,6 +65,8 @@
 extern int request_dma(unsigned int dmanr, char * deviceID);
 extern void free_dma(unsigned int dmanr);
 extern spinlock_t dma_spin_lock;
+extern int panic_timeout;
+
 
 #ifdef CONFIG_MODVERSIONS
 const struct module_symbol __export_Using_Versions
@@ -471,6 +471,8 @@
 
 /* misc */
 EXPORT_SYMBOL(panic);
+EXPORT_SYMBOL(panic_notifier_list);
+EXPORT_SYMBOL(panic_timeout);
 EXPORT_SYMBOL(__out_of_line_bug);
 EXPORT_SYMBOL(sprintf);
 EXPORT_SYMBOL(snprintf);

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

end of thread, other threads:[~2003-03-27 19:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-27 20:04 2.4.21-pre6: IPMI unresolved symbols bunk
2003-03-27 20:08 ` Marc-Christian Petersen

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®