Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Apr 1998 11:54:45 -0400
From:      "Warren W. Thompson" <wthompson@altaira.com>
To:        Doug Ledford <dledford@dialnet.net>, aic7xxx@FreeBSD.ORG
Subject:   Re: SMP and the aic7xxx driver
Message-ID:  <353E12C5.8E0708C9@altaira.com>
References:  <353B540B.C2797AF3@altaira.com> <353B5BA1.BB1B627E@dialnet.net> <353BA4AD.D15EBC87@altaira.com> <353BD12B.7B0B12AD@dialnet.net> <353D4B21.53F56A73@altaira.com> <353DE01F.B09EA295@dialnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------E3BA3ACBEC3EEDE3EFE8217E
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Alrighty then, I changed the requested #ifs and aside from a warning
about the pci driver being out of date everything compiled. However,
upon rebooting I ran into the exact same problem. I guess this means
there may be a bug in the IO-APIC code. So, what's next?

Warren

Doug Ledford wrote:
>
> OK...the reason for the IRQ difference is the IO-APIC code in 2.1.85 and
> up.  There also is the change in the pci_* functions for versions 2.1.95 and
> up.  In the aic7xxx driver, for version 2.1.97, the only difference between
> SMP and UP compiles is that we include some extra header files for smp
> operation, but the defines in those headers files aren't used at the
> moment.  So, there currently is absolutely *0* difference in the aic7xxx
> driver for SMP and UP compiles.  What this indicates to me is that we aren't
> getting our interrupt on SMP kernels with your motherboard.  This can be for
> one of two reasons, the IO-APIC code is mistakenly mapping the IO-APIC IRQ
> to a pin that isn't connected, or because the pci_* functions and the
> associated pci_device structure has the wrong IRQ number in it.  There are
> two #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,95) lines in the aic7xxx.c
> file that can be changed to test this idea.  The first one wraps a #include
> <linux/bios32.h> directive, the other is found in aic7xxx_detect().  If you
> can change those to something like
>
> #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,99)
>
> to see if that makes a difference in the SMP case.  BTW, there are more than
> just these two #if LINUX_VERSION_CODE statements for 2.1.95, but the others
> shouldn't be changed, just the one around the bios32.h include and the one
> in aic7xxx_detect().
>
> Let me know if that helps, if it does, then it would indicate a problem in
> the new pci_* functions as oppossed to the IO-APIC code, if it doesn't, then
> it's probably in the IO_APIC code.
>
> --
> 
>  Doug Ledford  <dledford@dialnet.net>
>   Opinions expressed are my own, but
>      they should be everybody's.
--------------E3BA3ACBEC3EEDE3EFE8217E
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Warren Thompson
Content-Disposition: attachment; filename="vcard.vcf"

begin:          vcard
fn:             Warren Thompson
n:              Thompson;Warren
org:            Altair Aerospace Corp.
email;internet: wthompson@altaira.com
x-mozilla-cpt:  ;0
x-mozilla-html: FALSE
version:        2.1
end:            vcard


--------------E3BA3ACBEC3EEDE3EFE8217E--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe aic7xxx" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?353E12C5.8E0708C9>