VodkapunditVodkapunditVodkapundit
Incredibly Dorky Tech Bleg
Posted by Will Collier  ·  10 July 2006

First off, I apologize for leading off with this. I've been AWOL from blogging for the better part of a week, and I doubt most of you clicked over today to read about my computer problems. So fair warning, if you keep reading, you're going to learn a lot more about them than you wanted to know.

I'm in the process of building up a home server. It'll be used primarily to store and serve up audio and video files to the main entertainment center downstairs. I've been building it on the uber-cheap, which (as I'm sure I'll be reminded) is probably the source of many of my problems.

The hardware centers around a generic white-box PC bought on eBay (here come the catcalls already) for $50. The mainboard is a Shuttle AK12, Award BIOS AK12S013, with an AMD Duron 850MHz CPU and 512MB of PC100 RAM. The operating system is FreeNAS, which is basically a stripped-down version of FreeBSD 6 optimized for small servers, including a very nice browser-based GUI for remote setup and administration. FreeNAS installed painlessly on a small hard drive attached to the board's main IDE bus.

I collected up a six 300GB hard drives, four IDE and two SATA, with the intention of setting up a RAID 5 array for 1.5TB of storage with at least some possibility of recovery in case of a single drive failure. I'd intended to hook all of these in using three PCI cards, but as the saying goes, then my troubles began. The cards are two Rosewill RC-200's for IDE (Sil 3114 chipset) and one RC-209 for SATA (Sil 0608 chipset), ideally with two drives attached to each card.

The box refuses to boot with any of the PCI cards installed and attached to a drive. It will boot up with just the RC-209 SATA card installed, but just repeats the initial startup process over and over if I actually attach a drive to the card. It will also boot up (very, very slowly) with just one of the RC-200 IDE cards installed, but freezes completely at the end of the BIOS startup with any IDE drive attached to the card.

Now, in all the vastness of the VodkaSphere, there have to be at least one or two wizards out there who can offer up some suggestions. I have tried all of the following: replacing the power supply (no effect, brand-new 400W unit), swapping around the PCI cards (no effect), flashing in an updated BIOS (the box doesn't like any boot floppy I've made to date), unplugging various drives (no effect, doesn't work even with just one drive attached), booting to a USB thumb drive (BIOS no hablo USB boot drive).

So, for the geniuses, what say you? At this point, the only options I can see myself are getting either a new box/motherboard or trying different PCI cards--although the chipsets and cards that I already have are listed as supported by FreeBSD 6, and they have all been reported as working with FreeNAS by other users.

For anybody who can help, as they say in the Kentucky Fried Movie, you haff my gwatitude.

Comments

Stupid question, but are all the disks clean, or was anything installed on them previously?

Hmmm, something just occurred to me as well: is FreeNAS the only thing you've tried to boot on the box? Have you perhaps thought of trying to use a Knoppix LiveCD and make sure that the machine will boot cleanly and that all the hardware is being detected correctly?

Posted by: Doug Stewart at July 10, 2006 08:35 AM

Well, at first glance, it appears that neither of the ATA boards you're using support hardware RAID5, so presumably FreeNAS is using FreeBSD's gvinum to do software RAID. gvinum is picky, very picky, and I can't wrap my head around someone having actually made a working GUI to set it up.

That, of course, is a moot point if the drivers for those cards either don't exist, or suck.

First, I'd boot the box and check both cards' BIOS for bad settings. Just about all ATA cards that do RAID at some level (these do 0,1,0+1) have a BIOS shim that gets loaded before anything even sniffs for a bootloader.

Second, I'd verify that all of the disks are set to device master.

Third, I'd boot the box with a display on the console (alternatively, log into a terminal and use 'dmesg'), with both cards installed, and no drives connected. Make sure both are recognized and loaded, and you don't get any unknown PCI issues.

Fourth, connect all the drives, boot again, and see what comes up on the console so far as recognized drives go. If it takes forever to ID a given drive, you may have a bad drive.

Finally, I'd look at the kernel config and see exactly what ATA drivers are being loaded, and remove whatever other drivers you don't need, then recompile.

Personally, if it were my machine (and I have several that do the same thing), I'd do one of two things:

1) Ditch both ATA controllers and get a good card (read: Adaptec) that can do hardware RAID5 (read: Adaptec 2400A). That way, all the OS sees when it boots is a normal, single block device, and you won't have to dick around with gvinum. Also, you can swap failed drives much easier should one go out on you. This would require that you ditch your SATA drives, or your ATA drives, and get a few more of whichever you keep. If you go SATA, you'll need a different card, but Adaptec makes the same thing in a SATA version.

2) Ditch FreeNAS and go with straight up FreeBSD. It's certainly the best OS for what you want to do, and installing and configuring everything you need by hand will result in a much more stable system. At the very least, you'll be able to see exactly what's going boom, and probably fix it. GUIs are for workstations, not servers.

Oh, and incidentally, six 300GB drives will give you around ~1,300 GB in RAID5, not 1,500. The parity data sucks up around 25% of your total space, and even more with software raid solutions.

Posted by: Mr. Lion at July 10, 2006 08:43 AM

Thanks. A few answers to above points:

1. The array drives are all brand-new.

2. I'm not looking to run RAID 5 out of the ATA cards (as noted, they don't support it anyway). Software RAID is fine for my purposes; the thing will never have more than three clients using it at any given time, and then maybe. Buying industrial-strength RAID cards would violate my "uber-cheap" base requirement for the thing.

3. Recompiling a kernel is way beyond my limited *NIX know-how. The FreeBSD docs do indicate support for both chipsets... but then again, I'm not even able to load the OS with cards installed and drives attached. I'm getting freezes/restarts before the kernel loads, which in my (probably ignorant) opinion suggests the motherboard is hosed.

Posted by: Will Collier at July 10, 2006 09:03 AM

Does the machine boot with just a single drive attached directly to the mobo? I'd try that out and ensure that the rest of your components are actually working.

Posted by: Doug Stewart at July 10, 2006 09:37 AM

Yes, the mobo will boot with any single IDE drive attached to the secondary IDE bus (the boot drive is on the main bus). I haven't tested it with every one of the six array drives (two of them I can't; there's no SATA connector on the mobo), but booting without the PCI add-on cards isn't a problem.

I can also boot with the PCI NIC in any slot.

Posted by: Will Collier at July 10, 2006 09:59 AM

Possibly irrelevent, but might be worth some thought fodder:

I've got a similar concept set up at home, however, the hard drives I'm using are 300GB USB2.0 externals (8, so ~2TB+) connected via a daisy chain of USB hubs.

These things hold my collection of burned DVDs and play via XPMedia Center2005 (which I then throw against a wall via my optoma ez756 dlp projector).

Anyway (hey, if you get to have geek seizures online regarding your home setup, so do I) ... I went with external drives cuz:

1) the server is a laptop, so no option of loading drives into the server hardware

2) to avoid issues such as the ones you're having, and I can continue to add drives, as needed without having to get all screwed up with driver dependcies and the like.

Maybe this is spilt milk as you've already gone through the hassle; but, an idea might be to drop your HDs into external cases and go the USB plug 'n play route.

Posted by: Pete at July 10, 2006 10:23 AM

Will,
I am sending this on my laptop to which I just coupled a 250GB HD, in an Ultra case, complete w/fan and USB/firewire connector cables for less than $140....
Of course, you can add as many as you like....

Not sure of case price, but believe the case w/fan and cords is about $40......

Good Luck!
Duke

Posted by: Duke DeLand at July 10, 2006 10:57 AM

Here's a thought:

Might the mobo be under-supplying the PCI slots with juice? With that many cards in an older mobo, you might be running into some funny configuration where the cards are trying to draw more power than the slots can deliver.

I'd take a run at one of the online power supply voltage calculators and see if you aren't straining that poor 400W PS with your setup (the hard drives alone draw ~150W...).

Posted by: Doug Stewart at July 10, 2006 01:50 PM

That 150W is in toto, not per. (Just to be clear - 6 x 25 Watt avg. consumption...).

Posted by: Doug Stewart at July 10, 2006 01:51 PM

My buddy MIB or alternately MrHemi has a computer store in Tucson and is very knowledgeable on cheap or outdated computer components... he still has some spare 80286 boards...

I'm asking him to check in VodkaPundit and give you advice...

Posted by: Ralph at July 10, 2006 03:02 PM

It won't boot to any boot floppy?

That makes me suspicious as hell- I assume you swapped out the floppy drive/cable? Also that you cleared the bios to defaults, then reconfigured it to match your current setup? If so the problem could be much more fundamental- something at the motherboard level (read that as 'bloody unlikley to be fixed').

Try the following: remove the drive with the OS on it, connect one of the ATA cards and connect a drive to it and try to install to that drive. I'll bet you a glazed donut it fails. If it does, look for a new mobo.

