* 2.6.0-test7 broken
@ 2003-10-17 13:13 Wojciech 'Sas' Cieciwa
2003-10-17 15:36 ` Randy.Dunlap
2003-10-22 21:31 ` Randy.Dunlap
0 siblings, 2 replies; 4+ messages in thread
From: Wojciech 'Sas' Cieciwa @ 2003-10-17 13:13 UTC (permalink / raw)
To: linux-kernel
I try to compile linux-2.6.0-test7 from ftp.kernel.org on SMP machine
and I god something like this:
[...]
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
LD kernel/built-in.o
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
KSYM .tmp_kallsyms1.S
AS .tmp_kallsyms1.o
LD .tmp_vmlinux2
KSYM .tmp_kallsyms2.S
AS .tmp_kallsyms2.o
LD vmlinux
AS arch/i386/boot/setup.o
LD arch/i386/boot/setup
OBJCOPY arch/i386/boot/compressed/vmlinux.bin
GZIP arch/i386/boot/compressed/vmlinux.bin.gz
LD arch/i386/boot/compressed/piggy.o
LD arch/i386/boot/compressed/vmlinux
OBJCOPY arch/i386/boot/vmlinux.bin
BUILD arch/i386/boot/bzImage
Root device is (8, 1)
Boot sector 512 bytes.
Setup is 4943 bytes.
System is 1298 kB
Kernel: arch/i386/boot/bzImage is ready
Building modules, stage 2.
MODPOST
[...]
*** Warning: "set_special_pids" [fs/jffs/jffs.ko] undefined!
*** Warning: "percpu_counter_mod" [fs/ext3/ext3.ko] undefined!
*** Warning: "percpu_counter_mod" [fs/ext2/ext2.ko] undefined!
and ext2 dosn't work.
Fast workaround is make file kernel/ksyms.c and add to this file two lines
#include <linux/percpu_counter.h>
EXPORT_SYMBOL(percpu_counter_mod);
and fix kernel/Makefile.
Please don't tell me that this is wrong, I try to understand WHY
EXPORT_SYMBOL(percpu_counter_mod) from lib/percpu_counter.c didn't work
but I faild.
This work for me.
Thanx
Sas.
--
{Wojciech 'Sas' Cieciwa} {Member of PLD Team }
{e-mail: cieciwa@alpha.zarz.agh.edu.pl, http://www2.zarz.agh.edu.pl/~cieciwa}
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: 2.6.0-test7 broken
2003-10-17 13:13 2.6.0-test7 broken Wojciech 'Sas' Cieciwa
@ 2003-10-17 15:36 ` Randy.Dunlap
2003-10-17 19:53 ` Andrew Morton
2003-10-22 21:31 ` Randy.Dunlap
1 sibling, 1 reply; 4+ messages in thread
From: Randy.Dunlap @ 2003-10-17 15:36 UTC (permalink / raw)
To: Wojciech 'Sas' Cieciwa; +Cc: linux-kernel
On Fri, 17 Oct 2003 15:13:21 +0200 (CEST) "Wojciech 'Sas' Cieciwa" <cieciwa@alpha.zarz.agh.edu.pl> wrote:
| I try to compile linux-2.6.0-test7 from ftp.kernel.org on SMP machine
| and I god something like this:
|
| [...]
| Root device is (8, 1)
| Boot sector 512 bytes.
| Setup is 4943 bytes.
| System is 1298 kB
| Kernel: arch/i386/boot/bzImage is ready
| Building modules, stage 2.
| MODPOST
| [...]
| *** Warning: "set_special_pids" [fs/jffs/jffs.ko] undefined!
Andrew has a patch for this one in the -mm patchset.
--
~Randy
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.6.0-test7 broken
2003-10-17 13:13 2.6.0-test7 broken Wojciech 'Sas' Cieciwa
2003-10-17 15:36 ` Randy.Dunlap
@ 2003-10-22 21:31 ` Randy.Dunlap
1 sibling, 0 replies; 4+ messages in thread
From: Randy.Dunlap @ 2003-10-22 21:31 UTC (permalink / raw)
To: Wojciech 'Sas' Cieciwa; +Cc: linux-kernel
On Fri, 17 Oct 2003 15:13:21 +0200 (CEST) "Wojciech 'Sas' Cieciwa" <cieciwa@alpha.zarz.agh.edu.pl> wrote:
| I try to compile linux-2.6.0-test7 from ftp.kernel.org on SMP machine
| and I god something like this:
|
| [...]
| make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
| CHK include/linux/compile.h
| LD kernel/built-in.o
| GEN .version
| CHK include/linux/compile.h
| UPD include/linux/compile.h
| CC init/version.o
| LD init/built-in.o
| LD .tmp_vmlinux1
| KSYM .tmp_kallsyms1.S
| AS .tmp_kallsyms1.o
| LD .tmp_vmlinux2
| KSYM .tmp_kallsyms2.S
| AS .tmp_kallsyms2.o
| LD vmlinux
| AS arch/i386/boot/setup.o
| LD arch/i386/boot/setup
| OBJCOPY arch/i386/boot/compressed/vmlinux.bin
| GZIP arch/i386/boot/compressed/vmlinux.bin.gz
| LD arch/i386/boot/compressed/piggy.o
| LD arch/i386/boot/compressed/vmlinux
| OBJCOPY arch/i386/boot/vmlinux.bin
| BUILD arch/i386/boot/bzImage
| Root device is (8, 1)
| Boot sector 512 bytes.
| Setup is 4943 bytes.
| System is 1298 kB
| Kernel: arch/i386/boot/bzImage is ready
| Building modules, stage 2.
| MODPOST
| [...]
| *** Warning: "set_special_pids" [fs/jffs/jffs.ko] undefined!
| *** Warning: "percpu_counter_mod" [fs/ext3/ext3.ko] undefined!
| *** Warning: "percpu_counter_mod" [fs/ext2/ext2.ko] undefined!
|
| and ext2 dosn't work.
| Fast workaround is make file kernel/ksyms.c and add to this file two lines
| #include <linux/percpu_counter.h>
| EXPORT_SYMBOL(percpu_counter_mod);
| and fix kernel/Makefile.
We no longer have kernel/ksyms.c.
| Please don't tell me that this is wrong, I try to understand WHY
| EXPORT_SYMBOL(percpu_counter_mod) from lib/percpu_counter.c didn't work
| but I faild.
|
| This work for me.
Weird. and still happens on -test8 when ext{2,3} is built as a module.
(CONFIG_SMP)
nm lists percpu_counter_mod in lib/lib.a but nm does not list that
symbol in .tmp_vmlinux{1,2}. It's being dropped for some reason...
I can cause a similar problem by trying to call __div64_32() from
ext3/super.c (just as a test).
--
~Randy
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-10-22 21:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-17 13:13 2.6.0-test7 broken Wojciech 'Sas' Cieciwa
2003-10-17 15:36 ` Randy.Dunlap
2003-10-17 19:53 ` Andrew Morton
2003-10-22 21:31 ` Randy.Dunlap
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®