Unichrome Pro/Gentoo/Xorg 7.0.0 "couldn't open module drm"

Calin Brabandt <[email protected]>
Newsgroups gmane.comp.video.dri.user
Message-ID <[email protected]>
I followed the wiki on these pages, 

http://www.mythtv.org/wiki/index.php/Unichrome_How-To
http://wiki.openchrome.org/tikiwiki/tiki-index.php?page=Compiling+the+source+code

and I successfully had dri/drm working on
2.6.17-gentoo-r7 but I recently emerged world and now
have a 2.6.17-gentoo-r8 kernel. My many attempts at
building drm have failed this time. Dri continued to
work using the old kernel but, in trying to rebuild
for the old kernel, i've broken it too!

Does anyone have a few hints or guidance on the
following questions:

1. Should I emerge either x11-base/x11-drm or
x11-libs/libdrm onto my system when I'm building my
own drm, as above?

2. Should I build my kernel with or without Character
Devices >> Direct Rendering Manager (XFree86 4.1.0 and
higher DRI support) (DRM) >> Via unichrome video cards
(DRM_VIA)?

I've tried all combinations of the above.

3. Does anyone have a list of the necessary drm/dri
files and where they go in a correct "make install"?

More info:

ECS P4M800Pro mobo w/ Unichrome Pro chipset

Openchrome drivers

localhost linux # modprobe via
localhost linux # view dmesg
localhost linux # dmesg |grep drm
[drm] Initialized drm 1.0.1 20051102
[drm] Initialized via 2.10.2 20060616 on minor 0:
[drm] Used old pci detect: framebuffer loaded

(II) LoadModule: "dri"
(II) Loading
/usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(WW) Warning, couldn't open module drm
(II) UnloadModule: "drm"
(II) UnloadModule: "dri"
(II) Unloading
/usr/lib/xorg/modules/extensions/libdri.so
(EE) Failed to load module "dri" (a required submodule
could not be loaded, 0)

When I  make LINUXDIR=/lib/modules/`uname -r`/build
DRM_MODULES=via

I net the following warnings, which I don't remember
from my previous successful build:

WARNING: /root/openchrome/drm/linux-core/drm.o -
Section mismatch: reference to
.exit.text:drm_cleanup_pci from __ksymtab between
'__ks ymtab_drm_cleanup_pci' (at offset 0x50) and
'__ksymtab_drm_init'


WARNING: /root/openchrome/drm/linux-core/drm.o -
Section mismatch: reference to .exit.text:drm_exit
from __ksymtab between '__ksymtab_d rm_exit' (at
offset 0x60) and '__ksymtab_drm_ioctl'


Thanks,

-Cal 
 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.