Archive for the 'Hardware' Category

Adventures in Virtualization

A long long time ago, I virtualized all my home infrastructure onto an ESXi 4.0 server. It has run perfectly fine, minus one hard drive failure, for quite a few years. Lately, though, I had been wanting to upgrade it because it’s not terribly fast and I have run out of resources to be able to add new VMs. It was running on a dual cpu machine (single core) with 160Gb HDD and 4Gb of ram, and I was just using it all up. No more ram for new stuff.

I decided that I would upgrade the matching spare server I had and try out KVM because I had used it a bit for RedHat training and it worked so well. Of course, Fessenden’s law, as opposed to Murphy’s law, stated simply that “Something will go wrong.” And it did. Over and over again.

First off, let me say that on an enterprise class server system, if it says it needs registered ECC ram, it is NOT kidding. I must have swapped ram around in that server 50 times before I noticed 2 sticks of non-registered ram in there. Once I got over that, I had 8Gb of ram and a new 250Gb HDD and I was ready to rock! Or so I thought.

I decided to use CentOS 6 as my virtualization host OS and that went right on but I soon discovered that my CPU doesn’t support virtualization. Ugh. So I decided that I would switch gears and go with virtualbox instead so that I could continue using my current hardware. I have often used virtualbox on other machines and it is a fantastic platform. I set about getting things running.

When I installed the base OS, I did a minimal install. No GUI, etc.. There is no sense in putting stuff on there you don’t need on a server right? Well, the very first thing I found was that I could not use the virtualbox gui controls because I did not have any X installed. To rectify that:

yum -y install xorg-x11-xauth dejavu-lgc-sans-fonts

You need the auth to be able to forward your X session, and need the fonts to be able to actually see words on your app.

Next I copied all my vmdk files to the new server. This takes a LONG time for old servers to move around 100Gb. Once there, however, I discovered that virtualbox cannot read native vmdk files. Ugh again.

yum -y install qemu-kvm

And then I could convert the vmdks to raw images, and then again to native vdi files for virtualbox.

qemu-img convert machine-flat.vmdk machine.bin
vboxmanage convertfromraw --format VDI machine.bin machine.vdi

I put all my machines together and noticed that virtualbox was complaining about uuid on some of the disk images. To fix that:

vboxmanage internalcommands sethduuid machine.vdi

The first machine I started up was a CentOS 6 machine and that fired right up, however, udev immediately reassigned my ethernet device to eth1. In order to get thatr back where it was supposed to be I had to go into /etc/udev/rules.d/70-persistent-net.rules and delete the ethernet rules in there and reboot.

Along about this time my server powered off. No idea why. It powered itself back on again about 30 seconds later. I checked everything on the server and it looked fine. Curious, but I kept on going.

Next I tried to start up my remaining Centos 5 VMs. These were problematic. The very first thing I noticed here was that they were barking because I never uninstalled the vmware drivers. I fired them back up on the original server and ran the vmware-uninstall.pl program. I turned them back off and spent hours re copying the over, and then reformatting the vmdk files into vdi.

Starting them back up, I found that, again, they would not run. This time I received the error that it could not locate any LVM partitions. This, it turns out, is because the initrc files did not have the appropriate drivers in them. Fixing this was fun. First off, you need to add a cdrom drive to the vm and put a CentOS rescue cd/dvd there. Boot it up in rescue mode, chroot to the /mnt/sysimage and then fix the /etc/modprobe.conf file:

alias scsi_hostadapter mptbase
#alias scsi_hostadapter1 mptspi
#alias scsi_hostadapter2 ata_piix
alias scsi_hostadapter1 mptscsih
alias scsi_hostadapter2 mptscsih

The entries with the #s are the ones I had to change. Then I needed to rebuild all of the initrd images.

cd /boot
for file in $(ls init* | cut -d'-' -f2,3 | cut -d'.' -f1-6); do mkinitrd -v -f /boot/initrd-$file.img $file; done

After that, the machines came right up! Of course, the host powered right off. Several times over the next day. Grrr.

I figured that there was a hardware issue with the host somewhere and resolved to buy myself a new server. I picked an open box refurb from microcenter that had 8Gb ram, a 750Gb HDD and a nice quad core cpu that supported virtualization. Wohoo! I can now switch to KVM!

I set up the new machine and installed KVM and started copying vmdk files over again and, bingo, kernel panic. I rebooted and the machine would not even get past bios. This went on for a couple days until I took the machine back to microcenter. I picked up a different machine, better quad core with 12Gb of ram and 1Tb HDD and set about getting it running.

This time, success! I set up CentOS 6 and KVM, added the bridged networking and copied over the vmdk files. KVM will read vmdk files but I decided to convert to a more native format, qcow2, the preferred format for qemu, anyhow. that is fairly simple to do.

qemu-img convert -O qcow2 machine-flat.vmdk machine.qcow2

I put all the machines back together again and started them back up. I still had to do the initrd fixes on the CentOS 5 VMs to get them going, but after that all has been running fantastically!

Somewhere along the line here I figured out that my issue with my secondary server powering off was a bad port on my UPS.

KVM is really easy to run and manage for a Linux geek as opposed to VMware 4. The native gui tools do the job just fine, although they are not quite as intuitive to me as VMWare’s VIC. I am quite happy, though, with the switch. I now have more than twice the resources of my initial virtualization environment. Now I am good to go for several more test VMs and the new machine is nice and quiet and doesn’t have to hide under my couch :)

GeChic On-Lap 13.3″ LCD

GeChic On-Lap 1301 13.3” Portable and USB powered Thin, Light, and Plug & Play LCD Monitor

GeChic On-Lap 1301 13.3” Portable and USB powered Thin, Light, and Plug & Play LCD Monitor


You would think that my lack of posts here lately meant I had simply dropped of the face of the earth, but that isn’t really so. I have just been extremely busy with the day to day problems facing me in RL, including how to squeeze >that< much more work into my overly busy day.

This particular recent purchase, the GeChic On-Lap 1301 13.3” Portable and USB powered Thin, Light, and Plug & Play LCD Monitor, has helped me do just that.

One of the things all high-end computer workers need to enable them to multitask better is more screen space. This has been researched and documented in a variety of different places. Well, what are you to do with your mobile workstation? You can buy one of those external USB screens, that’s what. Almost a no-brainer, right? The problem with that for a Linux user is the drivers. Most of these types of screens push video through USB, which means you have to have a working usb to video driver, not to mention video over usb is a little slow. Enter the GeChic!

The GeChic solves these problems by NOT usung usb for video, it actually has both a vga and a dvi input along with being usb powered. That’s right, no extra power cord, just plug in the usb cable and pick your input method and you are rockin’ and rollin’. This means it will work with literally ANY laptop or desktop which supports those types of video output, regardless of operating system or driver issues.

The unit itself is a little pricey at $200, however, it makes up for it’s few downsides by giving me my much needed screen space, in an attractive, easy and mobile form. I did say few downsides, and there are a couple other than the price. The first is the color. It just doesn’t want to color match my laptop’s LCD no matter how I seem to adjust it. The second is that using vga input the picture quality lacks a little. To be fair, dvi input is far superior to vga anyhow, and the vga problems could just as easily stem from my machine than from the monitor and I didn’t spend a whole lot of time messing with the settings on vga before just trying out dvi. Ymmv.

What I do like is that this is an attractive little lcd screen with a nice resolution of 1366×768. You can use it while physically attached to your laptop or it can sit standalone next to it in several positions with its included stand. To connect it to your laptop it has surprisingly strong suction cups that attach it’s swing-base to the top of your laptop and it can simply fold up or swing out for use. This allows you to also do neat things like show a presentation on the back of your laptop while you watch the front, etc..

No matter how you slice it, this little thing is mighty handy to have around and everyone who has seen it in action immediately wants one of their own. Boy, I wonder if I could get a kickback from NewEgg on this? Even at that price, I think we have a winner.

Mint 12 RC – Dig it!

Mint 12

Mint 12


