KMS on the eeePC done right ;)

Filed under general, linux

Ok guys, I figured out how to fix the issue I wrote earlier about. Sometimes KMS didn’t work on boot-up and I didn’t know why. After some research I found the reason. The intel-agp module has to be loaded before the intel driver gets loaded. Sometimes (I don’t even know why) the driver got loaded earlier than the intel-agp and KMS failed. My simple fix is to create an initial ramdisk which loads intel-agp. So far it works quite well … The error didn’t appear again.

Here are the steps for 2.6.31:

# create initrd
mkinitrd -c -k 2.6.31 -m intel-agp
OK: /lib/modules/2.6.31/kernel/drivers/char/agp/agpgart.ko added.
OK: /lib/modules/2.6.31/kernel/drivers/char/agp/intel-agp.ko added.
3224 blocks
# this now created a file named initrd.gz under /boot

Next, you have to include this line to you lilo.conf, under your “root = blabla” line:
initrd = /boot/initrd.gz

and run lilo to update. You have to comment out the “vga = xxx” line too by the way.

I hope this helps some of you. Enjoy!

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*