Date: Fri, 15 Mar 2013 11:00:01 GMT From: Oleg Yurkivskyy <oleg@realnet.com.ua> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/166805: Winbond W83627DHG-P serial console hang Message-ID: <201303151100.r2FB01X2012120@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR kern/166805; it has been noted by GNATS.
From: Oleg Yurkivskyy <oleg@realnet.com.ua>
To: bug-followup@FreeBSD.org, yoitsmeremember@gmail.com
Cc:
Subject: Re: kern/166805: Winbond W83627DHG-P serial console hang
Date: Fri, 15 Mar 2013 12:48:01 +0200
This is a multi-part message in MIME format.
--------------060200040905000701040504
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
There is a workaround for this problem.
Just add
hint.apic.0.disabled="1"
into /boot/device.hints or /boot/loader.conf in order to disable APIC
support (see man apic) and enable legacy PIC driver.
The problem itself has something to do with invalid interrupt config on
Intel D2500CC (or similar).
Legacy atpic driver just ignores incorrect settings for interrupt
handling (
trig == INTR_TRIGGER_EDGE && pol == INTR_POLARITY_LOW) || (trig == INTR_TRIGGER_LEVEL && pol == INTR_POLARITY_HIGH
)
while apic forcing these incorrect settings, resulting interrupts not
being handled properly.
--------------060200040905000701040504
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
There is a workaround for this problem.<br>
Just add<br>
<br>
hint.apic.0.disabled="1"<br>
<br>
into /boot/device.hints or /boot/loader.conf in order to disable
APIC support (see man apic) and enable legacy PIC driver.<br>
<br>
The problem itself has something to do with invalid interrupt config
on Intel D2500CC (or similar).<br>
Legacy atpic driver just ignores incorrect settings for interrupt
handling (
<pre><font color="#2040a0">trig</font> <font color="4444FF">=</font><font color="4444FF">=</font> <font color="#2040a0">INTR_TRIGGER_EDGE</font> <font color="4444FF">&</font><font color="4444FF">&</font> <font color="#2040a0">pol</font> <font color="4444FF">=</font><font color="4444FF">=</font> <font color="#2040a0">INTR_POLARITY_LOW</font><font color="4444FF">)</font> <font color="4444FF">|</font><font color="4444FF">|</font> <font color="4444FF">(</font><font color="#2040a0">trig</font> <fon t color="4444FF">=</font><font color="4444FF">=</font> <font color="#2040a0">INTR_TRIGGER_LEVEL</font> <font color="4444FF">&</font><font color="4444FF">&</font> <font color="#2040a0">pol</font> <font color="4444FF">=</font><font color="4444FF">=</font> <font color="#2040a0">INTR_POLARITY_HIGH</font></pre>
)<br>
<br>
while apic forcing these incorrect settings, resulting interrupts
not being handled properly.<br>
</body>
</html>
--------------060200040905000701040504--
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303151100.r2FB01X2012120>
