[7.470][QUESTION][ANSWERED] lshw results on Virtualized asg

Hi

I know you do not support Xenserver, but:
Seems the results for lshw -C CPU on VM under xenserver (5.5) return wrong (or extra) CPU datas...


asg:/root # lshw -C CPU
  *-cpu:0                 
       description: CPU
       product: Intel(R) Core(TM)2 CPU         E7600  @ 3.06GHz
       vendor: Intel Corp.
       physical id: 1
       bus info: cpu@0
       version: 6.7.10
       serial: 0001-067A-0000-0000-0000-0000
       slot: CPU 1
       size: 3070MHz
       capacity: 3070MHz
       width: 64 bits
       capabilities: boot fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush mmx fxsr sse sse2 x86-64 constant_tsc pni cx16 lahf_lm
  *-cpu:1
       description: CPU
       product: Intel(R) Core(TM)2 CPU         E7600  @ 3.06GHz
       vendor: Intel Corp.
       physical id: 2
       bus info: cpu@1
       version: 6.7.10
       serial: 0001-067A-0000-0000-0000-0000
       slot: CPU 2
       size: 3070MHz
       capacity: 3070MHz
       width: 64 bits
       capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush mmx fxsr sse sse2 x86-64 constant_tsc pni cx16 lahf_lm
  *-cpu:2
       description: CPU
       vendor: Intel
       physical id: 5
       bus info: cpu@2
       version: 6.7.10
       serial: 0001-067A-0000-0000-0000-0000
       slot: CPU 1
       size: 3070MHz
       capacity: 3070MHz
  *-cpu:3
       description: CPU
       vendor: Intel
       physical id: 6
       bus info: cpu@3
       version: 6.7.10
       serial: 0001-067A-0000-0000-0000-0000
       slot: CPU 2
       size: 3070MHz
       capacity: 3070MHz


whereas cat /proc/cpuinfo return:


processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 CPU         E7600  @ 3.06GHz
stepping : 10
cpu MHz : 3070.441
cache size : 64 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 4
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush mmx fxsr sse sse2 lm constant_tsc pni cx16 lahf_lm
bogomips : 6154.93

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 CPU         E7600  @ 3.06GHz
stepping : 10
cpu MHz : 3070.441
cache size : 64 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 4
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush mmx fxsr sse sse2 lm constant_tsc pni cx16 lahf_lm
bogomips : 6140.73


and seems in ACC agent you are parsing the lshw -C CPU without doing too many checks... so as a result on the ACC inventory we have 4 CPUs whereas I have really 2 CPUs...

I know this is not a bug for 7.500 betas... but would be good to improve your lshw -C CPU parsing to handle that sort of case... I've not such a thing with Virtualbox (3.0.2)... so probably only for xenserver...

thx

edit1: when a VM under xenserver is paravirtualized, there is no problem with the lshw command...
Parents
  • Astaro Beta Report
    --------------------------------
    Version: 7.470
    Type: QUESTION
    State: ANSWERED
    Reporter: BuBU
    Contributor: 
    MantisID: 
    --------------------------------
  • Hi BuBu,

    thanks for depicting this so accurately.

    We strive to provide correct hardware inventory information for our appliance line, most of the supported servers on the HCL as well as Vmware virtual hardware information.

    From time to time we encounter cases which were not foreseeable and where our current/existing checks do not suffice anymore.

    We will look into this matter post 7.500 if there is a decision to officially support XEN.

    Thanks again.

    Regards,
    Henning
  • Hi BuBu,

    thanks for depicting this so accurately.

    We strive to provide correct hardware inventory information for our appliance line, most of the supported servers on the HCL as well as Vmware virtual hardware information.

    From time to time we encounter cases which were not foreseeable and where our current/existing checks do not suffice anymore.

    We will look into this matter post 7.500 if there is a decision to officially support XEN.

    Thanks again.

    Regards,
    Henning


    ok thx a lot..

    If you have any non-official support (I mean custom xen kernels) I'm deeply interested [:)]

    thx
Reply
  • Hi BuBu,

    thanks for depicting this so accurately.

    We strive to provide correct hardware inventory information for our appliance line, most of the supported servers on the HCL as well as Vmware virtual hardware information.

    From time to time we encounter cases which were not foreseeable and where our current/existing checks do not suffice anymore.

    We will look into this matter post 7.500 if there is a decision to officially support XEN.

    Thanks again.

    Regards,
    Henning


    ok thx a lot..

    If you have any non-official support (I mean custom xen kernels) I'm deeply interested [:)]

    thx
Children
No Data