[Bugme-new] [Bug 11261] New: cpu number error after disable some LCPU by CPU HOTPLUG

bugme-daemon at bugzilla.kernel.org bugme-daemon at bugzilla.kernel.org
Thu Aug 7 01:33:47 PDT 2008


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

           Summary: cpu number error after disable some LCPU by CPU HOTPLUG
           Product: Platform Specific/Hardware
           Version: 2.5
     KernelVersion: 2.6.27-rc2
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: x86-64
        AssignedTo: platform_x86_64 at kernel-bugs.osdl.org
        ReportedBy: alex.shi at intel.com


Latest working kernel version:unknown
Earliest failing kernel version:
Distribution:Fedora 8
Hardware Environment:Intel harpertown & hahelem 
Software Environment:
Problem Description:
only 2 cpus found after disable some LCPUS by CPU HOTPLUG feature.
[alexs at lkp-st01-x8664 ~]$ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Genuine Intel(R) CPU                  @ 2.66GHz
stepping        : 11
cpu MHz         : 2660.005
cache size      : 4096 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm
constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx est tm2
ssse3 cx16 xtpr dca lahf_lm
bogomips        : 5320.01
clflush size    : 64
cache_alignment : 64
address sizes   : 38 bits physical, 48 bits virtual
power management:

processor       : 2
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Genuine Intel(R) CPU                  @ 2.66GHz
stepping        : 11
cpu MHz         : 2660.005
cache size      : 4096 KB
physical id     : 0
siblings        : 4
core id         : 1
cpu cores       : 4
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm
constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx est tm2
ssse3 cx16 xtpr dca lahf_lm
bogomips        : 5320.13
clflush size    : 64
cache_alignment : 64
address sizes   : 38 bits physical, 48 bits virtual
power management:

[alexs at lkp-st01-x8664 ~]$ cat /proc/interrupts
           CPU0       CPU2       CPU4       CPU5       CPU6       CPU7
  0:         29          0          0          0          0          0  
IO-APIC-edge      timer
  1:          1          0          0          0          0          1  
IO-APIC-edge      i8042
  3:          0          1          0          0          1          0  
IO-APIC-edge
  4:         44         35         48         47         28         46  
IO-APIC-edge      serial
  9:          0          0          0          0          0          0  
IO-APIC-fasteoi   acpi
 12:          0          1          1          0          1          0  
IO-APIC-edge      i8042
 14:         26         24         34         14         32         15  
IO-APIC-edge      ide0
 17:          8          6          6          8          6          7  
IO-APIC-fasteoi   ehci_hcd:usb1, uhci_hcd:usb2
 18:          0          0          0          0          0          0  
IO-APIC-fasteoi   uhci_hcd:usb4
 19:      34171      32765      13804        699      12332        697  
IO-APIC-fasteoi   ahci, uhci_hcd:usb3
 28:         11         16          9          8      89642         14  
IO-APIC-fasteoi   eth2
198:       1282      47633       1641       1640          9       1656  
PCI-MSI-edge      eth3
NMI:          0          0          0          0          0          0  
Non-maskable interrupts
LOC:   13165275   13165482   13165424   12586776   13165261   12588924   Local
timer interrupts
RES:     215710     209353     214538     214149     209574     210073  
Rescheduling interrupts
CAL:        209        225        227        222        224         52  
function call interrupts
TLB:    3904740    3799777    3908838    3887585    3828639    3853560   TLB
shootdowns
TRM:          0          0          0          0          0          0  
Thermal event interrupts
THR:          0          0          0          0          0          0  
Threshold APIC interrupts
SPU:          0          0          0          0          0          0  
Spurious interrupts
ERR:          0
[alexs at lkp-st01-x8664 ~]$ cat /sys/devices/system/cpu/online
0,2,4-7

Steps to reproduce: 
1, echo 0 > /sys/devices/system/cpu/cpuX/online
2, cat /proc/cpuinfo


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


More information about the Bugme-new mailing list