Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 250099

Summary: sys-kernel/gentoo-sources-2.6.26-r3 - When configured with 2 CPUs vmware guest VMI ROM detection is not reported in dmesg
Product: Gentoo Linux Reporter: Norman Back <gentoo3>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: vmware+disabled
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Norman Back 2008-12-07 00:11:15 UTC
When configured with 2 CPUs vmware guest VMI ROM detection is not reported in dmesg

Reproducible: Always

Steps to Reproduce:
1. Build gentoo-sources-2.6.26-r3 guest kernel with CONFIG_VMI=Y 
2. Configure vmware-workstation 6.5 guest to 1 CPU
3. Boot vm 
4. Execute: dmesg | grep -i VMI
5. Configure vmware-workstation 6.5 guest to 2 CPUs
6. Boot vm gentoo-sources-2.6.26-gentoo-r3
7. Execute: dmesg | grep -i VMI
Actual Results:  
'dmesg | grep -i VMI' for two CPUs
vmi: registering clock event vmi-timer. mult=12582912 shift=22
vmi: registering clock event vmi-timer. mult=12582912 shift=22
Booting paravirtualized kernel on vmi
vmi: registering clock source khz=3000000



Expected Results:  
'dmesg | grep -i VMI' for two CPUs
VMI: Found VMware, Inc. Hypervisor OPROM, API version 3.0, ROM version 1.0
vmi: registering clock event vmi-timer. mult=12582912 shift=22
vmi: registering clock event vmi-timer. mult=12582912 shift=22
Booting paravirtualized kernel on vmi

'dmesg | grep -i VMI' for one CPU displays correctly
VMI: Found VMware, Inc. Hypervisor OPROM, API version 3.0, ROM version 1.0
vmi: registering clock event vmi-timer. mult=12582912 shift=22
Booting paravirtualized kernel on vmi
vmi: registering clock source khz=3000000

My consern is the VMI may not be operational in multi CPU configurations.
Comment 1 Norman Back 2008-12-07 07:05:48 UTC
At 2.6.24-gentoo-r8 'dmesg | grep -i VMI' works correctly with 2 CPUs

# uname -r ; dmesg | grep -i VMI ; cat /proc/cpuinfo
2.6.24-gentoo-r8-1
VMI: Found VMware, Inc. Hypervisor OPROM, API version 3.0, ROM version 1.0
vmi: registering clock event vmi-timer. mult=12582912 shift=22
vmi: registering clock event vmi-timer. mult=12582912 shift=22
Booting paravirtualized kernel on vmi
vmi: registering clock source khz=3000000
Time: vmi-timer clocksource has been installed.
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         : 3000.000
cache size      : 1024 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
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 syscall nx mmxext fxsr_opt rdtscp 3dnowext 3dnow pni extapic ts fid vid ttp tm stc
bogomips        : 6031.28
clflush size    : 64

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         : 3000.000
cache size      : 1024 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
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 syscall nx mmxext fxsr_opt rdtscp 3dnowext 3dnow pni extapic ts fid vid ttp tm stc
bogomips        : 6019.09
clflush size    : 64

In Summary:
Bad
2.6.26-gentoo-r3 'dmesg | grep -i VMI' displays:
vmi: registering clock event vmi-timer. mult=12582912 shift=22
vmi: registering clock event vmi-timer. mult=12582912 shift=22
Booting paravirtualized kernel on vmi
vmi: registering clock source khz=3000000

Good
2.6.24-gentoo-r8 'dmesg | grep -i VMI' displays:
VMI: Found VMware, Inc. Hypervisor OPROM, API version 3.0, ROM version 1.0
vmi: registering clock event vmi-timer. mult=12582912 shift=22
vmi: registering clock event vmi-timer. mult=12582912 shift=22
Booting paravirtualized kernel on vmi
vmi: registering clock source khz=3000000
Time: vmi-timer clocksource has been installed.
Comment 2 Axel Dyks 2008-12-09 04:09:17 UTC
Norman, please!

This is the 3rd VMI related bug over a short period of time.
Obviously something went wrong regarding to VMI along kernel releases ...

Would you mind to assist merging some bug of your's?

Cheers
Axel
 
Comment 3 Norman Back 2008-12-09 23:37:45 UTC
(In reply to comment #2)
> Norman, please!
> 
> This is the 3rd VMI related bug over a short period of time.
> Obviously something went wrong regarding to VMI along kernel releases ...
> 
> Would you mind to assist merging some bug of your's?
> 
> Cheers
> Axel

Hi Axel

I've raised seperate bugs because I believe the causes are, probably, unrelated. I'm not sure what you mean by 'mergeing' but will be glad to assist if I can.

Norman
Comment 4 Axel Dyks 2008-12-09 23:46:37 UTC
(In reply to comment #3)
> I've raised seperate bugs because I believe the causes are, probably,
> unrelated. I'm not sure what you mean by 'mergeing' but will be glad to assist
> if I can.

If spoken do dsd (daniel drake). It's ok, like it is right now (3 separate bugs).
Though it might be interesting (while you are bisecting next time :-)) to check
for both bugs, i. e. this one and the other bug (VMI ROM not initialized).

BTW, meanwhile we've got response from Zachary (vmware.com) on the 1st bug (INT 14 crash).
Comment 5 Norman Back 2008-12-13 11:00:26 UTC

*** This bug has been marked as a duplicate of bug 250094 ***
Comment 6 Norman Back 2008-12-13 11:02:01 UTC
Caused by CONFIG_LOG_BUF_SHIFT=15. 
Fixed by CONFIG_LOG_BUF_SHIFT=16