Re: auto poweroff - keyboard dependency?

2004-03-07 Thread James Whatever

But be warned that if you tell an E150 to power-off you will have great
weeping and wailing and gnashing of teeth getting it to restart.
Rather drop to OBP and pull the power.


Seems to make much more sense to let it drop to the OBP and then type 
power-off if that's really what's needed.


---
James Whatever
My niece called me "Uncle Robot" on the weekend!
Giant Robot Ltd, http://www.giantrobot.co.nz/



Re: auto poweroff - keyboard dependency?

2004-03-07 Thread C.Newport
On Monday 08 March 2004 12:58 am, Eric Brower wrote:
> Janos Sziliczi wrote:
> > Hi All,
> >
> > I've compiled a 2.4.25 kernel.
> > When I'd typed the 'halt' command as root, the Linux shutdowned and the
> > machine turned off automatically (no 'power-off' needed on PROM prompt).
>
> This tends to hit the list once every few weeks.
>
> In both sparc and sparc64 the kernel will not power-off systems that are
> running with a serial console-- instead they are dropped to OBP (2.2.x
> did not act this way).  I believe Pete was going to remove this "safety
> measure" in sparc a while back but I don't believe it has been done.
>
> If you are running a sparc kernel, remove the check for !serial_console

But be warned that if you tell an E150 to power-off you will have great
weeping and wailing and gnashing of teeth getting it to restart.
Rather drop to OBP and pull the power.



Re: auto poweroff - keyboard dependency?

2004-03-07 Thread Eric Brower

Janos Sziliczi wrote:


Hi All,

I've compiled a 2.4.25 kernel.
When I'd typed the 'halt' command as root, the Linux shutdowned and the
machine turned off automatically (no 'power-off' needed on PROM prompt).


This tends to hit the list once every few weeks.

In both sparc and sparc64 the kernel will not power-off systems that are 
running with a serial console-- instead they are dropped to OBP (2.2.x 
did not act this way).  I believe Pete was going to remove this "safety 
measure" in sparc a while back but I don't believe it has been done.


If you are running a sparc kernel, remove the check for !serial_console

  if (auxio_power_register && !serial_console)

in arch/sparc/kernel/process.c.  In sparc64, remove the check

  if (!serial_console)

in arch/sparc64/kernel/power.c.

I have a sysctl patch for sparc that allows selection of power-off at 
halt for serial console systems.  Pete did not like this too much, but I 
believe it is a fair trade-off IFF anyone believes the safety measure 
should be preserved.  The sparc64 arch could benefit from the same.


If you aren't up to recompiling a kernel, depending upon version you 
might be able to type 'power-off' at OBP.  Some versions allow this, 
some require a keyboard with power button to be present.  Of coure, you 
could always reach over and flip the switch, too, if it is not miles away.


E




auto poweroff - keyboard dependency?

2004-03-07 Thread Janos Sziliczi
Hi All,

I've compiled a 2.4.25 kernel.
When I'd typed the 'halt' command as root, the Linux shutdowned and the
machine turned off automatically (no 'power-off' needed on PROM prompt).

I plugged out the monitor and the keyboard.
Just the UTP patch cables and the power coord are remained connected.

I've started the Sparc, and everything worked fine.
The dmesg said: "Keyboard: Not present" and "Console: ttyS0 ...".
I typed the 'halt' command in a remote shell.
But the machine didn't turned off! I had to power off it manually.

After this, connected only the keyboard (and not the monitor).
The dmesg said: "Sun TYPE 4 keyboard ..." and "Console: switching to
colour frame buffer ...".
And the Sparc turned off properly after the 'halt' command.

Is it a feature?
Is it configurable, that the Sparc turns off withuot keyboard too?

Thanks in advance,
Jana



locking while booting from floppies

2004-03-07 Thread Dan Hatch
I've got a sparcstation 5 that I am trying to install debian on. I am 
connecting to the sparc with a serial console.

I have created the boot floppy from rescue.bin and asked it to boot from the 
floppy. The sparc starts to boot from the disk that I have made and finally 
comes up with:

floppy0: WARNING disk change called early
VFS: Insert root floppy disk to be loaded into RAM disk and press ENTER

I insert the root disk and press enter but nothing happens. It just seems to 
lock up, I can't even send a BREAK to it. Can anyone shed any light on what's 
going wrong, and more importantly, how I can fix the problem?

I hope that someone can help me, and if I can give any more useful info then 
let me know as its the first time I've ever used a mailing list.

thanks in advance,

Dan




Re: Newbie Sparcstation 20 question

2004-03-07 Thread James Whatever

try appending video=sbus or video=promcon

On 07 Mar 2004, at 20:58, James Nelson wrote:


Hartwig Atrops wrote:


Hi.

On Friday 05 March 2004 21:36, James Nelson wrote:


I have a sparcstation 20 I am trying to install 3.0 stable onto, and
have a question.  The system boots fine from the CD's, but it hangs 
with

a "no console found - try passing an init= option" error.  I have a
GX-series SBus video card, and the only thing I could find after 
quite a
bit of Googling around is to use a serial terminal for installation. 
 Is
there any way to pass options to the install kernel via SILO so that 
I
can use the Sun keyboard & graphics adapter for the system console, 
or

should I go buy a Sun null modem cable?



I installed Woody (= 3.0 stable) on some SS20 with SBUS and with 
onboard graphics,  never had to use a serial console ?!?


I suggest to check your openboot environment.

I don't have access to my SS20's until monday, if you still need 
help, feel free to contact me.


Regards,

  Hartwig


I checked OpenBoot, and even tried the 'reset-defaults' command (after 
munging the config pretty well) to no avail.  I'm baffled - I can't 
seem to figure out what I'm overlooking...  but it's got to be 
something simple...



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact 
[EMAIL PROTECTED]





---
James Whatever
My niece called me "Uncle Robot" on the weekend!
Giant Robot Ltd, http://www.giantrobot.co.nz/



Re: Newbie Sparcstation 20 question

2004-03-07 Thread James Nelson

Hartwig Atrops wrote:


Hi.

On Friday 05 March 2004 21:36, James Nelson wrote:
 


I have a sparcstation 20 I am trying to install 3.0 stable onto, and
have a question.  The system boots fine from the CD's, but it hangs with
a "no console found - try passing an init= option" error.  I have a
GX-series SBus video card, and the only thing I could find after quite a
bit of Googling around is to use a serial terminal for installation.  Is
there any way to pass options to the install kernel via SILO so that I
can use the Sun keyboard & graphics adapter for the system console, or
should I go buy a Sun null modem cable?
   



I installed Woody (= 3.0 stable) on some SS20 with SBUS and with onboard 
graphics,  never had to use a serial console ?!?


I suggest to check your openboot environment.

I don't have access to my SS20's until monday, if you still need help, feel 
free to contact me.


Regards,

  Hartwig

 

I checked OpenBoot, and even tried the 'reset-defaults' command (after 
munging the config pretty well) to no avail.  I'm baffled - I can't seem 
to figure out what I'm overlooking...  but it's got to be something 
simple...