From owner-freebsd-questions Sat Aug 4 6:38:37 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.urx.com (mail.urx.com [63.170.19.36]) by hub.freebsd.org (Postfix) with ESMTP id 5B27F37B403 for ; Sat, 4 Aug 2001 06:38:31 -0700 (PDT) (envelope-from kstewart@urx.com) Received: from urx.com [206.159.132.160] by mail.urx.com with ESMTP (SMTPD32-6.06) id AAD556D02A8; Sat, 04 Aug 2001 06:38:29 -0700 Message-ID: <3B6BFAD5.36E214CF@urx.com> Date: Sat, 04 Aug 2001 06:38:29 -0700 From: Kent Stewart Reply-To: kstewart@urx.com Organization: Dynacom X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Alex Vargas Cc: freebsd-questions@freebsd.org Subject: Re: MultiProcessor Support | Kernel recompile query References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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