Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Shutdown, reboot and reset...
@ 1996-01-12 17:56 Nigel Metheringham
  1996-01-12 18:48 ` Erik Troan
  1996-01-12 19:16 ` Mikael Nykvist
  0 siblings, 2 replies; 10+ messages in thread
From: Nigel Metheringham @ 1996-01-12 17:56 UTC (permalink / raw)


[Resent to Red Hat AXP List since the main alpha list is unwell]

Hopefully this is a simple question... but up to now I haven't found 
a fix.

I am running a noname system, based on Red Hat, but I had the same 
problem with earlier BLADEs.

However I shutdown the system (telinit 0, telinit 6 - halt and reboot 
to the BSD people!), it always shuts down and effectively hangs.  I 
have to power cycle to get the system to reboot.

I had a look at the OEM manual and played with the reset jumpers, 
without success - still the only way I have of restarting the system 
is to cycle the power.

So:-
  1. Is there something that can be done to make the system
     be rebootable?

  2. Has someone got a working reset button, and could they
     publish the jumper settings and wiring, please.

	Nigel.

- -- 
[ Nigel.Metheringham@theplanet.net   - Unix Applications Engineer ]
[ *Views expressed here are personal and not supported by PLAnet* ]
[ PLAnet Online : The White House     Tel : +44 113 2345566 x 612 ]
[ Melbourne Street, Leeds LS2 7PS UK. Fax : +44 113 2345656       ]

------- End of Forwarded Message

-- 
[ Nigel.Metheringham@theplanet.net   - Unix Applications Engineer ]
[ *Views expressed here are personal and not supported by PLAnet* ]
[ PLAnet Online : The White House     Tel : +44 113 2345566 x 612 ]
[ Melbourne Street, Leeds LS2 7PS UK. Fax : +44 113 2345656       ]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Shutdown, reboot and reset...
  1996-01-12 17:56 Nigel Metheringham
@ 1996-01-12 18:48 ` Erik Troan
  1996-01-12 19:16 ` Mikael Nykvist
  1 sibling, 0 replies; 10+ messages in thread
From: Erik Troan @ 1996-01-12 18:48 UTC (permalink / raw)


On Fri, 12 Jan 1996, Nigel Metheringham wrote:

>   1. Is there something that can be done to make the system
>      be rebootable?

Nope <growl>. Talk to David Rusling and Linus (or David MT, Jay, Jim)
about this. This is a nontrivial effort due to stupid DEC motherboard
design.

Oh yeah, that last sentence does no reflec the official position of
Red Hat Software, just personal animosity.

>   2. Has someone got a working reset button, and could they
>      publish the jumper settings and wiring, please.

The reset on my Cabriolet works fine. I can tell you where it's wired
if you'll wait until Monday and ask a couple more times to job my
memory.

Erik

-------------------------------------------------------------------------------
 "Eggheads unite!  You have nothing to lose but your yolks" - Adlai Stevenson

    Erik Troan   =   http://sunsite.unc.edu/ewt/   =   ewt@sunsite.unc.edu

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Shutdown, reboot and reset...
@ 1996-01-12 18:54 Ka'plaagh 12-Jan-1996 1855 +0000
  1996-01-12 19:57 ` Matthew Geier
  0 siblings, 1 reply; 10+ messages in thread
From: Ka'plaagh 12-Jan-1996 1855 +0000 @ 1996-01-12 18:54 UTC (permalink / raw)


There's two parts to this, the first is the ability to hit the reset
button and the second is how to soft reboot a system as in 

bash$ shutdown -r now

The first problem is board specific.  There are two jumpers, one that
should be wired to the reset button and the second that can be wired
to a lockable switch _or_ just jumpered.  The second jumper enables
the reset button to work.  Having said that, I've not got my Noname 
wired this way 'cos I didn't think of it until after I put the disk in.

The second problem is somewhat more difficult.  The nub of the problem is
that the system is booted in a two stage boot.   First the SROM code
gets going and then it loads the console/loader.  After that, I believe
that you can do a soft reset by calling the PAL reset entry point.  The
problem is that the PALcode has been swapped to and so it will re-call
the Linux kernel, which isn't ready for that.   It must be possible 'cos
you can do it on Window's NT, but I haven't spent a lot of time thinking
about it - I've spent more time worrying about how to boot the system and
keep it going...

Dave

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Shutdown, reboot and reset...
  1996-01-12 17:56 Nigel Metheringham
  1996-01-12 18:48 ` Erik Troan
