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 1K3YZX-0007lX-JR for garchives@archives.gentoo.org; Tue, 03 Jun 2008 15:37:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB158E04C5; Tue, 3 Jun 2008 15:37:13 +0000 (UTC) Received: from QMTA02.emeryville.ca.mail.comcast.net (qmta02.emeryville.ca.mail.comcast.net [76.96.30.24]) by pigeon.gentoo.org (Postfix) with ESMTP id 8EE5DE04C5 for ; Tue, 3 Jun 2008 15:37:13 +0000 (UTC) Received: from OMTA13.emeryville.ca.mail.comcast.net ([76.96.30.52]) by QMTA02.emeryville.ca.mail.comcast.net with comcast id ZTUR1Z00517UAYkA201b00; Tue, 03 Jun 2008 15:37:12 +0000 Received: from [192.168.0.4] ([68.58.192.35]) by OMTA13.emeryville.ca.mail.comcast.net with comcast id ZTd51Z00G0mGrD88Z00000; Tue, 03 Jun 2008 15:37:06 +0000 X-Authority-Analysis: v=1.0 c=1 a=eIxc5W92dVIA:10 a=QC0Z4kGMTNYA:10 a=qLdLJB39RT01q55tJPUA:9 a=fOsNf1bhf9oxR3PIWvdphEY0fXoA:4 a=si9q_4b84H0A:10 a=WuK_CZDBSqoA:10 Subject: Re: [gentoo-amd64] multicore strange issue From: Drake Donahue To: gentoo-amd64@lists.gentoo.org In-Reply-To: References: <1212505248.5492.30.camel@oddman.donahues.us.> Content-Type: text/plain Date: Tue, 03 Jun 2008 11:37:05 -0400 Message-Id: <1212507425.6729.6.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: a4f77fc9-8ffb-4157-9a03-9f887eab1390 X-Archives-Hash: da929e935e21770a13d836eeec1310bf On Tue, 2008-06-03 at 15:15 +0000, Beso wrote: > 2008/6/3 Drake Donahue : > > > 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. > > so grub needs a different line at startup when using multicor I had assumed you had established a multiboot grub with one entry pointed to the old kernel and another entry pointed to a newly compiled SMP kernel. > > > > > > -- > dott. ing. beso -- gentoo-amd64@lists.gentoo.org mailing list