* PC164: access to user space memory stops system
@ 1999-09-02 11:25 krebs
1999-09-03 0:49 ` Richard Henderson
0 siblings, 1 reply; 5+ messages in thread
From: krebs @ 1999-09-02 11:25 UTC (permalink / raw)
To: axp-list
since the do_clear_user routine stops my system (PC164 500Mhz with
256 MB), i wrote my own version of it. and the result is the same,
as soon as i try to write the address (0x2000011CC3C) the system
stops (nothing else happens). the only thing that works is
ctrl+alt+delete what brings me back to milo.
i don't know what causes this behaviour:
-corrupt memory or cache? (it works fine under nt)
-an error during memory mapping? (is this address possible?)
if you've got any ideas, please let me know.
Andreas
> i'm still stuck trying to install RH6.0 on my PC164, so i've
> build new kernels and tried to investigate the matter further.
>
> here's what i did to get further:
> -installed gcc 2.95.1 on my AlphaStation 200 (the machine i use to build kernels)
> -used 2.2.12 to build a PC164 kernel with all needed drivers
>
> this helped nothing, so i continued to track the error. this is what happens
> after the rootfs is mounted (here are the calls made):
>
> - execve("/sbin/init",argv_init,envp_init); (init/main.c)
> - kernel_execve
> - do_execve
> - search_binary_handler
> - load_elf_binary (fs/binfmt_elf.c)
> - padzero(0x2000011CC3C) (fs/binfmt_elf.c)
> - clear_user(0x2000011CC3C, 5060) (include/asm/uaccess.h)
> - do_clear_user (arch/alpha/lib/clear_user.S)
>
> from the do_clear_user call it never returns. since my alpha assembler knowledge
> isn't good, i'm a bit stuck at the moment. any ideas what i can do next, to find
> out what goes wrong?
--
_____________________________________________________________________________
Andreas S. Krebs
CEC Karlsruhe, SAP AG, krebs@qkal.sap-ag.de
_____________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: PC164: access to user space memory stops system
1999-09-02 11:25 PC164: access to user space memory stops system krebs
@ 1999-09-03 0:49 ` Richard Henderson
1999-09-03 7:12 ` krebs
0 siblings, 1 reply; 5+ messages in thread
From: Richard Henderson @ 1999-09-03 0:49 UTC (permalink / raw)
To: axp-list
On Thu, Sep 02, 1999 at 01:25:36PM +0200, krebs@qkal.sap-ag.de wrote:
> since the do_clear_user routine stops my system (PC164 500Mhz with
> 256 MB), i wrote my own version of it. and the result is the same,
> as soon as i try to write the address (0x2000011CC3C) ...
What the hell are you doing? The do_clear_user routine is fine.
I disbelieve you are hanging on the same virtual address every time.
> i don't know what causes this behaviour:
> -corrupt memory or cache? (it works fine under nt)
NT doesn't turn on machine checks. Linux does, but you should be
getting one if you have memory problems.
> -an error during memory mapping? (is this address possible?)
That's a reasonable address for a user's shared library.
r~
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: PC164: access to user space memory stops system
1999-09-03 0:49 ` Richard Henderson
@ 1999-09-03 7:12 ` krebs
1999-09-03 17:38 ` Richard Henderson
0 siblings, 1 reply; 5+ messages in thread
From: krebs @ 1999-09-03 7:12 UTC (permalink / raw)
To: axp-list
> On Thu, Sep 02, 1999 at 01:25:36PM +0200, krebs@qkal.sap-ag.de wrote:
> > since the do_clear_user routine stops my system (PC164 500Mhz with
> > 256 MB), i wrote my own version of it. and the result is the same,
> > as soon as i try to write the address (0x2000011CC3C) ...
>
> What the hell are you doing? The do_clear_user routine is fine.
i know, since my routine had the same results on the system.
> I disbelieve you are hanging on the same virtual address every time.
believe it or not, this is exactly what happens. i can reproduce it
everytime i try to boot from milo (from CD and disk).
i haven't yet managed to boot the system from srm, cause all kernels
i tried produced:
halted CPU 0
halt code=2
kernel stack not valid halt
PC=0
> > i don't know what causes this behaviour:
> > -corrupt memory or cache? (it works fine under nt)
>
> NT doesn't turn on machine checks. Linux does, but you should be
> getting one if you have memory problems.
upgraded the ram to 256mb about a year ago, not one machine check
under nt since then and the machine was up and running most of the
time.
i think the problem is really the machine, i got it when i was still
with digital and as far as i know it's one of the first pc164 build,
so probably there's something a mess inside the machine :-(.
Andreas
--
_____________________________________________________________________________
Andreas S. Krebs
CEC Karlsruhe, SAP AG, krebs@qkal.sap-ag.de
_____________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: PC164: access to user space memory stops system
1999-09-03 7:12 ` krebs
@ 1999-09-03 17:38 ` Richard Henderson
0 siblings, 0 replies; 5+ messages in thread
From: Richard Henderson @ 1999-09-03 17:38 UTC (permalink / raw)
To: axp-list
On Fri, Sep 03, 1999 at 09:12:40AM +0200, krebs@qkal.sap-ag.de wrote:
> i think the problem is really the machine, i got it when i was still
> with digital and as far as i know it's one of the first pc164 build,
> so probably there's something a mess inside the machine :-(.
I guess I could well believe that. You might try switching the
dimms around and see if that moves the death address.
r~
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: PC164: access to user space memory stops system
@ 1999-09-03 17:00 Jim Wilson
0 siblings, 0 replies; 5+ messages in thread
From: Jim Wilson @ 1999-09-03 17:00 UTC (permalink / raw)
To: 'axp-list@redhat.com'
hello all,
I had input a bug report for the alpha, specifically redhat 5.2, asking
them to fix the 19 year offset problem. Yes, I know there are work arounds
but I'd like redhat to fix the problem. I had also input a bug report
saying that gdb doesn't work well with redhat linux. I received a reply
from redhat recently saying that there weren't any problems in these areas.
I know redhat didn't initially test their distribution on an alpha but on
(I believe) a box emulating an alpha. I have moved my web server off my
alpha linux box and back onto my old, stable dec box so I don't know if
these are still problems. If these are still problems post back and I'll
resubmit my bug reports with your info.
thanks
-----Original Message-----
From: Richard Henderson [SMTP:rth@twiddle.net]
Sent: Thursday, September 02, 1999 5:50 PM
To: axp-list@redhat.com
Subject: Re: PC164: access to user space memory stops system
On Thu, Sep 02, 1999 at 01:25:36PM +0200, krebs@qkal.sap-ag.de wrote:
> since the do_clear_user routine stops my system (PC164 500Mhz with
> 256 MB), i wrote my own version of it. and the result is the same,
> as soon as i try to write the address (0x2000011CC3C) ...
What the hell are you doing? The do_clear_user routine is fine.
I disbelieve you are hanging on the same virtual address every time.
> i don't know what causes this behaviour:
> -corrupt memory or cache? (it works fine under nt)
NT doesn't turn on machine checks. Linux does, but you should be
getting one if you have memory problems.
> -an error during memory mapping? (is this address possible?)
That's a reasonable address for a user's shared library.
r~
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1999-09-03 17:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-02 11:25 PC164: access to user space memory stops system krebs
1999-09-03 0:49 ` Richard Henderson
1999-09-03 7:12 ` krebs
1999-09-03 17:38 ` Richard Henderson
-- strict thread matches above, loose matches on Subject: below --
1999-09-03 17:00 Jim Wilson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox