High Tech Sorcery

Author Archive

Installing Windows GPLPV Drivers in Xen

by on Jan.18, 2012, under virtualization

I’ve done this enough times to know it by heart but I remember when I tried to find documentation on this step I ran into countless inaccurate and outdated examples.  So here’s what I do to get the Windows GPL PV drivers installed under Xen.

  1. Download the drivers from meadowcourt.org.  As of 1/18/2012 the latest version is 0.11.0.308.  You’ll need to get the appropriate drivers for your OS.
  2. turn testsigning off on Windows
    1. bcedit
      • I like to check out the config first
    2. bcdedit /set {current} testsigning on
      • this turns testsigning on
    3. bcdedit
      • I usually run this again to make sure “testsigning Yes” appears
  3. restart windows. upon restart the system should indicate it is in “Test Mode”
  4. install the drivers msi file that was downloaded. I always choose “Typical” installation. I choose not to restart at this point.
  5. create new default boot option
    1. bcdedit /copy {current} /d “GPLPV
      • this will copy the current boot setup into a new one called GPLPV
      • pay attention to the id returned here
    2. bcdedit /default ID
      • replace ID with the id from the copy command
      • this sets the new menu to be the default
    3. bcdedit /set {default} loadoptions GPLPV
      • this makaes this option use GPLPV drivers
    4. bcdedit
      • double check everything
  6. restart windows
Leave a Comment :, , , , more...

Researching Redis on Rails

by on Jan.08, 2012, under Ruby On Rails

I’ve been researching how good a fit Redis might be for a project or 2.  One project needs a memory based key-value store generally without persistence, which would seem to suggest memcached.  However, there may be times where persistence across reboots may be desirable and Redis’ atomic operations and data types may also be useful.  Here’s some links I’ve been checking out:

Leave a Comment more...

Evaluating open source web control panels again

by on Jan.08, 2012, under Sysadmin

Here is what I’m looking at:

  • ISPConfig – been around a long time, seems quite mature
  • Froxlor – an active fork of SysCP which has a decent reputation
  • I-MSCP – a fork of ispCP which was a fork of VHCS which I know several people who supported
Leave a Comment more...

The sad state of linux desktop environments

by on Dec.02, 2011, under Linux

I run Ubuntu on my desktop and have since Ubuntu’s first release (4.10) and the current release, 11.10, is the first that I am going to skip over entirely.  The reason is that the choice of desktop environments is poor.  I upgraded my HTPC to 11.10 and tried every desktop environment available: Gnome Shell, Unity, KDE 4, XFCE, LXDE.  Not 1 of them seemed like it would fit my desktop needs.  I have a nice Gnome 2 desktop with plenty of customizations to fit how I work but upgrading to from 11.04 to 11.10 would cause me to lose all of that and force me to learn how to be as productive in a new desktop environment.  I really cannot afford to take that time when I have so many projects going.

(continue reading…)

1 Comment more...

SSD Recomendation

by on Nov.30, 2011, under Hardware

I’ve bought a number of solid state drives and I’ve had to return most of them due to problems.  I’ve taken from that experience that a lot of the manufacturers don’t quite know what they are doing yet.  There are plenty of places on the internet you can read about the bugs in many of the released drives.  I’m hoping the acquisition of Indilinx by OCZ and SandForce by LSI will improve the reliability of drives based on those controllers.  However, my SSD purchases have been narrowing to Crucial who’s RealSSD C300 and M4 have been far more reliable than average and extremely well performing.  A recent review of the OCZ Octane drive shows the Crucial M4 as one of the better drives in server performance:

  • http://techreport.com/articles.x/22078/8
Leave a Comment more...

Fixing ALSA sound issues

by on Nov.15, 2011, under Linux

Ony my desktop I’ve removed pulseaudio because I found it to be more trouble than it was worth.  So I use ALSA, which works pretty well.  However, sometimes my audio dies and produces chirps and squeaks only.  I found the easiest way to fix this is the following command:

  • sudo alsa force-reload
Leave a Comment more...

how to disable Rack::Cache in Rails 3.1

by on Sep.13, 2011, under Ruby On Rails

Couldn’t find this anywhere but what I found worked was to put this in config/application.rb:

    require 'rack/cache'
    config.middleware.delete Rack::Cache

This did fix the issue that sent me to this, as many people are likely to run into. The issue was that since Rack::Cache uses the default Rails FileStore that lots and lots of small files were being created in lots and lots of directories.  I don’t think Rack::Cache offers me much for this application, but if it did I would look into switching from a file store to a memory or memcached store.

Leave a Comment :, , , , more...

Playing with LXC

by on Aug.12, 2011, under virtualization

I’ve been wanting to explore the OS-level virtualization space again.  For a long time I was running linux-verser on a number of servers.  I switched to Xen because I really like the aesthetic of being able to run each virtual machine with it’s own kernel.  But I wonder if this is not too heavy a solution when all you really want is a super-chroot.  LXC has a lot of support since it’s in the kernel but it’s difficult to tell how big a community there is.  Thus far I’ve been pretty disappointed with LXC and I’ve had trouble getting information.  For example there is very little information as to whether capabilities are changed in different kernel versions.  Here are some of the major difficulties I’ve found so far:

(continue reading…)

Leave a Comment more...

Patriot Torqx 2 vs Patriot Warp

by on Aug.08, 2011, under Hardware

I’m replacing a Patriot Torqx drive which failed and Patriot has given me the options of replacing it with a Torqx 2 or a Warp drive.

(continue reading…)

Leave a Comment more...


Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...