Re: debian/sparc serial console

2003-10-16 Thread Paul Hedderly
On Wed, Oct 01, 2003 at 05:16:55PM +0200, Jan-Benedict Glaw wrote:
 On Wed, 2003-10-01 09:37:01 +0100, Martin [EMAIL PROTECTED]
 wrote in message [EMAIL PROTECTED]:
   I've transitioned my Ultra 10 from my primary Desktop machine to  
   network server (having acquired a powerbook for my primary needs  -  
   still trying to get Evolution compiled on that.)  I would like to  
   access this Ultra 10 only through a serial cable  ethernet, without  
   monitor or keyboard.  I should be able to do this through some settings  
   in Open Firmware right?
  OpenBoot should do it automatically - hook up the serial cable and
  unplug the monitor and keyboard.  You can set it to always use serial
  but I would have thought leaving it on auto switching was best.
 
 Um, with my SS10, ROM 2.25, this doesn't happen. I have to explicitely
 set serial I/O if I want that. Simply unplugging keyboard (which works
 nicely on another SS10 with an older ROM version) doesn't help here...

Then you need to unset the OBP settings that have made this manadtory.
The default default is to use serial if there not a FB and a keyboard.

--
Paul



Re: debian/sparc serial console

2003-10-02 Thread Mauricio

At 18:54 +0200 10/1/03, Antonello wrote:

On Wed, 1 Oct 2003 18:22:04 +0100
Emmanuel Kasper [EMAIL PROTECTED] wrote:


  Um, with my SS10, ROM 2.25, this doesn't happen. I have to explicitely
  set serial I/O if I want that. Simply unplugging keyboard (which works
  nicely on another SS10 with an older ROM version) doesn't help here...
 I also have an Ultra10, and  when you boot, the PROM expects a

  console on the serial port if it doesn't detect the sun keyboard.

Emmanuel,
The SparcStation 10 is not an Ultra ;)
However, my Ultra2 (with Woody) is completely headless and behaves the
same way that you describe.. even the keyboard not found, using tty for
i/o appears on the serial console (9600, N, 1, no flow control).


	I would also add that in my SS20 (ROM 2.25R) and in my SS1+, 
if I do not have a serial console connected to its serial port when I 
boot them keyboard-less, they refuse to write to the serial console 
once it is connected.  I do not know if the events are related or it 
is just a freak coincidence, but...




Re: debian/sparc serial console

2003-10-01 Thread Martin
 I've transitioned my Ultra 10 from my primary Desktop machine to  
 network server (having acquired a powerbook for my primary needs  -  
 still trying to get Evolution compiled on that.)  I would like to  
 access this Ultra 10 only through a serial cable  ethernet, without  
 monitor or keyboard.  I should be able to do this through some settings  
 in Open Firmware right?
OpenBoot should do it automatically - hook up the serial cable and
unplug the monitor and keyboard.  You can set it to always use serial
but I would have thought leaving it on auto switching was best.

 What do I need to set there, and what do I need to set inside linux so  
 that it stops pestering me about no keyboard being attached.
AFAIK it shouldn't pester you at all - it should detect you're using
serial console.  Or at least it has when I've done it.

  Can I set  
 these open firmware variables from inside linux?
Look at the openpromfs drivers - basically yes.

 And...
 How do I disable X on boot?
 
 This page:  
 http://www.debian.org/doc/manuals/reference/ch-tips.en.html#s-no-x- 
 start
 tells me that I could try this:
 update-rc.d ?dm stop 99 1 2 3 4 5 6
Sounds good to me.

 I'm running on testing.  Would this work - I'm currently running  
 debian/testing on the box?
I can think of why it shouldn't - man update-rc.d if it doesn't.

Sweet Dreams,
 - Martin

-- 
Martin
[EMAIL PROTECTED]
Seasons change, things come to pass



Re: debian/sparc serial console

2003-10-01 Thread Jan-Benedict Glaw
On Wed, 2003-10-01 09:37:01 +0100, Martin [EMAIL PROTECTED]
wrote in message [EMAIL PROTECTED]:
  I've transitioned my Ultra 10 from my primary Desktop machine to  
  network server (having acquired a powerbook for my primary needs  -  
  still trying to get Evolution compiled on that.)  I would like to  
  access this Ultra 10 only through a serial cable  ethernet, without  
  monitor or keyboard.  I should be able to do this through some settings  
  in Open Firmware right?
 OpenBoot should do it automatically - hook up the serial cable and
 unplug the monitor and keyboard.  You can set it to always use serial
 but I would have thought leaving it on auto switching was best.

