Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

Compiling the linux kernel 2.6.24 in Ubuntu for the intel iwl4965 driver

Saturday, February 23, 2008
I have decided to try to compile my laptop's kernel to the latest 2.6.24 from kernel.org.
I followed the directions from Dave Yates at the lottalinuxlinks podcast.
http://lottalinuxlinks.com/blog
I tried several times and did not have much luck. The first time I had my wireless card working (intel 4965) but my sound card was not working. I did not test this for very long as I really like to have sound on my machine. I decided to try again. The next time I tried to compile I had my sound problem fixed but my wireless had stopped working. So, back to the drawing board. I tried again and again without success. Searched google and the Ubuntu forums and I was able to find one post stating that to get the iwl4965 module to load at boot you would need to copy the files from /lib/firmware/ to /lib/firmware/
so in the terminal I typed

sudo cp -r /lib/firmware/2.6.22-14-generic/ /lib/firmware/2.6.24.2


I also downloaded the latest iwl4965 microcode from the site http://intellinuxwireless.org/
placed the file iwlwifi-4965-1.ucode into the folder /lib/firmware/2.6.24.2 and then continued to compile the kernel. After about an hour and a half the kernel had compiled and the deb packages were ready to install. I installed the deb packages and rebooted the machine and the wireless and sound worked great. The wireless card is now stable (24 hours now and no disconnect) and my sound works as well as compiz 3d effects and all of the wobbly goodness.
The only thing that is not working is my virtual machines - virtualbox & vmware-server.
This isn't really a big deal because I can always reboot my machine and use the old kernel.
The other thing that stopped working is my built in webcam. Not a big deal either. I can live without it.

My machine seems to be a bit more snappy now that the kernel is optimuzed for my intel processor. Graphics seem a little crisper and the whole system just seems to be better and more stable than it was before.
I guess I could have waited until the next release of Ubuntu ( Hardy Heron ), but I just didn't want to wait.
Maybe I will try fixing the other things that broke this weekend.
I will post my results if they are interesting enough.

Toshiba U300-NS5 on Ubuntu

Monday, February 18, 2008
I have recently purchased a laptop from Toshiba and I absolutely love this thing.
The first thing I did was boot into Vista and snoop around.
That took about 5 minutes.
Then I took my Ubuntu 7.10 cd and layed down a fresh copy of linux on the hard drive.
Out of the box the display did not work correctly and the sound was not working at all.
Getting the display was kind of a treat since I was fortunate enough to get the new intel x3100 or gma965 chipset in my new machine.
After a little searching around I found that a lot of people were trying different things that may or may have not worked but what I came to was a blog post stating that it was as easy as typing in the terminal 'sudo apt-get install linux-backports-modules'.
Sure enough, this is what I needed. After a reboot everything worked perfectly.
My display fit the screen as well as the resolution. Compiz worked right away as well as my sound card.
After a couple of months of enjoying my new machine I decided it was time to get rid of windows and reclaim my hard drive for Ubuntu.
I installed a program called 'remastersys' from the linux mint repositories and it woked great.
I was able to install an exact copy of my system backto the hard drive with the live install cd that I had created with remastersys.
WOW!! That was awesome!
Coming from a windows background, I have never been able to do something like that before.

My overall views of the Laptop and the software that I have mentioned here, five out of five penguins.


Links back to sources:

http://www.howtoforge.com/ubuntu-linux-mint-livecd-with-remastersys
http://www.ubuntu.com/

Update:
I am still using the same laptop. Now running Ubuntu 9.04 Jaunty Jackalope. and soon to be 9.10.
I am still enjoying the laptop and have no complaints about this hardware.