Wednesday, 30 November 2011

Hotswap IDE bays

This is an old post, preserved for reference.
The products and services mentioned within are no longer available.

One of the things I need to do a lot with building and repairing computers is to remove a hard drive and attach it to a second system to do an offline virus scan or attempt to recover data. For SATA drives that is easy, I have a couple of eSATA docks which allow me to slide in any SATA drive without a problem. As SATA hotswapping is not a problem (at least with AHCI mode in the BIOS), this allow me to boot the known working system and get the virus scanner an everything up and running before attaching the drive. Hopefully this should detect any bootblock issues etc.

I still have need to test IDE drives, and they are more of an issue as I either have to dismantle the second PC and connect it internally, which means it is present during boot which isn't ideal, or I have to mess around with USB-IDE adapters and external power supplies which isn't ideal either as it is a bit of a faff and is limited by USB speeds. I got a couple of removable IDE caddies which improved things as it made it easier to connect to the PC, but still meant I needed to have the drive present during booting.
So the idea I had was to use a couple of IDE-SATA convertors. These little boards allows you to use SATA drives with an IDE host or, as in this case, use IDE drives with a SATA host. I did some testing with the drives powered up all the time, and connected via the adapters to the SATA ports on the motherboard and they were detected fine and accessible at full speed. All that was needed now was hotswap capability.
The caddies have a key operated power switch, which cuts power to the drives to allow removal. The SATA-IDE adapters only need 5V (usually provided by a 3.5" floppy power connector), so I found the switched 5V line on the back of the caddy and wired it to the SATA-IDE adapter power so it would be switched on and off with the drive.
Now for the test. Power it on before boot to check it all still works, yes, no problem. So now I booted with the key turned off, and once booted, turned they key on. The drive spun up and was detected just as if I had slid in a SATA drive. I then made a second to complete the pair and now use these regularly for testing IDE drives.

For Data Recovery or Virus problems, see www.tynemouthsoftware.co.uk

Wednesday, 9 November 2011

Home Theatre PC

This is an old post, preserved for reference.
The products and services mentioned within are no longer available.

I have an existing HTPC that does fairly well with an Asus board with an Atom / Ion, and handles full HD acceptably well thanks to VDPAU support in MythTV. I now need another one, so I've been looking around at the options. The Atom / Ion boards are still there, as are the AMD Turion's as so on.

In looking around I found a few fairly reasonable Sandybrdige boards with the H61 chipset. This seems to be a cost reduced version of the H67, and is missing a couple of PCI Express lanes and SATA 6GB/s ports. So I looked at the 1155 process options and the until the Sandybridge Celerons are released, the Pentiums seemed to fit the bill, again fairly reasonably priced compared to the i3 series, but with a few features missing. The important ones like the onchip Intel HD graphics and the memory controller which gives Sandybridge such high memory bandwidth.

So I went for an Asrock H61M-ITX board and an Pentium G620 for just over £100, add 4GB of DDR3 memory and that took it to £120, which I think is less that the Atom board cost a couple of years ago. Performance wise I was very impressed, with better memory bandwidth scores than my i7 950!

I went for the same case as the previous one, a cheap unbranded ITX case with a 250W PSU. I quickly decided to make the same modifications to the case as with the previous one, namely getting rid of the two noisy fans. There is an 80mm fan on the front and a thin 80mm fan in the PSU.
The heatsink on the G620 gives a fair indication of the amount of heat likely to be generated, so I don't think they are both necessary. As the PSU fan is the 10mm thick variety I didn't want to replace it with the same type, so I used a normal 80mm fan outside of the PSU case, using the original mounting holes, but from the other side. The three pin fan header could then be connected as a chassis fan and speed controlled by the mainboard BIOS.
I also took the opportunity to remove the 3.5" hard drive cage as I was using a 2.5" SSD. Since the front fan was no longer present, I bolted the 2.5" SSD in its place, and also attached a couple of internal USB ports in front for the wireless keyboard / mouse receiver. It isn't the best, but putting it behind a big metal box doesn't help, so out in front, there is only plastic and air between it and the keyboard.
After a painless install of Mythbuntu 11.10, it found my myth backend and I was watching HD TV again in no time.

Friday, 10 September 2010

Hard drive recovery


This is an old post, preserved for reference.
The products and services mentioned within are no longer available.

I've been having a lot of problems trying to recover a laptop with a damaged harddrive. The drive has had it, increasing bad sectors and clicking noises, but I am trying to recover what I can.

Most of the utilities I would normally use can't help here, either they give up when they reach bad sectors, or the can't work if the NTFS file system isn't clean. Ghost stopped on the bad sectors, even with the command line switches set to ignore them. So down to Ubuntu and linux tools.

ntfsclone is usually very good at this sort of thing, but kept saying I needed to start windows, run chkdks and reboot twice before continuing. And after several chkdsk's with repair and scan for bad sectors and many reboots still no success.

I finally got a good result using myrescue, a version of dd which was tolerant of bad sectors. It has a clever feature which skips a number of sectors after it finds a bad one and continues to read all the good ones before going back to the ones around the bad areas.

I used this to make a clone of the damaged drive, and was then able to successfully repair the filing system on the copied drive.

Monday, 23 August 2010

Laptops and water don't mix

This is an old post, preserved for reference.
The products and services mentioned within are no longer available.

A laptop in for repair had stopped working 'after something was spilled on it'. Oh dear, looked fine from the outside, but inside it wasn't a pretty site. The battery had been left in, and power had been applied and the motherboard looked like an example of electrolysis in action. There was much corrosion around the power input and charging circuits. Anything which had a decent voltage across it had suffered. Some was just superficial staining, but several places the pins and tracks looked to be corroded away. Not much hope here I am afraid.
The moral of the story here is if your laptop does get wet, take the battery out and unplug it until it has thoroughly dried out.

Monday, 16 August 2010

eMac repair

This is an old post, preserved for reference.
The products and services mentioned within are no longer available.

The second repair was an eMac, a G4 mac in the old iMac style. The kept freezing, not the usual fault screen, it would just stop. Software problem perhaps? I tried my usual trick of booting up to Ubuntu to bypass any install OS (and related problems) and this seemed to run fine for a few hours. This machine was donated as a faulty unit, so the data on it was to be wiped, and we didn't have the admin password, so it seemed a good opportunity to reinstall.

It would have been supplied with a CDRW / DVD combo I believe, and Ubuntu picked it up as that, but it didn't like any of the DVD's I tried, and would spin them around for a bit then eject them, so I installed Tiger from an external DVD. This was looking good and ran for a few hours (after doing what seemed like and endless series of Java updates), but then froze again. I did think it might be overheating, but it froze again shortly after a cold boot the following morning.

I knew I had to replace the optical drive, so I dismantled the unit, and gave it a good clean. I took the opportunity to test the memory in another pc - that was fine, so that wasn't the problem, and I removed and DBANed the hard drive to clear the data.

Whilst it was apart, I noticed some of the capacitors had bulged, and when I looked further, five of the nine 1800uF 6.3v capacitors were either leaking or bulging. So, to save possible future problems, I replaced all nine. The other caps on the board with from a different manufacturer, and seemed intact, so I left them alone.


Once reassembled, it booted up fine (I'd swear it was also faster) and has been solid so far. I've even upgraded it to 1GB and installed Leopard.

Monday, 9 August 2010

Repairs

This is an old post, preserved for reference.
The products and services mentioned within are no longer available.

I've had a few repairs in this week. The first was a laptop that appeared to be completely dead, wouldn't turn on, no lights or anything. Charger was tested and working, so time to dismantle the unit. Inside I found the power socket was surrounded with hot melt glue, and this appeared to be a previous repair which had now failed. The power socket was actually in pieces and the central pin was no longer making contact with the board. I fitted a new DC socket and put enough of it back together to test it, and up it powered straight on.

There seems to be some possibly related problems around the power area, as it fails to successfully charge a battery. Either that or the two batteries I have tried are both duff.

Further investigation required.

Tuesday, 3 August 2010

Data recovery

This is an old post, preserved for reference.
The products and services mentioned within are no longer available.

I've been working on a data recovery case for the last few days. A collection of family photos on a USB hard drive. The hard drive has presumably been knocked when spinning and has had a head crash. All it will do now is click as the heads go back and forth searching for track 0. I've tried a few of the usual tricks, but I can't get the drive to initialise at all. It is normally possible to recover most of the data from a drive if it will at least start up, but when there is significant physical damage and it won't do that, it's time for clean rooms and microscopes - a bit out of my range.

Luckily in this case, the hard drive had been used to copy the photos from an ailing laptop which had since been retired to the loft. I was able to extract the drive from the laptop and recover a lot of the pictures. They had been deleted, so some had been overwritten, but many had survived. The client also had copies of some of the pictures elsewhere, so not as bad as it could have been.

Just another reminder to backup really, we all rely far too much on tiny pieces of magnetised rust spinning at 7200 RPM!

Visit www.tynemouthsoftware.co.uk if you have any data to be recovered.