Posted by: John at July 10, 2006 03:05 PM

John, that's precisely my concern. I not only swapped the floppy cables, I tried a different floppy drive as well. The board still can't find a bootable disk.

Oddly enough, my cheapest fix right now could well be just swapping the mobo.

Posted by: Will Collier at July 10, 2006 03:19 PM

Try booting to the floppy without any HDD connected. Just to give it no choice...

Posted by: John at July 10, 2006 03:59 PM

Will, some BIOS's have a boot order. Check the boot order to make sure the floppy is before and HDD, CD-ROM, or network device. Also check to see if the floppy interface is even enabled.

Posted by: Jeff A. at July 10, 2006 04:48 PM

Pete's on the right track. If you're not looking for killer performance, just go the USB 2.0 route. As for the OS, I'm currently running Fedora Core 3 for my home server, and am planning to upgrade to FC5 at some point. RAID 5 is supported there, although I haven't really used it yet.

You should reconsider that RAID business too. Long-established companies like Netapp and EMC have got that RAID thing nice and robust, but I wouldn't trust it on a cheap homebrew server unless I had done some serious tests first. It seems to me like the better way to go is to just upgrade to bigger single drives as needed, and maybe dial back your "needs" for disk space a little.

Seriously, do you really *need* to rip all your DVDs? Do you really *need* to have every episode of South Park in an online state?

If you scale back your expectations, you'll probably find that everything fits snugly into a single 500G USB drive.

Buy two, and use the second one as your offsite backup (preferably kept in your car between writes).

Posted by: pianoman at July 10, 2006 05:00 PM

Thanks to all, I appreciate all the suggestions. A few answers/remarks:

I've tried unplugging (including power) all the drives except the floppy, unplugging all but two hard drives, etc, etc. No joy.

Regarding RAID and the alternatives, I settled on the RAID 5 scheme after considerable thought and reading. I'm not kidding myself about either performance or reliability, but I do want to have the full library ripped (in my case, that includes HD rips from a hacked Tivo, with pretty much everything converted to an MP4 variant for smaller footprint), and anything less than a TB isn't enough. At least with an R5 setup, I've got some chance of recovery, vs. none at all with a single 500MB drive (and trust me, I've done the math--er, better than I did the solar power calculations--on what drive combination is most cost effective right now).

Posted by: Will Collier at July 10, 2006 06:10 PM

Software RAID5 is the way to go; it's certainly better than hardware for personal use on a budget.

1.) Go into the BIOS and make sure the computer isn't trying to boot from one of the controller cards.

2.) Your motherboard may not have enough IRQ's to hand out to all the crads. Cheapo consumer chipsets weren't made to have seven drives attached to them, even my fileserver (with an actual serverboard) will only run with three drive controllers. Four ATA cards, no boot. IRQ/DMA issues. Sorry, I don't know of a way to fix that (I really don't know any more about this stuff than you do, these are just the issues I've encountered).

Posted by: futurepastnow at July 10, 2006 06:21 PM

Okay, a few more suggestions:

1) Try disabling your on-board ATA bus. It's possible, though unlikely, that there's a driver conflict going on with the PCI ATA cards.

2) At exactly what stage does the system halt? Does it make it thought the bootloader cleanly?

Also, I'd forget about using external drives for any kind of reliable storage solution, especially via USB. You could use FireWire, if you had to use external drives for some reason, but you'd still be doing ATA->Serial conversion and back again with absolutely no need to be doing so.

If you have another mainboard laying around, it couldn't hurt to try swapping it out, but if it does a POST and makes the required beeps, with none of the bad beeps, I doubt there's anything wrong with it.

Posted by: Mr. Lion at July 10, 2006 06:25 PM

Also, as noted, you could have an interrupt issue going on. Try disabling the machine's serial and parallel ports in its BIOS, if that still doesn't work, kill the on-board ATA as well.

Posted by: Mr. Lion at July 10, 2006 06:29 PM

Wish I'd known you were trying to build such an animal. I have a Intel BX MB, Dual Pentium Pro's (the 333mhz kind) with onboaard SCSI, that I was/am fixing to pitch out in the trash. It's running 2003 server at the moment... Drop me a note.

Roll Tide
BigBird

Posted by: BigBird at July 10, 2006 08:09 PM

