* XDELTA debugger on AlphaStation 500?
@ 2003-04-06 6:08 Kalle Olavi Niemitalo
2003-04-08 3:04 ` Chris Scheers
0 siblings, 1 reply; 6+ messages in thread
From: Kalle Olavi Niemitalo @ 2003-04-06 6:08 UTC (permalink / raw)
I run Linux on an AlphaStation 500/266 with this firmware:
> SRM Console: V7.2-2 Apr 4 2000 17:17:43
> ARC Console: 4.58
> PALcode: OpenVMS PALcode V1.20-0, Tru64 UNIX PALcode V1.22-0
> SROM Version: V1.2
The SRM console has a "bpt" command that would "invoke the
console XDELTA debugger" according to the help. However, this
command does not appear to do anything: when I type bpt and press
Enter, it just gives me the ">>>" prompt back.
Do I have to install the debugger separately somehow?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: XDELTA debugger on AlphaStation 500?
2003-04-06 6:08 XDELTA debugger on AlphaStation 500? Kalle Olavi Niemitalo
@ 2003-04-08 3:04 ` Chris Scheers
2003-04-08 11:00 ` VAXman-
0 siblings, 1 reply; 6+ messages in thread
From: Chris Scheers @ 2003-04-08 3:04 UTC (permalink / raw)
Kalle Olavi Niemitalo wrote:
>
> I run Linux on an AlphaStation 500/266 with this firmware:
>
> > SRM Console: V7.2-2 Apr 4 2000 17:17:43
> > ARC Console: 4.58
> > PALcode: OpenVMS PALcode V1.20-0, Tru64 UNIX PALcode V1.22-0
> > SROM Version: V1.2
>
> The SRM console has a "bpt" command that would "invoke the
> console XDELTA debugger" according to the help. However, this
> command does not appear to do anything: when I type bpt and press
> Enter, it just gives me the ">>>" prompt back.
>
> Do I have to install the debugger separately somehow?
Normally, XDELTA is not installed unless you boot VMS with the
appropriate flag. I think it is 2. So, on an Alpha, you would add "-fl
0,2" to your boot command.
Give that a try and let us know how it turns out.
Good luck!
-----------------------------------------------------------------------
Chris Scheers, Applied Synergy, Inc.
Voice: 817-237-3360 Internet: chris@applied-synergy.com
Fax: 817-237-3074
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: XDELTA debugger on AlphaStation 500?
2003-04-08 3:04 ` Chris Scheers
@ 2003-04-08 11:00 ` VAXman-
2003-04-08 17:38 ` Kalle Olavi Niemitalo
0 siblings, 1 reply; 6+ messages in thread
From: VAXman- @ 2003-04-08 11:00 UTC (permalink / raw)
In article <3E923C41.4CF5670E@applied-synergy.com>, Chris Scheers <chris@applied-synergy.com> writes:
>Kalle Olavi Niemitalo wrote:
>>
>> I run Linux on an AlphaStation 500/266 with this firmware:
>>
>> > SRM Console: V7.2-2 Apr 4 2000 17:17:43
>> > ARC Console: 4.58
>> > PALcode: OpenVMS PALcode V1.20-0, Tru64 UNIX PALcode V1.22-0
>> > SROM Version: V1.2
>>
>> The SRM console has a "bpt" command that would "invoke the
>> console XDELTA debugger" according to the help. However, this
>> command does not appear to do anything: when I type bpt and press
>> Enter, it just gives me the ">>>" prompt back.
>>
>> Do I have to install the debugger separately somehow?
>
>
>Normally, XDELTA is not installed unless you boot VMS with the
>appropriate flag. I think it is 2. So, on an Alpha, you would add "-fl
>0,2" to your boot command.
Bit 1 (mask 2) would indeed enable XDELTA loading if booting VMS.
The original poster is, according to what he posted, running Linux.
It would appear that he is trying to get into a breakpoint in the
console, not VMS.
I can't take down any machine at the moment to explore any of this.
The bpt command at the console might just be a way to invoke loaded
XDELTA.
--
VAXman- OpenVMS APE certification number: AAA-0001 VAXman(at)TMESIS(dot)COM
"Well my son, life is like a beanstalk, isn't it?"
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: XDELTA debugger on AlphaStation 500?
2003-04-08 11:00 ` VAXman-
@ 2003-04-08 17:38 ` Kalle Olavi Niemitalo
2003-04-08 19:20 ` VAXman-
0 siblings, 1 reply; 6+ messages in thread
From: Kalle Olavi Niemitalo @ 2003-04-08 17:38 UTC (permalink / raw)
VAXman- @SendSpamHere.ORG writes:
> The original poster is, according to what he posted, running Linux.
Right. I don't have VMS. I was mostly thinking that if I ever
need to debug Linux, I could press the front-panel button (which
I've jumpered as Halt) to get back to SRM and then run XDELTA
from there. But if the debugger is not in the FLASH, then I
guess it's a lost cause.
When I try to disassemble program code from SRM, I get an error:
>>>examine pc
PC psr: 0 ( PC) 0000000020000000
>>>examine -d -virtual 20000000
no such file
file open failed for decode/vmem
Error opening device decode/vmem for read access
Is the "decode" driver part of XDELTA, too?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: XDELTA debugger on AlphaStation 500?
2003-04-08 17:38 ` Kalle Olavi Niemitalo
@ 2003-04-08 19:20 ` VAXman-
2003-04-09 17:48 ` Kalle Olavi Niemitalo
0 siblings, 1 reply; 6+ messages in thread
From: VAXman- @ 2003-04-08 19:20 UTC (permalink / raw)
In article <87istozy6w.fsf@Astalo.kon.iki.fi>, Kalle Olavi Niemitalo <kon@iki.fi> writes:
> VAXman- @SendSpamHere.ORG writes:
>
>> The original poster is, according to what he posted, running Linux.
>
>Right. I don't have VMS. I was mostly thinking that if I ever
>need to debug Linux, I could press the front-panel button (which
>I've jumpered as Halt) to get back to SRM and then run XDELTA
>from there. But if the debugger is not in the FLASH, then I
>guess it's a lost cause.
XDELTA is a godsend when debugging VMS kernel mode, elevated IPL
code. I don't know if there is an equivalent for Linux.
>
>When I try to disassemble program code from SRM, I get an error:
>
>>>>examine pc
>PC psr: 0 ( PC) 0000000020000000
>>>>examine -d -virtual 20000000
>no such file
>file open failed for decode/vmem
>Error opening device decode/vmem for read access
I suspect that you are examining the program counter of the SRM
code at this point.
>Is the "decode" driver part of XDELTA, too?
I don't think so. There might be additional "console" debugging
available that is not loaded on your system. Perhaps, one of the
VMS engineers that worked on the SRM for VMS/unix will read this
thread and respond to your questions.
--
VAXman- OpenVMS APE certification number: AAA-0001 VAXman(at)TMESIS(dot)COM
"Well my son, life is like a beanstalk, isn't it?"
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: XDELTA debugger on AlphaStation 500?
2003-04-08 19:20 ` VAXman-
@ 2003-04-09 17:48 ` Kalle Olavi Niemitalo
0 siblings, 0 replies; 6+ messages in thread
From: Kalle Olavi Niemitalo @ 2003-04-09 17:48 UTC (permalink / raw)
VAXman- @SendSpamHere.ORG writes:
> XDELTA is a godsend when debugging VMS kernel mode, elevated IPL
> code. I don't know if there is an equivalent for Linux.
There is a patch that implements a kernel debugger.
I don't know if it works on the Alpha, though.
> I suspect that you are examining the program counter of the SRM
> code at this point.
This was immediately after a "boot -halt", so it should be the
program counter of the boot loader.
> There might be additional "console" debugging
> available that is not loaded on your system.
Would that be loaded from disk or installed in the FLASH?
The latter would give me an excuse to remove ARC. :-)
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-04-09 17:48 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-06 6:08 XDELTA debugger on AlphaStation 500? Kalle Olavi Niemitalo
2003-04-08 3:04 ` Chris Scheers
2003-04-08 11:00 ` VAXman-
2003-04-08 17:38 ` Kalle Olavi Niemitalo
2003-04-08 19:20 ` VAXman-
2003-04-09 17:48 ` Kalle Olavi Niemitalo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox