Monthly Archive for März, 2010

Aprilscherze?

Ja ist denn schon 1. April?

Es geschehen noch Zeichen und Wunder:

virt-manager: Error starting domain

Using KVM/virt-manager in Debian sid is interesing. You’ll get nice and fresh errors from time to time. KVM is constantly improving but you have to deal with unexpected changes from time to time which tend to break existing VMs.

With the latest version I’ve got this error:

Error starting domain: internal error unable to reserve PCI address 0:0:3

The long text:

Traceback (most recent call last):
File “/usr/share/virt-manager/virtManager/engine.py”, line 589, in run_domain
vm.startup()
File “/usr/share/virt-manager/virtManager/domain.py”, line 1208, in startup
self._backend.create()
File “/usr/lib/python2.5/site-packages/libvirt.py”, line 317, in create
if ret == -1: raise libvirtError (‘virDomainCreate() failed’, dom=self)
libvirtError: internal error unable to reserve PCI address 0:0:3

The solution was to edit the /etc/libvirt/qemu/<domain>.xml and change the conflicting PCI id. The line looked like this before:

<address type=’pci’ domain=’0×0000′ bus=’0×00′ slot=’0×03′ function=’0×0′/>

and like that after the change:

<address type=’pci’ domain=’0×0000′ bus=’0×00′ slot=’0×02′ function=’0×0′/>

Don’t forget to reload libvirt after this change.

KDE4.4: Getting rid of Akonadi-MySQL Startup Errors

Since upgrading to KDE4.4 I’ve got startup errors each time Akonadi was started due to some missing MySQL system tables.

It’s easy to fix this:

akonadictl stop
mysql_install_db  --datadir=$HOME/.local/share/akonadi/db_data
akonadictl start

And don’t forget to install akonadi-kde-resource-googledata. Thanks to Trumpton.

udev Notes

udevinfo was renamed to/replaced by udevadm in Debian sid. Must tutorials still refer to udevinfo.

A udev rule that works on sid w/o warnings would be something like this for a garmin gps device:

# cat /etc/udev/rules.d/51-garmin.rules
ATTR{idVendor}=="091e", ATTR{idProduct}=="0003", MODE="666", SYMLINK+="GarminGPS"

Ich bin dann mal weg …

Tschüß StudiVZ ich werde dich nicht vermissen. Mein Account dort ist jedenfalls Geschichte, und nein, ich habe keinen Facebook/Twitter/sonstwas Account.

eckelig

eckelig: 111.000 Treffer
ekelig: 106.000 Treffer