Red Hat Bugzilla – Bug 139093
redhat-ready: hangs opening /dev/stdout on serial console w/ r3u4/r4b1/r4b2
Last modified: 2008-07-17 18:04:27 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030925
Description of problem:
Running redhat-ready on the serial console (ttyS1) hangs on r3u4 (see
the attached strace -f file). The problem seems to be that the open of
/dev/stdout is hanging. This can be recreated simply by
echo ha > /dev/stdout
This same simple hang occurs on r4b1 in the serial console (ttyS1).
Note that the bios console redirect feature is in use.
Here is an example grub.conf file:
# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda2
# initrd /initrd-version.img
#serial --unit=1 --speed=9600
#terminal --timeout=10 serial console
title Red Hat Enterprise Linux AS (2.4.21-21.ELsmp)
kernel /vmlinuz-2.4.21-21.ELsmp ro root=LABEL=/
XXX: provide output of lspci -V command
Nov 4 07:42:50 cob-dhcp-145 kernel: Serial driver version 5.05c
(2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
Nov 4 07:42:50 cob-dhcp-145 kernel: ttyS0 at 0x03f8 (irq = 4) is a 16550A
Nov 4 07:42:50 cob-dhcp-145 kernel: ttyS1 at 0x02f8 (irq = 3) is a 16550A
Nov 4 07:43:18 cob-dhcp-145 login(pam_unix): session opened for
user root by LOGIN(uid=0)
Nov 4 07:43:18 cob-dhcp-145 -- root: DIALUP AT ttyS1 BY root
Nov 4 07:43:18 cob-dhcp-145 -- root: ROOT LOGIN ON ttyS1
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. setup serial console on ttyS1 and telnet to it
2. install rhr2 rpms
3. run 'redhat-ready' and will see no output of the script.
Expected Results: expects to see output/menu of redhat-ready script.
if i ssh into the same system then output of redhat-ready will be
should be fixed asap since the network test portion of rhr2 can only
be run in serial console mode to keep the current status of the screen
Created attachment 106609 [details]
trace of serial console hang in ttyS1
when logged into the serical console; will ssh'ing to localhost then
running the tests work correctly?
ssh'ing to localhost then running 'redhat-ready' test script works
correctly. is this a workaround for now?
if it's holding up a cert; yes use this work around, though it should
not be the perm. fix.
Is this still an issue? Assuming so, I would guess that we need to open a
bugzilla on serial console redirection for IA-64 or move this bug to RHEL/kernel.
Yes, this is still an issue. ssh isn't a workaround, as network tests bring the
interface up and down.
The issue has been seen with x86 and x86-64 systems, so it is probably not
architecture specific. I agree we should move it to where it will get attention.
It may not be related to the serial console, just the tty driver.
re: ssh - hmm. the network test should not be bringing down the loop interface
so an ssh to 127.0.0.1 from the serial console should work AFAIK. Is this not
rhr2 has been deprecated, closing these remaining bugs as WONTFIX. Future bugs
against the "hts" test suite should be opened agains the "Red Hat Hardware
Certification Program" product selecting either "Test Suite (harness)" or "Test
Suite (tests)" components.