Monthly Archives: October 2007

Happiness (and your mind)

Why Are We Happy? Or Not?


How the Mind Affects Your Happiness

How the Mind Affects Your Happiness

“…In the state of a quiet mind the virtual reality is silent. The visual images and projections are nil. You see the external world as it is. When you do you find out that it is beautiful.”

I know I get this feeling seldomly, usually after sitting through 2hr movies.
Need to figure out how to achieve this more often.

Awareness and Consciousness MP3 Audio Podcast
http://www.pathwaytohappiness.com/insights.htm

I find this very interesting…. I’ll have to find more stuff to read on this topic, especially on how the mind works.

Documenting what I’ve learned (for final production setup)

Passing PCI devices to domU guest OSs
On the host OS, make this into a script, and run it:

modprobe pciback
SLOT=0000:01:06.0
echo -n $SLOT > /sys/bus/pci/drivers/bttv/unbind
echo -n $SLOT > /sys/bus/pci/drivers/pciback/new_slot
echo -n $SLOT > /sys/bus/pci/drivers/pciback/bind
SLOT=0000:01:06.1
echo -n $SLOT > /sys/bus/pci/drivers/pciback/new_slot
echo -n $SLOT > /sys/bus/pci/drivers/pciback/bind
SLOT=0000:01:07.0
echo -n $SLOT > /sys/bus/pci/drivers/pciback/new_slot
echo -n $SLOT > /sys/bus/pci/drivers/pciback/bind

SLOT refers to the PCI bus of the device… see if that has changed for new setup… it shouldn’t.

And to start the domU guest, start it using this:

xm create opensuse-1 pci=01:06.0 pci=01:06.1 pci=01:07.0 extra="swiotlb=force"

MythTV will detect the cards and use them.

UPDATE:
Just installed SuSE on the new production server, and the above worked flawlessly.

UPDATE:
For the mythtv-backend server, if channel names don’t come in correctly, try this:
mythfilldatabase --do-channel-updates

Virtualization has begun

So I decided last night to turn my Athlon64X2 4000 workstation into a server.
I installed a fresh copy OpenSuSE 10.3, with minimal packages. Everything installed and running is using 55Megs or ram.
I installed XEN, and the system is now using 96megs.

I installed XP, and that runs just fine. However it seems that I cannot assign hardware to it for exclusive use just yet. Apparently that feature isn;t available in XEN 3.1
EDIT: Actually, hardware passthrough isn’t possible in a fully virtualized environment. In a Paravirtualized environment, it is, but requires a custom kernel.
Bummer. So much for the easy way out, of installing beyondtv, and being done with it…
: (