@ 1996-01-12 19:16 ` Mikael Nykvist
  1 sibling, 0 replies; 10+ messages in thread
From: Mikael Nykvist @ 1996-01-12 19:16 UTC (permalink / raw)


According to Nigel Metheringham:
> However I shutdown the system (telinit 0, telinit 6 - halt and reboot 
> to the BSD people!), it always shuts down and effectively hangs.  I 
> have to power cycle to get the system to reboot.
> 
> I had a look at the OEM manual and played with the reset jumpers, 
> without success - still the only way I have of restarting the system 
> is to cycle the power.
> 
> So:-
>   1. Is there something that can be done to make the system
>      be rebootable?

Yes. Some kernel hacks is needed. NetBSD/Alpha [shame on me] was able
to do this. It dropped me back to the srm (not really reseted
I think). If you did reboot it automatically loaded a kernel again, else
it stopped at the prompt. Maybe we could 'look' a little at this code
to speed up the support for our beloved linux/alpha...

> 
>   2. Has someone got a working reset button, and could they
>      publish the jumper settings and wiring, please.

Uhm.. I just looked in the manual, flipped a jumper and connected a reset-
switch to a connector on the motherboard. Voila! 

/Mikael

-- 
Mikael Nykvist, viper@ludd.luth.se

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Shutdown, reboot and reset...
  1996-01-12 18:54 Ka'plaagh 12-Jan-1996 1855 +0000
@ 1996-01-12 19:57 ` Matthew Geier
  1996-01-12 20:18   ` Erik Troan
  0 siblings, 1 reply; 10+ messages in thread
From: Matthew Geier @ 1996-01-12 19:57 UTC (permalink / raw)


> The first problem is board specific.  There are two jumpers, one that
> should be wired to the reset button and the second that can be wired
> to a lockable switch _or_ just jumpered.  The second jumper enables
> the reset button to work.  Having said that, I've not got my Noname 

 I have the reset pins on my noname connected to the button labeled as
such on the front of my case, as such it works fine. (except for its
exposed position, ive accidently hit it once ! ).

 The board was delivered with the reset = HALT, not reset = hardware
reset.
 One day I might wire the reset through the keyswitch so I dont accidently
reset the system again...

 Ive found the redhat reboot command doesnt work at all for me. I copied my
inittab and rc files off my Slackware based x86 system, and they are sublty
incompatable with the way RedHat setup init and friends to behave a sys V
init.
 Specificly, reboot doesnt kill any running programs, the only programs
that die are the ones started by init, as a result the umount always fails.
 I havent been annoyed enough yet to grab the source and set them to work
the slackware way.

-- 
Matthew Geier,                 | Australian Public Access Network Association
matthew@sleeper.apana.org.au   | (+61) 2 588 4615 (Data) 587 9773   (voice)
matthew@law.usyd.edu.au        | An APANA Sydney hub.    018 977356 (mobile)

    'There are worlds out there where the sky is burning, the seas
sleep, and the rivers dream; people made of smoke, and cities made of
song.  Somewhere there's danger, somewhere there's injustice, and somewhere
else the tea is getting cold.  Come on Ace, we've got work to do!'
                (Last words of the last Dr Who)

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Shutdown, reboot and reset...
  1996-01-12 19:57 ` Matthew Geier
@ 1996-01-12 20:18   ` Erik Troan
  0 siblings, 0 replies; 10+ messages in thread
From: Erik Troan @ 1996-01-12 20:18 UTC (permalink / raw)


On Sat, 13 Jan 1996, Matthew Geier wrote:

>  Specificly, reboot doesnt kill any running programs, the only programs
> that die are the ones started by init, as a result the umount always fails.

Please read the Red Hat FAQ (http://www.redhat.com) at some point for
more information on this.

The crux is that Red Hat uses a newer version of SysV init then Slackware
which actually works like the SVR4's init. The right way to shutdown a
system is "shutdown -h now" where -h means "halt". If you use "-r", it
should reboot (and does on Intel machines), but the Linux kernel doesn't
know how to reboot itself yet.

Erik

-------------------------------------------------------------------------------
 "Eggheads unite!  You have nothing to lose but your yolks" - Adlai Stevenson

    Erik Troan   =   http://sunsite.unc.edu/ewt/   =   ewt@sunsite.unc.edu

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Shutdown, reboot and reset...
@ 1996-01-12 20:56 Donnie Barnes
  1996-01-12 21:16 ` Erik Troan
  0 siblings, 1 reply; 10+ messages in thread
From: Donnie Barnes @ 1996-01-12 20:56 UTC (permalink / raw)


> Ive found the redhat reboot command doesnt work at all for me. I copied my
>inittab and rc files off my Slackware based x86 system, and they are sublty
>incompatable with the way RedHat setup init and friends to behave a sys V
>init.
> Specificly, reboot doesnt kill any running programs, the only programs
>that die are the ones started by init, as a result the umount always fails.
> I havent been annoyed enough yet to grab the source and set them to work
>the slackware way.

Ugh.  We see this all the time in Intel land when converted Slackware
users first find out about our init.  Take time to get used to it...it
is different, but it *is* a better way to do things than the BSD style
init.  Trust me...I used to love the Slackware way and hated changing.
Now I'm glad I did.  

Also, I think more recent versions of Slackware use SysV init as well.

Get used to it....it's better.  :-)

--Donnie

--
Donnie Barnes
Software Engineer
Red Hat Software, Inc.
djb@redhat.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Shutdown, reboot and reset...
  1996-01-12 20:56 Shutdown, reboot and reset Donnie Barnes
@ 1996-01-12 21:16 ` Erik Troan
  0 siblings, 0 replies; 10+ messages in thread
From: Erik Troan @ 1996-01-12 21:16 UTC (permalink / raw)


On Fri, 12 Jan 1996, Donnie Barnes wrote:

> Also, I think more recent versions of Slackware use SysV init as well.

Slackware has always used SysVinit - just an old version of it that
isn't very standard (version 2.2). Red Hat (and Debian for that matter)
use a far more recent (and standard) version (2.5x).

Erik

-------------------------------------------------------------------------------
 "Eggheads unite!  You have nothing to lose but your yolks" - Adlai Stevenson

    Erik Troan   =   http://sunsite.unc.edu/ewt/   =   ewt@sunsite.unc.edu

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Shutdown, reboot and reset...
@ 1996-01-12 21:21 Marc Ewing
  0 siblings, 0 replies; 10+ messages in thread
From: Marc Ewing @ 1996-01-12 21:21 UTC (permalink / raw)


Donnie Barnes <djb@redhat.com> writes:
> 
> > Ive found the redhat reboot command doesnt work at all for me. I copied my
> >inittab and rc files off my Slackware based x86 system, and they are sublty
> >incompatable with the way RedHat setup init and friends to behave a sys V
> >init.
> > Specificly, reboot doesnt kill any running programs, the only programs
> >that die are the ones started by init, as a result the umount always fails.
> > I havent been annoyed enough yet to grab the source and set them to work
> >the slackware way.
> 
> Ugh.  We see this all the time in Intel land when converted Slackware
> users first find out about our init.  Take time to get used to it...it
> is different, but it *is* a better way to do things than the BSD style
> init.  Trust me...I used to love the Slackware way and hated changing.
> Now I'm glad I did.  

Also, I'm pretty sure that typing `reboot' or `halt' with the current
SysVinit RPM will "do the right thing".  This is from the halt man page:

NOTES
       Under previous sysvinit releases, reboot and  halt  should
       never  be  called  directly. From this release on halt and
       reboot invoke shutdown if the system is in runlevel 1-5.

At least, it works on Intel.

-Marc

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Shutdown, reboot and reset...
       [not found] <199601122121.QAA17357@speedy.redhat.com>
@ 1996-01-12 23:02 ` Matthew Geier
  0 siblings, 0 replies; 10+ messages in thread
From: Matthew Geier @ 1996-01-12 23:02 UTC (permalink / raw)


> Donnie Barnes <djb@redhat.com> writes:
> > 
> > > Ive found the redhat reboot command doesnt work at all for me. I copied my
> > >inittab and rc files off my Slackware based x86 system, and they are sublty

> > Ugh.  We see this all the time in Intel land when converted Slackware
> > users first find out about our init.  Take time to get used to it...it

 Ok I was lazy. I copied my Slackware init scripts. I also have a Tek 88100
machine running System V.3, so its not as if I havent worked with the System V
init.
 This is what one gets for taking sortcuts and not reading the doco...

-- 
Matthew Geier,                 | Australian Public Access Network Association
matthew@sleeper.apana.org.au   | (+61) 2 588 4615 (Data) 587 9773   (voice)
matthew@law.usyd.edu.au        | An APANA Sydney hub.    018 977356 (mobile)

    'There are worlds out there where the sky is burning, the seas
sleep, and the rivers dream; people made of smoke, and cities made of
song.  Somewhere there's danger, somewhere there's injustice, and somewhere
else the tea is getting cold.  Come on Ace, we've got work to do!'
                (Last words of the last Dr Who)

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~1996-01-12 23:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-01-12 20:56 Shutdown, reboot and reset Donnie Barnes
1996-01-12 21:16 ` Erik Troan
     [not found] <199601122121.QAA17357@speedy.redhat.com>
1996-01-12 23:02 ` Matthew Geier
  -- strict thread matches above, loose matches on Subject: below --
1996-01-12 21:21 Marc Ewing
1996-01-12 18:54 Ka'plaagh 12-Jan-1996 1855 +0000
1996-01-12 19:57 ` Matthew Geier
1996-01-12 20:18   ` Erik Troan
1996-01-12 17:56 Nigel Metheringham
1996-01-12 18:48 ` Erik Troan
1996-01-12 19:16 ` Mikael Nykvist

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