[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SMP on Sun4m



On Wed, 2006-12-06 01:15:48 +0100, Peter Rohrer <peter.rohrer@gmx.ch> wrote:
> Am Dienstag, 5. Dezember 2006 06.06 schrieb Jurij Smakov:
> > On Tue, Dec 05, 2006 at 01:43:27AM +0100, Peter Rohrer wrote:
> > > peter@ss10:~$ gcc --version
> > > gcc (GCC) 4.1.2 20061028 (prerelease) (Debian 4.1.1-19)
> > >
> > > output from "fakeroot make-kpkg --initrd --revision=custom.1.0
> > > kernel_image"
> > >
> > >   CC      crypto/digest.o
> > >   CC      crypto/compress.o
> > > crypto/compress.c: In function âcrypto_init_compress_flagsâ:
> > > crypto/compress.c:42: internal compiler error: Segmentation fault
> > > Please submit a full bug report,
> > > with preprocessed source if appropriate.
> > > See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> > > For Debian GNU/Linux specific bug reporting instructions,
> > > see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
> > > The bug is not reproducible, so it is likely a hardware or OS
> > > problem. make[2]: *** [crypto/compress.o] Error 1
> > > make[1]: *** [crypto] Error 2
> > > make[1]: Leaving directory `/usr/src/linux-source-2.6.17'
> > > make: *** [debian/stamp-build-kernel] Error 2
> > > peter@ss10:/usr/src/linux-source-2.6.17$
> >
> > Ouch. Just to confirm, what kernel was this machine running when this
> > compilation was attempted? Is it reproducible? We definitely need to
> > sort this out, if it's not a hardware problem.
> >
> The machine is running:
> Linux ss10 2.6.17-2-sparc32 #1 Wed Sep 13 09:03:37 PDT 2006 sparc 
> GNU/Linux
> 
> I tried to get around the problem by commenting out the modules where it 
> crashed (for example all the "Cryptographic options").
> Looks like that did not help, it failed again, this time with:
>   LD      vmlinux
>   SYSMAP  System.map
>   SYSMAP  .tmp_System.map
>   HOSTCC  arch/sparc/boot/btfixupprep
>   BTFIX   arch/sparc/boot/btfix.S
>   AS      arch/sparc/boot/btfix.o
>   LD      arch/sparc/boot/image
> kernel/built-in.o: In function `ptrace_attach':
> (.text+0x12c98): undefined reference to `__raw_write_can_lock'
> make[2]: *** [arch/sparc/boot/image] Error 1
> make[1]: *** [image] Error 2
> make[1]: Leaving directory `/usr/src/linux-source-2.6.17'
> make: *** [debian/stamp-build-kernel] Error 2
> 
> I can reenable the "Cryptographic options" and try again if that helps.
> I could also try the same on a Sparcstation 4 with 110 MHz running Etch.

These are totally different things :)  The first error messages are
from a compiler that just crashed. Either due to a bug in the
compiler, or due to some obscure memory management bugs in the kernel.

The second set of error messages are s simple link error. One function
that's used somewhere (__raw_write_can_lock) wasn't found by the
linker.  This is most probably a simple error in your Linux sources.

MfG, JBG

-- 
      Jan-Benedict Glaw      jbglaw@lug-owl.de              +49-172-7608481
Signature of:                     Eine Freie Meinung in einem Freien Kopf
the second  :                   für einen Freien Staat voll Freier Bürger.

Attachment: signature.asc
Description: Digital signature


Reply to: