From owner-freebsd-questions Sat Aug 4 13:52:42 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail11.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by hub.freebsd.org (Postfix) with SMTP id 5A4D537B401 for ; Sat, 4 Aug 2001 13:52:33 -0700 (PDT) (envelope-from Exel@SpeakEasy.Net) Received: (qmail 68325 invoked from network); 4 Aug 2001 20:52:32 -0000 Received: from unknown (HELO POWERHOUSE) ([216.27.144.120]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 4 Aug 2001 20:52:32 -0000 From: "Alex Vargas" To: Subject: RE: MultiProcessor Support | Kernel recompile query Date: Sat, 4 Aug 2001 16:59:11 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <3B6C49B4.A3FBF0F7@urx.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG From what I can tell, my recompile was succesful. I saw some other messages on an issue where IRQ's changed and the same thing happened to me, all my devices IRQ's get shuffled around when I boot with the new SMP kernel. Personally, this is not a problem as all seems operational, but I wonder, given the response of some of the detection and configuration parameters at start, if something is wrong: [>dmesg output editted for specific SMP entries<] Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Pentium Pro MTRR support enabled pcib0: on motherboard IOAPIC #0 intpin 16 -> irq 2 IOAPIC #0 intpin 17 -> irq 16 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 7.2 irq 0 APIC_IO: Testing 8254 interrupt delivery APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpin 2 APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0 SMP: AP CPU #1 Launched! The last entries from APIC_IO worry me, as I only see one entry indicating CPU #x has been launched. Should I have another line saying CPU#0 Launched? Or CPU#1? And is the Broken MP table that has been routed to 8259 working proper? I really appreciate all the feedback you guys provide on these problems. Regards, Alex -----Original Message----- From: Kent Stewart [mailto:kstewart@urx.com] Sent: Saturday, August 04, 2001 3:15 PM To: Alex Vargas Cc: freebsd-questions@freebsd.org Subject: Re: MultiProcessor Support | Kernel recompile query Alex Vargas wrote: > > Kent, > > [>Snip<] > >The only SMP options for a kernel config are > > ># To make an SMP kernel, the next two are needed > >options SMP # Symmetric MultiProcessor Kernel > >options APIC_IO # Symmetric (APIC) I/O > > I guess my question really is: Do I compile an SMP kernel for the > motherboard "Stallion M668 Dual/Scsi"(an ATX Form Factor Pentium II AGP & > PCI & ISA BUS with PCI BUS IDE & MULTI-I/O ON BOARD) or do I forgo SMP > altogether and define the NCPU, NBUS, NAPIC, and NINTR options? I was > attempting to find this information in LINT to no avail. I understand that > an SMP kernel will only run on a motherboard which adheres to the Intel MP > specification, but am not sure whether this motherboard does (I have eMailed > the vendor). I further understand that only genuine Intel will run in SMP > mode (both CPUs are Intel PII-300/Slot-I). Thanks again for your response. IIRC, those other options don't exist now days. I think you will get a make error if you add them. Kent > > Alex > > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Kent Stewart > Sent: Saturday, August 04, 2001 9:38 AM > To: Alex Vargas > Cc: freebsd-questions@freebsd.org > Subject: Re: MultiProcessor Support | Kernel recompile query > > Alex Vargas wrote: > > > > Greetings! > > > > Using: FreeBSD 4.3-Stable > > Kernal config name: DARKSIDE > > > > I am attempting to recompile my kernel for Multiprocessor support.. I have > > chosen the SMP and APIC_IO options in the new kernel configuration file I > am > > using, but when the CONFIG gets to the subsequent configuration options > > which follow, I get an error message: > > > > DARKSIDE:66: unknown option "NCPU" > > Exit 1 > > > > This error appears for all the below listed options unless I COMMENT them > > out and then the CONFIG completes. Can anyone advise why this is > occurring? > > I wish to specify two CPUs but if it is unnecessary I will go ahead and > > recompile with the below options commmented out. > > ----------- > > > > 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 > > The only SMP options for a kernel config are > > # To make an SMP kernel, the next two are needed > options SMP # Symmetric MultiProcessor Kernel > options APIC_IO # Symmetric (APIC) I/O > > Kent > > > ------------- > > > > Here is my DMESG output: > > > > Copyright (c) 1992-2001 The FreeBSD Project. > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > > The Regents of the University of California. All rights reserved. > > FreeBSD 4.3-STABLE #1: Sat May 19 15:53:23 EDT 2001 > > root@darkside.shadoworld:/usr/obj/usr/src/sys/DARKSIDE > > Timecounter "i8254" frequency 1193182 Hz > > CPU: Pentium II/Pentium II Xeon/Celeron (337.50-MHz 686-class CPU) > > Origin = "GenuineIntel" Id = 0x634 Stepping = 4 > > > > > Features=0x80fbff > MOV,MMX> > > real memory = 134217728 (131072K bytes) > > config> di lnc0 > > config> di le0 > > config> di ie0 > > config> di fe0 > > config> di ex0 > > No such device: ex0 > > Invalid command or syntax. Type `?' for help. > > config> di ep0 > > No such device: ep0 > > Invalid command or syntax. Type `?' for help. > > config> di cs0 > > config> di wt0 > > No such device: wt0 > > Invalid command or syntax. Type `?' for help. > > config> di scd0 > > No such device: scd0 > > Invalid command or syntax. Type `?' for help. > > config> di mcd0 > > No such device: mcd0 > > Invalid command or syntax. Type `?' for help. > > config> en ed0 > > config> po ed0 0x300 > > config> ir ed0 10 > > config> iom ed0 0xd8000 > > config> f ed0 0 > > config> q > > avail memory = 126582784 (123616K bytes) > > Preloaded elf kernel "kernel" at 0xc03fe000. > > Preloaded userconfig_script "/boot/kernel.conf" at 0xc03fe09c. > > Pentium Pro MTRR support enabled > > md0: Malloc disk > > npx0: on motherboard > > npx0: INT 16 interface > > pcib0: on motherboard > > pci0: on pcib0 > > pcib1: at device 1.0 on pci0 > > pci1: on pcib1 > > isab0: at device 7.0 on pci0 > > isa0: on isab0 > > atapci0: port 0xffa0-0xffaf at device 7.1 > on > > pci0 > > ata0: at 0x1f0 irq 14 on atapci0 > > ata1: at 0x170 irq 15 on atapci0 > > pci0: at 7.2 irq 0 > > chip1: port 0x5f00-0x5f0f at > > device 7.3 on pci0 > > ahc0: port 0xdc00-0xdcff mem > > 0xefff7000-0xefff7fff irq 10 at device 11.0 on pci0 > > aic7880: Wide Channel A, SCSI Id=7, 16/255 SCBs > > pci0: at 12.0 irq 9 > > fxp0: port 0xda00-0xda1f mem > > 0xefe00000-0xefefffff,0xef5ff000-0xef5fffff irq 11 at device 13.0 on pci0 > > fxp0: Ethernet address 00:60:94:51:88:4f > > fxp1: port 0xd800-0xd83f mem > > 0xefc00000-0xefcfffff,0xefff6000-0xefff6fff irq 10 at device 14.0 on pci0 > > fxp1: Ethernet address 00:03:47:40:1f:05 > > fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 > > fdc0: FIFO enabled, 8 bytes threshold > > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > > atkbdc0: at port 0x60,0x64 on isa0 > > atkbd0: irq 1 on atkbdc0 > > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > > sc0: on isa0 > > sc0: VGA <16 virtual consoles, flags=0x200> > > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > > sio0: type 16550A > > sio1 at port 0x2f8-0x2ff irq 3 on isa0 > > sio1: type 16550A > > ppc0: at port 0x378-0x37f irq 7 on isa0 > > ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode > > plip0: on ppbus0 > > lpt0: on ppbus0 > > lpt0: Interrupt-driven port > > ppi0: on ppbus0 > > IP packet filtering initialized, divert enabled, rule-based forwarding > > enabled, default to deny, logging disabled > > ad0: 19470MB [42197/15/63] at ata0-master UDMA33 > > ad2: 76319MB [155061/16/63] at ata1-master UDMA33 > > acd0-4: CDROM with 5 CD changer at ata0-slave using PIO4 > > Mounting root from ufs:/dev/ad0s1a > > > > You attentions in this matter will be greatly appreciated. Best regards, > > > > Alex V. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > -- > Kent Stewart > Richland, WA > > mailto:kbstew99@hotmail.com > http://kstewart.urx.com/kstewart/index.html > FreeBSD News http://daily.daemonnews.org/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://kstewart.urx.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message