From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1Gwied-0000If-Ll for garchives@archives.gentoo.org; Tue, 19 Dec 2006 17:21:28 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kBJHJMGO019522; Tue, 19 Dec 2006 17:19:22 GMT Received: from mail.pivotarchitecture.com (mail.pivotarchitecture.com [64.112.226.106]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kBJHHKwp018067 for ; Tue, 19 Dec 2006 17:17:21 GMT Received: from localhost (localhost [127.0.0.1]) by mail.wbgs.com (Postfix) with ESMTP id 2EB5533C23C for ; Tue, 19 Dec 2006 09:17:19 -0800 (PST) Received: from mail.pivotarchitecture.com ([127.0.0.1]) by localhost (mail.wbgs.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14934-05 for ; Tue, 19 Dec 2006 09:17:18 -0800 (PST) Received: from Opus.wbgs.com (Opus.wbgs.com [192.0.0.74]) by mail.wbgs.com (Postfix) with ESMTP id 5D24433C171 for ; Tue, 19 Dec 2006 09:17:18 -0800 (PST) Date: Tue, 19 Dec 2006 09:13:00 -0800 From: Joel Osburn Subject: [gentoo-user] Changing system from single to dual CPU ? To: "'gentoo-user@lists.gentoo.org'" X-Priority: 3 X-Mailer: Bynari Insight Connector 3.1.1-1121232 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-Id: <20061219171718.5D24433C171@mail.wbgs.com> X-Virus-Scanned: by amavisd-new at wbgs.com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id kBJHHKwp018067 X-Archives-Salt: a74b4013-8d63-4db5-ae05-ff67535cd76e X-Archives-Hash: 01a3a4527bfb7a4001d8ec5c4b05a172 I have an Opteron 242 system, to which I recently added a second processor and some more memory. I figured that to take advantage of that processor, all I needed to do was recompile to kernel, reboot, and set "-j3" in the make.conf file. However, there must be something else, since when I try to compile the kernel with smp, I get a whole bunch of errors like this when I run "make": dandelion linux # make CHK include/linux/version.h CHK include/linux/compile.h CHK usr/initramfs_list CC arch/i386/kernel/process.o In file included from include/asm/mpspec.h:5, from include/asm/smp.h:18, from include/linux/smp.h:19, from include/linux/sched.h:26, from arch/i386/kernel/process.c:18: include/asm/mpspec_def.h:78: warning: 'packed' attribute ignored for field of type 'unsigned char[5u]' CC arch/i386/kernel/semaphore.o CC arch/i386/kernel/signal.o In file included from include/asm/mpspec.h:5, from include/asm/smp.h:18, from include/linux/smp.h:19, from include/linux/sched.h:26, from arch/i386/kernel/signal.c:10: include/asm/mpspec_def.h:78: warning: 'packed' attribute ignored for field of type 'unsigned char[5u]' AS arch/i386/kernel/entry.o CC arch/i386/kernel/traps.o In file included from include/asm/mpspec.h:5, from include/asm/smp.h:18, from include/linux/smp.h:19, from include/linux/sched.h:26, from arch/i386/kernel/traps.c:15: include/asm/mpspec_def.h:78: warning: 'packed' attribute ignored for field of type 'unsigned char[5u]' In file included from include/asm/mpspec.h:5, from include/asm/smp.h:18, from include/linux/smp.h:19, from include/linux/sched.h:26, from include/linux/module.h:10, from fs/smbfs/smbfs.mod.c:1: include/asm/mpspec_def.h:78: warning: 'packed' attribute ignored for field of type 'unsigned char[5u]' LD [M] fs/smbfs/smbfs.ko ------------------ So no normal end to the compile. This is with gentoo-sources 2.6.14-r5. I can't upgrade that right now for other reasons. The system is compiled as an x86 system, not amd64, and the only change in kernel config is related to smp: dandelion linux # grep -i smp .config # CONFIG_X86_BIGSMP is not set CONFIG_SMP=y CONFIG_X86_FIND_SMP_CONFIG=y CONFIG_X86_SMP=y Any ideas? Joel T. Osburn -- gentoo-user@gentoo.org mailing list