Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 171621

lshw runs for hours in Ubuntu 12.04.1 LTS VM running under Proxmox/KVM

$
0
0
Create a new KVM virtual machine as follows:

General Tab:
- accept defaults
- choose any name

OS Tab:
- Linux 3.x/2.6 Kernel

CD/DVD:
- ISO image (ubuntu-12.04.1-server-amd64.iso on hard drive)

Hard Disk:
- IDE 0
- local
- size 8 GB
- defaults for format and cache

CPU:
- accept defaults

Memory:
- accept defaults

Network (optional):
- bridged
- virtio (paravirtualized)

Install Ubuntu 12.04.1 LTS...

Log in as root and run "lshw". It just displays "DMI" and uses 100% CPU before it finishes several hours later. The output shows lots of meaningless (?) BIOS resources.

Case was reported to Canonical support who could not reproduce the issue using plain KVM. I therefore copied the VM disk image to a Ubuntu 12.04.2 LTS machine and started it within Ubuntu's KVM and lshw works fine.

KVM command line on Proxmox is:
Code:

/usr/bin/kvm -id 7001 -chardev socket,id=qmp,path=/var/run/qemu-server/7001.qmp,server,nowait -mon chardev=qmp,mode=control -vnc unix:/var/run/qemu-server/7001.vnc,x509,password -pidfile /var/run/qemu-server/7001.pid -daemonize -name dwiva184.entw.itc.loc -smp sockets=1,cores=1 -nodefaults -boot menu=on -vga cirrus -k de -m 512 -usbdevice tablet -drive if=none,id=drive-ide2,media=cdrom,aio=native -device ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200 -drive file=/var/lib/vz/images/7001/vm-7001-disk-1.vmdk,if=none,id=drive-ide0,aio=native -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=100 -netdev type=tap,id=net0,ifname=tap7001i0,script=/var/lib/qemu-server/pve-bridge,vhost=on -device virtio-net-pci,mac=B6:AF:AD:15:01:69,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300
KVM command line on Ubuntu is:
Code:

/usr/bin/kvm -chardev socket,id=qmp,path=/var/lib/libvirt/qemu/dwiva181.monitor,server,nowait -mon chardev=qmp,mode=control -daemonize -name dwiva184.entw.itc.loc -smp sockets=1,cores=1 -nodefaults -boot menu=on -vga cirrus -k de -m 512 -usbdevice tablet -drive if=none,id=drive-ide2,media=cdrom,aio=native -device ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200 -drive file=/var/lib/libvirt/images/dwiva181.vmdk,if=none,id=drive-ide0,aio=native -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=100
pveversion reports
Code:

pve-manager: 2.2-31 (pve-manager/2.2/e94e95e9)
running kernel: 2.6.32-11-pve
proxmox-ve-2.6.32: 2.2-82
pve-kernel-2.6.32-11-pve: 2.6.32-66
pve-kernel-2.6.32-16-pve: 2.6.32-82
pve-kernel-2.6.32-14-pve: 2.6.32-74
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.4-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.93-2
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.9-1
pve-cluster: 1.0-33
qemu-server: 2.0-69
pve-firmware: 1.0-21
libpve-common-perl: 1.0-39
libpve-access-control: 1.0-25
libpve-storage-perl: 2.0-36
vncterm: 1.0-3
vzctl: 4.0-1pve2
vzprocps: 2.0.11-2
vzquota: 3.1-1
pve-qemu-kvm: 1.2-7
ksm-control-daemon: 1.1-1

Any hints as to what might cause this problem?

Viewing all articles
Browse latest Browse all 171621

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>