Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Nov 1999 23:37:32 -0500
From:      "Jason Craig" <nemesys@home.com>
To:        "FreeBSD SMP" <freebsd-smp@freebsd.org>
Subject:   IRQ sharing in SMP?
Message-ID:  <001101bf34a3$4a67e660$d3b17018@wlfdle1.on.wave.home.com>

next in thread | raw e-mail | index | archive | help
I posted a message earlier today on my problem, and have done a little
further checking on it.

In my mptable dump I found two entries that were using IRQ11.  Is this
normal?  Or even allowed?


-----<SNIP>
I/O Ints: Type Polarity    Trigger Bus ID  IRQ APIC ID PIN#
  ExtINT active-hi        edge      1    0       2    0
  INT active-hi        edge      1    1       2    1
  INT active-hi        edge      1    0       2    2
  INT active-lo       level      1    3       2    3
  INT active-lo       level      1    4       2    4
  INT active-lo       level      1    5       2    5
  INT active-lo       level      1    6       2    6
  INT active-hi       level      1    7       2    7
  INT active-hi        edge      1    8       2    8
  INT active-lo       level      1    9       2    9
  INT active-lo       level      1   10       2   10
  INT active-lo       level      1   11       2   11  <======= ???
  INT active-hi        edge      1   12       2   12
  INT active-lo        edge      1   13       2   13
  INT active-lo       level      1   14       2   14
  INT active-lo       level      1   15       2   15
  INT active-lo       level      0  4:A       2   15
  INT active-lo       level      0 12:A       2   11  <======= ???
--
Local Ints: Type Polarity    Trigger Bus ID  IRQ APIC ID PIN#
  ExtINT active-hi        edge      0  0:A     255    0
  NMI active-hi        edge      0  0:A     255    1
-----<SNIP>


Here's where I think it gets more interesting.  The SMP kernel I compiled
was crapping out with the following:


-----<SNIP>
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
panic: APIC RTC != 8
mp_lock = 00000002; cpuid = 0; lapic.id = 00000000

syncing disks...
done
Automatic reboot in 15 seconds - press a key on the console to abort
-----<END>


I then checked my other kernel which is the same, just without SMP support.
In the single processor kernel, it continues after ppi0: and goes to the
SCSI routines.  The multi processor kernel dies at this point.  What is
funny is that ahc0 is using IRQ 11, the same IRQ that mptable has two
entries for.  Coincidence?

I've also been looking around as to what it means by APIC RTC != 8.  Whats
not equal to 8?  :)


-----<SNIP>
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI to ISA bridge (vendor=1014 device=000a)> at device 6.0 on pci0
isa0: <ISA bus> on isab0
chip1: <PCI to MCA bridge (vendor=1014 device=0020)> at device 8.0 on pci0
vga-pci0: <Cirrus Logic GD5430 SVGA controller> irq 0 at device 10.0 on pci0
ahc0: <Adaptec aic7870 SCSI adapter> irq 11 at device 12.0 on pci0
ahc0: aic7870 Wide Channel A, SCSI Id=7, 16/255 SCBs
eisa0: <EISA bus> on motherboard
mainboard0: <ADP7870 (System Board)> on eisa0 slot 0
-----<SNIP>
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
Waiting 15 seconds for SCSI devices to settle
Creating DISK da0
Creating DISK da1
Creating DISK da2
Creating DISK da3
sa0 at ahc0 bus 0 target 2 lun 0
sa0: <ARCHIVE IBM4326NP/RP  !D 5770> Removable Sequential Access SCSI-2
device
sa0: 7.812MB/s transfers (7.812MHz, offset 15)
Creating DISK cd0
da0 at ahc0 bus 0 target 0 lun 0
------<SNIP>


Your help would be appreciated.

Thanks,

Jason



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001101bf34a3$4a67e660$d3b17018>