SMP and the aic7xxx driver

Warren W. Thompson wthompson at altaira.com
Wed Apr 22 08:54:51 PDT 1998


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 at dialnet.net>
>   Opinions expressed are my own, but
>      they should be everybody's.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vcard.vcf
Type: text/x-vcard
Size: 247 bytes
Desc: Card for Warren Thompson
Url : http://lists.freebsd.org/pipermail/aic7xxx/attachments/19980422/8dabe669/vcard.vcf


More information about the aic7xxx mailing list