The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Detecting USB Flash Devices (plugged and hot-plugged) jjinno UNIX for Advanced & Expert Users 1 06-01-2008 10:52 PM
Sco box got turned into a warez server. How do I get into a dir name spaces? gadgetman UNIX for Advanced & Expert Users 3 06-14-2006 07:44 AM
Is the cable you are using a null modem cable or a modem cable waterbear SUN Solaris 2 08-06-2005 05:00 PM
Root account disabled and unable to access console AaronC HP-UX 2 05-31-2005 08:05 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #8  
Old 12-01-2006
System Shock's Avatar
Registered User
 

Join Date: May 2006
Location: Tau Ceti V
Posts: 395
Quote:
Originally Posted by kingdbag
Before I do anything "break or boot" command it turns off the bge interface i'm not sure if it is locking the whole machine or just turning off the network interface or what. I consoled into my one server to make sure I had my hyper terminal settings correct then 5 seconds later I got an email letting me know bge0 was down on that device I didn't even type a command i think i hit enter once or twice that was it my screen looked like this below.

OK
OK
OK

then i disconnected and walked away without entering anything in console but a few enters...

Yes, I am using winxp/laptop/console cable to serial etc...

When hyperterminal comes up and you hit enter, you should be seeing a login prompt, not an OK prompt. You are indeed sending a break signal - albeit involuntary - to the box and bringing the whole thing to a halt.
Reply With Quote
Forum Sponsor
  #9  
Old 12-01-2006
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
Sending a break signal on the system console causes the OS to drop into firmware mode and issue an "OK" prompt. Want the OS to start running again? Just type this command:
go

The reason is that Sun thought it would be cool if you could drop the machine to firmware mode by just unplugging and reconnecting the system console. It is possible for the OS to change this behaviour a second or two after a reboot, but there is still a very tiny window during boot where a break will work.

For solaris 2.6 get patch 105924-10 or later
For solaris 7 get patch 107589-02 or later
After solaris 7, no patch is needed.

Then modify /etc/default/kbd to have line like:
KEYBOARD_ABORT=alternate
Then after next reboot, you drop to firmware with ~^b (tilde, control-b)

There is also a kbd command to do this on the fly.
Reply With Quote
  #10  
Old 12-01-2006
Registered User
 

Join Date: Jun 2006
Location: Las Vegas, NV
Posts: 104
Ahhhhh.... Thanks a lot, I will mess around with that and see how it works.
Reply With Quote
  #11  
Old 12-01-2006
System Shock's Avatar
Registered User
 

Join Date: May 2006
Location: Tau Ceti V
Posts: 395
You can plug-unplug terminals into any Sun box and it's not going to go to the ok prompt just for that.
The problem used to be that, if you powered off the terminal before disconnecting the serial cable, or powered on the terminal after connecting the serial cable, that would send a break signal to the console, thus bringing the box to the ok prompt.
Reply With Quote
  #12  
Old 12-01-2006
reborg's Avatar
Administrator
 

Join Date: Mar 2005
Location: Ireland
Posts: 3,644
Quote:
Originally Posted by System Shock
You can plug-unplug terminals into any Sun box and it's not going to go to the ok prompt just for that.The problem used to be that, if you powered off the terminal before disconnecting the serial cable, or powered on the terminal after connecting the serial cable, that would send a break signal to the console, thus bringing the box to the ok prompt.
Hmm, have you ever tried it when the console is a keyboard? Also the electrical glitch of unplugging a serial console can do this and as Perderabo already mentioned it was patched so the key sequence could be a little more complex resloving many of these issues. I have personally seen this happen in the past 12 months with the standard break enabled.
Reply With Quote
  #13  
Old 12-01-2006
System Shock's Avatar
Registered User
 

Join Date: May 2006
Location: Tau Ceti V
Posts: 395
Quote:
Originally Posted by reborg
Hmm, have you ever tried it when the console is a keyboard? Also the electrical glitch of unplugging a serial console can do this and as Perderabo already mentioned it was patched so the key sequence could be a little more complex resloving many of these issues. I have personally seen this happen in the past 12 months with the standard break enabled.

Literary hundreds of times using workstations, laptops, wyse terminals, xyplexes, etc. to connect to the serial console, for years.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 08:40 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0