From owner-freebsd-smp Tue Apr 29 19:42:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA27498 for smp-outgoing; Tue, 29 Apr 1997 19:42:23 -0700 (PDT) Received: from meshsv64.os.mesh.ad.jp (meshsv64.os.mesh.ad.jp [133.205.64.132]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA27491 for ; Tue, 29 Apr 1997 19:42:20 -0700 (PDT) Received: from cubic.shisham.co.jp (tksm1DS10.tks.mesh.ad.jp [133.205.221.130]) by meshsv64.os.mesh.ad.jp (8.8.4+2.7Wbeta4/3.5Wpl1-) with ESMTP id LAA04171 for ; Wed, 30 Apr 1997 11:42:07 +0900 (JST) Received: from localhost (benzaiten.shisham.co.jp [172.25.1.2]) by cubic.shisham.co.jp (8.8.4+2.7Wbeta4/3.5Wbeta) with ESMTP id LAA00660 for ; Wed, 30 Apr 1997 11:27:43 +0900 (JST) Message-Id: To: smp@freebsd.org Subject: why general protection fault happen on SMP kernel? From: Shiba In-Reply-To: Your message of "Mon, 21 Apr 1997 23:16:58 -0600" References: <199704220516.XAA14156@Ilsa.StevesCafe.com> X-Mailer: Mew version 1.69 on Emacs 19.34.1 / Mule 2.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 30 Apr 1997 11:27:42 +0900 Sender: owner-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >>><199704220516.XAA14156@Ilsa.StevesCafe.com> >>> Steve Passe wrote Sorry,my poor english. Steve> Make/Model of motherboard: Steve> Giga-byte GA686DX Steve> --- Steve> Http links to manufacturer and/or board info: Steve> http://www.giga-byte.com/GA686DX.html Steve> --- Steve> SMP kernel works [yes/no]: Steve> yes NO Steve> --- Steve> APIC_IO works [yes/no]: Steve> yes NO Steve> --- Steve> Special #defines/options needed: Steve> none NONE I cvsupped down the current and compiled it, and ~~~~~~~ 'make world' . 'general protection fault' happen on the 'syscon.c(sc??putc)' config file of 'SINGLE cpu kernel' is machine "i386" cpu "I386_CPU" cpu "I486_CPU" cpu "I586_CPU" cpu "I686_CPU" ident benzaiten maxusers 64 options "MAXMEM=(128*1024)" options SYSVSEM,SYSVSHM,SYSVMSG options "SHMMAXPGS=2048" options "MAXDSIZ=(512*1024*1024)" options "DFLDSIZ=(512*1024*1024)" #options SMP #options APIC_IO #options SMP_INVLTBL #options NCPU=2 #options NBUS=2 #options NAPIC=1 #options NINTR=24 options INET #InterNETworking options FFS #Berkeley Fast Filesystem options NFS,MFS #Network Filesystem options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options UCONSOLE #Allow users to grab the console options QUOTA options "NSWAPDEV=4" config kernel root on sd0 swap sd0 and sd1 and sd2 controller pci0 device de0 controller ncr0 #tekram-dc390f controller ncr1 #asus-sc-200 controller scbus0 at ncr0 bus 0 controller scbus1 at ncr1 bus 0 disk sd0 at scbus0 target 0 unit 0 #device od0 #See LINT for possible `od' options. controller isa0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr device npx0 at isa? port "IO_NPX" irq 13 vector npxintr device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr device lpt0 at isa? port? tty irq 7 vector lptintr pseudo-device loop pseudo-device ether pseudo-device bpfilter 8 pseudo-device vn 4 pseudo-device log pseudo-device gzip # Exec gzipped a.out's #options KTRACE #kernel tracing #options DDB OK. but add option under options SMP options APIC_IO options SMP_INVLTBL options NCPU=2 options NBUS=2 options NAPIC=1 options NINTR=24 NG. my hardware list GA-686DX P6 180M * 2 (overclocking now(233M)) tekram dc-390f asus sc-200 dec de500-xa