Somewhat off-topic, but relevant to the whole file server deal; check the hard drives you have and see if they're all from the same manufacturing run. If so, you might want to see if you can swap a few of them out. I once purchased several (5, if I remember correctly) Maxtor drives on sale and had them all fail within 15 days of each other. Two of them in a mirror set for my desktop failed within five minutes. They were all from the same manufacturing run.

RAID 5 is nice, but the loss of two drives in the array will trash all of the data.

Posted by: Tim at July 11, 2006 12:37 AM

What?

Posted by: Dan-O at July 11, 2006 03:23 AM

I got this SATA DVD drive from Plextor with mounts CDROM super slow like your describing. Once mounted, the CDROM acts normally.

Posted by: Neo at July 12, 2006 03:03 PM

Download a trial version if Win2K3 and see if it will install.

http://www.microsoft.com/windowsserver2003/evaluation/trial/default.mspx

Posted by: Bruce at July 13, 2006 11:59 AM

I believe that would negate the purpose of attempting to have a working operating system.

Posted by: Mr. Lion at July 14, 2006 09:55 AM

Some people would prefer a non working Linux distro over a working Windows install out of fear that someone would discover how easy Windows is to setup and use.

How silly.

We have R2 Server running on old PII 400's with 384MB of ram. Works fine. The install would tell you whether it was a hardware or driver/distro issue. You don't have to keep Windows on if it offends you that much.

Posted by: Bruce at July 14, 2006 02:51 PM

One suggestion I haven't seen is to have the memory chips tested. I assume you've got the power on memory test running, but you might want to talk with a local computer repair place about a bench test on the RAM chips. Or just buy a couple more and see if they fix the problem.

Posted by: SDN at July 14, 2006 03:02 PM



Navigation

MDS - Give Until It Hurts

Terror War Scorecard
Watching America

50 Things
American Cancer Ablation Center
Buy VodkaPundit Stuff



VodkaPundit on Amazon
Vodkapundit for PDA (AvantGo)
Vodkapundit for PDA (Not)
VodkaPundit XML or RDF

Search



Advanced Search



Last Call

The Author

"...Steve Green is to blogging what John Holmes was to enormous penises."
-Jeff Goldstein

Absolut Link

Blog-Iran

Top Shelf

Ann Althouse
Baldilocks
Austin Bay
Belmont Club
Tim Blair
Chequer Board
Command Post
Counterterrorism Blog
Day By Day
Daniel Drezner
From the Bleachers
Hit & Run
INDC Journal
Iraq the Model
James Joyner
James Lileks
Megan McArdle
OPFOR
Protein Wisdom
Glenn Reynolds
Bill Roggio
ScreedBlog
Roger L. Simon
Rob Smith
Steven Taylor
Venomous Kate
Matt Welch
Winds of Change
Michael Yon
Yuppies of Zion


The Usual

Across the Atlantic
Anticipatory Retaliation
Atlas Shrugs
The Black Republican
Blogcritics
Captain's Quarters
Phil Carter
The Daily Ablution
Andrew Ian Dodge
Eye on the Left
Mike Hendrix
In From the Cold
Charles Johnson
Kathy Kinsley
A Likely Story
Brian Linse
Jay Manifold
Neocon News
Frank Martin
QandO
Bill Quick
Rantburg
John Scalzi
Sine Qua Non Pundit
Team Stryker
Mac Thomason
Michael Totten
Jesse Walker
Dr. Weevil
Bill Whittle
Chief Wiggles
Sissy Willis
Cathy Young

Micro Brews

American Realpolitik
Black Five
Boots and Sabers
Capitalist Lion
Scott Chaffin
John Cole
Coming Anarchy
Bo Cowgill
Dr. Frank's Blogs of War
Donklephant
Ed Driscoll
Kim du Toit
Glenn Frazier
Joe Gandleman
The Gay Patriot
Godless Capitalist
Bill Hobbs
John Hudock
Frank J.'s IMAO
Joanne Jacobs
Brothers Judd
Junk Yard Blog
Major John
Davids Medienkritik
Mr. Misha's Rottweiler
Only Baseball Matters
Matt Moore
Jack O'Toole
Peaktalk
Eric S. Raymond
Red Sugar
Resurrection Song
Robin Roberts
Andrea See
Mathew Sheren
Spoons Experience
DC Thornton
Yankee Station

Gin & Tonic

