From owner-freebsd-bugs@FreeBSD.ORG Tue Dec 15 20:50:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3887D106568B for ; Tue, 15 Dec 2009 20:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F16F08FC17 for ; Tue, 15 Dec 2009 20:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBFKo1d6065259 for ; Tue, 15 Dec 2009 20:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBFKo1TQ065258; Tue, 15 Dec 2009 20:50:01 GMT (envelope-from gnats) Resent-Date: Tue, 15 Dec 2009 20:50:01 GMT Resent-Message-Id: <200912152050.nBFKo1TQ065258@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jonathan Call Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0FDF1065782 for ; Tue, 15 Dec 2009 20:43:00 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 912768FC19 for ; Tue, 15 Dec 2009 20:43:00 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nBFKh0Y5048455 for ; Tue, 15 Dec 2009 20:43:00 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nBFKh07R048454; Tue, 15 Dec 2009 20:43:00 GMT (envelope-from nobody) Message-Id: <200912152043.nBFKh07R048454@www.freebsd.org> Date: Tue, 15 Dec 2009 20:43:00 GMT From: Jonathan Call To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/141655: Serial Console failure on Dell servers X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2009 20:50:02 -0000 >Number: 141655 >Category: misc >Synopsis: Serial Console failure on Dell servers >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 15 20:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Jonathan Call >Release: FreeBSD 7.2 >Organization: >Environment: FreeBSD eng20.newthk02.hk.mycompany.net 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #1: Tue Oct 13 03:50:52 UTC 2009 root@master1.mycompany.net:/usr/obj/usr/src/sys/ENG0 i386 FreeBSD eng0.newthk02.hk.mycompany.net 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Fri Oct 16 17:54:50 UTC 2009 root@eng0.newthk02.hk.mycompany.net:/usr/obj/usr/src/sys/ENG0 amd64 >Description: Tty/login access on the serial console of Dell models 2950 and R710 stops working immediately after a single login session over the console. Sending a seems to temporarily resolve the issue long enough to log in, but the issue will immediately return once the session is ended. >How-To-Repeat: Configure a Dell 2950 or R710 with FreeBSD 7.2 for serial console using the Handbook instructions. Reboot the server. Log in using the serial console. Log out. The serial console will stop responding until you hit . >Fix: I found this on the Internet and I tried it. It worked in our lab: *** /usr/src/sys/dev/sio/sio.c Wed Apr 15 03:14:26 2009 --- sio.c Tue Dec 15 20:31:48 2009 *************** *** 2077,2086 **** --- 2077,2087 ---- com = tp->t_sc; if (com == NULL || com->gone) return; mtx_lock_spin(&sio_lock); + DELAY(250000); if (rw & FWRITE) { if (com->hasfifo) #ifdef COM_ESP /* XXX avoid h/w bug. */ if (!com->esp) >Release-Note: >Audit-Trail: >Unformatted: