OpenSolaris and ZFS: Hardware
Saturday, April 11, 2009
Having heard that ZFS is the last word in filesystems, and after talking to a few people who have implemented it, I decided to take the plunge and set up a test system with intentions of replacing my current Linux fileserver with it.
Solaris (and OpenSolaris) is pretty picky about hardware, but at least there's a hardware compatibility database that is OK to navigate. Here's the hardware I ended up buying:
- Intel S3200SHV motherboard - $200
- Intel Core 2 Duo E7400 - $110
- Hitachi Deskstar 1TB drives x 3 - $85 each
- Corsair TX650 PSU - $80 after MIR
- 4GB Kingston ECC memory - $50
- LG SATA DVD drive - $25
The biggest decision to make was the motherboard. The S3200SHV was a great choice because it incorporated Intel Gigabit LAN, the Core 2 Duo architecture, and 6 SATA ports. Onboard video was a good thought, but I came to find out it doesn't work in OpenSolaris 2008.11 (more on this later). Intel LAN is important because it's known to work well with OpenSolaris and be very fast. I know the ICH9R bus will be supported and is also very fast.
It has turned out to be pretty good hardware, and I also didn't spend too much.
Which brings us to the one big problem: OpenSolaris 2008.11 does not support the integrated graphics in the S3200SHV. Short version: Buy an Nvidia graphics card. On to the long version... So the graphical installation doesn't work? Well, I can just use the text mode installer right? Uh, no. There is no text mode installer. >_< OK. Intel's OS compatibility guide for the S3200SHV says there is a fix once you get it installed. Googling for a solution, I found you can install it using the GUI using X11 tunneling over SSH.
You can use the GUI installer over SSH by booting the text console, logging in (jack/jack) and assuming the root role (su, with password 'opensolaris'). After this you must start the SSH service and SSH from another *nix machine with the -X flag to forward X11. Then execute 'pfexec gui-install' to launch the installer. Sweet, it's installed to disk. On a side note, it's kind of cool that I can install an OS over SSH with X11 tunneling. But should I have to? NO!
Intel's OS compatibility guide states that for Solaris 10, one must:
"Edit /usr/bin/X11/Xserver and use the following arguments to make color depth not larger than 16 bit: SERVERARGS="-depth 16 -fbbpp 16""
So I rebooted, entered text mode, and followed that simple instruction to change the color depth. Still no luck after rebooting again, so I gave up and ordered a cheap PCIe graphics card from Newegg which was supported from the start.
Hoping that my compatibility issues have all been resolved, I pushed forward with configuration.
If you managed to get the integrated graphics working, please leave me a comment or shoot me an email!
Replacing The Battery In My MX1000
Friday, February 27, 2009
The battery capacity of my beloved Logitech MX1000 mouse had deteriorated over time. It was lasting only 2-3 days tops before the charge level would turn red, its lowest level. So I decided to find out how I could replace the internal, "non-replaceable" battery.
As it turns out, doing so isn't too bad. There are multiple sites available with instructions. While they are OK instructions, I have a few comments.
I ordered an NP-120 camera battery to replace the one inside the MX1000. Before we put in the new battery, we decided to take apart the old one. Inside the blue casing of the original battery, the three wires are soldered to a small circuit board. It was easy to unsolder the wires, and this allowed us to use the full length of the wire. Having more wire to work with made things a lot easier, because there isn't a lot of room to play with.
It is generally not a good idea to expose batteries to heat, so why would you think to put a very hot soldering iron to it? We came up with a better idea. We cut small strips of brass which we bent into U shapes and soldered the battery wires to the brass plates. Then we put the bent brass plates up against the battery contacts, and held them in place using self-fusing silicon tape. This kind of tape may also be known as "self-vulcanizing tape" although I believe the use of that word is incorrect. The tape isn't sticky at all, but has a layer of plastic which you peel off, allowing the tape to fuse to itself. Before you try to put the battery in the mouse, it is a very good idea to check the contacts by connecting a voltmeter to the socketed end that plugs into the PCB. As usual, red is positive and black is negative.
We ran into more problems when we tried to put the battery back in. It appeared that our tape arrangement had added too much thickness to the battery, and it wouldn't fit very well in the casing. Putting it back together might go well for a bit, but we found it was simply too much when we tried to fit the whole mouse back together. Since we didn't want to change our arrangement of the battery contact, we decided to get rid of the entire battery holder and hot glue the battery to the inside top of the mouse. This ended up working quite well, and the mouse fit together with a snap.
The result is a much better performing MX1000. The battery now lasts a solid 7 days before needing a recharge, and I'm quite happy with that. If I ever need to, I can replace the battery again for $10 and get more life out of a great mouse.
Like hardware hacking? You might try hacking your toner drums to get more life out of them.