Gentoo Archives: gentoo-amd64

From: Konrad Okurowski <dm.konrad@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] multicore strange issue
Date: Tue, 03 Jun 2008 15:25:58
Message-Id: d5cddb410806030825k42f42884gc91ac712e3f8b611@mail.gmail.com
In Reply to: Re: [gentoo-amd64] multicore strange issue by Beso
1 I'm using turion x2 laptop with smp activated with no problem. Previously I
2 was using athlon64 3200+ desktop but gentoo on laptop was installed from
3 scratch.
4
5 Kfiaciarka
6
7 2008/6/3 Beso <givemesugarr@×××××.com>:
8
9 > 2008/6/3 Drake Donahue <donahue95@×××××××.net>:
10 >
11 >>
12 >> On Tue, 2008-06-03 at 09:01 +0000, Beso wrote:
13 >> > hi,
14 >> >
15 >> > i've got a strange problem with my new notebook pc. i've bought a pc
16 >> > with an amd athlon 64 x2 processor with 2 cores, an atheros board and
17 >> > an rs690 ati.
18 >> > my old pc was a turion 64 with an atheros board and an rs480. now the
19 >> > components inside are all about the same so i've just copied the old
20 >> > gentoo system into the new pc and tried to recompile the kernel to
21 >> > have it tuned for the new processor. so the thing i've done was to
22 >> > activate the symetric multiprocessing and set to compiled into the
23 >> > kernel of md4, md5, md6 and aes x86_64 chipers for a luks /home
24 >> > chipering.
25 >> > the problem is that with the old normal config the kernel detects one
26 >> > processor and one core and it works, loading the modules, but when
27 >> > enabling simetric multiprocessing the kernel detects just one
28 >> > processor and one core and then it fails to load modules because of a
29 >> > different executable format in the modules.
30 >> >
31 >> > the strange thing is that opensuse livecd and mandriva live cd
32 >> > recognize the double processor (/proc/cpuinfo has 2 lines) and is able
33 >> > to step it in the right way. does anyone has a hint on what to control
34 >> > in the kernel config to see what's wrong?!
35 >> >
36 >> > thanks.
37 >> >
38 >> > --
39 >> > dott. ing. beso
40 >> If the attempt to boot does not end in a kernel panic;
41 >> use <shift-page up> to get to the top of the console output produced
42 >> during boot. If the boot loader has started an SMP kernel, a line
43 >> similar to this: "Linux Version 2.6.24-gentoo-r8 (root@livecd) (gcc
44 >> version 4.1.1 (gentoo 4.1.1-r3)) #1 SMP Sat May 24 14:06:10 EDT 2008"
45 >> should appear. The key word being SMP. No key word, "SMP", means that
46 >> "make menuconfig" (or whatever kernel configuration tool you use needs
47 >> to be redone.
48 >> As far as I know under, Processor type and features,:
49 >> [*] Symmetric multi-processing support
50 >> Subarchitecture Type (PC-compatible) --->
51 >> Processor family (Opteron/Athlon64/Hammer/K8) --->
52 >> produces an appropriate SMP kernel.
53 >> A <shift-page down> should reveal a line like:
54 >> CPU has two num_cores
55 >> A couple more <shift-page down>:
56 >> Initializing CPU#0
57 >> About 3 more <shift-page down>:
58 >> Brought up 2 CPU's.
59 >> About modules, I'm guessing modules compiled for single cpu have
60 >> differences from those compiled for multiple cpu. Also guessing
61 >> that /etc/modules/autoload.d and/or udev is trying to load single cpu
62 >> module(s) that were not written to adjust to a single cpu kernel.
63 >>
64 >
65 > so grub needs a different line at startup when using multicore?!
66 >
67 >
68 >
69 > --
70 > dott. ing. beso
71
72
73
74
75 --
76 pozdrawiam
77 Konrad Okurowski <dm.konrad@×××××.com>
78 Key Fingerprint = D993 3823 F20D 3B8D 2719 3012 2FE8