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 1K3YOc-0006jN-Lg for garchives@archives.gentoo.org; Tue, 03 Jun 2008 15:25:58 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E8E11E04BC; Tue, 3 Jun 2008 15:25:56 +0000 (UTC) Received: from rv-out-0708.google.com (rv-out-0708.google.com [209.85.198.247]) by pigeon.gentoo.org (Postfix) with ESMTP id A04AAE04BC for ; Tue, 3 Jun 2008 15:25:56 +0000 (UTC) Received: by rv-out-0708.google.com with SMTP id b17so1364972rvf.46 for ; Tue, 03 Jun 2008 08:25:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=sZrb38GkMF5lfFh5lWlj323j0zEbM66m8jGT1k3vuq4=; b=P/FRHkmy9iv036CXFPjeo0o27+X7U2lDT7UqmZwbia5JOSJ32dHwm8dlEt7YfDtZ6w9sibtEy3UZfVzBiOG/ih5kSMFBba3AjzROtqBOHRDwzc9WUAJE2M+YBuxz0o9ZHmjBHk9vMZtvXpv6nHognNeXPgMiPwSX22N/BUoWlzY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=gAqTA/og0PlJfMhussu9v3o+ztW3v1mhOzRHCmMkz5z8XjDHP4bHiTp0TMNlYEO0dWZ5c0/51dDvnxoef4zWPn64knh+iw445UT3ISA2Zjw1ohEV9rwrIUTb+6GEift1MYlv3CAs4hGTFpZ3F5n935yUoj74TYq5LlwlDPNrbgo= Received: by 10.141.162.5 with SMTP id p5mr5848089rvo.221.1212506756128; Tue, 03 Jun 2008 08:25:56 -0700 (PDT) Received: by 10.141.196.18 with HTTP; Tue, 3 Jun 2008 08:25:55 -0700 (PDT) Message-ID: Date: Tue, 3 Jun 2008 17:25:55 +0200 From: "Konrad Okurowski" To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] multicore strange issue In-Reply-To: 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 Content-Type: multipart/alternative; boundary="----=_Part_21876_13462015.1212506755931" References: <1212505248.5492.30.camel@oddman.donahues.us.> X-Archives-Salt: f9976a28-0404-49c1-87c9-42ec1af85542 X-Archives-Hash: cd2ea5a390ab4b4cfce2451cc6d6df1c ------=_Part_21876_13462015.1212506755931 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I'm using turion x2 laptop with smp activated with no problem. Previously I was using athlon64 3200+ desktop but gentoo on laptop was installed from scratch. Kfiaciarka 2008/6/3 Beso : > 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 multicore?! > > > > -- > dott. ing. beso -- pozdrawiam Konrad Okurowski Key Fingerprint = D993 3823 F20D 3B8D 2719 3012 2FE8 ------=_Part_21876_13462015.1212506755931 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I'm using turion x2 laptop with smp activated with no problem. Previously I was using athlon64 3200+ desktop but gentoo on laptop was installed from scratch.

Kfiaciarka

2008/6/3 Beso <givemesugarr@gmail.com>:
2008/6/3 Drake Donahue <donahue95@comcast.net>:

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 <shift-page up> 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 <shift-page down> should reveal a line like:
CPU has two num_cores
A couple more <shift-page down>:
Initializing CPU#0
About 3 more <shift-page down>:
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 multicore?!



--
dott. ing. beso



--
pozdrawiam
Konrad Okurowski <dm.konrad@gmail.com>
Key Fingerprint = D993 3823 F20D 3B8D 2719 3012 2FE8 ------=_Part_21876_13462015.1212506755931-- -- gentoo-amd64@lists.gentoo.org mailing list