Does Jaunty 2.6.28-2-generic have VESA FB compiled into it?

Andy Whitcroft apw at canonical.com
Mon Dec 8 15:00:56 UTC 2008


On Mon, Dec 08, 2008 at 08:13:28AM +0100, Martin Olsson wrote:

> I have two quick questions:
> 
> * I would like to answer a question that upstream is asking me about jaunty, see bottom of this report:
> http://bugs.freedesktop.org/show_bug.cgi?id=18922
> So basically I wonder if the 2.6.28-2-generic kernel in jaunty has VESA FB compiled into it or is VESA FB a module only?
> 
> * In general what's the best method to see if a certain part of the kernel
> is compiled into the kernel itself or if it's built as a module?
> I tried to look at /boot/config-2.6.28-2-generic and I found this:
> 
> CONFIG_FB_UVESA=m
> CONFIG_FB_VESA=m
> 
> Is that sufficient to conclude that VESA FB is built as a module in default Ubuntu installs?

Yes, the config options are the best way to find out.  The =m indicates
whatever they control is being made into a modules.  The trick is often
then finding the name of the config option from the module that gets
loaded.  These appear to be simple modules consisting of a single file,
and those appear to be the be the correct config options for the modules
in question:

	obj-$(CONFIG_FB_UVESA)            += uvesafb.o
	obj-$(CONFIG_FB_VESA)             += vesafb.o

-apw




More information about the kernel-team mailing list