[rescue] 7043-260 serial console help - no login prompt
Scott Mickey
mickey at denver.net
Thu Aug 30 14:25:32 CDT 2007
No success yet. An update:
Sridhar,
This machine has no graphics card.
Just the serial cable on tty0 (serial 1), and an ethernet cable en0.
bear,
I do have a RS232 tester with the red and green lights.
I will connect it after exhausting the AIX OS software solutions
being sent to me, as this could be the problem.
Pat,
I ran `chcons` and rebooted:
# chcons -a login=enable /dev/tty0
chcons: console login enabled, effective on next system boot
chcons: console assigned to: /dev/tty0, effective on next system boot
(reboot)
# lscons
/dev/tty0
# lsattr -El tty0 -a logmodes -a runmodes
logmodes hupcl,cread,echoe,cs8 STTY attributes for LOGIN True
runmodes hupcl,cread,brkint,icrnl,opost,tab3,onlcr,isig,icanon,echo,echoe,echok,echoctl,echoke,imaxbel,iexten STTY attributes for RUN time True
# cat /etc/inittab | fgrep 'cons:'
cons:0123456789:respawn:/usr/sbin/getty /dev/console
The output from `lsattr -El tty0 -a logmodes -a runmodes` does
not have 'clocal' in it. What `chdev` command should I run to
fix this?
Thanks to everyone for the suggestions.
Scott Mickey
-------- Original Message --------
From: Sridhar Ayengar <ploopster at gmail.com>
Is there a graphics card in the machine? Is there a keyboard and/or
mouse and/or tablet attached?
Peace... Sridhar
-------- Original Message --------
From: "r.stricklin" <bear at typewritten.org>
This will happen if you don't have flow control on your cable or
terminal (DSR/DTR/DCR/CD).
Get yourself a "christmas tree tester" from Radio Shack and double
check your port on the terminal server is configured with hardware
flow control.
I am unsure what the minimum is in terms of which lines it's actually
looking at. Do 'em all. It'll start working.
ok
bear
-------- Original Message --------
From: Patrick Finnegan <pat at computer-refuge.org>
What does 'lsattr -El tty0 -a logmodes -a runmodes' say? They should
both have 'clocal' in them. Also, check that there's a line
in /etc/inittab, to run a getty on /dev/console, like this one:
cons:0123456789:respawn:/usr/sbin/getty /dev/console
You might try to do "chcons -a login=enable /dev/tty0", as well.
Pat
-------- Original Message --------
Subject: [rescue] 7043-260 serial console help - no login prompt
Date: Thu, 30 Aug 2007 12:02:10 -0600
From: Scott Mickey <mickey at denver.net>
Wise Rescuers,
I have an IBM 7043-260 (headless), with a 9600-8-N-1 serial cable on tty0.
Installation of AIX 5.2 goes fine using the serial console, and after
install I am able to telnet into the box OK. However, I get no login
prompt on the serial cable console.
The terminal server hardware I'm using works OK with all Sun SPARC and
HP PA-RISC machines, and OK with the IBM 7043-260 during install. It
appears the IBM serial port changes it's behavior after AIX 5.2 boots.
This web page says this is the case, anyway:
http://www.linuxquestions.org/questions/showthread.php?t=314384
I would like to have login access on the serial port in case I ever
fat finger an `ifconfig` command and loose network access. I have tried
a few things, as shown below, but no success yet. Your help is much
appreciated.
On the console at boot:
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 STARTING SOFTWARE RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 PLEASE WAIT... RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
-
-------------------------------------------------------------------------------
Welcome to AIX.
boot image timestamp: 04:17 08/23
The current time and date: 15:34:56 08/30/2007
number of processors: 2 size of memory: 4096Mb
boot device: /pci at fef00000/scsi at c/sd at 8:2
closing stdin and stdout...
-------------------------------------------------------------------------------
Saving Base Customize Data to boot disk
Starting the sync daemon
Starting the error daemon
System initialization completed.
Starting Multi-user Initialization
Performing auto-varyon of Volume Groups
Activating all paging spaces
0517-075 swapon: Paging device /dev/hd6 is already active.
****************
****************
Performing all automatic mounts
1+0 records in.
1+0 records out.
Multi-user initialization completed
Checking for srcmstr active...complete
Starting tcpip daemons:
0513-059 The syslogd Subsystem has been started. Subsystem PID is 114922.
0513-059 The portmap Subsystem has been started. Subsystem PID is 73806.
0513-059 The inetd Subsystem has been started. Subsystem PID is 118956.
Finished starting tcpip daemons.
Starting NFS services:
0513-059 The biod Subsystem has been started. Subsystem PID is 172120.
0513-059 The rpc.statd Subsystem has been started. Subsystem PID is 151640.
0513-059 The rpc.lockd Subsystem has been started. Subsystem PID is 139348.
Completed NFS services.
-Then no more output, until shutdown. No login prompt. No response to keypress.
If I telnet in, everything is working OK.
These commands put the word test on the console:
# echo "test" > /dev/console
# echo "test" > /dev/tty0
test
test
_
# lscons
/dev/tty0
# ps -ef | fgrep getty | fgrep -v fgrep
root 159842 1 0 10:39:08 - 0:00 /usr/sbin/getty /dev/console
# lsattr -El tty0 -a login
login disable Enable LOGIN True
One web page I found says this needs to read:
login enable Enable LOGIN True
# smit -C chgtty
Changed:
Enable LOGIN from "disable" to "enable".
# lsattr -El tty0 -a login
login enable Enable LOGIN True
No response to a keypress on the console. No login prompt.
Tried changing -clocal to clocal:
# stty -a < /dev/console
speed 9600 baud; 0 rows; 0 columns;
eucw 1:1:0:0, scrw 1:1:0:0:
intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^A; eol = ^@
eol2 = ^?; start = ^Q; stop = ^S; susp = ^Z; dsusp = ^Y; reprint = ^R
discard = ^O; werase = ^W; lnext = ^V
-parenb -parodd cs8 -cstopb hupcl cread -clocal -parext
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -iuclc
ixon -ixany ixoff -imaxbel
-isig -icanon -xcase -echo echoe -echok -echonl -noflsh
-tostop -echoctl -echoprt -echoke -flusho -pending -iexten
-opost -olcuc -onlcr -ocrnl -onocr -onlret -ofill -ofdel
# stty clocal < /dev/console
# stty -a < /dev/console
speed 9600 baud; 0 rows; 0 columns;
eucw 1:1:0:0, scrw 1:1:0:0:
intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^A; eol = ^@
eol2 = ^?; start = ^Q; stop = ^S; susp = ^Z; dsusp = ^Y; reprint = ^R
discard = ^O; werase = ^W; lnext = ^V
-parenb -parodd cs8 -cstopb hupcl cread clocal -parext
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -iuclc
ixon -ixany ixoff -imaxbel
-isig -icanon -xcase -echo echoe -echok -echonl -noflsh
-tostop -echoctl -echoprt -echoke -flusho -pending -iexten
-opost -olcuc -onlcr -ocrnl -onocr -onlret -ofill -ofdel
Still no response to a keypress on the console. No login prompt.
Instead of modifying parameters on the 7043-260, should I be changing
how `tip` connects to the machine? My terminal server is a
Solaris x86 machine with a Digi Xem PCI card that connects to two
Digi Ports/16em boxes, for 32 serial ports total. I run
`tip -9600 /dev/dty/b012s` to connect to the 7043-260 and run the
AIX 5.2 OS installation. I believe all RS232 wires are present to
support hardware flow control. I am logging into the Solaris x86
terminal server machine using SecureCRT in vt100 mode. I selected
vt100 as the console type during the AIX 5.2 install.
Any suggestions are welcome. I will post a summary.
Scott Mickey
-------- Original Message --------
Subject: Re: [rescue] 7044-170 won't boot CD (sorta)
Date: Thu, 30 Aug 2007 07:48:08 -0400
From: Eric Webb <ttlchaos at randomc.com>
Right, this is exactly what I was expecting to find... the gfx adapter is a
1-V (GXT4000P) and the box was running 4.3.3 already. I'll throw a serial
cable on it tonight and see what happens.
-E.
More information about the rescue
mailing list