LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 02-20-2006, 12:25 PM   #1
james_vasant
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Rep: Reputation: 0
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
 
Old 02-20-2006, 01:06 PM   #2
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dell Optiplex L60 Linux_Moose Linux - General 3 01-27-2007 01:55 AM
startx on Centos 4.2 - problems with optiplex GX620 james_vasant Fedora 1 02-19-2006 09:50 AM
Fedora Core 4 on Optiplex GX620 - hang during boot james_vasant Fedora - Installation 1 02-18-2006 12:18 PM
Dell optiplex GX270 mammi Linux - Newbie 6 01-03-2005 12:47 AM
Dell Optiplex GX260 dantpt Linux - Hardware 2 09-02-2004 10:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 07:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration