Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* 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
[parent not found: <199601122121.QAA17357@speedy.redhat.com>]
* 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...
@ 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
* 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

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 18:54 Shutdown, reboot and reset Ka'plaagh 12-Jan-1996 1855 +0000
1996-01-12 19:57 ` Matthew Geier
1996-01-12 20:18   ` 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 20:56 Donnie Barnes
1996-01-12 21:16 ` 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