I just couldn’t wait any longer so I grabbed a copy of the gnome 64 bit cd iso image from http://ftp.heanet.ie/pub/linuxmint.com/testing/. Well, I also grabbed the DVD image as well, but I actually used the cd image to install. It’s a live cd/dvd so I set about checking out the live version first, of course, just to make sure things looked ok.
I figured I would just go for it and started installing to disk on my new laptop. I should mention here that while I like Mint 11, there are certain things on my new laptop that just do not work well with it. It has a new i5 sandybridge processor and the associated graphics which didn’t do well with acceleration and suspend and my trackpad only registered as a mouse, which was usable but a pain in my behind. Needless to say I have been chomping at the bit for a try at the next release to see which, if any, of these issues might have been addressed.
The installer was quick and efficient and I don’t recall anything in particular standing out from what has come to be a normal mint install. That being said, everything after that was fascinating and exciting.
On your first login you are greeted by the new desktop environment, a sort-of Gnome 3 mashup. It’s Gnome 3 but has some of the niceties that *I* believe are needed to make Gnome 3 usable and all the UI goodness that I have come to expect from Linux Mint (and why I keep returning to them). You have 2 taskbars (one would probably be enough though), icons on the desktop and a pretty looking new menu system, not to mention the interesting Gnome 3 new UI things. Previously I tried Gnome 3 on Fedora and absolutely hated it, but in this configuration, it is quite pleasant and completely comfortable and usable.
After the install you will see that Mint welcome screen, which, at the bottom, gives you the opportunity to ad all the multimedia codecs and also to upgrade to the DVD version. Nop matter what I did, those links did bupkis. Undaunted, I looked at the code behind this to see that the packages that should be installing are meta packages, so I popped open synaptic and after a quick search I found and installed mint-meta-codecs, mint-meta-gnome-dvd and mint-meta-mate, which, after installation seemed to get the welcome screen not to display those links anymore, so I am assuming that’s what was needed. I am sure this is something that’ll be fixed as days go along. After all, this isn’t even really an official RC at this point yet, really.
After doing all my software updates and installing the few packages I just have to have in order to function (sshfs smbfs irssi vpnc screen vlc mencoder vim moc openssh-server subversion git twinkle curl php5-cli mutt clusterssh) I set about checking things out thoroughly.
To my surprise, ALL MY LAPTOP ISSUES have been fixed, or at least seemingly. I now have nice screen acceleration, my laptop suspend works flawlessly, my trackpad has actually been detected as a trackpad and I even have 2 finger scrolling working now. WOOT!!! Of course the rest works too. I have sound, wireless internet, usb support, etc., etc..
This is very exciting for me and I, for one, cannot wait to see the full release coming in the future, but if you think I am uninstalling this in favor of something else while I wait, boy are you wrong. I am hooked! Go Mint!

We’ll miss ya, Steve.

RIP Steve

RIP Steve


I saw the news mere minutes after I got my newest mac. I just picked up a nicely used 17″ iMac. I may even have to name it “jobs”…

Much as many of my opensource cohorts are occasionally at odds with Apple, the company, I believe whole heartedly that we have lost a real visionary. He had a big hand in not only making personal computing a reality, but also beautiful. Apple has always pushed the idea that not only should functionality be a consideration but aesthetics as well. I can only hope that Apple can keep up with his legacy.

The New Xoom Review, Comin’ Right At You!

xoom


OK, I am dating myself here but there used to be this show on when I was a kid, called the New Zoo Review, and for some reason the theme song was playing in repeat in my head while I was thinking about writing this review. That’s how the title comes about, and it’s been a wickedly long week, so that’s about as clever as I can muster right now.

I bought the Motorola Xoom wifi only tablet the day it came out because I have been wanting / looking for / dreaming of a device that *could* be android powered that would be a respectable netbook replacement for me. I wanted something with at least a 10 inch display, fast processor speed, decent storage and memory and significantly thinner and lighter than my netbook that I could use as a daily carry. What goes without saying, there, is that there needs to be functionality with all that I do.

Unfortunately, with the Xoom, this was not to be…

The Xoom is a very appealing looking device which appears to meet many of my basic needs quite well. It is thin and light. It has a beautiful and very functional touch display. The battery lasts quite long at around 2 days of use. It’s only everything after that that is a disappointment.

Let’s start with the price. This was $600 + tax for the wifi only version. I believe this to be a bit excessive, even if the device actually *did* deliver. That being said, I did, and would pay it again to the company that does it right, but there are a lot of disappointments with this tablet:

This tablet does not act as a usb mass storage device. You heard it right. When you jack this into your computer, you have to fumble around and try to find a utility program and/or drivers that do Media Transfer Protocol. I DO NOT understand why they would do this unless they are intentionally trying to irritate their customers. My Moto Droid (the original) could connect as usb mass storage, why can’t this??

This tablet will not charge via the usb cable. Again, what were they thinking. You have to use a needle thin charger plug that has every appearance of wanting to snap off at the slightest bump. Once I finally got the majority of my power and data needs consigned to a single USB cable, Xoom makes sure you have to carry another proprietary wall-wort.

Honeycomb is NOT ready for general use / release. As pretty as it is, the new android OS has lots of bugs. I cannot tell you how many times apps like facebook, gmail, email and the browser crashed on me in the week I used this tablet. The apps are beautiful when they work, but also lack important functionality. For instance, the email app doesn’t do filters. Also, I was particularly thrown back when I could not get my pandora app to run at all!! Ack!

I think the straw that breaks the camel’s back for me is lack of a cisco vpn client. Granted, this is not really the Xoom’s fault, but I need to be able to do some real work with my tablet and this is a HUGE hindrance for me. This one thing means I have to carry a netbook with me anyhow which was the point of getting a tablet in the first place.

Bottom line is if you are looking for some cool tech and do NOT neet to do work with it and / or can wait until they fix a bunch of things AND you have a spare $600 to shell out for said broken product, then run to your nearest store and buy one of these. If you are like me and need a small, slim, lightweight. functional tablet with more stable software and a decent vpn client to replace your netbook, then wait ’till the iPad 2′s are back in stock. Sorry android and Motorola, you lose on this one.

Epson Workforce 520

Epson Workforce 520

Epson Workforce 520


Some days things just go right. It’s been a while since that happened to me, hence the lack of posts lately. Well, that changed tonight…

I decided it was high time to get a new printer. I have been using used HP LaserJets for years and my last, a LaserJet 5 was finally starting to show some wear, not to mention hogging enough electricity to power a small city. I have also endured about 4 years of complaints that we didn’t have a color printer.

I checked out the stock of some local electronic stores online and spent an hour or two googling whether this or that model printer wold work under Linux. I actually wanted to grab the same printer Dann bought, just because I knew that one would work, however, I couldn’t find a local source. I settled on buying an Epson Workforce 520 from the local BesyBuy.

Setup was an absolute breeze. I unpacked it, followed the setup instructions to add it to my local wireless connection via the printer’s control panel. Then I headed to openprinting.org to grab the driver and installed it. It’s just a deb (or rpm) package so it was a click or two to install. After that I headed to Linux Mint’s printer config utility, told it to search for network printers and it was found and installed automatically with no fuss, no muss whatsoever.

Everything works, and I mean everything. This is one of those multifunction printers that not only prints, but faxes (actually I haven’t tried that and probably won’t), copies AND SCANS! After my initial test print, I fired up Mint’s “Simple Scan” which scanned a document I had on the printer easily and perfectly. I was amazed!

I believe I may have found the perfect wireless printer/copier/scanner to run under Linux Mint (yes, it’s wireless too, did I mention that). I know Linux printing has come a long long way, but this was trivially easy. If you are looking for a great new printer addition to your Linux setup, this is it!

What’s with the Lemur?

System 76 Lemur

System 76 Lemur


Nope, I am not talking about the curious little Madagascan primate, I am talking about the one from System 76!

It has been a while since I have done a review, but that doesn’t mean I haven’t been working one up :) At this past years Ohio Linux Fest I got to rub elbows with Carl Richell from System 76 who promised me the opportunity to review one of their masterpieces. After some killer anticipation, the unit arrived on my doorstep and it turned out to be their Lemur Ultra Thin laptop.

This lappy has a GORGEOUS 13″ display, a core-i3 proc, and the all the assorted (and working) ports, wifi, ethernet, sound, SUSPEND, etc., that you would come to expect. I did say working didn’t I? That’s important because, as retailer of Linux computers, it’s important to make the distinction that there is NO guesswork as to whether or not Linux will run on perfectly on it. It does :)

System 76 was nice enough to let me demo this thing for a long time, so it’s safe to say that I tested this thing out really well. I used it extensively at home to do my normal web surfing, video watching and music playing. I also used it for work where it was my portal for a bunch of system administration work, rdesktop and ssh sessions galore, plenty of terminals open with configuration scripts and php programming, connected through every kind of free and paid wifi you can think of, not to mention my work vpn. And a lot of that was all at the same time! This system performed more than admirably. I even used it at a work conference where I did splunk installs and testing without issue.

I am not sure what kinds of proprietary things that System 76 provides in its own packages, however everything in Ubuntu, the Linux distribution that System 76 ships with by default, runs perfectly. Then again, so did Mint 10, the other Linux distribution I installed and tested with. This left me with, literally, nothing whatsoever that didn’t meet my personal satisfaction :)

This laptop is very light, perfectly functional, very good looking and stunningly well designed and put together. It feels to me like a MacBook Air with a warp drive, and at literally half the price. In short, this is the laptop that I want to carry around (did I mention it’s light too)? I am hoping that Mrs. LincolnClaus is reading this. It would look great under the tree this year! I would gladly get rid of most of the rest of my laptop entourage to be able to carry one of these.

Hey, anyone want to buy a pristine condition used netbook? Or two? :)

New NAS

WD 1Tb MyBook World Edition

WD 1Tb MyBook World Edition


Wow! Long time no post! I didn’t realize it had been so long. Lots of things have happened since I last wrote here. I had a little vacation time where I did pretty much nothing, I had a great belated birthday party that many of my friends attended, and I finally got my new NAS.

I really needed a new NAS. I keep running out of room on my old 500Gb NAS, which holds all my backups and media files and such. I have been putting off getting a new one for a long long time (I am a great procrastinator). Finally I broke down and picked up a Western Digital 1TB MyBook World Edition. I quite like it!

This NAS, priced around $170 depending on where you buy it, is actually pretty featureful. It offers cifs, afs and nfs filesharing, has optional ssh login ability and serves an itunes share and streaming media share. This NAS uses green technology, so not only does it automatically go into powersaving mode when not in use, but it uses a low power drive as well, so very little heat, no fan noise, and very low power draw. The gigabit ethernet affords decent speed on data transfers and the built in software is easy to setup and use and will let you get things like individual user accounts running quickly.

All in all, not a bad NAS for the price. In fact, this is probably the most inexpensive NAS I looked at with the featureset I needed. I have never yet been disappointed by Western Digital and that holds true on this purchase as well.

A Yeti of a different color.


So I sold my Mac Mini and my old Linux desktop machine burns up (cpu temp over 100 celcius). I need a new computer right? Well, the Best Buy run didn’t work out so well, so I started looking at other local stores for somewhere that had a decent laptop / desktop replacement that appeared to be, or mostly to be Linux compatible.


What I found, while browsing through store ads online was that Staples had a Dell Inspiron 15 for sale for just over $500. This machine sports a dual core proc at 2.2ghz, 15.6 inch widescreen with the Intel GMA 4500, 350gb hdd, 4gb ram and a Dell wireless card (rebadged Broadcom). The best part was I actually knew a friend who ordered 3 of these and had Ubuntu on at least one of them. Viola! Instant Linux Laptop!

Of course, these things are never that easy…

I ran out and picked one of these up and *just* as I was about to press enter to start formatting the drive, I notice that there is 1 dead pix3el in the middle right-hand side of the screen. Back it goes and I grab another (this one sans dead pixel). Mint 8 looks beautiful on this machine as I install it. Everything is peaches until I go for configuring the wireless. Now I am intending on using this machine as a desktop replacement, hooked to ethernet, but hey, if I have wireless, it should work. Right?

Well, I had a dandy of a time getting things to go like they are supposed to. Wireless on this laptop seems to be added under the “Hardware Drivers” or “Restricted Drivers” modules. What popped up was an STA driver and another that I cannot seem to remember at the moment. I, unfortunately, did NOT chose the STA driver. This started the maddening process where I fiddled with things and cussed at my computer for HOURS and could not get the wireless to work. After obtaining a sore throat that way, I decided to try the STA drivers. Well, once you installed the other drivers, whether or not you KEEP them installed, you CANNOT get the STA drivers installed. Each install failed, frustrating me even further. Eventually, I just did a clean reinstall and picked the STA drivers. Wireless worked perfectly after that. :-)


After all that, it was time to put my desk back together with the new laptop. I really like the clean look of the desk now. Not as much screen realestate, but it’s tidy looking and feeling. I also purchased a Logitech wireless kb/mouse combo and I absolutely love it. And did I mention that this new machine absolutely smokes the previous two combined? :-)

I named this monster Yeti, which is a re-use of the name of my Mac Mini. This machine, however, is black, so I guess it really is a Yeti of a different color. Hey, who says Yeti have to be white anyhow right?

You know you’ve had a bad day when…

You know you’ve had a bad day when you have to use a DRILL to try and fix your wife’s laptop. Oh yeah.

My wife’s laptop has been having troubles with crappy wireless for the longest time. Well, I decided I was going to replace her card with a better one. It’s a Compaq Presario f730us laptop that has a mini pci-e wireless card in it. I searched around and found a nice intel card on Amazon and bought it. Well, when I put it in it wasn’t even detected. So, I tell the seller, thinking that it may just be a bad card, and he says it may need an HP branded card and sends me one of those to replace it with (nice seller btw). I get that card and get ready to try that and find one of the dang screws on the card is now striped and apparently welded in place. Nothing I have will get the friggin thing out so I had to resort to drilling off the screw cap just to remove the card. Then, you guessed it, the new card doesn’t get detected either. Friggin ComHPaq. So, the old card which drops packets like nobody’s business is back in place and the other 2 cards are on their way back for a refund.

My only alternative now, other than keeping her hard wired, is to find a USB wireless dongle. So, does anyone have any recommendations for a USB wireless card that’s Linux and wpa/wpa2 friendly and readily available somewhere (and inexpensive)?? Please shoot me an email and let me know!

Next Page »