From owner-freebsd-current Wed Dec 6 17: 8:17 2000 From owner-freebsd-current@FreeBSD.ORG Wed Dec 6 17:08:14 2000 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mail.hiwaay.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id D15C237B401 for ; Wed, 6 Dec 2000 17:08:09 -0800 (PST) Received: from bonsai.knology.net (user-24-214-88-8.knology.net [24.214.88.8]) by mail.hiwaay.net (8.11.0/8.11.0) with ESMTP id eB7187006280 for ; Wed, 6 Dec 2000 19:08:07 -0600 (CST) Received: (from steve@localhost) by bonsai.knology.net (8.11.0/8.9.3) id eB7187J02573 for current@freebsd.org; Wed, 6 Dec 2000 19:08:07 -0600 (CST) (envelope-from steve) Date: Wed, 6 Dec 2000 19:08:06 -0600 From: Steve Price To: current@freebsd.org Subject: SMP kernel builds borked Message-ID: <20001206190806.B27156@bonsai.knology.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 5.0-CURRENT i386 Sender: steve@hiwaay.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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