http://bugzilla.kernel.org/show_bug.cgi?id=13640

           Summary: processor detection fails due to bios mistake
           Product: ACPI
           Version: 2.5
    Kernel Version: 2.6.29
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Config-Processors
        AssignedTo: [email protected]
        ReportedBy: [email protected]
        Regression: No


Created an attachment (id=22129)
 --> (http://bugzilla.kernel.org/attachment.cgi?id=22129)
dmesg of CPU detection with ACPI

CPU: amd opteron 270
mainboard: tyan tiger k8SSA

only one of both CPUs is installed

When using MPS to lookup for CPUs, everything works as expected, I get both
cores online.
When using ACPI, only one core is detected:
the mainboard claims it is not SMP capable, while it should be.  I guess it
makes this mistake due to only one CPU being installed.
in the attachment: dmesg output with ACPI support. 

I tried playing with acpi=ht, nolapic noapic, but in vain.
I tried numa=noacpi, and tried additional_cpus=4 to bring the core online with
CPU hotplugging.  none of them worked.

I suggest a kernel option 'ignore mainboard SMP state' or something to look for
CPUs which are not listed

dmesg without acpi detection:
Jun 28 01:08:03 linuxserver [    0.000000] Linux version 2.6.29-gentoo-r5
(r...@linuxserver) (gcc version 4.3.2 (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) ) #3
SMP Sun Jun 28 
00:04:38 CES$                                                                   
Jun 28 01:08:03 linuxserver [    0.000000] Command line: auto BOOT_IMAGE=gentoo
ro root=303                                                                     
Jun 28 01:08:03 linuxserver [    0.000000] KERNEL supported cpus:               
Jun 28 01:08:03 linuxserver [    0.000000]   Intel GenuineIntel                 
Jun 28 01:08:03 linuxserver [    0.000000]   AMD AuthenticAMD                   
Jun 28 01:08:03 linuxserver [    0.000000]   Centaur CentaurHauls               
Jun 28 01:08:03 linuxserver [    0.000000] BIOS-provided physical RAM map:      
Jun 28 01:08:03 linuxserver [    0.000000]  BIOS-e820: 0000000000000000 -
000000000009f000 (usable)                                                       
Jun 28 01:08:03 linuxserver [    0.000000]  BIOS-e820: 000000000009f000 -
00000000000a0000 (reserved)                                                     
Jun 28 01:08:03 linuxserver [    0.000000]  BIOS-e820: 00000000000e0000 -
0000000000100000 (reserved)                                                     
Jun 28 01:08:03 linuxserver [    0.000000]  BIOS-e820: 0000000000100000 -
00000000bfff0000 (usable)                                                       
Jun 28 01:08:03 linuxserver [    0.000000]  BIOS-e820: 00000000bfff0000 -
00000000bfffe000 (ACPI data)                                                    
Jun 28 01:08:03 linuxserver [    0.000000]  BIOS-e820: 00000000bfffe000 -
00000000c0000000 (ACPI NVS)                                                     
Jun 28 01:08:03 linuxserver [    0.000000]  BIOS-e820: 00000000fec00000 -
00000000fec03000 (reserved)                                                     
Jun 28 01:08:03 linuxserver [    0.000000]  BIOS-e820: 00000000fee00000 -
00000000fee01000 (reserved)                                                     
Jun 28 01:08:03 linuxserver [    0.000000]  BIOS-e820: 0000000100000000 -
0000000140000000 (usable)                                                       
Jun 28 01:08:03 linuxserver [    0.000000] DMI 2.3 present.                     
Jun 28 01:08:03 linuxserver [    0.000000] AMI BIOS detected: BIOS may corrupt
low RAM, working around it.                                                     
Jun 28 01:08:03 linuxserver [    0.000000] last_pfn = 0x140000 max_arch_pfn =
0x100000000                                                                     
Jun 28 01:08:03 linuxserver [    0.000000] x86 PAT enabled: cpu 0, old
0x7040600070406, new 0x7010600070106                                            
Jun 28 01:08:03 linuxserver [    0.000000] last_pfn = 0xbfff0 max_arch_pfn =
0x100000000                                                                     
Jun 28 01:08:03 linuxserver [    0.000000] init_memory_mapping:
0000000000000000-00000000bfff0000                                               
Jun 28 01:08:03 linuxserver [    0.000000]  0000000000 - 00bfe00000 page 2M     
Jun 28 01:08:03 linuxserver [    0.000000]  00bfe00000 - 00bfff0000 page 4k     
Jun 28 01:08:03 linuxserver [    0.000000] kernel direct mapping tables up to
bfff0000 @ 10000-15000                                                          
Jun 28 01:08:03 linuxserver [    0.000000] last_map_addr: bfff0000 end:
bfff0000                                                                        
Jun 28 01:08:03 linuxserver [    0.000000] init_memory_mapping:
0000000100000000-0000000140000000                                               
Jun 28 01:08:03 linuxserver [    0.000000]  0100000000 - 0140000000 page 2M     
Jun 28 01:08:03 linuxserver [    0.000000] kernel direct mapping tables up to
140000000 @ 13000-19000                                                         
Jun 28 01:08:03 linuxserver [    0.000000] last_map_addr: 140000000 end:
140000000                                                                       
Jun 28 01:08:03 linuxserver [    0.000000] Scanning NUMA topology in
Northbridge 24                                                                  
Jun 28 01:08:03 linuxserver [    0.000000] No NUMA configuration found          
Jun 28 01:08:03 linuxserver [    0.000000] Faking a node at
0000000000000000-0000000140000000                                               
Jun 28 01:08:03 linuxserver [    0.000000] Bootmem setup node 0
0000000000000000-0000000140000000                                               
Jun 28 01:08:03 linuxserver [    0.000000]   NODE_DATA [0000000000014000 -
0000000000016fff]                                                               
Jun 28 01:08:03 linuxserver [    0.000000]   bootmap [0000000000017000 - 
000000000003efff] pages 28                                                      
Jun 28 01:08:03 linuxserver [    0.000000] (6 early reservations) ==> bootmem
[0000000000 - 0140000000]                                                       
Jun 28 01:08:03 linuxserver [    0.000000]   #0 [0000000000 - 0000001000]  
BIOS data page ==> [0000000000 - 0000001000]                                    
Jun 28 01:08:03 linuxserver [    0.000000]   #1 [0000006000 - 0000008000]      
TRAMPOLINE ==> [0000006000 - 0000008000]                                        
Jun 28 01:08:03 linuxserver [    0.000000]   #2 [0001000000 - 000181ecc8]   
TEXT DATA BSS ==> [0001000000 - 000181ecc8]                                     
Jun 28 01:08:03 linuxserver [    0.000000]   #3 [000009f000 - 0000100000]   
BIOS reserved ==> [000009f000 - 0000100000]                                     
Jun 28 01:08:03 linuxserver [    0.000000]   #4 [0000010000 - 0000013000]      
   PGTABLE ==> [0000010000 - 0000013000]                                        
Jun 28 01:08:03 linuxserver [    0.000000]   #5 [0000013000 - 0000014000]      
   PGTABLE ==> [0000013000 - 0000014000]                                        
Jun 28 01:08:03 linuxserver [    0.000000] found SMP MP-table at
[ffff8800000ff780] 000ff780                                                     
Jun 28 01:08:03 linuxserver [    0.000000]  [ffffe20000000000-ffffe200045fffff]
PMD -> [ffff880001a00000-ffff8800051fffff] on node 0                            
Jun 28 01:08:03 linuxserver [    0.000000] Zone PFN ranges:                     
Jun 28 01:08:03 linuxserver [    0.000000]   DMA      0x00000010 -> 0x00001000  
Jun 28 01:08:03 linuxserver [    0.000000]   DMA32    0x00001000 -> 0x00100000  
Jun 28 01:08:03 linuxserver [    0.000000]   Normal   0x00100000 -> 0x00140000  
Jun 28 01:08:03 linuxserver [    0.000000] Movable zone start PFN for each node 
Jun 28 01:08:03 linuxserver [    0.000000] early_node_map[3] active PFN ranges  
Jun 28 01:08:03 linuxserver [    0.000000]     0: 0x00000010 -> 0x0000009f      
Jun 28 01:08:03 linuxserver [    0.000000]     0: 0x00000100 -> 0x000bfff0      
Jun 28 01:08:03 linuxserver [    0.000000]     0: 0x00100000 -> 0x00140000      
Jun 28 01:08:03 linuxserver [    0.000000] On node 0 totalpages: 1048447        
Jun 28 01:08:03 linuxserver [    0.000000]   DMA zone: 56 pages used for memmap 
Jun 28 01:08:03 linuxserver [    0.000000]   DMA zone: 106 pages reserved       
Jun 28 01:08:03 linuxserver [    0.000000]   DMA zone: 3821 pages, LIFO batch:0 
Jun 28 01:08:03 linuxserver [    0.000000]   DMA32 zone: 14280 pages used for
memmap                                                                          
Jun 28 01:08:03 linuxserver [    0.000000]   DMA32 zone: 768040 pages, LIFO
batch:31                                                                        
Jun 28 01:08:03 linuxserver [    0.000000]   Normal zone: 3584 pages used for
memmap                                                                          
Jun 28 01:08:03 linuxserver [    0.000000]   Normal zone: 258560 pages, LIFO
batch:31                                                                        
Jun 28 01:08:03 linuxserver [    0.000000] Detected use of extended apic ids on
hypertransport bus                                                              
Jun 28 01:08:03 linuxserver [    0.000000] Intel MultiProcessor Specification
v1.4                                                                            
Jun 28 01:08:03 linuxserver [    0.000000] MPTABLE: OEM ID: TEMPLATE            
Jun 28 01:08:03 linuxserver [    0.000000] MPTABLE: Product ID: ETEMPLATE       
Jun 28 01:08:03 linuxserver [    0.000000] MPTABLE: APIC at: 0xFEE00000         
Jun 28 01:08:03 linuxserver [    0.000000] Processor #0 (Bootup-CPU)            
Jun 28 01:08:03 linuxserver [    0.000000] Processor #1                         
Jun 28 01:08:03 linuxserver [    0.000000] I/O APIC #2 Version 17 at
0xFEC00000.                                                                     
Jun 28 01:08:03 linuxserver [    0.000000] I/O APIC #3 Version 17 at
0xFEC01000.                                                                     
Jun 28 01:08:03 linuxserver [    0.000000] I/O APIC #4 Version 17 at
0xFEC02000.                                                                     
Jun 28 01:08:03 linuxserver [    0.000000] Processors: 2                        
Jun 28 01:08:03 linuxserver [    0.000000] SMP: Allowing 2 CPUs, 0 hotplug CPUs 
Jun 28 01:08:03 linuxserver [    0.000000] nr_irqs_gsi: 48                      
Jun 28 01:08:03 linuxserver [    0.000000] Allocating PCI resources starting at
c4000000 (gap: c0000000:3ec00000)                                               
Jun 28 01:08:03 linuxserver [    0.000000] NR_CPUS:48 nr_cpumask_bits:48
nr_cpu_ids:2 nr_node_ids:1                                                      
Jun 28 01:08:03 linuxserver [    0.000000] PERCPU: Allocating 57344 bytes of
per cpu data                                                                    
Jun 28 01:08:03 linuxserver [    0.000000] Built 1 zonelists in Node order,
mobility grouping on.  Total pages: 1030421                                     
Jun 28 01:08:03 linuxserver [    0.000000] Policy zone: Normal
Jun 28 01:08:03 linuxserver [    0.000000] Kernel command line: auto
BOOT_IMAGE=gentoo ro root=303
Jun 28 01:08:03 linuxserver [    0.000000] Initializing CPU#0
Jun 28 01:08:03 linuxserver [    0.000000] PID hash table entries: 4096 (order:
12, 32768 bytes)
Jun 28 01:08:03 linuxserver [    0.000000] Fast TSC calibration using PIT
Jun 28 01:08:03 linuxserver [    0.000000] Detected 1995.149 MHz processor.
Jun 28 01:08:03 linuxserver [    0.010000] Console: colour VGA+ 80x25
Jun 28 01:08:03 linuxserver [    0.010000] console [tty0] enabled
Jun 28 01:08:03 linuxserver [    0.010000] Checking aperture...
Jun 28 01:08:03 linuxserver [    0.010000] No AGP bridge found
Jun 28 01:08:03 linuxserver [    0.010000] Node 0: aperture @ f0000000 size 64
MB
Jun 28 01:08:03 linuxserver [    0.010000] Memory: 4127568k/5242880k available
(4864k kernel code, 1049092k absent, 66220k reserved, 1836k data, 328k init)
Jun 28 01:08:03 linuxserver [    0.010000] SLUB: Genslabs=13, HWalign=64,
Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Jun 28 01:08:03 linuxserver [    0.010006] Calibrating delay loop (skipped),
value calculated using timer frequency.. 3990.29 BogoMIPS (lpj=19951490)
Jun 28 01:08:03 linuxserver [    0.010261] Security Framework initialized
Jun 28 01:08:03 linuxserver [    0.010691] Dentry cache hash table entries:
524288 (order: 10, 4194304 bytes)
Jun 28 01:08:03 linuxserver [    0.013651] Inode-cache hash table entries:
262144 (order: 9, 2097152 bytes)
Jun 28 01:08:03 linuxserver [    0.015027] Mount-cache hash table entries: 256
Jun 28 01:08:03 linuxserver [    0.015296] CPU: L1 I Cache: 64K (64
bytes/line), D cache 64K (64 bytes/line)
Jun 28 01:08:03 linuxserver [    0.015419] CPU: L2 Cache: 1024K (64 bytes/line)
Jun 28 01:08:03 linuxserver [    0.015535] CPU 0/0x0 -> Node 0
Jun 28 01:08:03 linuxserver [    0.015647] tseg: 0000000000
Jun 28 01:08:03 linuxserver [    0.015658] CPU: Physical Processor ID: 0
Jun 28 01:08:03 linuxserver [    0.015772] CPU: Processor Core ID: 0
Jun 28 01:08:03 linuxserver [    0.015952] Setting APIC routing to flat
Jun 28 01:08:03 linuxserver [    0.016247] ExtINT not setup in hardware but
reported by MP table
Jun 28 01:08:03 linuxserver [    0.017007] ..TIMER: vector=0x30 apic1=0 pin1=2
apic2=0 pin2=0
Jun 28 01:08:03 linuxserver [    0.117147] CPU0: Dual Core AMD Opteron(tm)
Processor 270 stepping 02
Jun 28 01:08:03 linuxserver [    0.230515] Booting processor 1 APIC 0x1 ip
0x6000
Jun 28 01:08:03 linuxserver [    0.010000] Initializing CPU#1
Jun 28 01:08:03 linuxserver [    0.010000] Calibrating delay using timer
specific routine.. 3990.10 BogoMIPS (lpj=19950515)
Jun 28 01:08:03 linuxserver [    0.010000] CPU: L1 I Cache: 64K (64
bytes/line), D cache 64K (64 bytes/line)
Jun 28 01:08:03 linuxserver [    0.010000] CPU: L2 Cache: 1024K (64 bytes/line)
Jun 28 01:08:03 linuxserver [    0.010000] CPU 1/0x1 -> Node 0
Jun 28 01:08:03 linuxserver [    0.010000] CPU: Physical Processor ID: 0
Jun 28 01:08:03 linuxserver [    0.010000] CPU: Processor Core ID: 1
Jun 28 01:08:03 linuxserver [    0.010000] x86 PAT enabled: cpu 1, old
0x7040600070406, new 0x7010600070106
Jun 28 01:08:03 linuxserver [    0.390376] CPU1: Dual Core AMD Opteron(tm)
Processor 270 stepping 02
Jun 28 01:08:03 linuxserver [    0.391569] Brought up 2 CPUs
Jun 28 01:08:03 linuxserver [    0.391681] Total of 2 processors activated
(7980.40 BogoMIPS).

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to