From owner-freebsd-i386@FreeBSD.ORG Tue May 11 00:19:21 2004 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD65016A4CE; Tue, 11 May 2004 00:19:21 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8385443D45; Tue, 11 May 2004 00:19:21 -0700 (PDT) (envelope-from bde@FreeBSD.org) Received: from freefall.freebsd.org (bde@localhost [127.0.0.1]) i4B7JLDZ097912; Tue, 11 May 2004 00:19:21 -0700 (PDT) (envelope-from bde@freefall.freebsd.org) Received: (from bde@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4B7JLWF097908; Tue, 11 May 2004 00:19:21 -0700 (PDT) (envelope-from bde) Date: Tue, 11 May 2004 00:19:21 -0700 (PDT) From: Bruce Evans Message-Id: <200405110719.i4B7JLWF097908@freefall.freebsd.org> To: Thorsten.Kuehnemann@Hamburg.de, bde@FreeBSD.org, freebsd-i386@FreeBSD.org Subject: Re: i386/55930: partly configured serial port freezes system X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2004 07:19:22 -0000 Synopsis: partly configured serial port freezes system State-Changed-From-To: open->analyzed State-Changed-By: bde State-Changed-When: Mon May 10 23:52:00 PDT 2004 State-Changed-Why: This is most likely caused by setting the device flag 0x10 on the unconfigured sio0 port. The device flag 0x10 is more than a hint; it forces the last sio port with this bit set to be the preferred serial console (if there is a serial console), and the probe is forced to succeed for the preferred serial console (whether or not this is the actual console). If the preferred serial console is the actual console, then the system tends to hang printing the first boot message to it. Otherwise the system tends to hang later if the port is accessed from userland. Unfortunately, setting the device flag 0x10 on sio0 is the default. The problem is rarely seen because an sio0 port at address 0x3F8 used to be standard hardware, so it took unconfiguring this port to cause the problem. This problem is indicated by the "type 8250 or not responding" message. The "configured irq N not in bitmap" message is normal for ports that are detected to be not there. This message should not be printed if the probe fails (except when booting with -v so that the reasons for the failure are printed). Related problem: the preferred serial console is documented to be the first port (in config file order) with 0x10 set in its flags, but it actually the last such port (in unit number order). See also PR 33963. http://www.freebsd.org/cgi/query-pr.cgi?pr=55930