- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: serial console hangs
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2008 02:46 AM
тАО09-28-2008 02:46 AM
there is strange problem i m facing.
i m connecting my laptop to HA system using serial port. i m connected but After booting my HA system, my cosole not taking any input.
I am not able to operate HA system using this console. please suggest.
Thx,
MKS
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2008 07:32 PM
тАО09-28-2008 07:32 PM
Re: serial console hangs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2008 11:17 PM
тАО09-28-2008 11:17 PM
Re: serial console hangs
console=ttyMM0,9600 ip=off root=/dev/hde2 rw
Thanks,
MKS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2008 01:18 AM
тАО09-29-2008 01:18 AM
Re: serial console hangs
Can you connect to the system through the network?
If you can, please examine the output of the "cat /proc/tty/drivers" command. Does it mention "/dev/ttyMM"? If it doesn't, the driver for your serial port is not compiled into the kernel and you'll have to recompile it.
If the ttyMM device is listed in /proc/tty/drivers, you can verify the settings of the serial port with commands "setserial -g /dev/ttyMM0" and "stty -a -F /dev/ttyMM0". Check that the serial port handshaking settings match the cable you're using and the settings of your laptop.
If these settings seem correct, the next step is to check if there are processes running on the console port. Run "ps -ft console" and "ps -ft ttyMM0". If you find any processes other than (a)getty, that process might be causing the console be stuck in a mode that does not accept input. If the system is set up normally, you can use "kill -HUP
If the getty process is not running and does not start after you've killed any other processes holding the serial console port, you should examine your /etc/inittab file: has someone removed the line that respawns the getty process for the console?
If you find something is wrong and fix it, the init process may not start the new getty process immediately. If the getty process keeps dying immediately after it restarts, init will stop respawning it for a while after a few retries. To tell the init process that the problem is (maybe) fixed and init should try again, run "telinit q". This command is also needed if you edit the /etc/inittab file.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2008 01:35 AM
тАО09-29-2008 01:35 AM
Re: serial console hangs
COM1 is terminating on the serial port of the computer (DB9).
Thanks,
MKS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2008 08:18 AM
тАО09-29-2008 08:18 AM
Re: serial console hangs
#setserial -g /dev/ttyMM0
/dev/ttyMM0, UART: undefined, Port: 0x0000, IRQ: 36
#stty -a -F /dev/ttyMM0
speed 9600 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol =
eol2 =
lnext = ^V; flush = ^U; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon
-ixoff -iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
-isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop
-echoprt -echoctl -echoke
Is this problem in my windows HyperTerminal setting or HA system?
I am connecting CONSOLE PORT(mini db9) on HA to 9 pin male serial port on winows baes laptop....
Plz suggest it.
Thanks,
MKS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2008 11:33 PM
тАО09-30-2008 11:33 PM
Re: serial console hangs
> Is this problem in my windows HyperTerminal setting or HA system?
Impossible to say at this point; you have not told us what settings you're using with your HyperTerminal. But yes, the standard settings of "9600 8-N-1" should be OK. Or in other words, speed 9600 bps, 8 data bits, no parity, 1 stop bit. Neither RTS/CTS nor XON/XOFF handshaking seems to be enabled at the HA system side, so you should set Handshaking to None at the HyperTerminal side.
Your console is not taking any input... but did it show any output after the boot?
What does "ps -ft ttyMM0" report?
What does "grep getty /etc/inittab" report?
Please tell us the manufacturer and model of your HA system. At this point it's fairly obvious it might not be a HP product. That's all right, we won't stop helping you because of that. It's just that some PowerPC-specific forum might have more people that know the details about your hardware model.
> I am connecting CONSOLE PORT(mini db9) on HA to 9 pin male serial port on winows baes laptop....
Thanks, but without knowing the make and model of the hardware of your HA system this information does not help much.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2008 08:54 AM
тАО10-05-2008 08:54 AM
Re: serial console hangs
Thanks for support.
>>Your console is not taking any input... but did it show any output after the boot?
yep, It's showing all the process starting from POST to login screen. Even we cant go into single user mode.
>>What does "ps -ft ttyMM0" report?
>>What does "grep getty /etc/inittab" report?
root@F101-SLOT-1:~# ps -ft ttyMM0
UID PID PPID C STIME TTY TIME CMD
root 7611 1 0 Dec03 ttyMM0 00:00:00 /sbin/getty console
root@F101-SLOT-1:~# grep getty /etc/inittab
# should replace it with the proper getty lines below.
con:2345:respawn:/sbin/getty console
# /sbin/getty invocations for the runlevels.
#1:2345:respawn:/sbin/getty 38400 vc/1
#2:23:respawn:/sbin/getty 38400 vc/2
#3:23:respawn:/sbin/getty 38400 vc/3
#4:23:respawn:/sbin/getty 38400 vc/4
#5:23:respawn:/sbin/getty 38400 vc/5
#6:23:respawn:/sbin/getty 38400 vc/6
#1:2345:respawn:/sbin/getty 38400 tty1
#2:23:respawn:/sbin/getty 38400 tty2
#3:23:respawn:/sbin/getty 38400 tty3
#4:23:respawn:/sbin/getty 38400 tty4
#5:23:respawn:/sbin/getty 38400 tty5
#6:23:respawn:/sbin/getty 38400 tty6
# Example how to put a getty on a serial line (for a terminal)
#T0:23:respawn:/sbin/getty -L tts/0 9600 vt100
#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100
# Example how to put a getty on a modem line.
#T3:23:respawn:/sbin/mgetty -x0 -s 57600 tts/3
#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3
>>Please tell us the manufacturer and model of your HA system.
Yes it's not HP product. It's ATCA chassis (AXP 1406)having two SCXB(a.k.a. system controller) works on 2N redundency model.
Thanks,
MKS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2008 11:35 PM
тАО10-06-2008 11:35 PM
Solutionroot@F101-SLOT-1:~# ps -ft ttyMM0
UID PID PPID C STIME TTY TIME CMD
root 7611 1 0 Dec03 ttyMM0 00:00:00 /sbin/getty console
The getty process *is* currently running for the console, and it has been running for quite a while (since December 3)...
root@F101-SLOT-1:~# grep getty /etc/inittab
# should replace it with the proper getty lines below.
con:2345:respawn:/sbin/getty console
...and the inittab file has a console entry, which matches the getty process listed above.
Try this:
1.) Connect the laptop and start the terminal emulator program, using the same settings you used to see the POST output
2.) While the laptop is connected, access the machine through the network and kill the getty process for the console (based on the commands listed above, the correct command would be "kill 7611").
3.) Whenever the getty process is killed, init should automatically restart it. When the getty process restarts, it will reset the serial port, clearing out possible problem situations. It will also output the text of the /etc/issue file to the serial port, so you should see it on the laptop's screen.
If this works, we have confirmed that the getty process can send data to the laptop, and the serial port parameters used by the getty process match the configuration of the laptop.
If the problem was not cleared up by the restart of the getty process, the problem would seem to be in receiving the input from the laptop.
Has the serial port of this same laptop ever been used successfully in this task before? Some laptops' serial port signal output is rather weak (to minimize battery power consumption). Some devices will ignore weak signals. You might have found a combination that does not work together.
Try with a different laptop (or with a desktop, if possible - they're more likely to have good, strong serial port signals).
Is the cable physically OK? Sharp kinks in the cable may have damaged some of the wires inside. Test the cable with another system, if possible. Also check the connectors for bent or otherwise damaged pins.
And at last, the worst case... it *is* possible that the input side of the HA system's serial port is burnt out by static electricity. If the laptop & cable can successfully be used to communicate with other similar devices, but not with *this* particular unit, then this would seem likely.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2008 04:22 AM
тАО10-09-2008 04:22 AM
Re: serial console hangs
thanks a lot for continuous support.
Regards,
MKS