Sunday, March 9, 2008

One Year of Driving

One year ago today I got a car, the first time I've owned one in 14 years. Here are some interesting statistics I collected.

  • Miles driven: 12148
  • Gallons of Gas: 400, total cost $1343.00
  • Tons of CO2 produced: 4.0
  • Rides given: too many to count
  • Insurance cost: $670
  • Repairs $173
  • Taxes: $160
  • Other: $759 (Car washes, parking, new tires)
  • Car payments: $3600

Parking at work costs $40/month; my commute to work is half the time now (25-30 minutes, rather than an hour).

I like having a car now, it really helps me to do a lot of things, and help a lot of people. But I do miss the hole that it put into my budget, too! I think that the decision to get one was good.

Tuesday, January 15, 2008

Enabling multicore/dual-core support with Ubuntu Gutsy

I have a dual-core computer, and have been able to take advantage of both cores with Ubuntu for quite some time. At one point, I think when I upgraded to Gutsy, it stopped. It took a long time to figure out why... most of the pages the Google brings up refer to an older version, and they all tell you to install the -smp versions of the kernel. But Gutsy no longer has those.

There was one page that has the trick you need, but it's way at the bottom, so I'm writing it up here.

Here's the trick: the -generic versions of the kernel are the ones that support SMP. The -386 do not.

To fix it, you need to do two things. First, you need to run

apt-get install linux-generic

This gets the generic kernel on your system, and makes sure it stays up to date when things get upgraded. Chances are it's already there. Next, you have to edit your /boot/grub/menu.lst file to make sure it will boot from the generic kernel and not the 386 kernel. The grub program will put the 386 kernels ahead of the generic ones in the boot list. On my system, once I verified that the generic kernel would boot, I deleted all the 386 kernels. That should show them! I also had to remove and reinstall the linux-restricted-modules to get the nvidia drivers working again.