LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 01-02-2014, 06:49 PM   #1
onamatic
LQ Newbie
 
Registered: Mar 2008
Posts: 11

Rep: Reputation: 1
Spurious inability to boot all AMD cores


AMD Athlon(tm) II X4 620 Processor
RADEON HD4200 Radeon Driver
KDE 4.10.5
Kernel 3.8.0-34-generic
Gigabyte Technology Co., Ltd. GA-MA785GMT-UD2H/GA-MA785GMT-UD2H, BIOS F3 09/16/2009


Sometimes, especially when warm booting, the kernel only recognises 1 core (CPU 0).
Console messages flash up saying something like "No response from CPU 1" ... "No response from CPU 2"...

Normally 4 cores come up as expected but when it starts sulking like this it can take many reboots to correct.

Any thoughts please?
 
Old 01-02-2014, 07:51 PM   #2
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
Did you recompile the kernel yourself? If yes, did you set the compilation session for multiprocessors ?
When was the last time you check the disk health?
Does your system run normaly with live cds ?

More information is necessary to spot the problem, please provide as much as you can.

Regards
 
Old 01-02-2014, 10:31 PM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
The F4 BIOS for this mainboards added Core Control options, so it might help to update your BIOS to the latest non-beta version F9.
 
Old 01-03-2014, 05:49 AM   #4
onamatic
LQ Newbie
 
Registered: Mar 2008
Posts: 11

Original Poster
Rep: Reputation: 1
Thank you for the suggestions chaps.

ukiuki:
It's a stock kernel with CONFIG_NR_CPUS=256.
Disks were fine yesterday.
Live CDs have been problematic sometimes (if kernel version is < 3.7.0 approx.). Newer ones seem OK. Most problematic ones will work with kernel param nolapic_timer.

TobiSGD:
Aha. Sounds like a good first step. I am just going outside to flash my bios and may be some time.

Regards,
Bob.
 
1 members found this post helpful.
Old 01-03-2014, 09:01 AM   #5
onamatic
LQ Newbie
 
Registered: Mar 2008
Posts: 11

Original Poster
Rep: Reputation: 1
I flashed the bios to F9 05/25/2010.

I couldn't find any Core Control options [EDIT: Found in MIT settings!] in the BIOS Setup, but:

I've rebooted 4 times.

4 cores recognised every time.

Looking good! Thank you.

Regards,

Bob

Last edited by onamatic; 01-04-2014 at 06:19 PM. Reason: found Core options
 
Old 01-04-2014, 10:47 AM   #6
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
Please mark thread as solved so others can benefit from it.

Regards

Last edited by ukiuki; 01-06-2014 at 01:04 PM.
 
Old 01-04-2014, 06:18 PM   #7
onamatic
LQ Newbie
 
Registered: Mar 2008
Posts: 11

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by ukiuki View Post
Please mark thread as solved so others can benefit from it.
Alas, I spoke too soon! Today I can't get the thing to boot more than 1 core (5 reboots and counting) so I'm still looking for a solution.

Regards,

Bob
 
Old 01-05-2014, 06:15 AM   #8
onamatic
LQ Newbie
 
Registered: Mar 2008
Posts: 11

Original Poster
Rep: Reputation: 1
After 6 reboots failed to bring up all cores I added nolapic_timer to kernel params.
This worked immediately.

dmesg now lists various timer problems (eg: Could not switch to high resolution mode on CPU x) but high res. is not important to me.
The main thing is that core detection is instantaneous.

It's not a fix, more a workaround; it's clear there are a lot of issues around lapic timers, and AMD C1E it seems.

I'll mark this thread solved in a day or two after a few more boots.

Regards.

Bob
 
Old 01-06-2014, 01:03 PM   #9
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
What system and version are you running there?
And what about compile the kernel yourself to fix those problems,
it is clear so far that the stock kernel isn't handling it well.
And in the worse scenario have you grasp the possibility of a faulty hardware?

Regards
 
Old 01-06-2014, 06:35 PM   #10
onamatic
LQ Newbie
 
Registered: Mar 2008
Posts: 11

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by ukiuki View Post
What system and version are you running there?
And what about compile the kernel yourself to fix those problems,
it is clear so far that the stock kernel isn't handling it well.
And in the worse scenario have you grasp the possibility of a faulty hardware?
It's Mint 15 KDE (other details as per first post).
I don't want to recompile the kernel at the moment as I have development in progress which depend on this particular kernel. I'll probably move to Mint 16 in a few months anyway.
Yes, faulty hardware is always a possibility; but, whether it boots all cores or not, it is a very stable system so I doubt that's the case here. I have seen references to problems with older kernels setting up AMD Athlon chipsets but nothing recent.

Update:
nolapic_timer was not the answer! So I have now reset the BIOS completely (shorted the reset pins on mobo) and am running with nmi_watchdog=0 as a kernel parameter. 3 boots and no failures so far!

Regards,
Bob

Last edited by onamatic; 01-06-2014 at 06:37 PM.
 
Old 01-10-2014, 06:22 PM   #11
onamatic
LQ Newbie
 
Registered: Mar 2008
Posts: 11

Original Poster
Rep: Reputation: 1
I'm going to mark this thread as solved. After resetting the bios and setting nmi_watchdog=0 there hasn't been a single boot failure - must be about twenty boots by now.

Thanks for your help chaps.

Bob
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
AMD Cores/Threads/Virtual Cores dman777 Linux - Hardware 2 05-07-2013 02:04 AM
Six-Core AMD Opteron(tm) Processor 8435 only show 2 cores in cpuinfo eltonsky Linux - Hardware 2 03-08-2012 03:12 PM
[SOLVED] AMD CPU: Athlon II or Phenom II? And how many cores? Jyde Linux - Hardware 43 10-11-2010 10:33 PM
real temperature from amd k10 cores maxx223 Linux - General 3 04-03-2010 04:33 AM
Wich are the differents cores of AMD 64bits CPUs? HellSpawn General 14 02-26-2006 08:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 03:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration