Re: New kernel for testing

Ed Coates <[email protected]>
Newsgroups gmane.linux.suse.sparc
Message-ID <[email protected]>
Thorsten,

Thanks for the effort and the response.  :)  Now, I've had linux-2.4.20pre-1 
running on my sparc 20.  I've recently added a second processor, and now when I 
select smp and compile the kernel (linux-2.4.20pre-7 or your version), it lends 
with these errors:

        --start-group \
        /usr/src/linux-2.4.19.SuSE/arch/sparc/kernel/kernel.o /usr/src/linux-
2.4.19.SuSE/arch/sparc/mm/mm.o /usr/src/linux-
2.4.19.SuSE/kernel/kernel.o /usr/src/linux-2.4.19.SuSE/mm/mm.o /usr/src/linux-
2.4.19.SuSE/fs/fs.o /usr/src/linux-2.4.19.SuSE/ipc/ipc.o /usr/src/linux-
2.4.19.SuSE/arch/sparc/math-emu/math-emu.o /usr/src/linux-
2.4.19.SuSE/drivers/char/char.o /usr/src/linux-
2.4.19.SuSE/drivers/block/block.o /usr/src/linux-
2.4.19.SuSE/drivers/misc/misc.o /usr/src/linux-
2.4.19.SuSE/drivers/net/net.o /usr/src/linux-
2.4.19.SuSE/drivers/media/media.o /usr/src/linux-
2.4.19.SuSE/drivers/scsi/scsidrv.o /usr/src/linux-
2.4.19.SuSE/drivers/cdrom/driver.o /usr/src/linux-
2.4.19.SuSE/drivers/sbus/sbus_all.o /usr/src/linux-
2.4.19.SuSE/drivers/video/video.o /usr/src/linux-
2.4.19.SuSE/drivers/md/mddev.o /usr/src/linux-2.4.19.SuSE/net/network.o \
        /usr/src/linux-2.4.19.SuSE/lib/lib.a /usr/src/linux-
2.4.19.SuSE/lib/lib.a /usr/src/linux-
2.4.19.SuSE/arch/sparc/prom/promlib.a /usr/src/linux-
2.4.19.SuSE/arch/sparc/lib/lib.a \
        --end-group -o vmlinux.o
objdump -x vmlinux.o | ./btfixupprep > btfix.s
Wrong use of 'smp_processor_id' in '.text.exit' section. It can be only used 
in .text, .fixup and .text.init
make[1]: *** [btfix.s] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.19.SuSE/arch/sparc/boot'
make: *** [_dir_arch/sparc/boot] Error 2

Any luck getting both processors to work?

Ed

Quoting Thorsten Kukuk <[email protected]>:

> 
> This is the kernel. I don't use 2.4.20-pre7, I made something which
> based on most of this patches.
> 
>   Thorsten
> -- 
> Thorsten Kukuk       http://www.suse.de/~kukuk/        [email protected]
> SuSE Linux AG        Deutschherrnstr. 15-19        D-90429 Nuernberg
> --------------------------------------------------------------------    
> Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B
> 




-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.