From owner-freebsd-questions Wed Jul 5 9:42:26 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.monmouth.com (mail.monmouth.com [209.191.58.1]) by hub.freebsd.org (Postfix) with ESMTP id 88F9B37B5B2 for ; Wed, 5 Jul 2000 09:42:11 -0700 (PDT) (envelope-from mark@monmouth.com) Received: from ops1.monmouth.com (ops-gw-1.monmouth.com [209.191.13.3]) by mail.monmouth.com (8.9.3/8.9.3) with ESMTP id MAA06785 for ; Wed, 5 Jul 2000 12:42:06 -0400 (EDT) Message-Id: <4.3.2.7.2.20000705115650.00b3a8e8@mail.monmouth.com> X-Sender: mark@mail.monmouth.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Wed, 05 Jul 2000 12:45:01 -0400 To: questions@freebsd.org From: Mark Subject: Problems with SMP Kernel Config Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I am running a Dual Processor MB with 2 PIII CPU's I did not have a problem installing Free-BSD 3.4 or custom configuring the kernel. What I did notice is that when the kernel is not SMP enabled, dmesg reports the IRQ's properly for my installed hardware.(same as the BIOS reports) but when I enable SMP by recompiling the kernel turning on the SMP options, dmesg shows that my hardware is on IRQ's 16,17,18 and 19 but the machine works fine and both CPU's are enabled. This is bewildering as I understand the PC only has 16 IRQs. I have checked all of USENET and your site for an answer as to why this is and was unable to find one. I personally belive it has to do with one of the SMP settings in the kernel but I need some guidance or at least tell me what the following settings actually are/mean: #options SMP # Symmetric MultiProcessor Kernel #options APIC_IO # Symmetric (APIC) I/O # Optionally these may need tweaked, (defaults shown): #options NCPU=2 # number of CPUs #options NBUS=4 # number of busses #options NAPIC=1 # number of IO APICs #options NINTR=24 # number of INTs My current dmesg is below. Under that is a sample of the dmesg I get when I enable SMP. Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.4-RELEASE #0: Wed Jul 5 11:13:19 EDT 2000 mark@casio-server.monmouth.com:/usr/src/sys/compile/LOCAL Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 601366616 Hz CPU: Unknown 80686 (601.37-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x681 Stepping = 1 Features=0x383fbff> real memory = 1073741824 (1048576K bytes) avail memory = 1042665472 (1018228K bytes) Preloaded elf kernel "kernel" at 0xc02b3000. Pentium Pro MTRR support enabled Probing for devices on PCI bus 0: chip0: rev 0x03 on pci0.0.0 chip1: rev 0x03 on pci0.1.0 chip2: rev 0x02 on pci0.7.0 ide_pci0: rev 0x01 on pci0.7.1 chip3: rev 0x02 on pci0.7.3 ahc0: rev 0x00 int a irq 10 on pci0.15.0 ahc0: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs xl0: <3Com 3c905B-TX Fast Etherlink XL> rev 0x30 int a irq 5 on pci0.18.0 xl0: Ethernet address: 00:50:da:79:b5:22 xl0: autoneg complete, link status good (half-duplex, 10Mbps) xl1: <3Com 3c905B-TX Fast Etherlink XL> rev 0x30 int a irq 9 on pci0.20.0 xl1: Ethernet address: 00:50:da:79:b4:f3 xl1: autoneg not complete, no carrier (forcing half-duplex, 10Mbps) Probing for devices on PCI bus 1: vga0: rev 0xdc int a irq 11 on pci1.0.0 Probing for PnP devices: Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=0x0> atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 8223MB (16841664 sectors), 16708 cyls, 16 heads, 63 S/T, 512 B/S wdc0: unit 1 (atapi): , removable, intr, dma, iordis acd0: drive speed 0 - 5500KB/sec, 128KB cache acd0: supported read types: CD-R, CD-RW, CD-DA, packet track acd0: Audio: play, 255 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked wdc1 not found at 0x170 vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface Waiting 15 seconds for SCSI devices to settle chda0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled da0: 70006MB (143374080 512 byte sectors: 255H 63S/T 8924C) changing root device to wd0s1a (xl0: <3Com 3c905B-TX Fast Etherlink XL> rev 0x30 int a irq 18 on pci0.18.0) Thank You Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message