This blog has moved!

If you are not automatically redirected to the new address, please direct your browser to
http://www.juxtaservices.com/blog/
and update your bookmarks.

Wednesday, January 31, 2007

Nvidia Kernel Upgrade Woes



I've spent the last several hours of rather frustrating personal computing time trying to get my Nvidia driver up and running again after doing an apt upgrade that included a new kernel. At first there was just not a version of 'nvidia-glx' linked into the newest kernel package (this was the method I originally used to install the driver), and so I went back to using the crappy 'vesa' driver for a week or so, hoping they would fix the linkage issue. That they did, but I soon discovered that this new version of the driver was incompatible with my graphics card, an apparently now outdated Nvidia 440 Go.

So began my epic journey to install the archived version of my beloved driver. I started out going to the nvidia site http://www.nvidia.com/object/unix.html and downloading the Linux AMD64 driver version 1.0-9631. After checking out the documentation, it all seemed pretty straight forward. That sounds pretty hilarious now. Like I said, the next few hours were spent trying to get it working. At one point I had it installing, but the module would not properly reload upon a reboot, so if I was all set if I wanted to reinstall the driver every time I booted. No thanks.

To make a long story short, I finally found a solution. It appears that the default modules and junk that were installed mostly with 'linux-restricted-modules' were preventing the new module from being properly linked. Here's the enlightening site that provided my blessed solution, http://doc.gwos.org/index.php/BerylOnEdgy

The steps I used are as follows:
1. 'sudo nano /etc/modules'. Add the 'nvidia' module to the list.
2. 'sudo nano /etc/default/linux-restricted-modules-common'. Make sure the file looks like: 'DISABLED_MODULES="nv"
3. Press 'ctrl-alt-F2' to open a new terminal, and enter the following:
sudo apt-get install linux-headers-`uname -r` build-essential gcc gcc-3.4 xserver-xorg-dev
sudo apt-get --purge remove nvidia-glx nvidia-settings nvidia-kernel-common
sudo rm /etc/init.d/nvidia-*
sudo /etc/init.d/gdm stop
sudo sh NVIDIA-Linux-x86-1.0-9631-pkg2.run
sudo nvidia-xconfig --add-argb-glx-visuals
sudo /etc/init.d/gdm start

3. Reboot the computer and it should come up.

It has been stated that this process must be repeated each time the kernel is update, which isn't ideal, but now that I've figured out how to do it, shouldn't be as bad next time.

Oh, and as a side note, I'm back to seeing things in German (see my last post), so this post should be Uber impressive.

Thursday, January 18, 2007

Spreken zie deutsch? Uh....no



It would seem the gods of technology are angry at me. If I had to guess, it would be because I don't spend enough time on the computer in a 24 hour period. I think they want upwards of 20 hours instead of the 18 that I normally spend. Damn them! I knew I should have let the J-dubs in! Oh well, I will just have to weather this one, since I'm pretty much committed to a life of computing. That is, until the Internet fails to take off and becomes obsolete in a few years. Then I'm screwed.

Anyhow, it all started a couple months ago the first time my laptop broke. It had a few nagging issues for a while, and a few of them finally caved in. The power connector failed to power the laptop unless it was balanced in an elaborate sweet spot that involved plugging and unplugging it a dozen times before it could be located. Then the CD/DVD drive stopped reading discs and simply clicked incessantly. Finally, the "e" key broke and was only functional every other time you pushed it. With that, I sent it in for repair since it was still under the extended Circuit City warranty (by the way it is definitely worth it to get an extended laptop warranty, which is usually not the case with other things). This was just after Thanksgiving, and it only took about 2 weeks from the time I sent it in until I got it back. Speedy.

Once I got it back, I spent the next couple weeks reinstalling things, putting beryl onto it, etc, etc. All was well until a couple days before Christmas. My parents were visiting, and I got it out to show my dad around the Linux desktop a bit, and to my horror, the display was dead. And this just days before a week-long trip out to the in-laws on the east coast during which I was planning to get some serious work done. I was not to be however, so I again sent it in for repairs, and again waited another 2 weeks to get it back. It looks like the video card on burned out on the motherboard.

This time when I got it back, I set about trying to unsuccessfully install the wireless driver again. This was mostly caused by the fact that I installed some recommended updates to the system that broke the nvidia-glx video driver and screwed my install. I have it working tolerably, by turning off beryl-manager and installing the nvidia-glx-legacy driver, but the legacy driver causes X to not display on the entire width of my widescreen. I am going to wait and see if the repositories get fixed before diving into some other convoluted way to get the driver working again. In the meantime, still no wireless. Oh well.

The aforemention problems however, are not the strangest of the devilish forces working against me. For nearly the past 2 weeks I have been smack dab in the middle of virtual Deutschland. I started noticing that, upon going to the Google homepage, I was being served in the german language. Logging into Blogger was useless since I don't read freakin' german, and there was no language change link in english! WTFrick!? My first thought was some sort of proxy or spyware, so I started poking around. I discovered that I was getting the same issue from all of my various computers (all running different OSes), so that ruled out the spyware issue. Nothing changed in the settings on the router, and going to www.whatismyip.com revealed the same IP I was getting from my ISP, so that ruled out the possibility of some sort of proxy. That left only one possible cause. Bad geographical IP data on Google's site.

Who's fault it was, I'm not sure. My guess is that my ISP, Mstar, bought a new block of IPs that had not been updated yet in whatever geographical IP database people use on their sites. I called up tech support to report the problem, and the support rep informed me other people had also been having problems. In fact, he said he had been getting pages in Spanish.

Well, to my uber delite, tonight, at least on Google's sites, things seem to be back to english. Woohoo! I guess I can stop thinking about laderhosen now.