Friday, January 27, 2012

OracleVM 3 PW drivers for Oracle Linux 5u7

So, to boot OL5U7, you pass xen_emul_unplug=never on the kernel boot line, which allows the machine to boot with the emulated devices, i.e. they are not unplugged.

Then, edit /etc/modprobe.conf to replace the emulated devices with xen-netfront and xen-blkfront:
Fiel /etc/modprobe.conf should look like this:
alias eth0 xen-netfront
alias scsi_hostadapter xen-blkfront

Then, rebuild initrd:
mkinitrd -f -v --builtin=ehci-hcd --builtin=ohci-hcd --builtin=uhci-hcd /boot/initrd-`uname -r`.img `uname -r`

And reboot. You may get kudzu renaming ifcfg-eth0 to ifcfg-eth0.bak on reboot, because it detects "new" hardware. If so, just rename it back and it should be fine.

Nepomuk reindexing everything after restart

Nepomuk reindexing everything after restart
In your ~/.kde[4]/share/config/nepomukstrigirc file is the the the "first run=" option false?

Tuesday, January 17, 2012

PV-HWM drivers OracleVM 3.0.2 - 3.0.3

In file /etc/modprobe.conf this should be present

#alias eth0 8139cp
#alias scsi_hostadapter ata_piix
alias net-pf-10 off
alias ipv6 off
options ipv6 disable=1
alias sym53c8xx off
alias scsi_hostadapter xen-vbd
alias eth0 xen_vnif

and initrd shut be regenerated

mv /boot/initrd-2.6.18-274.el5.img /boot/initrd-2.6.18-274.el5.img.old ;
mkinitrd -v /boot/initrd-2.6.18-274.el5.img 2.6.18-274.el5 --with=xen-vbd --with=xen-vnif --preload=xen-balloon --preload=xen-platform-pci

LVM filter update

After LVM filter update LVM cache has to be removed

# By default we accept every block device:
#filter = [ "a/.*/" ] default
filter = [ "a|/dev/mpath/notblacklisteddevice|", "r|.*|" ]

rm /etc/lvm/cache/.cache
vgscan