Re: [lfs-support] Configuring 3.10.10 for quad-core processor
On Thu, Dec 05, 2013 at 08:01:50PM +1300, Simon Geard wrote: > On Wed, 2013-12-04 at 20:33 -0600, Dan McGhee wrote: > > > Ken, are K10 and A10 the same? > > Nope. K10 refers to a generation of AMD processors from about 3 years > ago (including the Phenom II in my current desktop box). A10 is a > specific model of their current A-series processors. It's possible > they're similar enough that K10 optimisations and stuff will work, but > they might not be too... > > Simon. > In the context of what I wrote earlier (K10 and later for acpi cpufreq, and MK8 working on K10) I *think* it should be fine. The other day my A4 locked up (left it running but idle, waiting for a scheduled backup to run, then came back later to find that there was no video output and it didn't respond to Magic SysRQ). When I rebooted there was nothing in the logs and it hadn't got as far as running the backup. Undebuggable, but that is the nature of many sporadic kernel problems. So, no promises. ĸen -- das eine Mal als Tragödie, dieses Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Configuring 3.10.10 for quad-core processor
On Dec 5, 2013, at 1:01 AM, Simon Geard wrote: > Yeah, I got burned that way, when I built my first multicore system a > few years ago. You'd think that these days, it'd be a reasonable > default... SMP has been default in a defconfig for a very long time for x86 and x86_64. Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Configuring 3.10.10 for quad-core processor
On Wed, 2013-12-04 at 20:33 -0600, Dan McGhee wrote: > Mentioning the obvious always helps--the old "forest and trees." In this > case, however, even with that particular > option doesn't seem to be present. But, I discovered much to my > embarassment that CONFIG_SMP was not set. Rats. Yeah, I got burned that way, when I built my first multicore system a few years ago. You'd think that these days, it'd be a reasonable default... > Ken, are K10 and A10 the same? Nope. K10 refers to a generation of AMD processors from about 3 years ago (including the Phenom II in my current desktop box). A10 is a specific model of their current A-series processors. It's possible they're similar enough that K10 optimisations and stuff will work, but they might not be too... Simon. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Configuring 3.10.10 for quad-core processor
On 12/04/2013 04:02 PM, Bruce Dubbs wrote: > Ken Moffat wrote: >>Powernow is for cpufreq (a good thing to use, IMHO, but not >> mentioned in LFS) and not used anymore for K10 and newer CPUs (the >> support is now in acpi-cpufreq). From memory, the initial K10 was >> the athlon64xII. My git-foo isn't good enough to identify which >> release that happened in, but the indications are that it was well >> before 3.10. >> >>SMP is the key. >> >>If Dan is building only for that machine (and doesn't intend to use >> the system to boot any replacement machine when the time comes) then >> optimizing for the specific processor family, i.e. AMD x86_64 >> (Opteron/Athlon/Hammer/K8 : this is CONFIG_MK8 but works on K10 ;-) >> might gain a little, as might Multi-Core Scheduler support. > I hate to mention the obvious, but is CONFIG_X86_64_SMP set in the > kernel? Other possibilities: > > CONFIG_USE_GENERIC_SMP_HELPERS=y > CONFIG_GENERIC_SMP_IDLE_THREAD=y > CONFIG_SMP=y > CONFIG_HAVE_TEXT_POKE_SMP=y > > Mentioning the obvious always helps--the old "forest and trees." In this case, however, even with that particular option doesn't seem to be present. But, I discovered much to my embarassment that CONFIG_SMP was not set. Rats. Ken, are K10 and A10 the same? I suppose I could set it and if I didn't need it wouldn't hurt anything. I also suppose that I could "google around" to see if they are separate families or are somehow related. Some of the documentation I found today referred to "increased support" for AMD processors, including A10. I don't know how to go to 'kernel.org' and slog through the patches. I wouldn't even know where to start. I was, however, really distracted by my thunderbird build, which was ultimately successful, and maybe I'll be able to search more systematically tomorrow. But someone could just tell me so I wouldn't have to look. 8-) Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Configuring 3.10.10 for quad-core processor
Ken Moffat wrote: > On Wed, Dec 04, 2013 at 02:46:47PM -0600, William Harrington wrote: >> >> On Dec 4, 2013, at 1:49 PM, Dan McGhee wrote: >> >>> AMD-10-5745M >> >> Have you used the powernow-k8 driver and have SMP enabled? >> >> http://cateee.net/lkddb/web-lkddb/X86_POWERNOW_K8.html >> >> Sincerely, >> >> WIlliam Harrington > > Powernow is for cpufreq (a good thing to use, IMHO, but not > mentioned in LFS) and not used anymore for K10 and newer CPUs (the > support is now in acpi-cpufreq). From memory, the initial K10 was > the athlon64xII. My git-foo isn't good enough to identify which > release that happened in, but the indications are that it was well > before 3.10. > > SMP is the key. > > If Dan is building only for that machine (and doesn't intend to use > the system to boot any replacement machine when the time comes) then > optimizing for the specific processor family, i.e. AMD x86_64 > (Opteron/Athlon/Hammer/K8 : this is CONFIG_MK8 but works on K10 ;-) > might gain a little, as might Multi-Core Scheduler support. I hate to mention the obvious, but is CONFIG_X86_64_SMP set in the kernel? Other possibilities: CONFIG_USE_GENERIC_SMP_HELPERS=y CONFIG_GENERIC_SMP_IDLE_THREAD=y CONFIG_SMP=y CONFIG_HAVE_TEXT_POKE_SMP=y -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Configuring 3.10.10 for quad-core processor
On Dec 4, 2013, at 3:36 PM, Ken Moffat wrote: > CONFIG_MK8 but works on K10 Ah was trying to find the exact configure option. It works with my A4 3400, as well. SIncerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Configuring 3.10.10 for quad-core processor
On Wed, Dec 04, 2013 at 02:46:47PM -0600, William Harrington wrote: > > On Dec 4, 2013, at 1:49 PM, Dan McGhee wrote: > > > AMD-10-5745M > > Have you used the powernow-k8 driver and have SMP enabled? > > http://cateee.net/lkddb/web-lkddb/X86_POWERNOW_K8.html > > Sincerely, > > WIlliam Harrington Powernow is for cpufreq (a good thing to use, IMHO, but not mentioned in LFS) and not used anymore for K10 and newer CPUs (the support is now in acpi-cpufreq). From memory, the initial K10 was the athlon64xII. My git-foo isn't good enough to identify which release that happened in, but the indications are that it was well before 3.10. SMP is the key. If Dan is building only for that machine (and doesn't intend to use the system to boot any replacement machine when the time comes) then optimizing for the specific processor family, i.e. AMD x86_64 (Opteron/Athlon/Hammer/K8 : this is CONFIG_MK8 but works on K10 ;-) might gain a little, as might Multi-Core Scheduler support. ĸen -- das eine Mal als Tragödie, dieses Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Configuring 3.10.10 for quad-core processor
On Dec 4, 2013, at 1:49 PM, Dan McGhee wrote: > AMD-10-5745M Have you used the powernow-k8 driver and have SMP enabled? http://cateee.net/lkddb/web-lkddb/X86_POWERNOW_K8.html Sincerely, WIlliam Harrington -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
[lfs-support] Configuring 3.10.10 for quad-core processor
I was slogging through dmesg in my new LFS system and didn't find more than one CPU loaded. I have an AMD-10-5745M processor which has a quad-core. I tried to reconfigure the kernel to support it but it wouldn't boot. Am reverting back to the one I know works. Can anyone suggest the .config settings to enable this in 3.10.10? I've also heard that in addition to enhanced Radeon graphics support, kernel 3.12 has enhanced support for AMD processors, but I can't verify this. When I configured 3.10.10, I set GENERIC_x86_64=y and have been looking for support for this particular processor. Any other knowledge? Thanks, Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page