Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Dec 2000 19:08:06 -0600
From:      Steve Price <sprice@hiwaay.net>
To:        current@freebsd.org
Subject:   SMP kernel builds borked
Message-ID:  <20001206190806.B27156@bonsai.knology.net>

next in thread | raw e-mail | index | archive | help
Builds are failing for SMP kernels with sources CVSup'd a couple
of hours ago using the GENERIC config file with the following diffs.

Index: GENERIC
===================================================================
RCS file: /home/ncvs/src/sys/i386/conf/GENERIC,v
retrieving revision 1.291
diff -u -r1.291 GENERIC
--- GENERIC	2000/11/15 18:36:24	1.291
+++ GENERIC	2000/12/07 00:43:09
@@ -18,7 +18,7 @@
 # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.291 2000/11/15 18:36:24 imp Exp $
 
 machine		i386
-cpu		I386_CPU
+#cpu		I386_CPU
 cpu		I486_CPU
 cpu		I586_CPU
 cpu		I686_CPU
@@ -59,8 +59,8 @@
 options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
 
 # To make an SMP kernel, the next two are needed
-#options 	SMP			# Symmetric MultiProcessor Kernel
-#options 	APIC_IO			# Symmetric (APIC) I/O
+options 	SMP			# Symmetric MultiProcessor Kernel
+options 	APIC_IO			# Symmetric (APIC) I/O
 
 device		isa
 device		eisa

It looks like revision 1.132 of src/sys/sys/proc.h might be the
culprit.  I'll look deeper right after dinner.  Here's the output
of the build.

steve@bsd(/usr/src/sys/compile/GENERIC)$ make   
cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I-  -I. -I../.. -I../../../include -I../../contrib/dev/acpica/Subsystem/Include  -D_KERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2  ../../cam/cam_periph.c
../../cam/cam_periph.c: In function `cam_periph_unmapmem':
../../cam/cam_periph.c:687: internal error--unrecognizable insn:
(insn/i 287 1112 288 (parallel[ 
            (set (mem/s/v:SI (plus:SI (reg:SI 0 %eax)
                        (const_int 284 [0x11c])) 0)
                (asm_operands/v ("      lock ;  cmpxchgl %4,%0; jz      1f;     pushl   %2;     pushl   %3;     call    mtx_exit_hard;  addl    $8,%%esp;1:# exitlock_norecurse") ("=m") 0[ 
                        (const_int 0 [0x0])
                        (reg/v:SI 4 %esi)
                        (reg:SI 5 %edi)
                        (mem/s/v:SI (plus:SI (reg:SI 3 %ebx)
                                (const_int 284 [0x11c])) 0)
                        (reg:SI 0 %eax)
                    ] 
                    [ 
                        (asm_input:SI ("gi"))
                        (asm_input:SI ("g"))
                        (asm_input:SI ("r"))
                        (asm_input:SI ("0"))
                        (asm_input:SI ("1"))
                    ]  ("../../sys/mutex.h") 601))
            (set (reg:SI 0 %eax)
                (asm_operands/v ("      lock ;  cmpxchgl %4,%0; jz      1f;     pushl   %2;     pushl   %3;     call    mtx_exit_hard;  addl    $8,%%esp;1:# exitlock_norecurse") ("=a") 1[ 
                        (const_int 0 [0x0])
                        (reg/v:SI 4 %esi)
                        (reg:SI 5 %edi)
                        (mem/s/v:SI (plus:SI (reg:SI 3 %ebx)
                                (const_int 284 [0x11c])) 0)
                        (reg:SI 0 %eax)
                    ] 
                    [ 
                        (asm_input:SI ("gi"))
                        (asm_input:SI ("g"))
                        (asm_input:SI ("r"))
                        (asm_input:SI ("0"))
                        (asm_input:SI ("1"))
                    ]  ("../../sys/mutex.h") 601))
            (clobber (reg:QI 1 %dl))
            (clobber (reg:QI 2 %cl))
            (clobber (mem:BLK (scratch) 0))
        ] ) -1 (insn_list 286 (nil))
    (nil))
*** Error code 1

Stop in /b/src/sys/compile/GENERIC.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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