Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Apr 1997 11:27:42 +0900
From:      Shiba <shiba@mxs.meshnet.or.jp>
To:        smp@freebsd.org
Subject:   why general protection fault happen on SMP kernel?
Message-ID:  <Lucky.199704300227.LAA00660.Lucky>
In-Reply-To: Your message of "Mon, 21 Apr 1997 23:16:58 -0600"
References:  <199704220516.XAA14156@Ilsa.StevesCafe.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>>><199704220516.XAA14156@Ilsa.StevesCafe.com>
>>> Steve Passe <smp@csn.net> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Lucky.199704300227.LAA00660.Lucky>>