« August 2009 | Main | November 2009 »

September 2009 Archives

September 18, 2009

Today: Hath Server Rebuild

Today's project is to keep working on the rebuild of our home file/DNS/DHCP/everything else server. I have a new low-powered motherboard and a pair of Western Digital Black 1TB drives and a quiet power supply. I just need to put it all together and setup the software. Having lost my old 1TB drive, I don't have anything to port over, so if there's a silver lining to be had with the loss of 1TB of data, it's that I get to start clean now.

The problem is, the CentOS 5.0 install DVD I have doesn't support my network chip, which means I can't get on the network to install updates which support my network chip. *sigh* So I'm now downloading the newer CentOS 5.3 install DVD, but that's going to take another 3 hours. I _THOUGHT_ I already had this downloaded somewhere, but for the life of me, I can't find it.

In the mean time, I'm putting together a list of all the functions I want this box to perform and investigating software options. So far, the list is:

Off to investigate software options for the above.

September 19, 2009

Status 2009-09-19^H^H18

Oops, forgot to write this yesterday when I was done.

I wrote out so many wonderful ideas to work on with koi (the name of the new server.) I was expecting the OS install to be the easy part, right?

...not so much... First of all, I thought I had an ISO for CentOS 5.3 i386 already. Turns out I had a couple aborted downloads of i386 and a good disk for x86_64. So, I spent the first 3.5 hours of the day downloading a DVD ISO and researching software.

Then when I finally got started with the OS, it took about 2 hours to format the 1TB RAID array, and that is without having to re-build the RAID array itself (was already built from the last time I tried this with CentOS 5.0) Something is seriously wrong with these drives.

After the format, the install was relatively uneventful. Started playing around, and came to the conclusion that I don't want the OS on the CF card; I'm too afraid of write wearing on a non-redundant file system. So I took out the CF card and re-installed the system (again) on the RAID pair. This of course necessitated a repartition and therefore a RAID rebuild, which is still going on now.

So, yeah. These are brand new 1TB SATA drives. They should _NOT_ be going this slowly. Something is seriously wrong. hdparm claims that they're not using DMA; I'm not even sure I know what PIO mode they're using. When I tried to enable DMA using hdparm, it claimed that function was not allowed. The BIOS doesn't have any useful settings on the SATA controller other than "enabled" or "disabled."

There is a newer BIOS that I'm trying to get installed, but my DOS boot USB stick doesn't work on this system, so I'm having to wrangle some other tricks to get FreeDOS installed on a partition I left for it on the hard drive. I just haven't gotten to this part yet, so I don't know whether it works. But the goal is to have a DOS environment on the hard drive that is bootable from the normal grub install that I can use for BIOS upgrades and what-not.

I'm _HOPING_ that a new BIOS will fix a lot of the problems I'm having (possibly even the inability to boot from USB!). I'll report on that when I've tried it.

But if I can't fix the SATA, this motherboard, as cool as it is with its 4 physical serial ports, is not going to work out. :-(


In the many hours I was waiting for koi to do thing, I started researching media PC options. I looked at MythTV, The Roku Box, and Boxee.

I have a Myth front-end on my neighbor's back-end which is cool, but it a) is illegal, b) only kinda sometimes works, and c) likely has a limited time-line once Charter decides to ditch their analog channels. We're looking for alternatives.

