Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* SRM console problem (kernel)
@ 1998-01-18 21:32 Maciej W. Rozycki
  0 siblings, 0 replies; 3+ messages in thread
From: Maciej W. Rozycki @ 1998-01-18 21:32 UTC (permalink / raw)


Hi,

 I don't know if anyone else experiences the following SRM console
behaviour.

 After shutting down the machine and switching to the console prompt, some
commands work and some (particularly `boot' and `sh dev') do not,
generating an exception instead and making the machine reboot, after quite
an amount of register dumps. This happens with both 2.0.x and 2.1.x
kernels.  With the release of 2.1.79, the `halt' and `reboot' procedures
are finally implemented as they should be.  But now, both operations cause
an exception and then a reboot (no possibility to get the console propmt
without rebooting).

 Here is an example log of events happening when a `reboot' is issued for
Linux 2.1.79 (edited at "[...]" for briefness): 

halted CPU 0

halt code = 5
HALT instruction executed
PC = fffffc0000312218

CPU 0 booting

exception context saved starting at 00116ED0

GPRs:
  0: 00000000 00052588  16: 00000000 00000001
  1: 00000000 000F5A70  17: 00000000 00000000
  2: 00000000 000D0B20  18: 00000000 00000000
  3: 00000000 00000066  19: 00000000 00000014
  4: 00000000 000BD258  20: 00000000 001190BE
  5: 00000000 00006048  21: 00000000 6D8D00B4
  6: 00000000 00000001  22: 00000000 000BCFB8
  7: 00000000 000BCFB8  23: 00000000 0000001F
  8: 00000000 00000000  24: 00008F00 00000000
  9: 00000000 00000000  25: 00000000 00000001
 10: 00000000 00000000  26: 00000000 000F4CA4
 11: 00000000 00000000  27: 00000000 000F5A10
 12: 00000000 00000000  28: 00000000 00000000
 13: 00000000 00000000  29: 00000000 00117010
 14: 00000000 00000000  30: 00000000 00117010
 15: 00000000 00000000

dump of active call frames:

PC  =  000F4CA4
PD  =  000D0B20
FP  =  00117010
SP  =  00116ED0

R2 R3 R4 R5 R6 R7 R8 R9 R29 saved starting at 00117168

R2  =  000F55C0
R3  =  000229B0
R4  =  00000048
R5  =  0000001F
R6  =  000BCFB8
R7  =  00000000
R8  =  00000000
R9  =  00000000
R29 =  00117300

PC  =  000F5688
PD  =  000D5F38
FP  =  00117300
SP  =  00117080

R2 R29 saved starting at 00117308

R2  =  000E0410
R29 =  00117320

PC  =  000A00FC
PD  =  000E0410
FP  =  00117320
SP  =  001170A0

R2 R3 R4 R5 R6 R29 saved starting at 00117328

R2  =  000E04D0
R3  =  0001DE80
R4  =  00109820
R5  =  0010A780
R6  =  00000005
R29 =  00117360

PC  =  000A1870
PD  =  000E04D0
FP  =  00117360
SP  =  001170E0

R2 R3 R4 R29 saved starting at 00117368

R2  =  000E0598
R3  =  00000003
R4  =  000390A8
R29 =  00117390

PC  =  000A1354
PD  =  000E0598
FP  =  00117390
SP  =  00117110

R2 R3 R4 R5 R29 saved starting at 00117398

R2  =  000CDFC0
R3  =  00000003
R4  =  00108700
R5  =  00108F60
R29 =  001173D0

PC  =  00044C90
PD  =  000CDFC0
FP  =  001173D0
SP  =  00117150

R2 R3 R4 R5 R6 R7 R8 R9 R29 saved starting at 001173D8

R2  =  000D3140
R3  =  00116280
R4  =  00116450
R5  =  00000000
R6  =  00000000
R7  =  00000000
R8  =  00000000
R9  =  00000000
R29 =  00117430

PC  =  0005F7E0
PD  =  000D3140
FP  =  00117430
SP  =  001171B0

R2 R3 R4 R29 saved starting at 00117438

R2  =  00000000
R3  =  00000000
R4  =  00000000
R29 =  00000000

Avanti System Machine Check Through Vector 00000660
logout frame address 0x6048 code 0x100000205

IPRs:
EXC_ADD:000000000006CE86  ICCSR:   000046F800000004  HIER:   0000000000000080
HIRR:   0000000000000400  MM_CSR:  0000000000005010  DC_STAT:0000000000000003
DC_ADDR:00000007FFFFFFFF  BIU_STAT:0000000000002041  BIU_ADD:0000000240002618
FILL_SY:0000000000000000  FILL_ADD:0000000000011250  VA:     00000000000061D0
EXC_SUM:000000000000942E  BC_TAG:  8010280002412450  
  EDSR (Comanche): 6d8da140--> 
  DCSR (    Epic): 801c085d--> ,lost,nDEV
  SEAR ( SysAddr): 00149c20
  PEAR ( PciAddr): 02000100
[...]
ff.halt code = 5
HALT instruction executed
PC = f4afc           
fe.fd.fc.fb.fa.f9.f8.breakpoint at PC f4c00 desired, XDELTA not loaded
f7.f6.f5.
ef.df.ee.ed.ec.f4.eb.....ea.e9.e8.e7.e6.e5.
X6.2-165, built on Nov  4 1996 at 10:06:10

CPU 0 booting

Then the boot begins.

 I can provide the full log and some other (including SRM configuration),
if anyone could help resolving this problem.  I believe this is a result
of some incorrect initialization at the hardware/CPU level.  DGUX performs
properly on this machine with respect tho these issues.

  Maciej

--
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +

-- 
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] 3+ messages in thread

* Re: SRM console problem (kernel)
@ 1998-01-19  2:49 Andrew Whitcroft
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Whitcroft @ 1998-01-19  2:49 UTC (permalink / raw)


Hi All --

I have a AlphaStation ( 200 series ) 4/233 which does the same
thing. I read in the manual which came with the box that if
you do an 'init' at the '>>>' prompt this will reset things
and allow a clean bootup.

I have not spent much time reading the messages, maybe Jay wiil
pop in and enlighten us, but it appears to me that when the
processor is halted, it halt EVERYTHING on the box. I would
guess that this is why the 'init' is needed ?!?!

If I am wrong, fire away, I am suddenly curious about this
behavior too.

Andy.
andyw@interserv.com

-- 
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] 3+ messages in thread

* Re: SRM console problem (kernel)
       [not found] <Pine.GSO.3.96.980118220239.8260A-100000@delta.ds2.pg.gda.pl>
@ 1998-01-19 16:57 ` Jay.Estabrook
  0 siblings, 0 replies; 3+ messages in thread
From: Jay.Estabrook @ 1998-01-19 16:57 UTC (permalink / raw)


>>> "Maciej W. Rozycki" said:
> 
>  After shutting down the machine and switching to the console prompt, some
> commands work and some (particularly `boot' and `sh dev') do not,
> generating an exception instead and making the machine reboot, after quite
> an amount of register dumps. This happens with both 2.0.x and 2.1.x
> kernels.  With the release of 2.1.79, the `halt' and `reboot' procedures
> are finally implemented as they should be.  But now, both operations cause
> an exception and then a reboot (no possibility to get the console propmt
> without rebooting).

OK, here's where you can help test the latest alpha-patches... :-)

After choosing the "Prompt for development and/or incomplete code/drivers"
option (do "make config" with the latest alpha-patches installed), choose
the "Use SRM PCI setup" option.

The problem you've run into is caused by the LINUX kernel doing its own PCI
bus setup; choosing the above options will attempt to keep the PCI bus setup
as close as possible to identical to the way the SRM console does it. That
way, when the SRM console is re-entered during the "reboot" operation, it
will find things approximately the same as it originally set up.

But be aware, these patches apparently don't work on certain machines (I have
a negative report from some NORITAKE folk), although I've had fair success
on a number of others.

>  Here is an example log of events happening when a `reboot' is issued for
> Linux 2.1.79 (edited at "[...]" for briefness): 

Note that the above-mentioned options are NOT part of 2.1.xx (yet)...

Good luck, and please let me know how you make out.

--Jay++

-------------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                         Alpha Migration Tools - LINUX Project
Digital Equipment Corp.                 (978) 506-4202 or (DTN) 226-4202
151 Taylor Street - TAY1-2              enet: Jay.Estabrook@digital.com
Littleton, MA 01460-1407
-------------------------------------------------------------------------------

-- 
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] 3+ messages in thread

end of thread, other threads:[~1998-01-19 16:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-01-18 21:32 SRM console problem (kernel) Maciej W. Rozycki
  -- strict thread matches above, loose matches on Subject: below --
1998-01-19  2:49 Andrew Whitcroft
     [not found] <Pine.GSO.3.96.980118220239.8260A-100000@delta.ds2.pg.gda.pl>
1998-01-19 16:57 ` Jay.Estabrook

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