From owner-freebsd-questions Sat Aug 4 5:44: 3 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail12.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by hub.freebsd.org (Postfix) with SMTP id 1281637B401 for ; Sat, 4 Aug 2001 05:43:54 -0700 (PDT) (envelope-from Exel@SpeakEasy.Net) Received: (qmail 6837 invoked from network); 4 Aug 2001 12:43:53 -0000 Received: from unknown (HELO POWERHOUSE) ([216.27.144.120]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 4 Aug 2001 12:43:53 -0000 From: "Alex Vargas" To: Subject: MultiProcessor Support | Kernel recompile query Date: Sat, 4 Aug 2001 08:50:35 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" 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) 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 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 ------------- 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 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