Thursday, October 29, 2009

A heroic way to die... for a computer

If you have a lengthy enough history with computers, you probably saw a computer's hard drive die at least once. On a Windows computer, you'll most likely see a BSOD, then upon restarting, your computer tells you that it doesn't think your hard drive exists.

So what would a Linux computer do when a similar disaster strikes? Well, you probably wouldn't know for a while unless the computer is actively monitored. That's what happened to me. I had a laptop computer running Ubuntu 6.06 (yes the old trusted Dapper) Server. The first sign of trouble was that DHCP clients were no longer getting IP addresses from it, which served as a DHCP3 server. It took me a few moments to figure out what was going on. The tell-tale sign was a console message like this "Journal writing failed... Abort... root remounted read-only". Well, that's the machine's way of telling me "well, I'm not seeing the disk anymore, so I'm just going to treat it as read-only and move on". The machine was still running, and it still did some other duties fine (like routing stuff between two subnets). But many commands no longer ran with "I/O error", including the shutdown. Once I restarted it with the power button, I saw the familiar "primary disk not found" message.

I was thoroughly impressed. Imaging a warrior having his legs cut off and even his ground yanked away from under him, but he keeps on fighting? That's what the O/S did. Maybe I'm naive - hey, I was Windows only one time. :)

BTW, that Dapper was running on LVM.

Sunday, October 25, 2009

MiniNote 2133: Reloaded

These days virtually every netbook is powered by Atom. However I'm not willing to let go my HP MiniNote 2133 yet. Since I can't swap out its C7M heart, I'm going to beef up other parts. Mine is Model KR922UT, which is the lowest config, so there's plenty of room to go up. First I go max on memory with 2 GB of PC2-5300. Then I put in an OCZ 64 GB SSD (OCZSSD2-1SLD60G) to replace the default 4 GB SSD. The first change was very straight forward, the second was a little more than that. The 4 GB "SSD" from HP really looks more like a piece of circuit board than a drive. As such it's smaller and thinner than a standard SATA 2.5" drive, and was installed within a metal bracket. There's no way for me to fit the OCZ drive into the bracket, so I just ditch the bracket. The OCZ drive fits quite well in the space, but not as snuggly as I'd like. If you shake the netbook, you can feel the drive moving a bit inside. Not that SSD drive would be harmed by that level of looseness, but I prefer things to be a tad tigher than that. My solution? Two pieces of thick double-sided sticky pads. After that, everything is firmly in place.

Once the hardware is refreshed, I proceeded to revamp the system software as well. As much as I was pleasantly surprised how well SUSE worked on the anemic configuration, I'm ready to use my beloved Ubuntu again. I tried to install Xubuntu 8.04.1 first, thinking that might go easy on the little machine, but the GUI installer wouldn't load. Not wanting to tinker with it more, I tried a regular Jaunty installation. It went through flawlessly, and everything I care works fine. It's fast too, taking only 62 seconds to boot to the desktop, and 75 seconds to start using Firefox. Not too shabby for an aging C7M powered machine.

BTW, I added berry4all and used it with my Verizon 8330. That worked fine too. I found out that I shouldn't disable wireless from Network Manager, as that would break how pppd write to resolv.conf, which leads to name resolution problem.

Overall I'm very happy with the results. Armed with this rejuvenated little netbook, I'm ready to roam! Just can't ask for a better outcome for a $160 upgrade.