Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: Bill Marcum Newsgroups: comp.os.linux.setup Subject: Re: Serial console to RHEL6 on Dell R310? Date: Tue, 14 Jun 2011 16:20:58 -0400 Organization: PWN - Penguins With Nukes Lines: 53 Message-ID: References: <2igic8-kcu.ln1@squidward.dionic.net> NNTP-Posting-Host: hu9+AJUrDIpTZQP/ppX2xg.user.speranza.aioe.org X-Complaints-To: abuse@aioe.org User-Agent: slrn/pre1.0.0-18 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Xref: x330-a1.tempe.blueboxinc.net comp.os.linux.setup:521 On 2011-06-14, Jeremiah DeWitt Weiner wrote: > Tim Watts wrote: >> Has linux (well, udev) made you a /dev/ttyS0 or /dev/ttyS1 device? > > Yes, the devices are there. > > crw-------. 1 root root 4, 64 Jun 13 17:20 /dev/ttyS0 > crw-------. 1 root root 4, 65 Jun 13 17:18 /dev/ttyS1 > > >> Next I'd try >> bash < /dev/ttyS0 > /dev/ttyS0 2>&1 >> and see if there's life at the other end. > > Nothing there. The agetty is running - > PID TTY STAT TIME COMMAND > 1650 ttyS0 Ss+ 0:00 /sbin/agetty /dev/ttyS0 9600 vt100-nav > - but I get nothing back when running that shell. > > >> stty -a < /dev/ttyS0 >> should give you the current serial config. > > That looks OK...not going to retype the whole thing, but: > speed 9600 baud; rows 0; columns 0; line = 0; > - the rest looks pretty normal. > > Now here is the really weird thing...connecting ttyS0 on the target > server to the console port of one of our network switches (with the getty > still running on the server!) and running minicom, I hit Enter a couple > times and see: > > ServerIronADX 1000> > ServerIronADX 1000>Red Hat Enterprise Linux Server release 6.1 (Santiago) > Invalid input > > and then further intermixed switch login prompts, server login prompts, > and error messages from both devices. So the server _is_ outputting a > login prompt on the serial console! But then why doesn't it show up > anywhere else? This is breaking my brain. All I can think of is that > there's some misconfiguration somewhere, but some of the hardware is > also doing some autocorrection or something...crazy, but I'm kind of out > of other ideas. > Are you running minicom on the same port that getty is running on? Run it through a null modem cable to another port or another machine. Depending what you're using as a serial terminal, maybe you can use pppd instead. -- Linux and Windows both win. Best Documentary Feature: March of the Penguins Best Picture: Crash