* Halting an AS200 with RH7.1
@ 2001-07-20 20:57 Gregor Maier
2001-07-20 21:08 ` Christopher C. Chimelis
0 siblings, 1 reply; 7+ messages in thread
From: Gregor Maier @ 2001-07-20 20:57 UTC (permalink / raw)
To: axp-list
Hello,
i've got a problem...
I'm using an AlphaStation 200 4/233 with RedHat 7.1
I'm booting throught the SRM console with auto_action set to BOOT.
When I issue a shutdown (it doesn't matter if I use -h or -r) the systems
goes down and then switches back to the SRM screen. Then it dumps a lot of
numbers (the processor registers and some other stuff i wasn't able to
recognize) and then the system reboots if I had power-cycled the machine.
My problem is that I want my machine to HALT after I issue a shutdown, i.e.
that I get my SRM prompt when the shutdown is complete and I want still be
able to boot the machine automaticly when it switch it on (auto_action boot)
This MUST be possible somehow. I was using SuSE 6.4 before and when I issued
a shutdown from SuSE it went down and then I got the SRM prompt. The
differnce was that SuSE didn't dump the registers and the other stuff.
The output from SRM when shutdown is finished is:
halted CPU 0
halt code=5
HALT instruction executed
PC = ....
CPU 0 booting
execption context saved starting at 00110A50
GPRs:
.......
and so on
my old SuSE showed me the SRM prompt after the PC = or the CPU 0 booting line
(I'm not sure).
Does anyone of you know how i can manage to get back to the SRM console
without changing auto_action
Thanks in advance
Gregor
--
Gregor Maier
gregor.maier@gmx.at
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Halting an AS200 with RH7.1
2001-07-20 20:57 Halting an AS200 with RH7.1 Gregor Maier
@ 2001-07-20 21:08 ` Christopher C. Chimelis
2001-07-24 16:04 ` Gregor Maier
0 siblings, 1 reply; 7+ messages in thread
From: Christopher C. Chimelis @ 2001-07-20 21:08 UTC (permalink / raw)
To: Gregor Maier; +Cc: axp-list
On Fri, 20 Jul 2001, Gregor Maier wrote:
> I'm using an AlphaStation 200 4/233 with RedHat 7.1
> I'm booting throught the SRM console with auto_action set to BOOT.
>
> When I issue a shutdown (it doesn't matter if I use -h or -r) the systems
> goes down and then switches back to the SRM screen. Then it dumps a lot of
> numbers (the processor registers and some other stuff i wasn't able to
> recognize) and then the system reboots if I had power-cycled the machine.
>
> My problem is that I want my machine to HALT after I issue a shutdown, i.e.
> that I get my SRM prompt when the shutdown is complete and I want still be
> able to boot the machine automaticly when it switch it on (auto_action boot)
IIRC, this is a kernel problem that is being addressed in the 2.4
kernels. It also happens on 164SX, so you're not alone :-) I haven't
really had time to look at what's going on with it, but it should be a
relatively simple fix.
C
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Halting an AS200 with RH7.1
2001-07-20 21:08 ` Christopher C. Chimelis
@ 2001-07-24 16:04 ` Gregor Maier
2001-07-24 17:27 ` Christopher C. Chimelis
2001-07-24 19:51 ` Niki W. Waibel
0 siblings, 2 replies; 7+ messages in thread
From: Gregor Maier @ 2001-07-24 16:04 UTC (permalink / raw)
To: axp-list, Christopher C. Chimelis
On Friday 20 July 2001 23:08, Christopher C. Chimelis wrote:
> On Fri, 20 Jul 2001, Gregor Maier wrote:
> > I'm using an AlphaStation 200 4/233 with RedHat 7.1
> > I'm booting throught the SRM console with auto_action set to BOOT.
> >
> > When I issue a shutdown (it doesn't matter if I use -h or -r) the systems
> > goes down and then switches back to the SRM screen. Then it dumps a lot
> > of numbers (the processor registers and some other stuff i wasn't able to
> > recognize) and then the system reboots if I had power-cycled the machine.
> >
> > My problem is that I want my machine to HALT after I issue a shutdown,
> > i.e. that I get my SRM prompt when the shutdown is complete and I want
> > still be able to boot the machine automaticly when it switch it on
> > (auto_action boot)
>
> IIRC, this is a kernel problem that is being addressed in the 2.4
> kernels. It also happens on 164SX, so you're not alone :-) I haven't
> really had time to look at what's going on with it, but it should be a
> relatively simple fix.
>
> C
Thanks for that hint
Do you know where I could look for information on this problem. Are there
mailinglist / newsgroup which will announce a fix for this problem. I
searched various mail archives (especially linux-kernel archive) and also at
google groups but didn't find (helpfull) futher info.
Maybe you can point to places to look for updates anouncments of this...
When did this problem occure in the kernel. Because I used SuSE 6.4 with a
2.2.x kernel (the version that came with SuSE). IIRC I saw this reboot
problem on AS200 machines with SuSE 6.1 too (ealry 2.2.x kernel).
While I was searching the mail archive I came across a post which said, that
Linux modifys some structure which it hands back to SRM and that the problem
is there (this would mean a problem in some of the asm files of the
kernel...).
But why does it work with some kernels and not with some others??
Gregor
--
Gregor Maier
gregor.maier@gmx.at
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Halting an AS200 with RH7.1
2001-07-24 16:04 ` Gregor Maier
@ 2001-07-24 17:27 ` Christopher C. Chimelis
2001-07-24 18:53 ` Gregor Maier
2001-07-24 18:57 ` James Fowler
2001-07-24 19:51 ` Niki W. Waibel
1 sibling, 2 replies; 7+ messages in thread
From: Christopher C. Chimelis @ 2001-07-24 17:27 UTC (permalink / raw)
To: Gregor Maier; +Cc: axp-list
On Tue, 24 Jul 2001, Gregor Maier wrote:
> Do you know where I could look for information on this problem. Are there
> mailinglist / newsgroup which will announce a fix for this problem. I
> searched various mail archives (especially linux-kernel archive) and also at
> google groups but didn't find (helpfull) futher info.
> Maybe you can point to places to look for updates anouncments of this...
Basically, just watch new kernel release announcements (the changelogs
may have a note about it). The 2.4.7 release supposedly has fixed this
problem on some Alpha systypes, but not all yet. Those changes may
provide a good idea of what is going on in our cases. Looks like quite a
few Alpha systypes were affected by this problem though (SX, LX, a few
others as well), fyi.
> When did this problem occure in the kernel.
IIRC, it was 2.2.18 that started this. 2.4 kernels have always done this
to me (since 2.4.0test-something).
> Because I used SuSE 6.4 with a
> 2.2.x kernel (the version that came with SuSE). IIRC I saw this reboot
> problem on AS200 machines with SuSE 6.1 too (ealry 2.2.x kernel).
> While I was searching the mail archive I came across a post which said, that
> Linux modifys some structure which it hands back to SRM and that the problem
> is there (this would mean a problem in some of the asm files of the
> kernel...).
> But why does it work with some kernels and not with some others??
That sounds about right. There are certain things that the kernel tries
to pass back to SRM, so it needs to modify some registers to do so. Some
SRMs don't support some of the features that it tries to pass back (like
power-off, etc), so those cases may cause a weird error or it may just not
affect SRM at all. Either way, what the kernel passes back SHOULD be
valid and apparently isn't in our cases. I'm doing some kernel work on
2.2.19+ and 2.4.x, so maybe I'll force the problem to occur at home and
decode the info it's giving me (I usually just ignore it, personally,
since I don't shutdown that often at all).
Out of curiosity, does your system do a 'shutdown -r' correctly
(reboot)? From what I've seen, reboot works on my machine, but halt
barfs.
C
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Halting an AS200 with RH7.1
2001-07-24 17:27 ` Christopher C. Chimelis
@ 2001-07-24 18:53 ` Gregor Maier
2001-07-24 18:57 ` James Fowler
1 sibling, 0 replies; 7+ messages in thread
From: Gregor Maier @ 2001-07-24 18:53 UTC (permalink / raw)
To: Christopher C. Chimelis; +Cc: axp-list
On Tuesday 24 July 2001 19:27, Christopher C. Chimelis wrote:
>
> Basically, just watch new kernel release announcements (the changelogs
> may have a note about it). The 2.4.7 release supposedly has fixed this
> problem on some Alpha systypes, but not all yet. Those changes may
> provide a good idea of what is going on in our cases. Looks like quite a
> few Alpha systypes were affected by this problem though (SX, LX, a few
> others as well), fyi.
I've tried 2.4.7 but it didn't fix for my machine... so i'm still waiting
>
> Out of curiosity, does your system do a 'shutdown -r' correctly
> (reboot)? From what I've seen, reboot works on my machine, but halt
> barfs.
No. I doesn't matter if I do a shutdown -r or -h. The System always does a
complete reset / reinit.
The only thing that changes are the message (Please stand by while rebooting
the system)
Thank's for your information.
--
Gregor Maier
gregor.maier@gmx.at
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Halting an AS200 with RH7.1
2001-07-24 17:27 ` Christopher C. Chimelis
2001-07-24 18:53 ` Gregor Maier
@ 2001-07-24 18:57 ` James Fowler
1 sibling, 0 replies; 7+ messages in thread
From: James Fowler @ 2001-07-24 18:57 UTC (permalink / raw)
To: axp-list
I have a PWS433 aka Miata. My machine, using SRM, does a shutdown -r
fine, but 'barfs' on a shutdown -h. Just thought I would add it to the
list of machines where this wasn't working.
THanks,
James
On Tue, 24 Jul 2001, Christopher C. Chimelis wrote:
>
> On Tue, 24 Jul 2001, Gregor Maier wrote:
>
> > Do you know where I could look for information on this problem. Are there
> > mailinglist / newsgroup which will announce a fix for this problem. I
> > searched various mail archives (especially linux-kernel archive) and also at
> > google groups but didn't find (helpfull) futher info.
> > Maybe you can point to places to look for updates anouncments of this...
>
> Basically, just watch new kernel release announcements (the changelogs
> may have a note about it). The 2.4.7 release supposedly has fixed this
> problem on some Alpha systypes, but not all yet. Those changes may
> provide a good idea of what is going on in our cases. Looks like quite a
> few Alpha systypes were affected by this problem though (SX, LX, a few
> others as well), fyi.
>
> > When did this problem occure in the kernel.
>
> IIRC, it was 2.2.18 that started this. 2.4 kernels have always done this
> to me (since 2.4.0test-something).
>
> > Because I used SuSE 6.4 with a
> > 2.2.x kernel (the version that came with SuSE). IIRC I saw this reboot
> > problem on AS200 machines with SuSE 6.1 too (ealry 2.2.x kernel).
> > While I was searching the mail archive I came across a post which said, that
> > Linux modifys some structure which it hands back to SRM and that the problem
> > is there (this would mean a problem in some of the asm files of the
> > kernel...).
> > But why does it work with some kernels and not with some others??
>
> That sounds about right. There are certain things that the kernel tries
> to pass back to SRM, so it needs to modify some registers to do so. Some
> SRMs don't support some of the features that it tries to pass back (like
> power-off, etc), so those cases may cause a weird error or it may just not
> affect SRM at all. Either way, what the kernel passes back SHOULD be
> valid and apparently isn't in our cases. I'm doing some kernel work on
> 2.2.19+ and 2.4.x, so maybe I'll force the problem to occur at home and
> decode the info it's giving me (I usually just ignore it, personally,
> since I don't shutdown that often at all).
>
> Out of curiosity, does your system do a 'shutdown -r' correctly
> (reboot)? From what I've seen, reboot works on my machine, but halt
> barfs.
>
> C
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
>
--
James Fowler
jamesf@sequoia.net
ICQ: 81445515
"Thinking implies disagreement; and disagreement implies non-comformity; and non-comformity
implies heresy; and heresy implies disloyality -- so obviously thinking must be stopped"
[Call to Greatness, 1954] -- Adlai Stephenson
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Halting an AS200 with RH7.1
2001-07-24 16:04 ` Gregor Maier
2001-07-24 17:27 ` Christopher C. Chimelis
@ 2001-07-24 19:51 ` Niki W. Waibel
1 sibling, 0 replies; 7+ messages in thread
From: Niki W. Waibel @ 2001-07-24 19:51 UTC (permalink / raw)
To: axp-list
halt/reboot works on pc164 (eb164/ev56) with linux-2.4.7/gcc-3.0/binutils-2.11.90.0.24
(hey gregor: ich hab 2022 bogomips ;-> )
happy debugging, niki
On 24-Jul-2001 Gregor Maier wrote:
> On Friday 20 July 2001 23:08, Christopher C. Chimelis wrote:
>> On Fri, 20 Jul 2001, Gregor Maier wrote:
>> > I'm using an AlphaStation 200 4/233 with RedHat 7.1
>> > I'm booting throught the SRM console with auto_action set to BOOT.
>> >
>> > When I issue a shutdown (it doesn't matter if I use -h or -r) the systems
>> > goes down and then switches back to the SRM screen. Then it dumps a lot
>> > of numbers (the processor registers and some other stuff i wasn't able to
>> > recognize) and then the system reboots if I had power-cycled the machine.
>> >
>> > My problem is that I want my machine to HALT after I issue a shutdown,
>> > i.e. that I get my SRM prompt when the shutdown is complete and I want
>> > still be able to boot the machine automaticly when it switch it on
>> > (auto_action boot)
>>
>> IIRC, this is a kernel problem that is being addressed in the 2.4
>> kernels. It also happens on 164SX, so you're not alone :-) I haven't
>> really had time to look at what's going on with it, but it should be a
>> relatively simple fix.
>>
>> C
>
> Thanks for that hint
>
> Do you know where I could look for information on this problem. Are there
> mailinglist / newsgroup which will announce a fix for this problem. I
> searched various mail archives (especially linux-kernel archive) and also at
> google groups but didn't find (helpfull) futher info.
> Maybe you can point to places to look for updates anouncments of this...
>
> When did this problem occure in the kernel. Because I used SuSE 6.4 with a
> 2.2.x kernel (the version that came with SuSE). IIRC I saw this reboot
> problem on AS200 machines with SuSE 6.1 too (ealry 2.2.x kernel).
> While I was searching the mail archive I came across a post which said, that
> Linux modifys some structure which it hands back to SRM and that the problem
> is there (this would mean a problem in some of the asm files of the
> kernel...).
> But why does it work with some kernels and not with some others??
>
>
> Gregor
> --
> Gregor Maier
> gregor.maier@gmx.at
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
--
niki w. waibel - system administrator @ newlogic technologies ag
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2001-07-24 19:51 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-20 20:57 Halting an AS200 with RH7.1 Gregor Maier
2001-07-20 21:08 ` Christopher C. Chimelis
2001-07-24 16:04 ` Gregor Maier
2001-07-24 17:27 ` Christopher C. Chimelis
2001-07-24 18:53 ` Gregor Maier
2001-07-24 18:57 ` James Fowler
2001-07-24 19:51 ` Niki W. Waibel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox