码迷,mamicode.com
首页 > 其他好文 > 详细

xorg初始化LoadModule的过程

时间:2015-02-14 18:57:04      阅读:420      评论:0      收藏:0      [点我收藏+]

标签:内核编译   ubuntu   

[    32.320] (II) LoadModule: "glx"
[    32.336] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    32.426] (II) Module glx: vendor="X.Org Foundation"
[    32.426]     compiled for 1.15.1, module version = 1.0.0
[    32.426]     ABI class: X.Org Server Extension, version 8.0
[    32.426] (==) AIGLX enabled
[    32.426] Loading extension GLX
[    32.426] (==) Matched fglrx as autoconfigured driver 0
[    32.426] (==) Matched ati as autoconfigured driver 1
[    32.426] (==) Matched fglrx as autoconfigured driver 2
[    32.426] (==) Matched ati as autoconfigured driver 3
[    32.426] (==) Matched modesetting as autoconfigured driver 4
[    32.426] (==) Matched fbdev as autoconfigured driver 5
[    32.426] (==) Matched vesa as autoconfigured driver 6
[    32.426] (==) Assigned the driver to the xf86ConfigLayout
[    32.426] (II) LoadModule: "fglrx"
[    32.427] (WW) Warning, couldn‘t open module fglrx
[    32.427] (II) UnloadModule: "fglrx"
[    32.427] (II) Unloading fglrx
[    32.427] (EE) Failed to load module "fglrx" (module does not exist, 0)
[    32.427] (II) LoadModule: "ati"
[    32.428] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[    32.428] (II) Module ati: vendor="X.Org Foundation"
[    32.428]     compiled for 1.15.1, module version = 7.3.0
[    32.428]     Module class: X.Org Video Driver
[    32.428]     ABI class: X.Org Video Driver, version 15.0
[    32.428] (II) LoadModule: "radeon"
[    32.428] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[    32.448] (II) Module radeon: vendor="X.Org Foundation"
[    32.448]     compiled for 1.15.1, module version = 7.3.0
[    32.448]     Module class: X.Org Video Driver
[    32.448]     ABI class: X.Org Video Driver, version 15.0
[    32.448] (II) LoadModule: "modesetting"
[    32.449] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    32.449] (II) Module modesetting: vendor="X.Org Foundation"
[    32.449]     compiled for 1.15.0, module version = 0.8.1
[    32.449]     Module class: X.Org Video Driver
[    32.449]     ABI class: X.Org Video Driver, version 15.0
[    32.449] (II) LoadModule: "fbdev"
[    32.449] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    32.450] (II) Module fbdev: vendor="X.Org Foundation"
[    32.450]     compiled for 1.15.0, module version = 0.4.4
[    32.450]     Module class: X.Org Video Driver
[    32.450]     ABI class: X.Org Video Driver, version 15.0
[    32.450] (II) LoadModule: "vesa"
[    32.450] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    32.450] (II) Module vesa: vendor="X.Org Foundation"
[    32.450]     compiled for 1.15.0, module version = 2.3.3
[    32.450]     Module class: X.Org Video Driver
[    32.450]     ABI class: X.Org Video Driver, version 15.0
[    32.450] (==) Matched fglrx as autoconfigured driver 0
[    32.450] (==) Matched ati as autoconfigured driver 1
[    32.450] (==) Matched fglrx as autoconfigured driver 2
[    32.450] (==) Matched ati as autoconfigured driver 3
[    32.450] (==) Matched modesetting as autoconfigured driver 4
[    32.450] (==) Matched fbdev as autoconfigured driver 5
[    32.450] (==) Matched vesa as autoconfigured driver 6
[    32.450] (==) Assigned the driver to the xf86ConfigLayout
[    32.450] (II) LoadModule: "fglrx"
[    32.451] (WW) Warning, couldn‘t open module fglrx
[    32.451] (II) UnloadModule: "fglrx"
[    32.451] (II) Unloading fglrx
[    32.451] (EE) Failed to load module "fglrx" (module does not exist, 0)
[    32.451] (II) LoadModule: "ati"
[    32.452] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[    32.452] (II) Module ati: vendor="X.Org Foundation"
[    32.452]     compiled for 1.15.1, module version = 7.3.0
[    32.452]     Module class: X.Org Video Driver
[    32.452]     ABI class: X.Org Video Driver, version 15.0
[    32.452] (II) LoadModule: "modesetting"
[    32.452] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    32.452] (II) Module modesetting: vendor="X.Org Foundation"
[    32.452]     compiled for 1.15.0, module version = 0.8.1
[    32.452]     Module class: X.Org Video Driver
[    32.452]     ABI class: X.Org Video Driver, version 15.0
[    32.452] (II) UnloadModule: "modesetting"
[    32.452] (II) Unloading modesetting
[    32.452] (II) Failed to load module "modesetting" (already loaded, 0)
[    32.452] (II) LoadModule: "fbdev"
[    32.453] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    32.453] (II) Module fbdev: vendor="X.Org Foundation"
[    32.453]     compiled for 1.15.0, module version = 0.4.4
[    32.453]     Module class: X.Org Video Driver
[    32.453]     ABI class: X.Org Video Driver, version 15.0
[    32.453] (II) UnloadModule: "fbdev"
[    32.453] (II) Unloading fbdev
[    32.453] (II) Failed to load module "fbdev" (already loaded, 0)
[    32.453] (II) LoadModule: "vesa"
[    32.453] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    32.453] (II) Module vesa: vendor="X.Org Foundation"
[    32.453]     compiled for 1.15.0, module version = 2.3.3
[    32.453]     Module class: X.Org Video Driver
[    32.453]     ABI class: X.Org Video Driver, version 15.0
[    32.453] (II) UnloadModule: "vesa"
[    32.453] (II) Unloading vesa
[    32.453] (II) Failed to load module "vesa" (already loaded, 0)

[    32.453] (II) RADEON: Driver for ATI Radeon chipsets:



./hw/xfree86/common/xf86Configure.c:777:    xf86LoadModules(vlist, 0);
./hw/xfree86/common/xf86Helper.c:1590:    mod = LoadModule(Name, NULL, NULL, NULL, opt, NULL, &errmaj, &errmin);
./hw/xfree86/common/xf86Init.c:480:            xf86LoadModules(modulelist, optionlist);

LoadModule()函数被xf86LoadModules()函数调用

LoadModule()函数通过调用doLoadModule()函数实现

doLoadModule()函数还会被LoadSubModule()函数调用。


        /* Load all modules specified explicitly in the config file */
        if ((modulelist = xf86ModulelistFromConfig(&optionlist))) {
            xf86LoadModules(modulelist, optionlist);
            free(modulelist);
            free(optionlist);
        }


modulelist是通过函数xf86ModulelistFromConfig()函数在配置文件中得到的。

xorg初始化LoadModule的过程

标签:内核编译   ubuntu   

原文地址:http://blog.csdn.net/oldlinux/article/details/43818441

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!