The Roku box looks pretty cool as a hardware platform, but it only supports NetFlix, Amazon Video On Demand and Major League Baseball (which I really couldn't care less about). Those two are cool, but I really want a better selection, and Boxee seems to be the best available. Roku claims that they'll add more as time goes on, but I'm not willing to bet $100 on that just now.

So I'm really looking for something that will get legitimate content, and a wide array of it, over IP. Of the three, Boxee running in Windows seems to be the most functional option. Windows is required for Silverlight and therefore Netflix. This is a bit of a bummer because it means I likely won't use the system for anything else. But if I can build a small, low power, quiet system that'll do Boxee, I'll be happy with that. So that's what I'm playing with. I'll let y'all know how that turns out. :-D

Status 2009-09-19, for reals this time.

Strictly speaking, today wasn't a 20% day, but since Cindy is itching to have some of this work done, I was able to spend a bit of time working on Koi today.

Some more research suggested I need to get a different driver installed for this chip set. Further research suggests that the driver that's being loaded is compiled into the kernel statically by RedHat, making it neigh on impossible to load another module in its stead. So I've just kicked off something akin to madness: I'm starting a CentOS kernel RPM compile, after hacking the config file to remove the "bad" driver and compile the "good" driver as a module... ...on an 800MHz C7... ...with a RAID array that's in PIO mode... Yeah, this is going to take a while...

So, I'll come back some time in 2011 with a status report. (In all seriousness, I suspect it'll still be going when I head to bed in (hopefully) not too long.)

While waiting for things to happen with Koi, I put together my Atom board, 1GB of RAM, a 20GB 2.5" laptop PATA drive (quiet and low power), and a DVD-ROM drive. This is likely to become my Boxee system. I can't find my XP install CD, so I installed CentOS on it as a proof of concept, to make sure the system works. This is the same system that was giving me fits with the SATA drives earlier. Still haven't figured that one out...

Anyway. Once I find my XP install, I'm going to put Boxee on it and hope its fast enough. I may try Ubuntu/Boxee in the mean time and just accept that I won't be able to watch Hulu or NetFlix.

Been keeping busy... :-) Go bears!

NaNoWriMo

In further Mark-Doesn't-Have-Enough-Time-For-His-Current-Projects-What-The-Fuck-Is-He-Thinking-Now news, I've signed up for NaNoWriMo. I have no real clear understanding WHY I've done this, but I have. I kinda have a story idea in mind, but not anything closely resembling a plot or outline or anything.

...NO idea what I was thinking...

September 29, 2009

Status 2009-09-29: Ham Radio on Motorcycle Integration

I wasn't really planning on banging out this project so quickly, but it turns out there is a triathlon this weekend that I volunteer for every year (Scott Tinley's Not-Dirty-But-I-Still-Call-It-Dirty Aventure) that's at Lopez Lake, spitting distance from my house. I thought about how far the radio integration project was and realized that if I took the iPhone part of it out of scope, it was nearly done. So I banged nearly all of it out last night, and finished up just a little bit tonight (had to solder 4 more wires).

I just got back from my test ride, and the audio reports are pretty universally positive. There's a little bit of wind noise at freeway speeds, but all things considered, very readable. The GPS is getting signal and broadcasting updates every few minutes on APRS, as KR6ZY-2.

A few things I'd like to fix as time allows, but not blockers for this weekend:


  • The PTT is a little flaky. It's spent a lot of time in the elements and can stand to be replaced.
  • Audio is only in one ear. I know why and its easy to fix. I just need to bridge two pairs together.
  • I still need a UHF antenna (Ok, I lied. This IS a blocker for this weekend, but I think there's one waiting for me at the shack at Cal Poly)
  • The audio is a bit tinny, always has been. I think there some caps in the audio path that are too small, making a high-pass filter. I'd like to increase these some to drop the frequency response a bit.
  • Make the whole radio system switched with accessory power. Right now, it pulls directly from the battery; if I forget to flip the switch in the luggage, it'll kill the battery pretty quickly.
  • Integrate iPhone audio. This is the much larger project, involving mixing and audio amps, and microcontrollers so I can hit the big stop/start button and what-not. Being able to charge the iPhone while riding is a plus.

So, yeah. Just a few things... ;-)

Thanks to Nick, KF6UZB, for helping me out with the audio checks this evening.

About September 2009

This page contains all entries posted to Mark's 20 Percent Time in September 2009. They are listed from oldest to newest.

August 2009 is the previous archive.

November 2009 is the next archive.

Many more can be found on the main index page or by looking through the archives.