Date: Wed, 05 Jul 2000 12:45:01 -0400 From: Mark <mark@monmouth.com> To: questions@freebsd.org Subject: Problems with SMP Kernel Config Message-ID: <4.3.2.7.2.20000705115650.00b3a8e8@mail.monmouth.com>
next in thread | raw e-mail | index | archive | help
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. <current dmesg with no smp support> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,<b25>> 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: <Intel 82443BX host to PCI bridge> rev 0x03 on pci0.0.0 chip1: <Intel 82443BX host to AGP bridge> rev 0x03 on pci0.1.0 chip2: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.7.0 ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.7.1 chip3: <Intel 82371AB Power management controller> rev 0x02 on pci0.7.3 ahc0: <Adaptec 2940 Ultra2 SCSI adapter> 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: <ATI model 4c42 graphics accelerator> 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): <ST38410A> wd0: 8223MB (16841664 sectors), 16708 cyls, 16 heads, 63 S/T, 512 B/S wdc0: unit 1 (atapi): <CD-ROM 50X/30>, 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: <IFT 3102 0223> 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 <end current dmesg> <snip of dmesg with smp enabled> (xl0: <3Com 3c905B-TX Fast Etherlink XL> rev 0x30 int a irq 18 on pci0.18.0) <end snip> Thank You Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.2.7.2.20000705115650.00b3a8e8>