LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   starx on centos 4.2 - Dell Optiplex GX620 (https://www.linuxquestions.org/questions/red-hat-31/starx-on-centos-4-2-dell-optiplex-gx620-417628/)

james_vasant 02-20-2006 12:25 PM

starx on centos 4.2 - Dell Optiplex GX620
 
Dear all,

I had posted this message on the FC4 forum and I was re-directed here. Please help.

I installed Centos 4.2 on my Dell Optiplex GX620. Since it has a Pentium Dual Core CPU, I installed Centos 4.2 x86_64.

Guess because of its in-built video, startx hung.

I downloaded and installed XFree86 version 4.3.0 and downloaded the ATI Proprietary Linux x86_64 Display Driver for Motherboards with ATI Graphics (fglrx64_6_8_0-8.22.5-1.x86_64.rpm).

When I build the module, it fails. I am copying the exact error message below. I have been stumbling in making xserver for the past few days, but no luck. I would really appreciate it if someone could help me in this regard.

----------------------------------------------------------------------------------------------

ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.9-22.0.2.ELsmp/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-22.0.2.EL-smp-x86_64'
Building modules, stage 2.
MODPOST
make[1]: Leaving directory `/usr/src/kernels/2.6.9-22.0.2.EL-smp-x86_64'
build succeeded with return value 0
compiling fglrx_agp.ko module
make -C /lib/modules/2.6.9-22.0.2.ELsmp/build SUBDIRS=/lib/modules/fglrx/build_mod/firegl_agpgart modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-22.0.2.EL-smp-x86_64'
CC [M] /lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.o
In file included from /lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:113:
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_agp.h:759:1: warning: "PCI_DEVICE_ID_INTEL_ICH7_1" redefined
In file included from include/linux/pci.h:438,
from /lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:74:
include/linux/pci_ids.h:2239:1: warning: this is the location of the previous definition
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:220: warning: `MODULE_PARM_' is deprecated (declared at include/linux/module.h:552)
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c: In function `__ke_phys_to_virt':
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:660: warning: passing arg 1 of `phys_to_virt' makes integer from pointer without a cast
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:660: warning: return makes integer from pointer without a cast
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c: At top level:
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:695: error: conflicting types for '__ke_pci_find_class'
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.h:419: error: previous declaration of '__ke_pci_find_class' was here
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:695: error: conflicting types for '__ke_pci_find_class'
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.h:419: error: previous declaration of '__ke_pci_find_class' was here
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c: In function `__ke_pci_find_class':
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:699: warning: implicit declaration of function `pci_get_class'
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:699: error: incompatible types in return
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c: In function `firegl_get_user_ptr':
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:762: warning: assignment makes pointer from integer without a cast
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c: In function `firegl_put_user_ptr':
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:794: warning: cast from pointer to integer of different size
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:794: warning: cast from pointer to integer of different size
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:794: warning: cast from pointer to integer of different size
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:794: warning: cast from pointer to integer of different size
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c: At top level:
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:333: warning: 'firegl_stub_list' defined but not used
make[2]: *** [/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.o] Error 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod/firegl_agpgart] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.9-22.0.2.EL-smp-x86_64'
make: *** [default] Error 2
AGPGART module build failed with return value 2
duplicating results into driver repository...
done.
==============================
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
==============================

------------------------------------------------------------------------------------------------

Thanks in advance,
James

-X- 02-20-2006 01:06 PM

Just curious why you didn't look for the problem before you dl the source for XFree86. While I don't have an answer to your problem, I've seen problems like this being resolved by passing a kernel option at boot or adding to the boot loader.

Why didn't you get the X source for your CentOS release and rebuild it?

Generally... when you get outside the distro update tree, you're asking for high maintenance. I have to rebuild the kernel for my box for the sound to work... so when an update comes along, the source is automaticaly downloaded. I setup my old config, make oldconfig, etc.... done, and I'm still within the update tree.

Anyway you could look into the problem of the original install and fixing it, or getting the latest Xorg source from CentOS? Would keep things simple.


All times are GMT -5. The time now is 06:30 AM.