I was recently given an old HP MediaSmart EX470 server along with some other junk hardware. Although it has no graphics, a slow single-core AMD Sempron CPU, and just 512 MB of RAM, I was able to revive it quite satisfactorily. Here’s how I upgraded the hardware and software.
Remembering the MediaSmart
HP released the first MediaSmart server in 2008, and there was much interest at the time both for the compact yet innovative hardware and the embedded Windows Home Server operating system. Inside Home Server was Microsoft’s innovative Drive Extender software, giving these devices Drobo-like flexibility.
The first single-drive MediaSmart EX470 (and identical dual-drive EX475) featured four 3.5″ SATA disk drive bays, a gigabit Ethernet port, a single-core 1.8 GHz 64 bit AMD CPU, and 512 MB of RAM. Although not exactly up to today’s standards, this hardware is decent enough to consider resurrecting.
I wasn’t going to take the little MediaSmart until I saw how well-made it was. The solid chassis is smaller than the three Lord of the Rings books, and the nifty locking hard disk drive carriers are nicer than those found on many servers today. Maybe, I wondered, this little guy could be pressed back into service.
Some research showed that the MediaSmart’s CPU and RAM could be upgraded somewhat: The MediaSmart uses a standard (if outdated) BIOS and supports 2 GB DDR2 DIMMs and a few different Socket AM2 CPU models. The stock CPU is a single-core 90 nm “Manila” Sempron 3400+, but the “Brisbane” 65 nm dual-core chip makes a nice upgrade and stays inside the MediaSmart’s meager power and cooling envelope. I presumed that I could locate these components on eBay (or Weird Stuff)!
Why not just use a Raspberry Pi? Apart from the solid chassis and power supply, even the original-spec MediaSmart soundly beats a Pi at just about everything. In terms of I/O, there’s no competition: The MediaSmart has native full-speed Gigabit Ethernet and multiple SATA ports, while the Pi still routes all this through a single slow USB 2.0 connection. Even the Olimex LIME2, with native Gigabit Ethernet and SATA, can’t manage the I/O performance of the MediaSmart.1 The original single-core Sempron CPU easily beats the dual-core LIME2 and comes out about even with the 4-core Pi3 overall, though each individual Geekbench test varies widely.2
Installing Ubuntu Blind
The first setback was a feature, not a bug: The MediaSmart has no graphics port. Although the USB ports support keyboard input, it’s awfully hard to debug the MediaSmart without access to the Sempron CPU’s VGA output. There is a hack to add a VGA port, but the pre-built boards are long-since out of stock and I wanted to get started quicker than building a cable.
I decided to install Ubuntu Linux on the MediaSmart blind, following the steps used on a spare PC. Shockingly, this process worked! But the network wasn’t working, so I didn’t know for sure. The MediaSmart gave me no feedback apart from some happy-sounding hard drive noises.
Presuming that the network chip in the MediaSmart wasn’t detected and configured properly, I decided to try a USB LAN adapter I had in my desk. I connected it to the good PC and recorded exactly the proper steps to log in and configure Ubuntu to make it work. Then I blind-typed these commands on the MediaSmart with the USB LAN connected there and it worked!
Once I could log in via USB, I could manually configure the MediaSmart’s native SiS 191 LAN controller in Ubuntu. For posterity, add the following to /etc/network/interfaces:
auto enp0s4 iface enp0s4 inet dhcp
I now had a mostly-functional copy of Ubuntu Server installed on my MediaSmart.
Fixing the SATA Ports
Except that two of the MediaSmart hard drive slots were not working. Looking at the output of lspci, it’s clear that the MediaSmart has two SATA controllers: A Marvell 88SE6121 SATA II controller and an SiS SATA/IDE controller. The Marvell chip controls the eSATA port, while the SiS controller is attached to the riser inside the box for the four drive trays.
By default the MediaSmart uses this internal SiS SATA controller in RAID mode, but this requires a driver which I don’t have. I realized I had to (blind!) switch the controller to independent mode for Linux to be able to use it. Happily, a poster over at OpenMediaVault.org had already figured out the procedure! And it worked!
- Boot the MediaSmart and as soon as the light flashes red and blue, hit the Delete key to enter BIOS configuration
- Pres the Down Arrow three times and then press Return to select Integrated Peripherals
- Press the Down Arrow once and press Return to select SiS On-Chip PCI
- Press the Down Arrow eight times to select SiS Serial ATA Mode
- Press PgDn once to select 4P(IDE)+4S(IDE) mode
- Press F10 to save and Return to confirm
Once I did this, Ubuntu recognized all four integrated ports (in IDE mode) and the drives attached. There is no “four drive SATA” mode with this controller without the RAID driver, but IDE mode works just fine too.
Upgrading the RAM
Because 512 MB isn’t much RAM even for a headless server, I decided to upgrade it. There’s only one DIMM slot on the board, and it recognizes a maximum of 2 GB, so that’s what I went for.
The stock RAM is DDR2-667 (PC2-5300), but better RAM works fine too. I found a used 2 GB DDR2-800 (PC2-6400) DIMM for $15 on eBay and ordered that.
Upgrading the RAM is helpful not just for the added capacity: It appears that the hardware uses the added capability as reflected in the Geekbench result. Memory access is 25% faster.
I also ordered a dual-core AMD Athlon X2 BE-2300 but couldn’t get it to boot. Perhaps there’s something I need to do in BIOS, but without graphics that’s hard to know. For now it’s in the drawer with the original RAM stick.
The old MediaSmart is a surprisingly capable home or small office NAS once it’s been upgraded with a modern Linux installation. My next step is to configure it for NAS use with ZFS or LVM/Btrfs RAID and Samba. Too bad the MediaSmart community is mostly retired, too. Hopefully this well-built little server can put in a few more years of active duty!
I think you mean 1.06 Gigabit per second there, Stephen…
Joe Hunt says
Glad I found this post, can’t say I understand everything you wrote in the article above, but I am intrigued to give it a try. I got a EX470 about six years, already upgraded the memory to 2GB about three years ago… but the installed WHS 2003 been throwing so many errors I like to move elsewhere…
I got the original 500 GB Hard drive and added a 2TB Data Drive and can’t afford to lose that data..
Kind of scared about doing any installation blindly, have you figured out a way to get a output yet?
Joe H, Nebraska.
Amir Burbea says
I actually have an Ex495 I upgraded ages ago and have been trying to find a use for (or sell I suppose) – it’s got a Quad Xeon L5420, 4GB RAM, 160GB SSD + 3 hard drives (2TB/1TB/1TB)
It has been sitting idle in a closet because I don’t download movies anymore – I just stream them.
Jeff Gustafson says
Were you able to get RAID set up? I’m going to give this a try over the weekend.
Hey, Stephen: Did you actually get the SiS 191 running at gigabit speed under Linux? If so, how? It sounds like the latest version of unRAID (a Linux variant aimed specifically at building servers) does NOT support the SiS 191 completely. It’ll do 20-30MB/s, apparently, but nothing like the 1.06 Gb cited in your footnote. Got any more insight…?
Jeffrey Stone says
I have an EX475 and it’s been running for years. The only thing I’ve added are drives. The backups are slow but they work and that’s all I care about. It’s a great repository for my large music and movie catalog. Thanks for the article!
Server Rental says
Great and informative post. Thanks for sharing
I decided to pull my old one out of the closet – sadly, I realized that my original OS drive was gone (maybe it crashed and I dumped it, I have no idea) so I decided to buy a 1TB SSD. We’ll see how that works in Slot 1. By the way (and I hate to admit it) but I thought the system drives resided underneath the four drives, when in reality Drive Slot 1 is the OS. Duh. Anyways, SSD arrives tomorrow and I have my original discs so I’m hoping a clean install onto my EX 470 will go well.
I put a 500gb ssd and installed server 2016 and it runs just fine. I just have to figure out how to use it.
I can’t use whs v1 anymore because whs refuses to restore hard drives with the GPT partition table, as opposed to MBR. So all of my PCs will backup with no problem but none of them will restore any longer.
Any idea where I can pick up the original software?
Even if it’s gigabit and not gigabyte, you can’t push more than the physical interface can do. It’s a 1gigabit interface so at most you can get is 1gigabit in a perfect no loss scenario.
Rich Durso says
I dusted off my EX487 (single core Intel Celeron with 2GB RAM) and have Ubuntu 18.04.3 LTS running with ZFS on ROOT using 4 drive raidz1 stripe. (Not a trivial process but doable). Can’t believe how well its running. I rummaged through eBay to order some memory and CPU upgrades. I’m going to use it as a secondary storage backup to my much larger FreeNAS server. I think this box is plenty good for a ZFS receive target. Even got the LED’s to work (blue idle flash red with activity).
carlo The nesci says
I just ordered and installed this and it’s working fine
Chris Kern says
Do you mind sharing how you got the LEDs to work? Thanks.
Rich Durso says
I used this GITHUB Project:
Chris Kern says
Thank you. I will give it a try today with my ex495 and see if I break it. 🙂
James Macko says
I was recently donated a Mediasmart Server for my organization and the machine needs a lot of work that I’m not sure how to do. I was curious if anyone can help me get it in working condition? I would be eternally grateful.