Systems Management General

Last reply by 07-03-2019 Solved
Start a Discussion
2 Bronze
2 Bronze

iDRAC6 / ssh / console com2 - how to "send BREAK" into com2 ?

Hello.

I configured the OS on my Dell R810 box to use COM2 for serial console.

I connect to iDRAC via SSH routinely, and attach serial console with console -h com2. This works as declared.

But I unable to send a break into COM2.

The regular terminal emulation software, like minicom on Linux, or tip on Solaris, provide a means for sending break into serial line, e.g. by pressing ~# (technically, sending break into serial line is just sending zero bits during 0.25 sec: see TCSBRK(0) ioctl).

Please, advice, how to send a break into COM2 using iDRAC6 facilities?

Regards,
Kostya.

Solution (1)

Accepted Solutions
3 Argentum

I apologize for the misunderstanding and thank you for clarifying. I found a reference that the DRAC 5 cannot support break through serial consoles other than IPMI SOL (lists.us.dell.com/.../042415.html) and although I have been unable to verify the same for the iDRAC 6 on your R810, I suspect it is the same case. Might an in-band workaround be possible for your use case?

Download the Dell Quick Resource Locator app today to access PowerEdge support content on your mobile device! (iOS, Android, Windows)

View solution in original post

Community Accepted Solution
Replies (7)
3 Argentum

Hi Kostya,

What OS do you have on there? On Linux, SysRq is enabled by default so you must send two breaks over a serial console for the remote host to see one break (kernel.org/.../sysrq.txt). I am not familiar with other systems. Out of curiosity have you also seen the issue on com1 or only com2?

Download the Dell Quick Resource Locator app today to access PowerEdge support content on your mobile device! (iOS, Android, Windows)

2 Bronze
2 Bronze

Hello, Jonathan. You told:

have you also seen the issue on com1 or only com2?

iDRAC6 does not offer "console com1" command. com2 it the only available:

/admin1-> console
Usage: console [-bh] com2

so you must send two breaks over a serial console for the remote host

That is my question: how? How may iDRAC6 send breaks into serial line (here: COM2). It seems that iDRAC6 User's Guide doesn't mention this.

Just for reference:

[vilox@jabba ~]$ ssh -e none root@dell-idrac
/admin1-> version

SM CLP Version: 1.0.2
SM ME Addressing Version: 1.0.0b
/admin1-> racadm getversion
Bios Version = 2.4.4
iDRAC Version = 1.80
USC Version = 1.5.0.672

What OS do you have on there?

I intentionally omit OS information, because the question is OS-neutral, about iDRAC6 facilities.

2 Bronze
2 Bronze

vilox: But I unable to send a break into COM2.
Sorry, it was a misleading statement.

I unable to send a break from iDRAC6, via COM2, to OS that listens for break on the other side of serial line.

3 Argentum

I apologize for the misunderstanding and thank you for clarifying. I found a reference that the DRAC 5 cannot support break through serial consoles other than IPMI SOL (lists.us.dell.com/.../042415.html) and although I have been unable to verify the same for the iDRAC 6 on your R810, I suspect it is the same case. Might an in-band workaround be possible for your use case?

Download the Dell Quick Resource Locator app today to access PowerEdge support content on your mobile device! (iOS, Android, Windows)

Community Accepted Solution

Connected to Serial Device 2. To end type: ^\

2 Bronze
2 Bronze

Thank you for pointer to discussion. That's right, Bryce Nesbitt pointed out to the very same problem: iDRAC inability to send break into serial line. I amused that that hasn't been fixed for years.

My workaround is to withdraw the use of Dell R810 service processor (namely iDRAC6), and talk with OS console via R810 external serial COM-9 connector. The external equipment is a regular PC with regular Linux inside, running regular communication program and able to send breaks into serial line.

Ridiculous, right ?

Could you, please, advice, may I file a bug or request for enhancement against iDRAC6 somewhere ?

2 Bronze
2 Bronze

On a R910 when we want to connect to the console of the system via the DRAC we `ssh <ip of drac>` and then run the `console com2 ` command to connect to that systems console. When we're done and want to disconnect from the console connection we simply hit the <ctrl> + \ keys to send the ^\ mentioned in the help/docs.

Top Contributor
Latest Solutions