Jamie Lokier wrote:
> Benno Schulenberg wrote:
> > I pulled drm CVS today, it compiles fine, but when loading the
> > via module, it oopses. See below.
> >
> > You've got it running fine? With what kernel, what gcc? (Here
> > 2.6.10 and 3.3.5.) What else is important? What does lsmod
> > say
>
> My lsmod says:
>
> via 32096 2
> drm 59672 3 via
>
> (agpgart is compiled into my kernel).
Out of curiosity, what about via-agp? Or is that only needed when
using a separate AGP videocard?
> GCC version:
>
> gcc version 3.4.3 20050110 (Gentoo Linux 3.4.3.20050110,
> ssp-3.4.3.20050110-0, pie-8.7.7)
Yep, using gcc 3.4.3 it loads fine and doesn't oops, with or without
preemption. So it's a problem with gcc 3.3.5 (tried that one
without preemption too, still oopses).
But when kernel and modules are compiled with gcc 3.4.3, X can't
find a dri card, there is not even a /dev/dri dir:
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
And so on, for 14 cards. Making the node manually doesn't help, it
just gets deleted when starting X. What's wrong here? Xorg I
can't compile with gcc 3.4.3, it fails with an Internal Compiler
Error. And drm and Mesa CVS I pulled again just now, still no dice,
no dri access. What to try next?
Benno
|