Hi, and I have a basic noob question regarding the ok prompt

Hello, I'm new to this forum and new to Solaris. It is now part of my job so I have to learn it. It seems like a fun OS to learn but a bit cumbersome at first. I have loaded Solaris 8 on a SF v100, and all was working fine until this morning.

I'm assuming it is still working ok, however, I installed it and worked on it all through the serial port via securecrt last week, but I had to power off my laptop (where the serial port connects to). This morning I need to continue to work on the server but I have no clue how to get a logon prompt. I am currently at the "ok" prompt but I don't know what to do from there.Someone told me to just do "boot" and I did but this seems to bring down the server and restart it... is this correct?

Can't I just call the login prompt from the ok prompt?

thanks a lot for your help and patience!

[867 byte] By [rakxzo] at [2007-11-25 23:35:16]
# 1

The "ok" prompt is a ROM environment that is for diagnostics and low-level configuration settings.

When you type "boot" at the ok prompt, you will then boot the defined disk and start Solaris. That's the short version.

When you shutdown your ldaptop, it caused the system to shutdown, possibly because the console was lost or a Stop-A (same as break ?) was sent during the laptop's shutdown. A Sun box needs a console, whether it's an attached Monitor/kb/mouse or a serial port console. On the Sun keyboard, there's a key labelled "Stop". The key pair Stop-A causes the OS to immediately halt and the ok prompt to appear.

I may be a bit off about the Sun requiring a KB/console, it's been a long time since I've played with initial setup/config.

HTH,

Roger S.

Jo_nage at 2007-7-5 18:19:50 > top of Java-index,General,Talk to the Sysop...
# 2

Yeah, when the laptop shutdown I think what happens is the dtr gets dropped on the serial port which generates a "Break" just like the Stop-A, which you pointed out... To prevent this from happening you can change the file /etc/default/kdb. Uncomment the KEYBOARD_ABORT=alternate which changes the "Break" from Stop-A to something like Control-B dot.Also I think there is some kind of eeprom setting for DTR...

Also to "unpause" a system thats been halted by a Stop-A, simply type "go" at the OK prompt...

hth,

john

jtstachl at 2007-7-5 18:19:50 > top of Java-index,General,Talk to the Sysop...