Date: Sat, 4 Aug 2001 08:50:35 -0400 From: "Alex Vargas" <Exel@SpeakEasy.Net> To: <freebsd-questions@freebsd.org> Subject: MultiProcessor Support | Kernel recompile query Message-ID: <ONEEJMFOJLJHIMJMLPMIGEKICFAA.Exel@SpeakEasy.Net>
next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
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: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443LX (440 LX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443LX (440 LX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xffa0-0xffaf at device 7.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2 irq 0
chip1: <Intel 82371AB Power management controller> port 0x5f00-0x5f0f at
device 7.3 on pci0
ahc0: <Adaptec aic7880 Ultra SCSI adapter> 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: <VGA-compatible display device> at 12.0 irq 9
fxp0: <Intel Pro 10/100B/100+ Ethernet> 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: <Intel Pro 10/100B/100+ Ethernet> 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: <NEC 72065B or clone> 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: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> 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: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
IP packet filtering initialized, divert enabled, rule-based forwarding
enabled, default to deny, logging disabled
ad0: 19470MB <IBM-DJNA-352030> [42197/15/63] at ata0-master UDMA33
ad2: 76319MB <WDC WD800BB-00BSA0> [155061/16/63] at ata1-master UDMA33
acd0-4: CDROM with 5 CD changer <RD-DRC002-M> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ONEEJMFOJLJHIMJMLPMIGEKICFAA.Exel>
