Checkpoint: Printers & CUPS Edition

Sharing my printer — an HP Color LaserJet 1600 — through my FreeNAS home server is an exercise in futility. There were two methods to try including:

  • Method 1: passing the printer to a Windows Server 2012 R2 install sitting in phpVirtualBox
  • Method 2: through CUPS

Method 1

I got the printer recognized in VirtualBox using this guide but it wasn’t recognized in the Windows Server 2012 R2 Device Manager whatsoever. There were allusions to VirtualBox not recognizing USB 2.0 devices but even when I forced it to

Method 2

Installing CUPS was not as straight forward as I thought it would be. I followed a couple of guides and in the end I was able to get CUPS to recognize the printer and share it out but unfortunately I was unable to get the driver installed to enable printing itself.

What now?

Thankfully this printer isn’t critical. The print quality deteriorated to the point where it’s no longer suitable for legitimate work. This means I have all the time in the world to get this working and at this point I might just wait for the next version of FreeNAS that will include Bhyve, FreeBSD’s hypervisor. Hopefully that will sort out all these issues and the printer will just work.

I started Uncharted 4. I’m finding myself feeling old when playing it because of how much this instalment evolved compared to its predecessors.

Checkpoint: FreeNAS Edition

I still need to purchase a storage drive for my new PC — specifically a 500 GB SSD for $140 or so — but I’m effectively done tinkering with it. Focus was shifted to the home server which has been running on a Core 2 Quad system running Windows Server 2012 R2 and FlexRAID. It always felt like a hack job to me.

In order to facilitate Apple Time Machine needs, I installed NAS4Free in Hyper-V. It works but not without toggling the save states in order to get it to boot properly. FlexRAID became a bit of a pain to manage as cleanup tasks were failing to complete requiring me to suspend the Hyper-V VM. There’s also the reality of it being old tech and consuming so much power during idle.

It was time to move on and I was itching to attempt my home server setup.

The Dream

I was hoping to install VMWare ESXi 6 hypervisor with a FreeNAS VM accessing the physical disks and another VM running Windows Server 2012. Ideally, this would be accomplished with Intel’s VT-d Technology but I was hoping VMWare figured out a way to allow access to the physical disks by “passing the entire storage controller“. Turns out that wasn’t the case and I wasn’t able to figure out how to just pass the SATA controller to the VM. I was considering Raw Device Mapping hack but it’s not recommended by the community or FreeNAS themselves.

I had to check it out for myself though and it wasn’t easy. The Gigabyte GA-H55M-USB3’s onboard NIC and secondary storage controller were’t recognized by default and required a custom ISO. Once everything was in place, I was able to confirm that my dream was dead.

Plan B

FreeNAS gained the ability to host virtual machines through phpVirtualBox. It’s not a type 1 hypervisor but it’s better than nothing. Like with VMWare ESXi, the plan was to install FreeNAS on a USB stick so I could maximize the storage controllers on my motherboard. Installation was easy but my PC stopped POSTing with the power LED blinking.

That was strange. I’ve never seen this kind of behavior before. Thinking it was a PSU problem, I spent an hour or so swapping power supplies with my old server and rewired everything. Same behavior. Was it memory? I tried removing all but one DIMM. Was it the motherboard or the CPU? Then I started unplugging hard drives and eventually the USB with FreeNAS installed. A successful boot.

There’s an incompatibility between Gigabyte’s EFI and FreeBSD installed on a USB that prevents the motherboard from booting. After a half hour or so of unsuccessful tinkering with GDisk, I installed GParted and simply turned on the boot flag on the second partition. (Pro-tip: GParted doesn’t boot with ATI Mach64 or RAGE 3D cards)

An Impressive Start

FreeNAS is impressive once you read the documentation. It could be more streamlined and user friendly but the bottom line is that FreeNAS works. I’m still tweaking things but being able to manage so much with just a web interface is admirable. I haven’t installed a VirtualBox VM yet but I’m willing to bet it’s easy as pie (after I read some documentation).

Checkpoint: Not According to Plan Edition

checkpoint-not-according-to-plan-edition

Don’t you hate it when things don’t fall into place?

With the new PC wrapped up (post about it tomorrow) and all the hard drives in, I decided to work on the home server. My plan to use NAS4Free running in a Hyper-V VM didn’t pan out. I didn’t realize that NAS4Free/FreeBSD didn’t have the necessary SCSI drivers for Hyper-V.

My fall back plan was to use VMWare Player or Oracle VirtualBox. The former worked but I couldn’t map to physical disks. Oracle VirtualBox allows all five physical disks to be mapped but it seems to crash often. I performed a factory reset and will perform the ZFS pool creation one more time. If it causes me grief I may have to resort to using virtual disks on individual drives.

This sucks.

I am tempted to scrap the whole NAS4Free/FreeNAS idea and look into unRAID, FlexRAID or something along those lines.

I was hoping to either wrap up Persona 4: Arena or Fire Emblem: Awakening this weekend but made little progress towards that goal as well. There’s a lot more grinding involved in Fire Emblem than I originally anticipated.

PlayStation 4 OS based on BSD

posted in: Game News, Game Previews 2

playstationlogoSo it looks like the upcoming PlayStation 4’s operating system will be based on BSD (Berkley Software Distribution) Unix operating. This is the same operating system that Apple’s Mac OS X spawned from.

This move should make it a whole lot easier for developers to create games. However this choice (and my current Red Hat course) makes me wonder why they chose BSD Unix over Linux. Their multitasking reason doesn’t make a whole lot of sense to me because Linux is more just as capable on the multitasking front.