I have had memory problem for years. Even if I don't have a bloatware as operating system, 512MB of RAM is pretty weak nowadays. Unless if I'm running something really lightweight, which I don't plan to. Now, 4.5 years are a pretty good time to put off upgrading, right? I'm discounting replacing monitor, adding HDD, and getting a working power supply.
So I took the liberty to get a pair of 2GB RAMs in the recent sardines-fest, ehm, IT show. Cool, memory deficiency solved, huh? Well, no. I have another deficiency: selective lack of attention to detail. I didn't remember the spec of my motherboard and didn't bother to review it. So I was in front of my computer, casing open, trying to fit the chips in, then enlightenment happened: my board was so obsolete it didn't support the new memory chips.
Fine, I've been contemplating upgrade for-ever anyway, might as well. Couple days later I found myself walking home, a bag in hand with a new motherboard, cpu (Intel Core2Duo E8400) , and gpu (NVidia XFX GeForce 9500 GT) inside. Predictably, the next step should be: disconnect the old board, mount the new one, connect all the peripherals, and boot, maybe skipping dinner while enjoying the new, bleeding fast, machine. Not so easy. Over the years, something clever happened and the power supply connection to the motherboard changed. I couldn't just plug in my old supply and fly, instead I was left with an agenda for the next day: get a power supply.
Next evening, all's in place. Time to boot, the moment of truth. Guess what: it mostly worked. Only, mostly wasn't quite there. Here's the problem: if I install the proprietary driver for my new gpu, the thing would just fail and I'd be thrown to low graphics mode. Let's go directly to the lesson: I was booting the wrong kernel version and the driver didn't work with kernel header from that version.
It was surprising. I update my system whenever there's an update, including kernel update, so how can I be booting the wrong version? Turns out it's a side effect of a sloppy patchwork I did months ago. I'm booting 2.6.24, while I actually have 2.6.27 (x_x). I have two HDDs, my system is installed in the second one, the first one has an emergency OS. The computer uses the grub on the emergency disk, which knows I have an OS on the second disk, but that grub wasn't updated whenever I upgrade the kernel, the grub on another disk was, and I couldn't use that due to some penguin-up I did some time ago. I can't remember what.
The fix was simple though: just put lines describing the new kernel on the emergency disk's grub list. It's in /boot/grub/menu.lst on the respective disks, don't forget to back it up first. After that, the gpu driver installed in a breeze and mad giggling ensued. I used envyng.
Some other practical lesson:
- Ctrl+Alt+F1...6 for a command line in case the GUI hates you. ☆☆☆
sudo dpkg-reconfigure -phigh xserver-xorgto restore your X settings in case something goes fubar there.htopis very useful, I relied on it a lot to search and kill processes during the driver snafu.- Keeping your computer running with barely passable patchworks would backfire eventually.
Now I can say to Firefox to go ahead and eat all that memory (but really, it shouldn't!), and all my HD videos run without slowdown, I don't even have to close any other program before playing them too! Goodbye framedrop. Maybe I'll try some games when I have the time.
Next, I should think up some use for the old machine. Obsolete or not, it has got enough juice to do many neat things, and as long as it's not used, it's just crampying up my cramped place.
0 comments:
Post a Comment