Hi,

could you please provide `cat /proc/cpuinfo`? imvirt failes to detect Xen since it got an "probability" of less than 90% (which is an internal threshold):

  $VAR1 = {
            'Physical' =>  '0.109375',
            'Xen PV 3.1' =>  '0.890625'
          };


Regards,
Thomas

On 08/11/2011 07:32 AM, Antti Salmela wrote:
Package: imvirt
Version: 0.9.1-1
Severity: important


Imvirt does not detect Xen hypervisor correctly and returns unknown. Version 
from squeeze does not work either.

      ImVirt::VMD::VMware: detect()
Use of uninitialized value $avail in concatenation (.) or string at 
/usr/share/perl5/ImVirt/Utils/dmidecode/kernel.pm line 45.
ImVirt::Utils::dmidecode::kernel: sysfs_isdir('class/dmi/id') =
ImVirt::Utils::dmidecode::pipe: (-r /dev/mem&&  -x /usr/sbin/dmidecode) =>  1
                   ImVirt: dec_pts(HASH(0x1930c58), 6, Virtual, |VMware)
                   ImVirt: dec_pts(HASH(0x1930c58), 6, Virtual, |VMware)
                   ImVirt: dec_pts(HASH(0x1930c58), 6, Virtual, |VMware)
     ImVirt::VMD::Generic: detect()
                   ImVirt: inc_pts(HASH(0x1930c58), 6, Physical)
                   ImVirt: inc_pts(HASH(0x1930c58), 24, Virtual)
                   ImVirt: inc_pts(HASH(0x1930c58), 3, Virtual)
         ImVirt::VMD::UML: detect()
                   ImVirt: dec_pts(HASH(0x1930c58), 1, Virtual, |UML)
  ImVirt::VMD::VirtualBox: detect()
                   ImVirt: dec_pts(HASH(0x1930c58), 6, Virtual, |VirtualBox)
                   ImVirt: dec_pts(HASH(0x1930c58), 6, Virtual, |VirtualBox)
        ImVirt::VMD::QEMU: detect()
Use of uninitialized value $avail in concatenation (.) or string at 
/usr/share/perl5/ImVirt/Utils/dmidecode/kernel.pm line 45.
ImVirt::Utils::dmidecode::kernel: sysfs_isdir('class/dmi/id') =
ImVirt::Utils::dmidecode::pipe: (-r /dev/mem&&  -x /usr/sbin/dmidecode) =>  1
                   ImVirt: dec_pts(HASH(0x1930c58), 6, Virtual, |QEMU)
                   ImVirt: dec_pts(HASH(0x1930c58), 6, Virtual, |QEMU)
      ImVirt::VMD::lguest: detect()
      ImVirt::VMD::OpenVZ: detect()
                   ImVirt: dec_pts(HASH(0x1930c58), 3, Virtual, |OpenVZ)
         ImVirt::VMD::Xen: detect()
Use of uninitialized value $avail in concatenation (.) or string at 
/usr/share/perl5/ImVirt/Utils/dmidecode/kernel.pm line 45.
ImVirt::Utils::dmidecode::kernel: sysfs_isdir('class/dmi/id') =
ImVirt::Utils::dmidecode::pipe: (-r /dev/mem&&  -x /usr/sbin/dmidecode) =>  1
                   ImVirt: inc_pts(HASH(0x1930c58), 3, Virtual, |Xen, PV)
                   ImVirt: inc_pts(HASH(0x1930c58), 6, Virtual, |Xen)
                   ImVirt: inc_pts(HASH(0x1930c58), 6, Virtual, |Xen, PV)
                   ImVirt: dec_pts(HASH(0x1930c58), 3, Virtual, |Xen, HVM)
                   ImVirt: inc_pts(HASH(0x1930c58), 6, Virtual, |Xen, PV, 3.1)
     ImVirt::VMD::PillBox: detect()
                   ImVirt: inc_pts(HASH(0x1930c58), 6, Virtual)
                   ImVirt: inc_pts(HASH(0x1930c58), 3, Virtual)
         ImVirt::VMD::KVM: detect()
Use of uninitialized value $avail in concatenation (.) or string at 
/usr/share/perl5/ImVirt/Utils/dmidecode/kernel.pm line 45.
ImVirt::Utils::dmidecode::kernel: sysfs_isdir('class/dmi/id') =
ImVirt::Utils::dmidecode::pipe: (-r /dev/mem&&  -x /usr/sbin/dmidecode) =>  1
Use of uninitialized value $avail in concatenation (.) or string at 
/usr/share/perl5/ImVirt/Utils/dmidecode/kernel.pm line 45.
ImVirt::Utils::dmidecode::kernel: sysfs_isdir('class/dmi/id') =
ImVirt::Utils::dmidecode::pipe: (-r /dev/mem&&  -x /usr/sbin/dmidecode) =>  1
                   ImVirt: dec_pts(HASH(0x1930c58), 6, Virtual, |KVM)
                   ImVirt: dec_pts(HASH(0x1930c58), 6, Virtual, |KVM)
   ImVirt::VMD::VirtualPC: detect()
Use of uninitialized value $avail in concatenation (.) or string at 
/usr/share/perl5/ImVirt/Utils/dmidecode/kernel.pm line 45.
ImVirt::Utils::dmidecode::kernel: sysfs_isdir('class/dmi/id') =
ImVirt::Utils::dmidecode::pipe: (-r /dev/mem&&  -x /usr/sbin/dmidecode) =>  1
                   ImVirt: dec_pts(HASH(0x1930c58), 6, Virtual, |VirtualPC)
$VAR1 = {
           'Physical' =>  '0.109375',
           'Xen PV 3.1' =>  '0.890625'
         };

-- System Information:
Debian Release: 6.0.2
   APT prefers stable
   APT policy: (900, 'stable'), (800, 'testing'), (499, 'unstable'), (101, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages imvirt depends on:
ii  libc6                  2.11.2-10         Embedded GNU C Library: Shared lib
ii  libimvirt-perl         0.9.1-1           Perl module for detecting several
ii  perl                   5.10.1-17squeeze2 Larry Wall's Practical Extraction

Versions of packages imvirt recommends:
ii  dmidecode                     2.9-1.2    Dump Desktop Management Interface

imvirt suggests no packages.

-- no debconf information





--
supp...@ibh.de                              Tel. +49 351 477 77 30
www.ibh.de                                  Fax  +49 351 477 77 39

-----------------------------------------------------------------------
Dipl.-Ing. Thomas Liske
Netzwerk- und System-Design


IBH IT-Service GmbH                         Amtsgericht Dresden
Gostritzer Str. 67a                         HRB 13626
D-01217 Dresden                             GF: Prof. Dr. Thomas Horn
Germany                                     VAT DE182302907
-----------------------------------------------------------------------
Ihr Partner für: LAN, WAN IP-Quality, Security, VoIP, SAN, Backup, USV
-----------------------------------------------------------------------
       professioneller IT-Service - kompetent und zuverlässig
-----------------------------------------------------------------------



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to