From owner-freebsd-questions@FreeBSD.ORG Thu Nov 8 14:31:18 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F0C682D1 for ; Thu, 8 Nov 2012 14:31:18 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 93AD68FC0C for ; Thu, 8 Nov 2012 14:31:18 +0000 (UTC) Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 12C753A384A; Thu, 8 Nov 2012 21:20:46 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= references:subject:subject:in-reply-to:from:from:message-id:date :date:received:received:received; s=selector1; t=1352384445; x= 1354198846; bh=FIMtoUVlyLYDbokSoHEcdiM3ekKyLzvQqWIJ6EM56Yc=; b=C B8OUoH2L8R0Ff3hcQr9DOeuVmTNmD3DmSKuYnQ08cflTa/jV8M8HzWNfxM/OUbWq 8K+wKx6pkeCqpjy14yaUSRACPQ2lrt6/oOnxDcImDUlaEamm7ru8Qpd0EyfrmOtD 7Qf+as9GmH3MLSguFzB8HBI7iNZKMiiJi7IjzmUwEo= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by mail.cs.ait.ac.th (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id EbZI8Z7tibme; Thu, 8 Nov 2012 21:20:45 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id AA9743A383C; Thu, 8 Nov 2012 21:20:45 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.5/8.14.5/Submit) id qA8EKjYN043765; Thu, 8 Nov 2012 21:20:45 +0700 (ICT) (envelope-from on) Date: Thu, 8 Nov 2012 21:20:45 +0700 (ICT) Message-Id: <201211081420.qA8EKjYN043765@banyan.cs.ait.ac.th> From: Olivier Nicole To: vmiller@hostileadmin.com In-reply-to: (message from Rick Miller on Thu, 8 Nov 2012 09:08:17 -0500) Subject: Re: Fault in Terminal Server causing server to hang on boot? References: Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2012 14:31:19 -0000 Rick, > I'm reaching out in hopes that someone may have seen something similar > and can shed some light. Consider an HP DL360p G8 with FreeBSD > 8.3-RELEASE-p4, serial port cabled to a Cisco 2800 series terminal > server. Console is configured in the following manner: > > /boot/loader.conf: console="comconsole" > /etc/ttys: ttyu0 "/usr/libexec/getty std.9600" vt100 on secure > > The system hangs at boot while the terminal server is cabled to the > serial port. Output is displayed on the video console to the point > that loader loads /boot/loader.conf. The system freezes. I have no > visibility into the terminal server configuration or port which the > hardware is cabled, but as soon as the serial cable is pulled from the > serial port, the system resumes booting and is remotely accessible > (via ssh) when it has come up. > > Attached to a different terminal server (same model), the system boots > fine. Not sure what the fault is on the terminal server. What > possible conditions would cause the system to freeze while the serial > port is attached? Why would loader care about these conditions? The > desired result would be that the system boots completely despite any > fault with the terminal server. Obviously the port on both terminal servers are not configured the same way. There is a number of configuration that can apply to a serial port: speed, flow control, readiness, etc. Can you boot with your server attached to the working terminal server and then change to the other terminal server? What would it do? If you were asked to connect to a terminal server and not given the way to configure it, just refuse to use the one that is not working. That should be the guy with the password to the terminal server who should help to reconfigure the port. Best regards, olivier