kern/166805: Winbond W83627DHG-P serial console hang
Oleg Yurkivskyy
oleg at realnet.com.ua
Fri Mar 15 11:00:03 UTC 2013
The following reply was made to PR kern/166805; it has been noted by GNATS.
From: Oleg Yurkivskyy <oleg at realnet.com.ua>
To: bug-followup at FreeBSD.org, yoitsmeremember at 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--
More information about the freebsd-bugs
mailing list