Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Processor Problems?

  1. #1
    Join Date
    Nov 2012
    Beans
    9

    Processor Problems?

    Hello everyone,

    I'm very new to the community, and also very new to using Ubuntu / Linux. I have a question that I've been searching and searching for a few days for the answer, and I'm afraid I just can't find anything helpful.

    I'll admit now that I'm not much of a coder / programmer at all, I am just bored and wanting to try something different out. I've heard for years about Linux, and found Ubuntu Studio and thought it seemed interesting and wanted to try it out.

    Now, the problem I'm having is this: For some reason the Ubuntu Studio OS does NOT see more than one core for my processor. I've installed and tried version 12.10, and since that one didn't work I figured the LTS 12.04 version might, but same thing.

    My BIOS is set to ACPI Enabled, my processor is an AMD Phenom 8400 Triple-Core.

    I'm running the 64bit version of the OS, as I figured it should be okay since my Win7 is 64 bit.

    Is there anything that anyone can suggest, hopefully that doesn't go too over my head.

    Thank you very much for the responses, and allow me to apologize if this has been answered before - I can't seem to find any threads that had any helpful info for me.

  2. #2
    Join Date
    Dec 2007
    Location
    Idaho
    Beans
    4,976
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Processor Problems?

    How is it you came to arrive at the conclusion that Ubuntu is only seeing one core?

    What does this show?
    Code:
    grep cores /proc/cpuinfo
    "You can't expect to hold supreme executive power just because some watery tart lobbed a sword at you"

    "Don't let your mind wander -- it's too little to be let out alone."

  3. #3
    Join Date
    Nov 2012
    Beans
    9

    Re: Processor Problems?

    Quote Originally Posted by jerome1232 View Post
    How is it you came to arrive at the conclusion that Ubuntu is only seeing one core?

    What does this show?
    Code:
    grep cores /proc/cpuinfo

    When I used cat /proc/cpuinfo it would only show details for processor 0, no other details.

    The answer to your question is: cpu cores :1

  4. #4
    Join Date
    Feb 2011
    Location
    Coquitlam, B.C. Canada
    Beans
    3,521
    Distro
    Ubuntu Development Release

    Re: Processor Problems?

    I looked around some, and there seems to have been other occurances of the same issue, although they also claim to be solved.

    Suggest that you have a close look at /var/log/kern.log for entries during start up. Try to find the area where it detects core 0 and tries to proceed from there. Look for any complaint or error type entries. Also look to see that the CPU is correctly identified.

    Here is an example from one of my computers (yours has a different CPU and will differ):
    Code:
    Nov 13 17:24:12 s15 kernel: [    0.002201] CPU: Physical Processor ID: 0
    Nov 13 17:24:12 s15 kernel: [    0.002203] CPU: Processor Core ID: 0
    Nov 13 17:24:12 s15 kernel: [    0.002207] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
    Nov 13 17:24:12 s15 kernel: [    0.002208] ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)
    Nov 13 17:24:12 s15 kernel: [    0.002212] mce: CPU supports 9 MCE banks
    Nov 13 17:24:12 s15 kernel: [    0.002223] CPU0: Thermal monitoring enabled (TM1)
    Nov 13 17:24:12 s15 kernel: [    0.002229] using mwait in idle threads.
    Nov 13 17:24:12 s15 kernel: [    0.003966] ACPI: Core revision 20110623
    Nov 13 17:24:12 s15 kernel: [    0.013929] ftrace: allocating 27014 entries in 106 pages
    Nov 13 17:24:12 s15 kernel: [    0.021241] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
    Nov 13 17:24:12 s15 kernel: [    0.060900] CPU0: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz stepping 07
    Nov 13 17:24:12 s15 kernel: [    0.164903] Performance Events: PEBS fmt1+, SandyBridge events, Intel PMU driver.
    Nov 13 17:24:12 s15 kernel: [    0.164908] PEBS disabled due to CPU errata.
    Nov 13 17:24:12 s15 kernel: [    0.164910] ... version:                3
    Nov 13 17:24:12 s15 kernel: [    0.164912] ... bit width:              48
    Nov 13 17:24:12 s15 kernel: [    0.164913] ... generic registers:      4
    Nov 13 17:24:12 s15 kernel: [    0.164915] ... value mask:             0000ffffffffffff
    Nov 13 17:24:12 s15 kernel: [    0.164917] ... max period:             000000007fffffff
    Nov 13 17:24:12 s15 kernel: [    0.164918] ... fixed-purpose events:   3
    Nov 13 17:24:12 s15 kernel: [    0.164920] ... event mask:             000000070000000f
    Nov 13 17:24:12 s15 kernel: [    0.165024] NMI watchdog enabled, takes one hw-pmu counter.
    Nov 13 17:24:12 s15 kernel: [    0.165073] Booting Node   0, Processors  #1
    Nov 13 17:24:12 s15 kernel: [    0.165075] smpboot cpu 1: start_ip = 98000
    Nov 13 17:24:12 s15 kernel: [    0.272931] NMI watchdog enabled, takes one hw-pmu counter.
    Nov 13 17:24:12 s15 kernel: [    0.272995]  #2
    Nov 13 17:24:12 s15 kernel: [    0.272996] smpboot cpu 2: start_ip = 98000
    Nov 13 17:24:12 s15 kernel: [    0.380847] NMI watchdog enabled, takes one hw-pmu counter.
    Nov 13 17:24:12 s15 kernel: [    0.380908]  #3
    Nov 13 17:24:12 s15 kernel: [    0.380909] smpboot cpu 3: start_ip = 98000
    Nov 13 17:24:12 s15 kernel: [    0.488759] NMI watchdog enabled, takes one hw-pmu counter.
    Nov 13 17:24:12 s15 kernel: [    0.488819]  #4
    Nov 13 17:24:12 s15 kernel: [    0.488821] smpboot cpu 4: start_ip = 98000
    Nov 13 17:24:12 s15 kernel: [    0.596673] NMI watchdog enabled, takes one hw-pmu counter.
    Nov 13 17:24:12 s15 kernel: [    0.596742]  #5
    Nov 13 17:24:12 s15 kernel: [    0.596744] smpboot cpu 5: start_ip = 98000
    Nov 13 17:24:12 s15 kernel: [    0.704597] NMI watchdog enabled, takes one hw-pmu counter.
    Nov 13 17:24:12 s15 kernel: [    0.704659]  #6
    Nov 13 17:24:12 s15 kernel: [    0.704660] smpboot cpu 6: start_ip = 98000
    Nov 13 17:24:12 s15 kernel: [    0.812611] NMI watchdog enabled, takes one hw-pmu counter.
    Nov 13 17:24:12 s15 kernel: [    0.812672]  #7 Ok.
    Nov 13 17:24:12 s15 kernel: [    0.812674] smpboot cpu 7: start_ip = 98000
    Nov 13 17:24:12 s15 kernel: [    0.920525] NMI watchdog enabled, takes one hw-pmu counter.
    Nov 13 17:24:12 s15 kernel: [    0.920550] Brought up 8 CPUs
    Nov 13 17:24:12 s15 kernel: [    0.920552] Total of 8 processors activated (54576.62 BogoMIPS).

  5. #5
    Join Date
    Nov 2012
    Beans
    9

    Re: Processor Problems?

    Thanks for the reply Doug!

    I checked out what you said, and it spit back a bunch of info, so much that I couldn't scroll all the way to the top of it, and in the part that I could read, there was nothing saying anything about the cpus.

    Not that it would matter if it did anyway, as something like that I'm not too sure how to fix.

    I guess I was kind of hoping that someone would know of a "click this and it will fix it" or "type this and it will fix it" solution.

    I'm not sure if this helps at all, but here is the read out from my /proc/cpuinfo

    cat /proc/cpuinfo
    processor : 0
    vendor_id : AuthenticAMD
    cpu family : 16
    model : 2
    model name : AMD Phenom(tm) 8400 Triple-Core Processor
    stepping : 2
    microcode : 0x1000065
    cpu MHz : 1050.000
    cache size : 512 KB
    physical id : 0
    siblings : 1
    core id : 0
    cpu cores : 1
    apicid : 0
    initial apicid : 0
    fpu : yes
    fpu_exception : yes
    cpuid level : 5
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs hw_pstate npt lbrv svm_lock
    bogomips : 4199.98
    TLB size : 1024 4K pages
    clflush size : 64
    cache_alignment : 64
    address sizes : 48 bits physical, 48 bits virtual
    power management: ts ttp tm stc 100mhzsteps hwpstate

  6. #6
    Join Date
    Feb 2011
    Location
    Coquitlam, B.C. Canada
    Beans
    3,521
    Distro
    Ubuntu Development Release

    Re: Processor Problems?

    I assumed you would use an editor to look at the file. I like "nano" and pretty much use only it on linux. You could also "cat /var/log/kern.log | more" to get a screen full at a time.
    Your computer seems to identify the CPU properly, so the question is what happens when it tries to start the other cores? There should be some entries in the kern.log file that might help us understand.
    Last edited by Doug S; November 15th, 2012 at 04:05 AM. Reason: typo

  7. #7
    Join Date
    Nov 2012
    Beans
    9

    Re: Processor Problems?

    Thanks again Doug, after using the | more command, I was able to slowly go through line by line.

    Of course, as mentioned before my ability to read programming code & understand how to fix it is.... well weak would be an understatement..... anyway, I went through and this is what I found about the processors; it says that CPU 1 & 2 are not responding.




    Ubuntu kernel: [ 0.003806] tseg: 00bff00000
    Ubuntu kernel: [ 0.003808] CPU: Physical Processor ID: 0
    Ubuntu kernel: [ 0.003809] CPU: Processor Core ID: 0
    Ubuntu kernel: [ 0.003811] mce: CPU supports 6 MCE banks
    Ubuntu kernel: [ 0.003818] LVT offset 0 assigned for vector 0xf9
    Ubuntu kernel: [ 0.003823] using AMD E400 aware idle routine
    Ubuntu kernel: [ 0.004623] ACPI: Core revision 20120320
    Ubuntu kernel: [ 0.012173] ftrace: allocating 25103 entries in 99 pages
    Ubuntu kernel: [ 0.250576] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
    Ubuntu kernel: [ 0.260569] CPU0: AMD Phenom(tm) 8400 Triple-Core Processor stepping 02
    Ubuntu kernel: [ 0.361581] Performance Events: AMD PMU driver.
    Ubuntu kernel: [ 0.361585] ... version: 0
    Ubuntu kernel: [ 0.361587] ... bit width: 48
    Ubuntu kernel: [ 0.361588] ... generic registers: 4
    Ubuntu kernel: [ 0.361589] ... value mask: 0000ffffffffffff
    Ubuntu kernel: [ 0.361591] ... max period: 00007fffffffffff
    Ubuntu kernel: [ 0.361592] ... fixed-purpose events: 0
    Ubuntu kernel: [ 0.361593] ... event mask: 000000000000000f
    Ubuntu kernel: [ 0.367641] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
    Ubuntu kernel: [ 0.371577] Booting Node 0, Processors #1
    Ubuntu kernel: [ 5.930942] CPU1: Not responding.
    Ubuntu kernel: [ 5.934421] #2
    Ubuntu kernel: [ 11.494059] CPU2: Not responding.
    Ubuntu kernel: [ 11.494104] Brought up 1 CPUs
    Ubuntu kernel: [ 11.494106] Total of 1 processors activated (4199.98 BogoMIPS).
    Ubuntu kernel: [ 11.495591] devtmpfs: initialized

  8. #8
    Join Date
    Nov 2012
    Beans
    9

    Re: Processor Problems?

    I should add that since 12.04 was not recognizing all the cores I went and reinstalled version 12.10 again.

    Does anyone have any ideas or suggestions?

  9. #9
    Join Date
    Jan 2008
    Location
    Nappanee, IN
    Beans
    602
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Processor Problems?

    Are you sure that Windows is seeing all of your processor cores? Windows may have 'parked' some of the processor cores to reduce power consumption. Check out this video on Youtube: http://www.youtube.com/watch?v=pl3u9eiskM4

    You might also check out your GRUB startup by restarting, moving to your normal OS choice and pressing the E key to edit your GRUB startup and make sure you don't have something set like maxcpus=1.

  10. #10
    Join Date
    Feb 2011
    Location
    Coquitlam, B.C. Canada
    Beans
    3,521
    Distro
    Ubuntu Development Release

    Re: Processor Problems?

    Hmmm... The kern.log segment only confirms what we already know and doesn't provide more insight.

    I spent time last night searching around about your issue, but didn't find much.
    Are you sure all cores are enabled in the BIOS?

    I don't understand the comment about windows "parking" (I watched the video), as that is a completely different operating system and a windows registry setting would not carry over.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •