2001-07-10 11:54:31

by Ed Tomlinson

[permalink] [raw]
Subject: 2.4.7-pre5 missing symbols?

Hi,

Is it just me or is there something missing?

oscar# depmod -ae 2.4.7-pre5
depmod: *** Unresolved symbols in /lib/modules/2.4.7-pre5/kernel/drivers/net/8139too.o
depmod: cpu_raise_softirq
depmod: *** Unresolved symbols in /lib/modules/2.4.7-pre5/kernel/drivers/net/ppp_generic.o
depmod: cpu_raise_softirq
depmod: *** Unresolved symbols in /lib/modules/2.4.7-pre5/kernel/drivers/net/tulip/tulip.o
depmod: cpu_raise_softirq
depmod: *** Unresolved symbols in /lib/modules/2.4.7-pre5/kernel/drivers/net/via-rhine.o
depmod: cpu_raise_softirq

Ed Tomlinson


2001-07-10 12:18:29

by Jeff Garzik

[permalink] [raw]
Subject: Re: 2.4.7-pre5 missing symbols?

Ed Tomlinson wrote:
> Is it just me or is there something missing?
>
> oscar# depmod -ae 2.4.7-pre5
> depmod: *** Unresolved symbols in /lib/modules/2.4.7-pre5/kernel/drivers/net/8139too.o
> depmod: cpu_raise_softirq
> depmod: *** Unresolved symbols in /lib/modules/2.4.7-pre5/kernel/drivers/net/ppp_generic.o
> depmod: cpu_raise_softirq
> depmod: *** Unresolved symbols in /lib/modules/2.4.7-pre5/kernel/drivers/net/tulip/tulip.o
> depmod: cpu_raise_softirq
> depmod: *** Unresolved symbols in /lib/modules/2.4.7-pre5/kernel/drivers/net/via-rhine.o
> depmod: cpu_raise_softirq

Look like a bad patch, pre5 definitely has the following:

> diff -Naur -X /g/g/lib/dontdiff linux-2.4.7-pre4/kernel/ksyms.c linux-2.4.7-pre5/k
> ernel/ksyms.c
> --- linux-2.4.7-pre4/kernel/ksyms.c Mon Jul 9 23:11:59 2001
> +++ linux-2.4.7-pre5/kernel/ksyms.c Tue Jul 10 02:00:58 2001
> @@ -538,6 +538,8 @@
> EXPORT_SYMBOL(tasklet_kill);
> EXPORT_SYMBOL(__run_task_queue);
> EXPORT_SYMBOL(do_softirq);
> +EXPORT_SYMBOL(raise_softirq);
> +EXPORT_SYMBOL(cpu_raise_softirq);
> EXPORT_SYMBOL(tasklet_schedule);
> EXPORT_SYMBOL(tasklet_hi_schedule);
>

--
Jeff Garzik | A recent study has shown that too much soup
Building 1024 | can cause malaise in laboratory mice.
MandrakeSoft |

2001-07-11 03:54:37

by Keith Owens

[permalink] [raw]
Subject: Re: 2.4.7-pre5 missing symbols?

On Tue, 10 Jul 2001 07:53:59 -0400,
Ed Tomlinson <[email protected]> wrote:
>Is it just me or is there something missing?
>oscar# depmod -ae 2.4.7-pre5
>depmod: *** Unresolved symbols in /lib/modules/2.4.7-pre5/kernel/drivers/net/8139too.o
>depmod: cpu_raise_softirq

Works for me. Were you booted off the 2.4.7-pre5 kernel when you ran
depmod? If you were booted off another kernel, you must run depmod
with -F 2.4.7-pre5/System.map. If you were booted off the correct
kernel, cd to the top level 2.4.7-pre5 directory and run these
commands.

nm drivers/net/tulip/tulip.o | fgrep cpu_raise_softirq
nm vmlinux |
egrep '__k[^_]*_cpu_raise_softirq|\<cpu_raise_softirq\>' |
tee /dev/tty |
awk '/__ks..tab/{ printf "objdump -s -j %s --start-addr=0x" $1 " vmlinux | head -10\n",
$3 ~ /__ksymtab/ ? "__ksymtab" : ".kstrtab"}' | sh