From owner-freebsd-smp Sun Nov 21 20:38:43 1999 Delivered-To: freebsd-smp@freebsd.org Received: from mail.rdc3.on.home.com (ha1.rdc3.on.home.com [24.2.9.68]) by hub.freebsd.org (Postfix) with ESMTP id A024214A07 for ; Sun, 21 Nov 1999 20:38:40 -0800 (PST) (envelope-from nemesys@home.com) Received: from cr717730b ([24.112.177.211]) by mail.rdc3.on.home.com (InterMail v4.01.01.02 201-229-111-106) with SMTP id <19991122043642.PKKQ7575.mail.rdc3.on.home.com@cr717730b> for ; Sun, 21 Nov 1999 20:36:42 -0800 Message-ID: <001101bf34a3$4a67e660$d3b17018@wlfdle1.on.wave.home.com> From: "Jason Craig" To: "FreeBSD SMP" Subject: IRQ sharing in SMP? Date: Sun, 21 Nov 1999 23:37:32 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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? ----- 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 ----- Here's where I think it gets more interesting. The SMP kernel I compiled was crapping out with the following: ----- lpt0: on ppbus 0 lpt0: Interrupt-driven port ppi0: 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 ----- 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? :) ----- ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 6.0 on pci0 isa0: on isab0 chip1: at device 8.0 on pci0 vga-pci0: irq 0 at device 10.0 on pci0 ahc0: irq 11 at device 12.0 on pci0 ahc0: aic7870 Wide Channel A, SCSI Id=7, 16/255 SCBs eisa0: on motherboard mainboard0: on eisa0 slot 0 ----- lpt0: on ppbus 0 lpt0: Interrupt-driven port ppi0: 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: 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 ------ 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