From: OS <os...@uk...> - 2004-07-24 18:27:13
|
Hello, I don't know if this will get to any one but here goes. I am using mach64-20040723-linux.i386.tar. I have a Dell Inspiron 7000 with a Rage Pro Mobility and running Mandrake 10.1 The install.sh compiles and installs the XFree86 module. It also reports that it has built the kernel module but then fails to insmod it. The message from insmod is : Using /lib/modules/2.4.22-21mm.2mdk/kernel/drivers/char/drm/mach64.o /lib/modules/2.4.22-21mm.2mdk/kernel/drivers/char/drm/mach64.o: couldn't find the kernel version the module was compiled for objdump /lib/modules/2.4.22-21mm.2mdk/kernel/drivers/char/drm/mach64.o --full-contents --section=.modinfo returns: /lib/modules/2.4.22-21mm.2mdk/kernel/drivers/char/drm/mach64.o: file format elf32-i386 Contents of section .modinfo: 0000 7061726d 5f64726d 5f6f7074 733d7300 parm_drm_opts=s. 0010 00000000 00000000 00000000 00000000 ................ 0020 64657363 72697074 696f6e3d 44524d20 description=DRM 0030 6d6f6475 6c652066 6f722074 68652041 module for the A 0040 54492052 61676520 50726f00 00000000 TI Rage Pro..... 0050 00000000 00000000 00000000 00000000 ................ 0060 61757468 6f723d47 61726574 68204875 author=Gareth Hu 0070 67686573 2c204c65 69662044 656c6761 ghes, Leif Delga 0080 73732c20 4a6f73c3 a920466f 6e736563 ss, Jos.. Fonsec 0090 6100 a. so indeed there is no kernel version in there, but "insmod -f" also fails. objdump /lib/modules/2.4.22-21mm.2mdk/kernel/drivers/char/drm/i810.o --full-contents --section=.modinfo (one of the stock Mandrake kernel modules) returns: /lib/modules/2.4.22-21mm.2mdk/kernel/drivers/char/drm/i810.o: file format elf32-i386 Contents of section .modinfo: 0000 6b65726e 656c5f76 65727369 6f6e3d32 kernel_version=2 0010 2e342e32 322d3231 6d6d2e32 6d646b00 .4.22-21mm.2mdk. 0020 7573696e 675f6368 65636b73 756d733d using_checksums= 0030 31006175 74686f72 3d564120 4c696e75 1.author=VA Linu 0040 78205379 7374656d 7320496e 632e0064 x Systems Inc..d 0050 65736372 69707469 6f6e3d49 6e74656c escription=Intel 0060 20693831 30007061 726d5f64 726d5f6f i810.parm_drm_o 0070 7074733d 73000000 00000000 00000000 pts=s........... 0080 6c696365 6e73653d 47504c20 616e6420 license=GPL and 0090 61646469 74696f6e 616c2072 69676874 additional right 00a0 73000000 00000000 00000000 00000000 s............... 00b0 00000000 00000000 00000000 00000000 ................ 00c0 6b65726e 656c5f76 65727369 6f6e3d32 kernel_version=2 00d0 2e342e32 322d3231 6d6d2e32 6d646b00 .4.22-21mm.2mdk. 00e0 7573696e 675f6368 65636b73 756d733d using_checksums= 00f0 3100 1. which does have the correct kernel version in the header. What can I do to rectify this ? Is there any way I can get the kernel version into the mach64 module ? Any help would be really appreciated. Thanks, Owen |