From owner-freebsd-stable@FreeBSD.ORG Mon Apr 18 18:34:55 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 150D4106567F for ; Mon, 18 Apr 2011 18:34:55 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id A71598FC23 for ; Mon, 18 Apr 2011 18:34:54 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 5988446B39; Mon, 18 Apr 2011 14:34:54 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id EC43A8A027; Mon, 18 Apr 2011 14:34:53 -0400 (EDT) From: John Baldwin To: Przemyslaw Frasunek Date: Mon, 18 Apr 2011 14:30:13 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110325; KDE/4.5.5; amd64; ; ) References: <4DA4A96F.9000507@frasunek.com> <201104180924.12219.jhb@freebsd.org> <4DAC7373.7030209@frasunek.com> In-Reply-To: <4DAC7373.7030209@frasunek.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201104181430.13886.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Mon, 18 Apr 2011 14:34:54 -0400 (EDT) Cc: freebsd-stable@freebsd.org Subject: Re: Missing serial port after enabling serial console in loader.conf X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2011 18:34:55 -0000 On Monday, April 18, 2011 1:22:59 pm Przemyslaw Frasunek wrote: > > 1) Add a printf to sioprobe() in sys/dev/sio/sio.c to output an error message > > when it fails to allocate a SYS_RES_IOPORT device at the very beginning. > > Done. I'll need to wait until next reboot - it's a production box, so it has to > be done in night hours. > > > 2) Capture 'acpidump -d' output and post it somewhere? > > http://www.frasunek.com/tmp/acpidump.txt Hmm, I think we have the answer: Device (UAR1) { Name (_HID, EisaId ("PNP0501")) Name (_UID, 0x01) Method (_STA, 0, NotSerialized) { If (SOLE) { Return (0x00) } The _STA method is used to query a device's status, and a status of 0 means that the device is disabled. I believe that this means that when you have SOL enabled (SOLE?) that COM1 is marked inactive so the OS ignores the device. -- John Baldwin