Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jul 2015 18:12:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 200744] serial driver issue under dell r220
Message-ID:  <bug-200744-8-JDmY7JG8nW@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-200744-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-200744-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <On with Console Redirection via COM2>
Serial Port Address <Serial Device1=3DCOM2,Serial Device2=3DCOM1>
External Serial Connector <Serial Device 1>=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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200744-8-JDmY7JG8nW>