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 :)

Sunday, August 5th, 2012

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.

Sunday, February 5th, 2012

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!

Saturday, November 12th, 2011

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.

Thursday, October 6th, 2011

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.

Friday, April 1st, 2011

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!

Sunday, January 23rd, 2011

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? :)

Monday, December 20th, 2010

Linux User Needs Help

FreeLinuxBox


Got an email through the FreeLinuxBox.Org site today:

Hello,

My name is ***** and i a computer science major at the University Of Georgia. I have been a linux fan for about two years now and i am in need of a computer.I really don\’t have enough money right now to buy a computer. I am willing to pay shipping costs. Thanks for considering me.

Thanks

Obviously this kid is slightly confused on how the site works, but his email is not wasted on me. I understand that he is in need of a machine, a Linux box. He’e even willing to pay shipping. Can’t SOMEONE help this kid out? I am betting there are lots more like him too. Please take a couple minutes to inventory your stash of old computers you know you will never use and put them up on the site for donation to someone needy!

Head on over to http://freelinuxbox.org and click the “Login/Manage/New Entry” link on the top right of the webpage. Create a new account on there if you do not already have one (new accounts do not put a password – it’ll be emailed to you). Post your free linux box and go about the rest of your day happy in the knowledge that you are doing a good deed for a fellow human and linux user. :)

Friday, July 9th, 2010

I have waited too long…

iPad

iPad


OK, I give. Apple has had their iPad out for MONTHS now and here I sit, still waiting for someone to get off their rhump and give me a decent android alternative. Sure, there have been some cheapo knockoffs overseas that aren’t readily available here in the states. If you look at the specs, though, even those are quite underwhelming. They typically sport 7 inch displays, very low cpu speed and memory, an outdated version of Android OS and no Android Marketplace (difficult to get any apps on them without it). Take the Eken Tablet for instance. This sports the 7 inch display (woo.. :/), 600mhz proc, 2gb flash and Android 1.6. Now the price point is great at right around a hundred dollars U.S., however, everyone I have spoken to that has one says it’s quite sluggish and small.

Now there are a LOT of companies that SAY they have a viable alternative *under development* but, hey, I am getting tired of waiting on vapor-ware. I WANT my tablet folks. You would think that with the likes of LG and Cisco and Samsung and, gasp, Google, that I could have something really great rolling around in my messenger bag right now, but, alas, it is not so.

For those afore mentioned companies who are vying to get my money first, here is what I would LIKE to see in an Adroid tablet, and I am willing to pay at least as much as the iPad alternative, however, inexpensive is a good word to keep in mind. I want a 10 inch screen. This is the minimum usable screen size in my opinion for my netbook and I cannot imagine reading or doing anything work related on something any smaller. I want horsepower. Again, my netbook sports a 1.6ghz proc and gets along pretty well. Slower in the cpu department would hobble the device for me. I need storage space, maybe 16gb or better. I would like to have some capacity to store multiple videos, documents and books to take with me. A SD card slot is great too, for this, but good local storage is always a plus. And speaking of SD capability, don’t diminish the usefulness of the device by not providing the necessary array of connections (SD, USB, audio, bluetooth) so I can easily transfer files and use all my favorite peripherals.

So guys, who will be first to step up to the plate?

Tuesday, July 6th, 2010

Excessive?

laptops

laptops


How many is too many? Is this excessive or have I just been watching too many episodes of Hoarders?

  • Top – Dell Inspiron 15 – My “desktop” machine.
  • Far left – Macbook 5,2 – Use when I am relaxing in bed with my feet propped up. Pisses me off that I cannot get Linux shoehorned on this properly yet.
  • 2nd left – Acer Aspire One – netbook I use for TLLTS work.
  • Bottom middle – Acer Aspire 3680 – my main livingroom machine – always tethered to the power cord because I have had it so long the battery only lasts 11 seconds.
  • 2nd right – HP Mini 110 – new netbook and daily carry.
  • Far right – Thinkpad X31 – dev/test/slush box.

And, of course, these are not *all* my computers. I also have a couple ESXi boxes which run a few virtual servers and an old G3 (upgraded to G4) Blue and White that mostly is a nightstand.

So, what computers do you all have kicking around?

Monday, June 7th, 2010