[Openchrome-users] HELP! Got lost, and having trouble installing the DRI kernel module

John Robinson john.robinson
Fri Dec 16 01:08:15 PST 2005


On 15/12/2005 23:52, userforum at openchrome.org wrote:
> 1) I dont think Ive got a usable kernel source tree (like I said, I cant really remeber the steps I took to get here) I can compile it against

If you're running anything -custom you built the kernel from source so
you ought to have it somewhere, maybe /usr/src/linux or more likely
/usr/src/redhat/BUILD/kernel-<something>, if you want the RPM to rebuild
you need a /lib/modules/<kernel-ver>/source symbolic link which points
there.

> and 2) I really dont want to mix versions. I'd rather use the RPM if I can.

If you're running anything -custom you can't use RPMs, you've got to go
from source. Having said that, you should be able to work from SRPMs as
long as you've got the kernel tree somewhere, check the symlinks
mentioned above in a Fedora original kernel and make sure yours is
sensible; here's mine on FC3 (I run a kernel version 2.6.12-prep that I
built from source):

[john at out john]$ ls -ld /lib/modules/*/build /lib/modules/*/source
lrwxrwxrwx  1 root root 47 Jul 19 19:03
/lib/modules/2.6.12-1.1372_FC3/build ->
../../../usr/src/kernels/2.6.12-1.1372_FC3-i586
lrwxrwxrwx  1 root root  5 Jul 19 19:03
/lib/modules/2.6.12-1.1372_FC3/source -> build
lrwxrwxrwx  1 root root 48 Aug 10 03:16 /lib/modules/2.6.12-prep/build
-> /usr/src/redhat/BUILD/kernel-2.6.12/linux-2.6.12
lrwxrwxrwx  1 root root 48 Sep  7 20:50 /lib/modules/2.6.12-prep/source
-> build

> Please PLEASE dont say Ive got to start again with the kernel.

If you really don't have some kernel sources around, or an original
Fedora kernel, well, I won't say it. (Sorry)

Cheers,

John.



More information about the Openchrome-users mailing list