Albion's Seedlings
American Digest
Radley Balko
Paul Berger
Robert Bidinotto
Blogometer
BusinessPundit
The Chicago Boyz
Classical Values
Conrad the Expat
Susanna Cornett
Dave Cullen
England's Sword
Dean Esmay
Horsefeathers
Jessica's Well
Alex Knapp
Legal Spin
Light of Reason
The Lipstick Republican
Moxie
OxBlog
Suman Palit
Punch the Bag
The Pursuit of Happiness
Samizdata
Sofia Sideshow
Natalie Solent
Texas Best Grok
Professor Michael Tinkler
Cal Ulmann
Brothers Volokh

Cosmopolitans

Justene Adamec
Stephen Bainbridge
La Shawn Barber
Moira Breen
Sasha Castel
Colorado Psycho
Clayton Cramer
CrossingWallStreet
Martin Devon
Kevin Drum
Henry Hanks
Diana Hsieh
Jeff Jarvis
Jessica
Sean Kirby
Liberty Belles
Rachel Lucas
Jeralyn Merritt
Philip Murphy
Oasis of Sanity
Andrew Olmsted
Walter Olson
Michael Parker
Popped Culture
Porphyrogenitus
Fritz Schrank
Donald Sensing
Elizabeth Spiers
The Swanky Conservative
Two Blowhards
Michael Ubaldi
Alexandra von Maltzan
Will Wilkinson

Rum & Coke

The Argument Clinic
Below the Beltway
The Bitch Girls
Jay Caruso
Dog's Life
Fire On The Mountain
GeckoBlue
GZ Expat
David Hogberg
John Hawkins
Horologium
Kris Lofgren
Floyd McWilliams
John Moore
PhotoDude
Robyn Pollman
Chas Rich
Silflay Hraka
Geitner Simmons
Skippy
Dave Tepper
Transterrestrial Musings
Trying to Grok
Walter in Denver
Don Watkins
Weekend Pundit
Joshua Zader

Tequila Shots

Todd A
N.Z. Bear
Begging to Differ
David MSC
Gary Farber
Highered Intelligence
Isntapundit
Jonathan and Wanda
Ken Layne
Nick Marsala
Dan Michalski
Sheila O'Malley
Dawn Olsen
Tony Pierce
Raving Atheist
Matt Traylor
Sekimori
WMET Blog
World Wide Rant

Manischewitz

Moe Freedman
Tal G. in Jerusalem
IsraPundit
Kesher Talk
Mike Silverman
Allison Kaplan Sommer
Meryl Yourish

Boozehounds

Allah Is In the House
Dave Barry's Blog
The Daily Sedative
Doug Dever
Daniel Frank
Scott Ott
Large American Penis
Short Strange Trip
Ten Fingers, Six Strings
Jim Treacher

Cyanide-Laced Kool-Aid

Laurence Simon

Sex on the Beach

Body in Mind
ErosBlog
Eroticalee
Just One Bite
Fred Lapides
New York Hotties
SLA
Unablogger

Kegger

Ben Domenech
HokiePundit
Hoosier Review
John Tabin
Nicholas West

Fosters

Duck Season
Mike Jericho
John Ray
Bernard Slattery
Whacking Day

Molson

Banana Counting Monkey
Daimnation!
Dispatches
David Janes
Western Standard

Left Wing Bar Nuts

Ted Barlow
Joshua Marshall
Dan Perkins

Cover Charge

Eric Alterman
Dave Barry
Barone Blog
Austin Bay
Jay Bryant
C-Log
Campaign Desk
Steve Chapman
Dallas News Blog
Matt Drudge
Google News
Nat Henthoff
Hugh Hewitt
Mickey Kaus
Howard Kurtz
National Review Online
The New Republic
The New York Times
Newsweek
OpinionJournal
Kathleen Parker
Daniel Pipes
Virginia Postrel
Roll Call
Larry Sabato
Linda Seebach
Slate
Sploid
Mark Steyn
StrategyPage
Andrew Sullivan
Tapped
Tech Central Station
Time
US News & World Report
David Warren
The Washington Post

Under the Table

American Times
Angry Left
Asparagirl
BitchPundit
John Braue
Shiloh Bucher
Carthaginian Peace
Lorenzo Cortes
Steven Den Beste
Fevered Rants
Scott "Funkadelic" Ganz
Juan Gato
Happy Fun Pundit
Andrea Harris
Scott Koenig
Brink Lindsey
Sue Lizano
Kieran Lyons
Mean Mr. Mustard
Meeshness
Punditwatch
Dennis Rogers
Jim Ryan
Spinsanity
Unremitting Verse
Norah Vincent
Tony Woodlief

Archives

Powered by Movable TypeDesign by Sekimori