Side note on Shuttle XPC / AMD X2 (SN95G5V3) (Re: [PATCH] nve(4) locking cleanup)

John Baldwin jhb at freebsd.org
Thu Nov 17 13:39:56 PST 2005


On Thursday 17 November 2005 02:15 pm, Matthew Dillon wrote:
>     I haven't tried booting FreeBSD on my Shuttle XPC / AMD X2 based box,
>     but if you have users that are and are hitting either of the following
>     two problems, then I was able to implement a solution for DragonFly:

I don't know if anyone has yet.

>     --
>
>     Problem #2:
>
> 	MPTable has an entry for IRQ 14 but not IRQ 15.  This can cause
> 	the ATA driver to lock the system up while attempting to access
> 	the CD.
>
>     Solution:
>
> 	If using the MPTable, a fixup is required.
>
>     DragonFly Commit:
>
> 	http://leaf.dragonflybsd.org/mailarchive/commits/2005-10/msg00095.html

Hmm, if the IRQ 15 is routed to intpin 15 as ISA (edge, active-hi), then 
FreeBSD will actually be ok with the missing entry as we assume ISA 1:1 
mappings for pins 1-15 on the first I/O APIC.

>     --
>
>     Problem #3:
>
> 	ACPI and/or MPTable based interrupt routing is completely broken
> 	for SMP builds.  The tables report interrupt routing pins > 23
> 	on a motherboard which only has one IO APIC with only 24 bits (0-23).
> 	Interrupts cannot be properly routed.

That is truly odd.  Windows and Linux must break on these boxes too then as 
they both depend on MP Table and/or _PRT to route interrupts as well.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-current mailing list