public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: James Courtier-Dutton <James-l7zRWeYnyd2TY6FTCsQk+9Bc4/FLrbF6@public.gmane.org>
To: Andi Kleen <ak-l3A5Bk7waGM@public.gmane.org>
Cc: Len Brown <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	HurryLin-6hSdJfI2Hxp9nmWX13WWKA@public.gmane.org,
	ACPI Developers
	<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>,
	DreamKu-6hSdJfI2Hxp9nmWX13WWKA@public.gmane.org,
	StephenChen-6hSdJfI2Hxp9nmWX13WWKA@public.gmane.org,
	PearHuang-6hSdJfI2Hxp9nmWX13WWKA@public.gmane.org,
	NormanChung-6hSdJfI2Hxp9nmWX13WWKA@public.gmane.org,
	KenCho-6hSdJfI2Hxp9nmWX13WWKA@public.gmane.org
Subject: Re: Re: SuSE AMD x86-64 bits installation issue
Date: Fri, 07 Nov 2003 13:07:56 +0000	[thread overview]
Message-ID: <3FAB992C.7000800@superbug.demon.co.uk> (raw)
In-Reply-To: <20031107111339.GA4877-B4tOwbsTzaBolqkO4TVVkw@public.gmane.org>

Andi Kleen wrote:

> 
> The symptom is when IO-APIC is enabled the system does not boot and 
> hangs early in some device driver like IDE. With IO-APIC disabled you obviously
> get a very different /proc/interrupts.
> 
> -Andi
> 
> 
I think I have a solution for the VIA IO-APIC failure. But I don't have 
a VIA motherboard to test it on, so if anyone would like to work with 
me, I think I could fix it.
My current theory is that it has to do with: -
Faulty Motherboards/Bios give: -
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 pin1=2 pin2=-1
..MP-BIOS bug: 8254 timer not connected to IO-APIC
...trying to set up timer (IRQ0) through the 8259A ...  failed.
...trying to set up timer as Virtual Wire IRQ... works.
testing the IO APIC.......................
.................................... done.

Good Motherboards/Bios give: -
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 pin1=2 pin2=0
number of MP IRQ sources: 21.
number of IO-APIC #2 registers: 24.
testing the IO APIC.......................

What is happening, is that the 8254 timer is actually connected to the 
IO-APIC, but there is a VIA register that that switches on/off routing 
of the Timer IRQ to the IO-APIC. I suspect that some BIOS's switch it 
on, and some do not, so we would need to manually switch it on by 
writing to the VIA register before testing the timer.

Cheers
James



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

  parent reply	other threads:[~2003-11-07 13:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-04  9:34 SuSE AMD x86-64 bits installation issue HurryLin-6hSdJfI2Hxp9nmWX13WWKA
     [not found] ` <6A7AB4426712514F9E2AB28C407285FA04EBB91B-LbelAcagxFGsjcp6KUBrleoUnSXyNh8afZ5ll9d1lig@public.gmane.org>
2003-11-07 10:57   ` Len Brown
     [not found]     ` <1068202635.2682.972.camel-D2Zvc0uNKG8@public.gmane.org>
2003-11-07 11:13       ` Andi Kleen
     [not found]         ` <20031107111339.GA4877-B4tOwbsTzaBolqkO4TVVkw@public.gmane.org>
2003-11-07 13:07           ` James Courtier-Dutton [this message]
2003-11-07 19:01           ` Len Brown
     [not found]             ` <1068231709.2684.982.camel-D2Zvc0uNKG8@public.gmane.org>
2003-11-07 19:12               ` Andi Kleen

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=3FAB992C.7000800@superbug.demon.co.uk \
    --to=james-l7zrweynyd2ty6ftcsqk+9bc4/flrbf6@public.gmane.org \
    --cc=DreamKu-6hSdJfI2Hxp9nmWX13WWKA@public.gmane.org \
    --cc=HurryLin-6hSdJfI2Hxp9nmWX13WWKA@public.gmane.org \
    --cc=KenCho-6hSdJfI2Hxp9nmWX13WWKA@public.gmane.org \
    --cc=NormanChung-6hSdJfI2Hxp9nmWX13WWKA@public.gmane.org \
    --cc=PearHuang-6hSdJfI2Hxp9nmWX13WWKA@public.gmane.org \
    --cc=StephenChen-6hSdJfI2Hxp9nmWX13WWKA@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=ak-l3A5Bk7waGM@public.gmane.org \
    --cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    /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