I'm not sure I understand you. Do you think it is reasonable to hang on
'sol activate' if there is no peer on the other end?
My point is that if you hang, fine. But let me quit out of ipmitool
normally. As it stands I have to kill the process or ssh session to
quit. This seems like a bug to me.
(sorry coming in late to the topic)
When ipmitool activates a SOL connection it enters raw mode on the tty so that all "special" characters like ctrl-* and escape sequences (except for what ssh/ipmitool are watching for) will be sent to the remote host. This makes it impossible to have ctrl-C quit out of ipmitool SOL sessions even when they are hung. However I do believe you are right and something is going wrong when the remote console disappears--I have seen this happen before but I attributed it to bad BMC behavior.
A couple things to try:
1. the ipmitool escape sequence only works after a newline is received, so for all intents and purposes the escape sequence is actually <enter><escape-char><period>. Is there any chance you can break out with a newline first? (I don't think this will work if ipmitool is spinning elsewhere, but its worth a try)
2. Can you attach to the running ipmitool with "strace -p <pid>" and see what it is doing when this happens? This might help narrow down where the problem is.
Thanks,
-duncan
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel