2009-12-23 16:55:25

by Sid Boyce

[permalink] [raw]
Subject: All kernels after 2.6.32-git10 show only 1 CPU

On the 4P box, 2.6.32-git10 boots and shows 4 CPU's, 2.6.32-git12 boots
and shows 1 CPU, 2.6.32-git15 to 2.6.33-rc1-git3 1 CPU and lots of oops,
continues with something like "Sending NMI interrupts to CPU's",
[udev] unexpectedly returned with status 0x0100
[udev] failed while handling /devices/pci000:00 -----etc--- same for
other devices.
Unable to capture via serial console as USB doesn't come ready.

On 2P laptop, up to 2.6.33-rc1 boots, 1 CPU and boot option "acpi=noirq"
needed, without it boot hangs, I think from 2.6.32-git15.
Building kernels, I have used the .config from previous kernel and
"make oldconfig".

# uname -r
2.6.32-git12-smp
slipstream:~ # cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 16
model : 4
model name : AMD Phenom(tm) II X4 940 Processor
stepping : 2
cpu MHz : 3013.597
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 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 up rep_good nonstop_tsc
pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm
sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
bogomips : 6027.18
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

# uname -r
2.6.32-git10-smp

# cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 16
model : 4
model name : AMD Phenom(tm) II X4 940 Processor
stepping : 2
cpu MHz : 3013.774
cache size : 512 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
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
nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm
extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
bogomips : 6027.53
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

processor : 1
vendor_id : AuthenticAMD
cpu family : 16
model : 4
model name : AMD Phenom(tm) II X4 940 Processor
stepping : 2
cpu MHz : 3013.774
cache size : 512 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 4
apicid : 1
initial apicid : 1
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
nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm
extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
bogomips : 6027.27
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

etc., up to processor 4.

On a 2P laptop
===============
tindog:~ # uname -r
2.6.33-rc1-smp

tindog:~ # cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 67
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
stepping : 3
cpu MHz : 1000.000
cache size : 1024 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt
rdtscp lm 3dnowext 3dnow up rep_good pni cx16 lahf_lm cmp_legacy svm
extapic cr8_legacy
bogomips : 2009.33
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc

The .config for the 4P and 2.6.33-rc1-git3 attached.
Regards
Sid.

--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks


Attachments:
dot_config (62.46 kB)

2009-12-24 13:05:29

by Sid Boyce

[permalink] [raw]
Subject: Re: All kernels after 2.6.32-git10 show only 1 CPU

On 23/12/09 16:55, Sid Boyce wrote:
> On the 4P box, 2.6.32-git10 boots and shows 4 CPU's, 2.6.32-git12 boots
> and shows 1 CPU, 2.6.32-git15 to 2.6.33-rc1-git3 1 CPU and lots of oops,
> continues with something like "Sending NMI interrupts to CPU's",
> [udev] unexpectedly returned with status 0x0100
> [udev] failed while handling /devices/pci000:00 -----etc--- same for
> other devices.
> Unable to capture via serial console as USB doesn't come ready.
>
> On 2P laptop, up to 2.6.33-rc1 boots, 1 CPU and boot option "acpi=noirq"
> needed, without it boot hangs, I think from 2.6.32-git15.
> Building kernels, I have used the .config from previous kernel and
> "make oldconfig".
>
> # uname -r
> 2.6.32-git12-smp
> slipstream:~ # cat /proc/cpuinfo
> processor : 0
> vendor_id : AuthenticAMD
> cpu family : 16
> model : 4
> model name : AMD Phenom(tm) II X4 940 Processor
> stepping : 2
> cpu MHz : 3013.597
> 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 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 up rep_good nonstop_tsc
> pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm
> sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
> bogomips : 6027.18
> 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
>
> # uname -r
> 2.6.32-git10-smp
>
> # cat /proc/cpuinfo
> processor : 0
> vendor_id : AuthenticAMD
> cpu family : 16
> model : 4
> model name : AMD Phenom(tm) II X4 940 Processor
> stepping : 2
> cpu MHz : 3013.774
> cache size : 512 KB
> physical id : 0
> siblings : 4
> core id : 0
> cpu cores : 4
> 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
> nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm
> extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
> bogomips : 6027.53
> 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
>
> processor : 1
> vendor_id : AuthenticAMD
> cpu family : 16
> model : 4
> model name : AMD Phenom(tm) II X4 940 Processor
> stepping : 2
> cpu MHz : 3013.774
> cache size : 512 KB
> physical id : 0
> siblings : 4
> core id : 1
> cpu cores : 4
> apicid : 1
> initial apicid : 1
> 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
> nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm
> extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
> bogomips : 6027.27
> 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
>
> etc., up to processor 4.
>
> On a 2P laptop
> ===============
> tindog:~ # uname -r
> 2.6.33-rc1-smp
>
> tindog:~ # cat /proc/cpuinfo
> processor : 0
> vendor_id : AuthenticAMD
> cpu family : 15
> model : 67
> model name : AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
> stepping : 3
> cpu MHz : 1000.000
> cache size : 1024 KB
> physical id : 0
> siblings : 1
> core id : 0
> cpu cores : 1
> apicid : 0
> initial apicid : 0
> fpu : yes
> fpu_exception : yes
> cpuid level : 1
> wp : yes
> flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
> cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt
> rdtscp lm 3dnowext 3dnow up rep_good pni cx16 lahf_lm cmp_legacy svm
> extapic cr8_legacy
> bogomips : 2009.33
> TLB size : 1024 4K pages
> clflush size : 64
> cache_alignment : 64
> address sizes : 40 bits physical, 48 bits virtual
> power management: ts fid vid ttp tm stc
>
> The .config for the 4P and 2.6.33-rc1-git3 attached.
> Regards
> Sid.
>

Same problem with linux-next 20091224, only one penguin showing during boot.
To get linux-next to boot I had to use kernel command line "acpi=off",
without, it shows the failures noted above.
When booted /proc/cpuinfo shows only 1 of the 4 CPU's.
lancelot@slipstream:~/ftp/dec09> gcc -v
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.4
--enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/
--with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap
--with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--enable-version-specific-runtime-libs --program-suffix=-4.4
--enable-linux-futex --without-system-libunwind --with-arch-32=i586
--with-tune=generic --build=x86_64-suse-linux
Thread model: posix
gcc version 4.4.2 [gcc-4_4-branch revision 154496] (SUSE Linux)

Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

2009-12-25 11:56:12

by Sid Boyce

[permalink] [raw]
Subject: Re: All kernels after 2.6.32-git10 show only 1 CPU ** Fixed in 2.6.33-rc2 **

Just made some changes to .config, shall try building on the 2P box with
old .config to see if it's a config problem -- doubt so as the configs
were fine with earlier kernels.
Attaching the .config diff.
slipstream:~ # uname -r
2.6.33-rc2-smp
slipstream:~ # cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 16
model : 4
model name : AMD Phenom(tm) II X4 940 Processor
stepping : 2
cpu MHz : 3013.988
cache size : 512 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
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
nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm
extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit
wdt


bogomips : 6027.96



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




processor : 1
vendor_id : AuthenticAMD
cpu family : 16
model : 4
model name : AMD Phenom(tm) II X4 940 Processor
stepping : 2
cpu MHz : 3013.988
cache size : 512 KB



physical id : 0



siblings : 4



core id : 1



cpu cores : 4



apicid : 1



initial apicid : 1



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
nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm
extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
bogomips : 6027.27
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

processor : 2
vendor_id : AuthenticAMD
cpu family : 16
model : 4
model name : AMD Phenom(tm) II X4 940 Processor
stepping : 2
cpu MHz : 3013.988
cache size : 512 KB
physical id : 0
siblings : 4
core id : 2
cpu cores : 4
apicid : 2
initial apicid : 2
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
nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm
extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
bogomips : 6027.27
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

processor : 3
vendor_id : AuthenticAMD
cpu family : 16
model : 4
model name : AMD Phenom(tm) II X4 940 Processor
stepping : 2
cpu MHz : 3013.988
cache size : 512 KB
physical id : 0
siblings : 4
core id : 3
cpu cores : 4
apicid : 3
initial apicid : 3
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
nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm
extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
bogomips : 6027.27
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
Regards
Sid.

On 24/12/09 13:05, Sid Boyce wrote:
> On 23/12/09 16:55, Sid Boyce wrote:
>> On the 4P box, 2.6.32-git10 boots and shows 4 CPU's, 2.6.32-git12 boots
>> and shows 1 CPU, 2.6.32-git15 to 2.6.33-rc1-git3 1 CPU and lots of oops,
>> continues with something like "Sending NMI interrupts to CPU's",
>> [udev] unexpectedly returned with status 0x0100
>> [udev] failed while handling /devices/pci000:00 -----etc--- same for
>> other devices.
>> Unable to capture via serial console as USB doesn't come ready.
>>
>> On 2P laptop, up to 2.6.33-rc1 boots, 1 CPU and boot option "acpi=noirq"
>> needed, without it boot hangs, I think from 2.6.32-git15.
>> Building kernels, I have used the .config from previous kernel and
>> "make oldconfig".
>>
>> # uname -r
>> 2.6.32-git12-smp
>> slipstream:~ # cat /proc/cpuinfo
>> processor : 0
>> vendor_id : AuthenticAMD
>> cpu family : 16
>> model : 4
>> model name : AMD Phenom(tm) II X4 940 Processor
>> stepping : 2
>> cpu MHz : 3013.597
>> 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 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 up rep_good nonstop_tsc
>> pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm
>> sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
>> bogomips : 6027.18
>> 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
>>
>> # uname -r
>> 2.6.32-git10-smp
>>
>> # cat /proc/cpuinfo
>> processor : 0
>> vendor_id : AuthenticAMD
>> cpu family : 16
>> model : 4
>> model name : AMD Phenom(tm) II X4 940 Processor
>> stepping : 2
>> cpu MHz : 3013.774
>> cache size : 512 KB
>> physical id : 0
>> siblings : 4
>> core id : 0
>> cpu cores : 4
>> 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
>> nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm
>> extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
>> bogomips : 6027.53
>> 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
>>
>> processor : 1
>> vendor_id : AuthenticAMD
>> cpu family : 16
>> model : 4
>> model name : AMD Phenom(tm) II X4 940 Processor
>> stepping : 2
>> cpu MHz : 3013.774
>> cache size : 512 KB
>> physical id : 0
>> siblings : 4
>> core id : 1
>> cpu cores : 4
>> apicid : 1
>> initial apicid : 1
>> 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
>> nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm
>> extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
>> bogomips : 6027.27
>> 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
>>
>> etc., up to processor 4.
>>
>> On a 2P laptop
>> ===============
>> tindog:~ # uname -r
>> 2.6.33-rc1-smp
>>
>> tindog:~ # cat /proc/cpuinfo
>> processor : 0
>> vendor_id : AuthenticAMD
>> cpu family : 15
>> model : 67
>> model name : AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
>> stepping : 3
>> cpu MHz : 1000.000
>> cache size : 1024 KB
>> physical id : 0
>> siblings : 1
>> core id : 0
>> cpu cores : 1
>> apicid : 0
>> initial apicid : 0
>> fpu : yes
>> fpu_exception : yes
>> cpuid level : 1
>> wp : yes
>> flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
>> cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt
>> rdtscp lm 3dnowext 3dnow up rep_good pni cx16 lahf_lm cmp_legacy svm
>> extapic cr8_legacy
>> bogomips : 2009.33
>> TLB size : 1024 4K pages
>> clflush size : 64
>> cache_alignment : 64
>> address sizes : 40 bits physical, 48 bits virtual
>> power management: ts fid vid ttp tm stc
>>
>> The .config for the 4P and 2.6.33-rc1-git3 attached.
>> Regards
>> Sid.
>>
>


--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks


Attachments:
.config.diff (19.95 kB)

2009-12-25 07:38:54

by Yinghai Lu

[permalink] [raw]
Subject: Re: All kernels after 2.6.32-git10 show only 1 CPU

On Wed, Dec 23, 2009 at 8:55 AM, Sid Boyce <[email protected]> wrote:
> On the 4P box, 2.6.32-git10 boots and shows 4 CPU's, 2.6.32-git12 boots
> and shows 1 CPU, 2.6.32-git15 to 2.6.33-rc1-git3 1 CPU and lots of oops,
> continues with something like "Sending NMI interrupts to CPU's",
> [udev] unexpectedly returned with status 0x0100
> [udev] failed while handling /devices/pci000:00 -----etc--- same for
> other devices.
> Unable to capture via serial console as USB doesn't come ready.
>
> On 2P laptop, up to 2.6.33-rc1 boots, 1 CPU and boot option "acpi=noirq"
> needed, without it boot hangs, I think from 2.6.32-git15.
> ?Building kernels, I have used the .config from previous kernel and
> "make oldconfig".
>
> # uname -r
> 2.6.32-git12-smp
> slipstream:~ # cat /proc/cpuinfo
> processor ? ? ? : 0
> vendor_id ? ? ? : AuthenticAMD
> cpu family ? ? ?: 16
> model ? ? ? ? ? : 4
> model name ? ? ?: AMD Phenom(tm) II X4 940 Processor
> stepping ? ? ? ?: 2
> cpu MHz ? ? ? ? : 3013.597
> 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 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 up rep_good nonstop_tsc
> pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm
> sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
> bogomips ? ? ? ?: 6027.18
> 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
>
> # uname -r
> 2.6.32-git10-smp
>
> # cat /proc/cpuinfo
> processor ? ? ? : 0
> vendor_id ? ? ? : AuthenticAMD
> cpu family ? ? ?: 16
> model ? ? ? ? ? : 4
> model name ? ? ?: AMD Phenom(tm) II X4 940 Processor
> stepping ? ? ? ?: 2
> cpu MHz ? ? ? ? : 3013.774
> cache size ? ? ?: 512 KB
> physical id ? ? : 0
> siblings ? ? ? ?: 4
> core id ? ? ? ? : 0
> cpu cores ? ? ? : 4
> 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
> nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm
> extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
> bogomips ? ? ? ?: 6027.53
> 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
>
> processor ? ? ? : 1
> vendor_id ? ? ? : AuthenticAMD
> cpu family ? ? ?: 16
> model ? ? ? ? ? : 4
> model name ? ? ?: AMD Phenom(tm) II X4 940 Processor
> stepping ? ? ? ?: 2
> cpu MHz ? ? ? ? : 3013.774
> cache size ? ? ?: 512 KB
> physical id ? ? : 0
> siblings ? ? ? ?: 4
> core id ? ? ? ? : 1
> cpu cores ? ? ? : 4
> apicid ? ? ? ? ?: 1
> initial apicid ?: 1
> 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
> nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm
> extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
> bogomips ? ? ? ?: 6027.27
> 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
>
> etc., up to processor 4.
>
> On a 2P laptop
> ===============
> tindog:~ # uname -r
> 2.6.33-rc1-smp
>
> tindog:~ # cat /proc/cpuinfo
> processor ? ? ? : 0
> vendor_id ? ? ? : AuthenticAMD
> cpu family ? ? ?: 15
> model ? ? ? ? ? : 67
> model name ? ? ?: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
> stepping ? ? ? ?: 3
> cpu MHz ? ? ? ? : 1000.000
> cache size ? ? ?: 1024 KB
> physical id ? ? : 0
> siblings ? ? ? ?: 1
> core id ? ? ? ? : 0
> cpu cores ? ? ? : 1
> apicid ? ? ? ? ?: 0
> initial apicid ?: 0
> fpu ? ? ? ? ? ? : yes
> fpu_exception ? : yes
> cpuid level ? ? : 1
> wp ? ? ? ? ? ? ?: yes
> flags ? ? ? ? ? : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
> cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt
> rdtscp lm 3dnowext 3dnow up rep_good pni cx16 lahf_lm cmp_legacy svm
> extapic cr8_legacy
> bogomips ? ? ? ?: 2009.33
> TLB size ? ? ? ?: 1024 4K pages
> clflush size ? ?: 64
> cache_alignment : 64
> address sizes ? : 40 bits physical, 48 bits virtual
> power management: ts fid vid ttp tm stc
>
> The .config for the 4P and 2.6.33-rc1-git3 attached.

Can you disable MAXSMP?

YH

2009-12-25 18:33:32

by Sid Boyce

[permalink] [raw]
Subject: Re: All kernels after 2.6.32-git10 show only 1 CPU

On 25/12/09 07:38, Yinghai Lu wrote:
> On Wed, Dec 23, 2009 at 8:55 AM, Sid Boyce <[email protected]> wrote:
>> On the 4P box, 2.6.32-git10 boots and shows 4 CPU's, 2.6.32-git12 boots
>> and shows 1 CPU, 2.6.32-git15 to 2.6.33-rc1-git3 1 CPU and lots of oops,
>> continues with something like "Sending NMI interrupts to CPU's",
>> [udev] unexpectedly returned with status 0x0100
>> [udev] failed while handling /devices/pci000:00 -----etc--- same for
>> other devices.
>> Unable to capture via serial console as USB doesn't come ready.
>>
>> On 2P laptop, up to 2.6.33-rc1 boots, 1 CPU and boot option "acpi=noirq"
>> needed, without it boot hangs, I think from 2.6.32-git15.
>> Building kernels, I have used the .config from previous kernel and
>> "make oldconfig".
>>
>> # uname -r
>> 2.6.32-git12-smp
>> slipstream:~ # cat /proc/cpuinfo
>> processor : 0
>> vendor_id : AuthenticAMD
>> cpu family : 16
>> model : 4
>> model name : AMD Phenom(tm) II X4 940 Processor
>> stepping : 2
>> cpu MHz : 3013.597
>> 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 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 up rep_good nonstop_tsc
>> pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm
>> sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
>> bogomips : 6027.18
>> 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
>>
>> # uname -r
>> 2.6.32-git10-smp
>>
>> # cat /proc/cpuinfo
>> processor : 0
>> vendor_id : AuthenticAMD
>> cpu family : 16
>> model : 4
>> model name : AMD Phenom(tm) II X4 940 Processor
>> stepping : 2
>> cpu MHz : 3013.774
>> cache size : 512 KB
>> physical id : 0
>> siblings : 4
>> core id : 0
>> cpu cores : 4
>> 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
>> nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm
>> extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
>> bogomips : 6027.53
>> 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
>>
>> processor : 1
>> vendor_id : AuthenticAMD
>> cpu family : 16
>> model : 4
>> model name : AMD Phenom(tm) II X4 940 Processor
>> stepping : 2
>> cpu MHz : 3013.774
>> cache size : 512 KB
>> physical id : 0
>> siblings : 4
>> core id : 1
>> cpu cores : 4
>> apicid : 1
>> initial apicid : 1
>> 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
>> nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm
>> extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
>> bogomips : 6027.27
>> 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
>>
>> etc., up to processor 4.
>>
>> On a 2P laptop
>> ===============
>> tindog:~ # uname -r
>> 2.6.33-rc1-smp
>>
>> tindog:~ # cat /proc/cpuinfo
>> processor : 0
>> vendor_id : AuthenticAMD
>> cpu family : 15
>> model : 67
>> model name : AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
>> stepping : 3
>> cpu MHz : 1000.000
>> cache size : 1024 KB
>> physical id : 0
>> siblings : 1
>> core id : 0
>> cpu cores : 1
>> apicid : 0
>> initial apicid : 0
>> fpu : yes
>> fpu_exception : yes
>> cpuid level : 1
>> wp : yes
>> flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
>> cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt
>> rdtscp lm 3dnowext 3dnow up rep_good pni cx16 lahf_lm cmp_legacy svm
>> extapic cr8_legacy
>> bogomips : 2009.33
>> TLB size : 1024 4K pages
>> clflush size : 64
>> cache_alignment : 64
>> address sizes : 40 bits physical, 48 bits virtual
>> power management: ts fid vid ttp tm stc
>>
>> The .config for the 4P and 2.6.33-rc1-git3 attached.
>
> Can you disable MAXSMP?
>
> YH
>
>
tindog:/usr/src/linux-2.6.33-rc2 # grep MAXSMP .config
# CONFIG_MAXSMP is not set

tindog:/usr/src/linux-2.6.33-rc2 # grep NUMA .config
# CONFIG_NUMA is not set
tindog:/usr/src/linux-2.6.33-rc2 # grep NUMA
/usr/src/linux-2.6.33-rc1-git2/.config
CONFIG_NUMA=y
CONFIG_K8_NUMA=y
CONFIG_X86_64_ACPI_NUMA=y
CONFIG_NUMA_EMU=y
CONFIG_ACPI_NUMA=y
tindog:/usr/src/linux-2.6.33-rc2 #
tindog:/usr/src # grep NUMA linux-2.6.33-rc2/.config
CONFIG_NUMA=y
CONFIG_K8_NUMA=y
CONFIG_X86_64_ACPI_NUMA=y
# CONFIG_NUMA_EMU is not set
CONFIG_ACPI_NUMA=y
The above is the 2P box showing just 1 CPU.
Booting from an install DVD into rescue or booting the openSUSE kernel
2.6.32-3-default I have 2 CPU's.
-----------------------------------------------------------------------
Below is the 4P box which shows 4 CPU's.
slipstream:/usr/src/linux-2.6.33-rc2 # grep MAXSMP .config
# CONFIG_MAXSMP is not set

slipstream:/usr/src/linux-2.6.33-rc2 # grep NUMA .config
CONFIG_NUMA=y
CONFIG_K8_NUMA=y
CONFIG_X86_64_ACPI_NUMA=y
# CONFIG_NUMA_EMU is not set
CONFIG_ACPI_NUMA=y
slipstream:/usr/src/linux-2.6.33-rc2 #

I decided to use the config from the openSUSE kernel as the basis of a
new .config and 2.6.33-rc2 now shows 2 CPU's. Later I shall do a diff to
see if anything stands out.
tindog:~ # uname -r
2.6.33-rc2-smp
tindog:~ # cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 67
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
stepping : 3
cpu MHz : 1000.000
cache size : 1024 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 1
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 rdtscp lm 3dnowext 3dnow rep_good extd_apicid pni cx16 lahf_lm
cmp_legacy svm extapic cr8_legacy
bogomips : 2009.06
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc

processor : 1
vendor_id : AuthenticAMD
cpu family : 15
model : 67
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
stepping : 3
cpu MHz : 1000.000
cache size : 1024 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 1
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 rdtscp lm 3dnowext 3dnow rep_good extd_apicid pni cx16 lahf_lm
cmp_legacy svm extapic cr8_legacy
bogomips : 2009.06
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc
tindog:/usr/src/linux-2.6.33-rc2 # grep MAXSMP .config
# CONFIG_MAXSMP is not set
tindog:/usr/src/linux-2.6.33-rc2 # grep NUMA .config
CONFIG_NUMA_IRQ_DESC=y <<====== One difference.
CONFIG_NUMA=y
CONFIG_K8_NUMA=y
CONFIG_X86_64_ACPI_NUMA=y
CONFIG_NUMA_EMU=y
CONFIG_ACPI_NUMA=y

Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

2009-12-26 16:50:58

by Sid Boyce

[permalink] [raw]
Subject: Re: All kernels after 2.6.32-git10 show only 1 CPU ** Fixed in 2.6.33-rc2 **

Something is weird on the 2P box. Using the openSUSE kernel
2.6.32-3-default and early 2.6.32-git kernels on the 2P box, I see 2
processors. Same if I boot from the install DVD.
Using 2.6.32-git10, 2.6.32-git15, 2.6.33-rc[12] the box hangs solid at
various places during boot.
When I first booted up 2.6.33-rc2 after using the openSUSE 2.6.32-3
.config as the basis for "make oldconfig", the kernel booted fine with 2
CPU's, second and subsequent reboots, it locks up solid.
Later I shall try to get some output from a serial console.
tindog:/usr/src # uname -r
2.6.32-git1-smp
I shall also progress through the kernels to see exactly which
introduces the problem where a kernel will boot one time and not other
times and why only one CPU shows when those kernels boot.
Regards
Sid.


On 25/12/09 01:11, Sid Boyce wrote:
> Just made some changes to .config, shall try building on the 2P box with
> old .config to see if it's a config problem -- doubt so as the configs
> were fine with earlier kernels.
> Attaching the .config diff.
> slipstream:~ # uname -r
> 2.6.33-rc2-smp
> slipstream:~ # cat /proc/cpuinfo
> processor : 0
> vendor_id : AuthenticAMD
> cpu family : 16
> model : 4
> model name : AMD Phenom(tm) II X4 940 Processor
> stepping : 2
> cpu MHz : 3013.988
> cache size : 512 KB
> physical id : 0
> siblings : 4
> core id : 0
> cpu cores : 4
> 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
> nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm
> extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit
> wdt
>
>
> bogomips : 6027.96
>
>
>
> 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
>
>
>
>
> processor : 1
> vendor_id : AuthenticAMD
> cpu family : 16
> model : 4
> model name : AMD Phenom(tm) II X4 940 Processor
> stepping : 2
> cpu MHz : 3013.988
> cache size : 512 KB
>
>
>
> physical id : 0
>
>
>
> siblings : 4
>
>
>
> core id : 1
>
>
>
> cpu cores : 4
>
>
>
> apicid : 1
>
>
>
> initial apicid : 1
>
>
>
> 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
> nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm
> extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
> bogomips : 6027.27
> 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
>
> processor : 2
> vendor_id : AuthenticAMD
> cpu family : 16
> model : 4
> model name : AMD Phenom(tm) II X4 940 Processor
> stepping : 2
> cpu MHz : 3013.988
> cache size : 512 KB
> physical id : 0
> siblings : 4
> core id : 2
> cpu cores : 4
> apicid : 2
> initial apicid : 2
> 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
> nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm
> extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
> bogomips : 6027.27
> 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
>
> processor : 3
> vendor_id : AuthenticAMD
> cpu family : 16
> model : 4
> model name : AMD Phenom(tm) II X4 940 Processor
> stepping : 2
> cpu MHz : 3013.988
> cache size : 512 KB
> physical id : 0
> siblings : 4
> core id : 3
> cpu cores : 4
> apicid : 3
> initial apicid : 3
> 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
> nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm
> extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
> bogomips : 6027.27
> 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
> Regards
> Sid.
>
> On 24/12/09 13:05, Sid Boyce wrote:
>> On 23/12/09 16:55, Sid Boyce wrote:
>>> On the 4P box, 2.6.32-git10 boots and shows 4 CPU's, 2.6.32-git12 boots
>>> and shows 1 CPU, 2.6.32-git15 to 2.6.33-rc1-git3 1 CPU and lots of oops,
>>> continues with something like "Sending NMI interrupts to CPU's",
>>> [udev] unexpectedly returned with status 0x0100
>>> [udev] failed while handling /devices/pci000:00 -----etc--- same for
>>> other devices.
>>> Unable to capture via serial console as USB doesn't come ready.
>>>
>>> On 2P laptop, up to 2.6.33-rc1 boots, 1 CPU and boot option "acpi=noirq"
>>> needed, without it boot hangs, I think from 2.6.32-git15.
>>> Building kernels, I have used the .config from previous kernel and
>>> "make oldconfig".
>>>
>>> # uname -r
>>> 2.6.32-git12-smp
>>> slipstream:~ # cat /proc/cpuinfo
>>> processor : 0
>>> vendor_id : AuthenticAMD
>>> cpu family : 16
>>> model : 4
>>> model name : AMD Phenom(tm) II X4 940 Processor
>>> stepping : 2
>>> cpu MHz : 3013.597
>>> 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 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 up rep_good nonstop_tsc
>>> pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm
>>> sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
>>> bogomips : 6027.18
>>> 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
>>>
>>> # uname -r
>>> 2.6.32-git10-smp
>>>
>>> # cat /proc/cpuinfo
>>> processor : 0
>>> vendor_id : AuthenticAMD
>>> cpu family : 16
>>> model : 4
>>> model name : AMD Phenom(tm) II X4 940 Processor
>>> stepping : 2
>>> cpu MHz : 3013.774
>>> cache size : 512 KB
>>> physical id : 0
>>> siblings : 4
>>> core id : 0
>>> cpu cores : 4
>>> 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
>>> nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm
>>> extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
>>> bogomips : 6027.53
>>> 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
>>>
>>> processor : 1
>>> vendor_id : AuthenticAMD
>>> cpu family : 16
>>> model : 4
>>> model name : AMD Phenom(tm) II X4 940 Processor
>>> stepping : 2
>>> cpu MHz : 3013.774
>>> cache size : 512 KB
>>> physical id : 0
>>> siblings : 4
>>> core id : 1
>>> cpu cores : 4
>>> apicid : 1
>>> initial apicid : 1
>>> 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
>>> nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm
>>> extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt
>>> bogomips : 6027.27
>>> 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
>>>
>>> etc., up to processor 4.
>>>
>>> On the 2P box
>>> ===============
>>> tindog:~ # uname -r
>>> 2.6.33-rc1-smp
>>>
>>> tindog:~ # cat /proc/cpuinfo
>>> processor : 0
>>> vendor_id : AuthenticAMD
>>> cpu family : 15
>>> model : 67
>>> model name : AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
>>> stepping : 3
>>> cpu MHz : 1000.000
>>> cache size : 1024 KB
>>> physical id : 0
>>> siblings : 1
>>> core id : 0
>>> cpu cores : 1
>>> apicid : 0
>>> initial apicid : 0
>>> fpu : yes
>>> fpu_exception : yes
>>> cpuid level : 1
>>> wp : yes
>>> flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
>>> cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt
>>> rdtscp lm 3dnowext 3dnow up rep_good pni cx16 lahf_lm cmp_legacy svm
>>> extapic cr8_legacy
>>> bogomips : 2009.33
>>> TLB size : 1024 4K pages
>>> clflush size : 64
>>> cache_alignment : 64
>>> address sizes : 40 bits physical, 48 bits virtual
>>> power management: ts fid vid ttp tm stc
>>>
>>> The .config for the 4P and 2.6.33-rc1-git3 attached.
>>> Regards
>>> Sid.
>>>
>>
>
>


--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

2009-12-26 20:01:37

by Len Brown

[permalink] [raw]
Subject: Re: All kernels after 2.6.32-git10 show only 1 CPU ** Fixed in 2.6.33-rc2 **

Sid,
If the kernel boots properly as of -rc2, then I would not worry
so much that it was broken at some point during the merge window.

However, if it is still broken and you need to bisect back
into -merge to find out what caused it... note that
booting with "acpi=ht" may be a useful tool. For this
option will boot just enough of ACPI to enumerate processors,
but no more. (Of course if this option doesn't boot with
the previous working kernels, then alas, it will not be useful here)

cheers,
Len Brown, Intel Open Source Technology Center

2009-12-27 23:44:50

by Sid Boyce

[permalink] [raw]
Subject: Re: All kernels after 2.6.32-git10 show only 1 CPU ** Fixed in 2.6.33-rc2 **

On 26/12/09 20:01, Len Brown wrote:
> Sid,
> If the kernel boots properly as of -rc2, then I would not worry
> so much that it was broken at some point during the merge window.
>
> However, if it is still broken and you need to bisect back
> into -merge to find out what caused it... note that
> booting with "acpi=ht" may be a useful tool. For this
> option will boot just enough of ACPI to enumerate processors,
> but no more. (Of course if this option doesn't boot with
> the previous working kernels, then alas, it will not be useful here)
>
> cheers,
> Len Brown, Intel Open Source Technology Center
>
>
>

2.6.32-git1 boots OK with 2 CPU's.
2.6.32-git2 boots with "acpi=ht" but only one CPU appears.
With 2.6.32-git2 booted
# git bisect bad
tindog:/usr/src/GIT/linux-git # git bisect good v2.6.32
Bisecting: 4685 revisions left to test after this (roughly 12 steps)
[f6c4c8195b5e7878823caa1181be404d9e86d369] Merge branch 'for-linus' of
git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid

This is where I lose understanding of what I've done as v2.6.32-git1 and
-git2 are not accepted as valid revisions needed by git bisect.
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

2009-12-27 23:55:40

by Sid Boyce

[permalink] [raw]
Subject: Re: All kernels after 2.6.32-git10 show only 1 CPU ** Fixed in 2.6.33-rc2 **

On 27/12/09 23:44, Sid Boyce wrote:
> On 26/12/09 20:01, Len Brown wrote:
>> Sid,
>> If the kernel boots properly as of -rc2, then I would not worry
>> so much that it was broken at some point during the merge window.
>>
>> However, if it is still broken and you need to bisect back
>> into -merge to find out what caused it... note that
>> booting with "acpi=ht" may be a useful tool. For this
>> option will boot just enough of ACPI to enumerate processors,
>> but no more. (Of course if this option doesn't boot with
>> the previous working kernels, then alas, it will not be useful here)
>>
>> cheers,
>> Len Brown, Intel Open Source Technology Center
>>
>>
>>
>
> 2.6.32-git1 boots OK with 2 CPU's.
> 2.6.32-git2 boots with "acpi=ht" but only one CPU appears.
Without "acpi=ht" there is a solid lock up
"ALSA sound/pci/hda/hda_intel.c azx_get_response timeout, switching to
polling mode: last cmd=0x000f0000"
Regards
Sid.

