Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Dam Thanh Son <son@ctp.mit.edu>
To: axp-list@redhat.com
Subject: Re: Random sig[segv|fpe] on 164LX with 256MB RAM
Date: Tue, 22 Sep 1998 20:04:08 -0400 (EDT)	[thread overview]
Message-ID: <Pine.3.89.9809221929.A23955-0100000@ctpa01.mit.edu> (raw)
In-Reply-To: <Pine.LNX.3.96.980922132241.25755A-100000@schizo.strange.net>

On Tue, 22 Sep 1998, Andrew Hobgood wrote:

> schizo:~# gcc -o memtest memtest.c
> schizo:~# ./memtest
> Filling with seed of s=0x420
> memtest: memory violation at pc=120000900 rp=1200008c8 (bad address = 00000000)
> Segmentation fault (core dumped)

I have exactly the same result on my UDB (48MB RAM) with egcs-1.0.2.  Same
addresses.  When using egcs-1.1b instead of the stock egcs-1.0.2, the
addresses are slightly different: 

memtest: memory violation at pc=12000093c rp=120000904 (bad address = 
00000000)

Is it a hardware or a software issue??

I also discovered that egcs-1.1 fails to compile the kernel on my machine
(with PPP support).  It stumbled on drivers/net/slhc.c with the following
error (sorry for line wraps)

gcc -D__KERNEL__ -I/usr/src/linux-2.0.35/include -Wall 
-Wstrict-prototypes -O2 -
fomit-frame-pointer -fno-strength-reduce -pipe -mno-fp-regs -Wa,-m21164a 
-DBWX_USABLE  -c -o slhc.o slhc.c
{standard input}: gcc: Internal compiler error: program cc1 got fatal 
signal 11
make[3]: *** [slhc.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.0.35/drivers/net'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.0.35/drivers/net'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.0.35/drivers'
make: *** [linuxsubdirs] Error 2
[root@localhost linux]# Assembler messages:
{standard input}:0: Warning: end of file not at end of a line; newline 
inserted
{standard input}:531: Error: unknown opcode `'

The message in /var/log/messages reads:

Sep 22 01:52:54 localhost kernel: cc1: memory violation at pc=120106050 
rp=120106170 (bad address = 11f7fffa0)

I compiled the kernel without problem with egcs-1.0.2.

May these two things be connected?  I have standard RH5.1 with updates.

Son.


  parent reply	other threads:[~1998-09-23  0:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-22  6:07 Random sig[segv|fpe] on 164LX with 256MB RAM Andrew Hobgood
1998-09-22 12:39 ` Dave Gilbert
1998-09-22 17:25   ` Andrew Hobgood
1998-09-22 17:28     ` Andrew Hobgood
1998-09-23  0:04     ` Dam Thanh Son [this message]
1998-09-23  4:27       ` Michal Jaegermann
1998-09-23  6:49         ` Peter Rye
1998-09-23 10:10       ` David Alan Gilbert
1998-09-23 15:27         ` Andrew Hobgood
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox