mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Helge Hafting <helgehaf@aitel.hist.no>
To: Robbert Kouprie <robbert@radium.jvb.tudelft.nl>,
	linux-kernel@vger.kernel.org
Cc: helge.hafting@broadpark.no
Subject: Re: The buggy APIC of the Abit BP6
Date: Thu, 13 Jun 2002 11:05:02 +0200	[thread overview]
Message-ID: <3D08603E.91DE5C75@aitel.hist.no> (raw)
In-Reply-To: <000201c21261$3a8fde70$020da8c0@nitemare>

Robbert Kouprie wrote:
> 
> Hi all,
> 
> First of all, I know the Abit BP6 is infamous about its APIC, but I
> would like to make sure there's absolutely no solution for this except
> disabling the APIC.
> 
> I am experiencing problems for a long time now, which are always related
> to the NIC in the box (probably due the being a device that generates a
> lot of interrupts). The NIC has changed a couple of times (from 3com 10
> Mbit to Intel eepro100 to 3Com PCI 3c905B Cyclone 100baseTx now), and
> it's NOT placed in the infamous (I believe 3rd) PCI slot of the board
> (mentioned in the manual). Also, /proc/interrups shows NO sharing with
> another device. The running kernel is 2.4.19-pre8-ac5 SMP, though many
> kernels have preceded it, with the same results.
> 
> The problems appear once in a while (in order of days/weeks). They are
> always interluded with an "unexpected IRQ trap at vector 7d", and then
> followed within a minute by chaos in the network driver. I found the
> message of the 3com driver to be the most clear one, see the snippet
> below. When I boot with "noapic", the problems go away.
> 
> Is there a solution that does not require disabling the APIC as a whole
> or is this just too flaky hardware?
> 
> Thanks in advance,
> - Robbert Kouprie
> 
> PS. Please CC me in answers, as I'm not on the list.
> 
> Jun 12 23:47:56 radium kernel: unexpected IRQ trap at vector 7d
> Jun 12 23:47:56 radium kernel: unexpected IRQ trap at vector 7d

It _can_ be solved - rebooting cures it, so assuming the problem
is autodetectable it _can_ be solved by doing whatever it is
a reboot (or driver reload) does to the APIC.

My guess is that the APIC setup for that IRQ have to be reprogrammed.
you could do that as a quirk for the BP6. 
The first question is if there is a reliable way to detect this
condition.  "No interrupts from a device" could simply mean that
it isn't used much at the time.  You get a unexpected IRQ trap - do
the problem always manifest itself this way?
The second question is if all the PCI card drivers out there
survive a lost interrupt handled outside the driver.  
If not, you have to close+reopen the device, and that involves
userspace.
A network card will need reinitialization, a disk controller
remounting...


Helge Hafting

  reply	other threads:[~2002-06-13  9:05 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-12 22:33 Robbert Kouprie
2002-06-13  9:05 ` Helge Hafting [this message]
2002-06-13 13:30   ` Robbert Kouprie
2002-06-14 10:54     ` Helge Hafting
2002-06-18 15:30       ` Robbert Kouprie
2002-06-18 15:17         ` Zwane Mwaikambo
2002-06-19 12:47         ` Maciej W. Rozycki
2002-06-19 13:23           ` Robbert Kouprie
2002-06-19 14:03             ` Keith Owens
2002-06-19 14:35               ` Maciej W. Rozycki
2002-06-20  1:50               ` Robbert Kouprie
2002-06-19 14:22             ` Maciej W. Rozycki
2002-06-20 12:21           ` Helge Hafting
2002-06-20 13:10             ` Maciej W. Rozycki
2002-06-21 13:02               ` Helge Hafting
2002-06-20 22:29             ` Kevin Krieser
2002-06-14 15:07 ` Raphael Manfredi
2002-06-14 16:49 Robbert Kouprie
2002-06-14 18:41 ` Raphael Manfredi
2002-06-18  7:33   ` Helge Hafting
2002-06-18  9:53 Robbert Kouprie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D08603E.91DE5C75@aitel.hist.no \
    --to=helgehaf@aitel.hist.no \
    --cc=helge.hafting@broadpark.no \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robbert@radium.jvb.tudelft.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®