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 1Gwo64-0005AJ-47 for garchives@archives.gentoo.org; Tue, 19 Dec 2006 23:10:08 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kBJN6qNg023754; Tue, 19 Dec 2006 23:06:52 GMT Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.226]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kBJN3XJS010114 for ; Tue, 19 Dec 2006 23:03:33 GMT Received: by wx-out-0506.google.com with SMTP id i30so2780110wxd for ; Tue, 19 Dec 2006 15:03:24 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=b28/LYJsGJmIrECJiP+nbL5GQnl/G3uOSTTwLI3evp36dK43aomZTHeeePj3/LmuRnIcHu0rQJmiQ0S+d8pwMKoxX5urwbXcEi19ZD6Ndzvh+PWfwnICfVvIPIsua2Tv0N0wfwF2IfN4gKwD72V6cGJ6gBFGLuI5E54SRY0yyJA= Received: by 10.70.39.2 with SMTP id m2mr10674365wxm.1166569403193; Tue, 19 Dec 2006 15:03:23 -0800 (PST) Received: from ?192.168.1.101? ( [72.9.11.107]) by mx.google.com with ESMTP id h19sm13995410wxd.2006.12.19.15.03.21; Tue, 19 Dec 2006 15:03:22 -0800 (PST) Subject: Re: [gentoo-user] Changing system from single to dual CPU ? From: Maurice E Johnson To: gentoo-user@lists.gentoo.org In-Reply-To: <20061219171718.5D24433C171@mail.wbgs.com> References: <20061219171718.5D24433C171@mail.wbgs.com> Content-Type: multipart/mixed; boundary="=-gONJeDs1fCFQOkbJ4Sz9" Date: Tue, 19 Dec 2006 18:03:16 -0500 Message-Id: <1166569396.13712.2.camel@aries.zuesse.home> 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 X-Mailer: Evolution 2.8.2.1 X-Archives-Salt: e75e1e65-11c6-4a29-8584-ebb5ca36e01d X-Archives-Hash: 9f8b7e170dbbcfbd8e553b50d5db50ac --=-gONJeDs1fCFQOkbJ4Sz9 Content-Type: multipart/alternative; boundary="=-7NwZKSu7XS6Jc+rzF/lF" --=-7NwZKSu7XS6Jc+rzF/lF Content-Type: text/plain Content-Transfer-Encoding: 7bit Might I suggest trying the following prior to your normal (I assume genkernel) build process. cd to /usr/src/linux as root type make mrproper This will ensure that your build tree is pristene. Now you should be able to run genkernel without problems. --=-7NwZKSu7XS6Jc+rzF/lF Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit Might I suggest trying the following prior to your normal (I assume genkernel) build process.

cd to /usr/src/linux<your version>

as root type make mrproper

This will ensure that your build tree is pristene.

Now you should be able to run genkernel without problems. --=-7NwZKSu7XS6Jc+rzF/lF-- --=-gONJeDs1fCFQOkbJ4Sz9 Content-Disposition: inline Content-Description: Forwarded message - [gentoo-user] Changing system from single to dual CPU ? Content-Type: message/rfc822 Delivered-To: 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 X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id kBJHHKwp018067 Content-Transfer-Encoding: 7bit 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 --=-gONJeDs1fCFQOkbJ4Sz9-- -- gentoo-user@gentoo.org mailing list