Subject: Re: IIsi & shutdown -h
To: Bernard Gardner <B.Gardner@eng.usyd.edu.au>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 02/25/1996 20:35:48
> 
> On Feb 25, 14:22, Bill Studenmund wrote:
> > Subject: IIsi & shutdown -h
> > I'm wondering if it's just me, or do other IIsi owners notice that
> > netbsd doesn't turn off the power when you do a shutdown -h?
> 
> I can confirm that, but then my machine has never had netbsd switch its power
> off, I had just assumed it had never been written.
> 
> > My kernels are current as of about a month ago.
> 
> Mine as of about four days ago at home, but in the sources I've got lying
> around here at  work (1.0-current from Dec 1 1995), I notice that there's a
> #define DB2O_v2PowerOff 0x04 in /sys/arch/mac68k/mac68k/via.h, and there does
> seem to be code in via.c (via_shutdown()) which should do this, and it seems to
> get called from boot() when the arguments has RB_HALT set. I dunno, maybe it
> should work. I do seem to remember someone saying on the list a few months back
> that their IIsi was hanging while attempting to ring the bell on shutdown...

The thing is that my origonal kernel, from way back in May (the first
one which worked on a IIsi) DID shut the power off.

I think there was some change to the via_shutdown() code which causes
this not to happen. Thoughts?

Take care,

Bill