Um, with my SS10, ROM 2.25, this doesn't happen. I have to explicitely
set serial I/O if I want that. Simply unplugging keyboard (which works
nicely on another SS10 with an older ROM version) doesn't help here...

MfG, JBG

-- 
   Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481
   Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH)  ~(NEW_COPYRIGHT_LAW | DRM | TCPA));


pgpmrfo1bBocj.pgp
Description: PGP signature


Re: debian/sparc serial console

2003-10-01 Thread Emmanuel Kasper
On Wed, 1 Oct 2003 17:16:55 +0200
Jan-Benedict Glaw [EMAIL PROTECTED] wrote:

 On Wed, 2003-10-01 09:37:01 +0100, Martin [EMAIL PROTECTED]
 wrote in message [EMAIL PROTECTED]:
   I've transitioned my Ultra 10 from my primary Desktop machine to  
   network server (having acquired a powerbook for my primary needs  -  
   still trying to get Evolution compiled on that.)  I would like to  
   access this Ultra 10 only through a serial cable  ethernet, without  
   monitor or keyboard.  I should be able to do this through some settings  
   in Open Firmware right?
  OpenBoot should do it automatically - hook up the serial cable and
  unplug the monitor and keyboard.  You can set it to always use serial
  but I would have thought leaving it on auto switching was best.
 
 Um, with my SS10, ROM 2.25, this doesn't happen. I have to explicitely
 set serial I/O if I want that. Simply unplugging keyboard (which works
 nicely on another SS10 with an older ROM version) doesn't help here...

I also have an Ultra10, and  when you boot, the PROM expects a console on the 
serial port if it doesn't detect the sun keyboard. Every boot mesage is send to 
the serial port after a warning. Try booting with your keyboard unplugged and 
see if it works for you.
Emmanuel 



Re: debian/sparc serial console

2003-10-01 Thread Antonello
On Wed, 1 Oct 2003 18:22:04 +0100
Emmanuel Kasper [EMAIL PROTECTED] wrote:

  Um, with my SS10, ROM 2.25, this doesn't happen. I have to explicitely
  set serial I/O if I want that. Simply unplugging keyboard (which works
  nicely on another SS10 with an older ROM version) doesn't help here...
 I also have an Ultra10, and  when you boot, the PROM expects a
 console on the serial port if it doesn't detect the sun keyboard.

Emmanuel,
The SparcStation 10 is not an Ultra ;)
However, my Ultra2 (with Woody) is completely headless and behaves the
same way that you describe.. even the keyboard not found, using tty for
i/o appears on the serial console (9600, N, 1, no flow control).

Bye
Antonello

-- 
Antonello [EMAIL PROTECTED]



RE: debian/sparc serial console

2003-10-01 Thread Maximiliano Garcia Silva - Decidir IT
You can set the 'input-device' and 'output-device' in the openBOOT to 'ttya'
for all I/O from/to serial console.

Or you can use the 'eeprom' from the command line to do these.

regards
max


-Original Message-
From: Satadru Pramanik [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 01, 2003 2:14 AM
To: debian-sparc@lists.debian.org
Subject: debian/sparc serial console


I've transitioned my Ultra 10 from my primary Desktop machine to  
network server (having acquired a powerbook for my primary needs  -  
still trying to get Evolution compiled on that.)  I would like to  
access this Ultra 10 only through a serial cable  ethernet, without  
monitor or keyboard.  I should be able to do this through some settings  
in Open Firmware right?

What do I need to set there, and what do I need to set inside linux so  
that it stops pestering me about no keyboard being attached.  Can I set  
these open firmware variables from inside linux?

The machine is running fine right now without monitor or keyboard  
attached - I can access it fine through ssh.

And...
How do I disable X on boot?

This page:  
http://www.debian.org/doc/manuals/reference/ch-tips.en.html#s-no-x- 
start
tells me that I could try this:
update-rc.d ?dm stop 99 1 2 3 4 5 6

I'm running on testing.  Would this work - I'm currently running  
debian/testing on the box?

Satadru