From owner-freebsd-bugs@freebsd.org Tue Jul 21 18:12:17 2015 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CB48B9A7CCA for ; Tue, 21 Jul 2015 18:12:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 976E719C5 for ; Tue, 21 Jul 2015 18:12:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t6LICHrR066908 for ; Tue, 21 Jul 2015 18:12:17 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200744] serial driver issue under dell r220 Date: Tue, 21 Jul 2015 18:12:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: paul@ifdnrg.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2015 18:12:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D200744 --- Comment #3 from paul@ifdnrg.com --- This was due to an ACPI bug in r220's Marcel Moolenaar provided me with a fix which is: -BIOS- Serial Communication Serial Port Address External Serial Connector =20 -FreeBSD- adding the following line to /boot/loader.conf: hw.uart.console=3D"io:0x2f8,br:57600" ..... >From the looks of it, you have a BIOS bug. In particular a bug in the ACPI = AML (you can dump the ACPI AML with acpidump -d). If I understand it correctly = then the first 2 serial devices (UAR1 and UAR2) have the same H/W registers. What this boils down to is that the kernel only works with 1 serial port (UAR1), which ends up having the H/W configuration of the second serial port (UAR2). With the BIOS redirecting to COM1 (which is H/W address 0x3f8) and serial device 1 assigned to COM1 *and* serial device assigned to the serial port on the chassis, the kernel had no chance to present a login prompt. I worked around the problem by reconfiguring the BIOS so that COM2 (which is H/W address 0x2f8) is assigned to serial port 1 and the BIOS redirecting to COM2. What this does is have COM2 connected to the serial port on the chass= is. So, even though I suspect that the kernel thinks it=E2=80=99s talking to th= e first serial port, it=E2=80=99s actually talking to the second serial port (due t= o the ACPI/BIOS bus). --=20 You are receiving this mail because: You are the assignee for the bug.=