From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1K3Y0V-0004tk-CD for garchives@archives.gentoo.org; Tue, 03 Jun 2008 15:01:03 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CA3B4E03B0; Tue, 3 Jun 2008 15:01:00 +0000 (UTC) Received: from QMTA07.emeryville.ca.mail.comcast.net (qmta07.emeryville.ca.mail.comcast.net [76.96.30.64]) by pigeon.gentoo.org (Postfix) with ESMTP id 7B582E03B0 for ; Tue, 3 Jun 2008 15:01:00 +0000 (UTC) Received: from OMTA02.emeryville.ca.mail.comcast.net ([76.96.30.19]) by QMTA07.emeryville.ca.mail.comcast.net with comcast id ZR821Z0020QkzPwA70CH00; Tue, 03 Jun 2008 15:00:59 +0000 Received: from [192.168.0.4] ([68.58.192.35]) by OMTA02.emeryville.ca.mail.comcast.net with comcast id ZT0p1Z0040mGrD88N00000; Tue, 03 Jun 2008 15:00:59 +0000 X-Authority-Analysis: v=1.0 c=1 a=eIxc5W92dVIA:10 a=QC0Z4kGMTNYA:10 a=vCBpRPTaD-eFW3RBI94A:9 a=q_E1OcFIFShyz380P_kCIKKCPAIA:4 a=WuK_CZDBSqoA:10 Subject: Re: [gentoo-amd64] multicore strange issue From: Drake Donahue To: gentoo-amd64@lists.gentoo.org In-Reply-To: References: Content-Type: text/plain Date: Tue, 03 Jun 2008 11:00:48 -0400 Message-Id: <1212505248.5492.30.camel@oddman.donahues.us.> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@lists.gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 Content-Transfer-Encoding: 7bit X-Archives-Salt: a7c52efa-92c8-4fa9-a160-6cf5d7f0d730 X-Archives-Hash: 11b531103fd1353a79c77c000a9dd910 On Tue, 2008-06-03 at 09:01 +0000, Beso wrote: > hi, > > i've got a strange problem with my new notebook pc. i've bought a pc > with an amd athlon 64 x2 processor with 2 cores, an atheros board and > an rs690 ati. > my old pc was a turion 64 with an atheros board and an rs480. now the > components inside are all about the same so i've just copied the old > gentoo system into the new pc and tried to recompile the kernel to > have it tuned for the new processor. so the thing i've done was to > activate the symetric multiprocessing and set to compiled into the > kernel of md4, md5, md6 and aes x86_64 chipers for a luks /home > chipering. > the problem is that with the old normal config the kernel detects one > processor and one core and it works, loading the modules, but when > enabling simetric multiprocessing the kernel detects just one > processor and one core and then it fails to load modules because of a > different executable format in the modules. > > the strange thing is that opensuse livecd and mandriva live cd > recognize the double processor (/proc/cpuinfo has 2 lines) and is able > to step it in the right way. does anyone has a hint on what to control > in the kernel config to see what's wrong?! > > thanks. > > -- > dott. ing. beso If the attempt to boot does not end in a kernel panic; use to get to the top of the console output produced during boot. If the boot loader has started an SMP kernel, a line similar to this: "Linux Version 2.6.24-gentoo-r8 (root@livecd) (gcc version 4.1.1 (gentoo 4.1.1-r3)) #1 SMP Sat May 24 14:06:10 EDT 2008" should appear. The key word being SMP. No key word, "SMP", means that "make menuconfig" (or whatever kernel configuration tool you use needs to be redone. As far as I know under, Processor type and features,: [*] Symmetric multi-processing support Subarchitecture Type (PC-compatible) ---> Processor family (Opteron/Athlon64/Hammer/K8) ---> produces an appropriate SMP kernel. A should reveal a line like: CPU has two num_cores A couple more : Initializing CPU#0 About 3 more : Brought up 2 CPU's. About modules, I'm guessing modules compiled for single cpu have differences from those compiled for multiple cpu. Also guessing that /etc/modules/autoload.d and/or udev is trying to load single cpu module(s) that were not written to adjust to a single cpu kernel. -- gentoo-amd64@lists.gentoo.org mailing list