> With 2.6.32-git2 booted
> # git bisect bad
> tindog:/usr/src/GIT/linux-git # git bisect good v2.6.32
> Bisecting: 4685 revisions left to test after this (roughly 12 steps)
> [f6c4c8195b5e7878823caa1181be404d9e86d369] Merge branch 'for-linus' of
> git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
>
> This is where I lose understanding of what I've done as v2.6.32-git1 and
> -git2 are not accepted as valid revisions needed by git bisect.
> Regards
> Sid.


--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

2009-12-28 14:41:59

by Sid Boyce

[permalink] [raw]
Subject: Re: All kernels after 2.6.32-git10 show only 1 CPU ** NOT Fixed in 2.6.33-rc2 either **

I'm attaching dmesg. Booted linux-next 20091228 with "lapic acpi=ht",
acpi=ht gets over the solid lock up on HDA intel line as shown below. In
dmesg it's saying this is not a SMP motherboard - it's an Asus M2N32-SLI
deluxe with a 64X2, yet every kernel up to 2.6.32-git1 is fine with 2
CPU's. BIOS updated a few months ago, will check if a later one is
available.
The lock up
============
ACPI: PCI Interrupt Link [AAZA] enabled at IRQ 21
HDA Intel 0000:00:0e.1: PCI INT B -> Link[AAZA] -> GSI 21 (level, low)
-> IRQ 21.
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks


Attachments:
(No filename) (9.98 kB)
DMESG_tindog (28.20 kB)
Download all attachments

2009-12-28 23:19:01

by Sid Boyce

[permalink] [raw]
Subject: Re: All kernels after 2.6.32-git10 show only 1 CPU ** NOT Fixed in 2.6.33-rc2 either **

This dmesg is from a freshly built 2.6.32. The following do not appear
in later 2.6.32-git or 2.6.33-rc kernels.
# grep LAPIC /DMESG_2.6.32_tindog
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled)
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled)
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1]
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks


Attachments:
DMESG_2.6.32_tindog (36.12 kB)

2009-12-29 20:20:06

by Len Brown

[permalink] [raw]
Subject: Re: All kernels after 2.6.32-git10 show only 1 CPU ** NOT Fixed in 2.6.33-rc2 either **

On Mon, 28 Dec 2009, Sid Boyce wrote:

> This dmesg is from a freshly built 2.6.32. The following do not appear
> in later 2.6.32-git or 2.6.33-rc kernels.
> # grep LAPIC /DMESG_2.6.32_tindog
> ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
> ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
> ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled)
> ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled)
> ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
> ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
> ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
> ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1]

Right, your local apic is not found, ie this is missing
in the 2.6.33 dmesg:

ACPI: Local APIC address 0xfee00000

Strange, as CONFIG_X86_LOCAL_APIC=y

-Len
Len Brown, Intel Open Source Technology Center

2009-12-29 20:47:52

by Sid Boyce

[permalink] [raw]
Subject: Re: All kernels after 2.6.32-git10 show only 1 CPU ** NOT Fixed in 2.6.33-rc2 either **

On 29/12/09 20:19, Len Brown wrote:
> On Mon, 28 Dec 2009, Sid Boyce wrote:
>
>> This dmesg is from a freshly built 2.6.32. The following do not appear
>> in later 2.6.32-git or 2.6.33-rc kernels.
>> # grep LAPIC /DMESG_2.6.32_tindog
>> ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
>> ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
>> ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled)
>> ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled)
>> ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
>> ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
>> ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
>> ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1]
>
> Right, your local apic is not found, ie this is missing
> in the 2.6.33 dmesg:
>
> ACPI: Local APIC address 0xfee00000
>
> Strange, as CONFIG_X86_LOCAL_APIC=y
>
> -Len
> Len Brown, Intel Open Source Technology Center
>

That is the case for >2.6.32-git1. As I could get some early 2.6.32-git
kernels to boot, I didn't spot the difference until I started to compare
the dmesg outputs lately.
I checked the BIOS and it's the latest available.
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

2010-01-04 17:23:55

by Sid Boyce

[permalink] [raw]
Subject: Re: All kernels after 2.6.32-git10 show only 1 CPU ** NOT Fixed in 2.6.33-rc2 either **

On 29/12/09 20:19, Len Brown wrote:
> On Mon, 28 Dec 2009, Sid Boyce wrote:
>
>> This dmesg is from a freshly built 2.6.32. The following do not appear
>> in later 2.6.32-git or 2.6.33-rc kernels.
>> # grep LAPIC /DMESG_2.6.32_tindog
>> ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
>> ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
>> ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled)
>> ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled)
>> ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
>> ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
>> ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
>> ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1]
>
> Right, your local apic is not found, ie this is missing
> in the 2.6.33 dmesg:
>
> ACPI: Local APIC address 0xfee00000
>
> Strange, as CONFIG_X86_LOCAL_APIC=y
>
> -Len
> Len Brown, Intel Open Source Technology Center
>
>

2.6.33-rc2-git5 booted and showed both CPU's on first boot, on
subsequent boots it hung at HDA irq 22 as it did on earlier kernels.
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks