LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-14-2006, 10:35 AM   #1
n00bie1
LQ Newbie
 
Registered: Jan 2006
Distribution: Fedora Core 5
Posts: 3

Rep: Reputation: 0
yet another ATI installation issue (radeon 9250)


Distro: Fedora Core 5
Kernel: 2.6.17-1.2145_FC5

I think the ATI driver (version 8.24.8, as the later versions won't work with my card, and even this one has to have a file replaced) is incompatible with my kernel (other people posted problems with the 2.6.17 kernel and the ATI drivers), but I want to make sure before downgrading. Here is the log from the install:

Code:
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
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.17-1.2145_FC5/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/kernels/2.6.17-1.2145_FC5-i686'
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/agp3.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function ‘__fgl_agp_init’:
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:8175: warning: ‘pm_register’ is deprecated (declared at include/linux/pm_legacy.h:16)
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function ‘__fgl_agp_cleanup’:
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:8185: warning: ‘pm_unregister_all’ is deprecated (declared at include/linux/pm_legacy.h:21)
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: At top level:
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:6079: warning: ‘ati_gart_base’ defined but not used
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/i7505-agp.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
In file included from /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:162:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.h:274:5: warning: "FIREGL_VMA_INFO" is not defined
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:228: error: expected ‘)’ before string constant
In file included from /lib/modules/fglrx/build_mod/2.6.x/drm_proc.h:41,
                 from /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:333:
/lib/modules/fglrx/build_mod/2.6.x/drmP.h:561:5: warning: "__HAVE_VBL_IRQ" is not defined
/lib/modules/fglrx/build_mod/2.6.x/drmP.h:664:5: warning: "__HAVE_VBL_IRQ" is not defined
/lib/modules/fglrx/build_mod/2.6.x/drmP.h:936:5: warning: "__HAVE_SG" is not defined
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:407:5: warning: "FIREGL_VMA_INFO" is not defined
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:426:5: warning: "FIREGL_VMA_INFO" is not defined
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘firegl_stub_open’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:532: warning: assignment discards qualifiers from pointer target type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘firegl_stub_putminor’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:581: warning: ‘inter_module_put’ is deprecated (declared at include/linux/module.h:570)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:583: warning: ‘inter_module_unregister’ is deprecated (declared at include/linux/module.h:567)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘firegl_stub_register’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:603: warning: ‘inter_module_register’ is deprecated (declared at include/linux/module.h:566)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:634: warning: ‘inter_module_put’ is deprecated (declared at include/linux/module.h:570)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3592: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3593: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3594: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3595: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3596: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3597: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3598: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3599: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3601: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3611: warning: function declaration isn’t a prototype
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘test_inter_module_interface’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3677: warning: ‘inter_module_put’ is deprecated (declared at include/linux/module.h:570)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3683: warning: ‘inter_module_put’ is deprecated (declared at include/linux/module.h:570)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_agp_allocate_memory_phys_list’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3941: warning: passing argument 3 of ‘im_fglrx_agp_stub->allocate_memory_phys_list’ makes integer from pointer without a cast
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_agp_bind_memory’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3980: warning: passing argument 1 of ‘im_fglrx_agp_stub->bind_memory’ from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_agp_unbind_memory’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3993: warning: passing argument 1 of ‘im_fglrx_agp_stub->unbind_memory’ from incompatible pointer type
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.17-1.2145_FC5-i686'
make: *** [kmod_build] Error 2
build failed with return value 2
[Error] Kernel Module : Failed to compile kernel module - please consult readme.
As you can see, there are a lot of errors in there, and I can't make heads or tails of it. Also, here is the output from modprobe fglrx

Code:
FATAL: Module fglrx not found.
Regardless of how this turns out, I am never getting another ATI card.
 
Old 07-15-2006, 04:35 PM   #2
n00bie1
LQ Newbie
 
Registered: Jan 2006
Distribution: Fedora Core 5
Posts: 3

Original Poster
Rep: Reputation: 0
Solved

Well, I get impatient, so I went ahead and uninstalled the 2.6.17 kernel, then installed 2.6.16-1.2133_FC5.i686 and the corresponding kernel-devel package by downloading the rpms from the updates repo. It installed great, but when I started
Code:
#/usr/X11R6/bin/aticonfig --initial
It complained about libfglrx_pp.so.1. So, after a quick google, I typed these commands, and then ran aticonfig again.

Code:
#ln -s /usr/X11R6/lib/libfglrx_pp.so.1.0 /usr/X11R6/lib/libfglrx_pp.so.1

#ln -s /usr/X11R6/lib/modules/drivers/fglrx_drv.so /usr/lib/xorg/modules/drivers/fglrx_drv.so

#ln -s /usr/X11R6/lib/modules/linux/libfglrxdrm.so /usr/lib/xorg/modules/drivers/libfglrxdrm.so

---------------------
#ln -s /usr/X11R6/lib/modules/drivers/fglrx_drv.o /usr/lib/xorg/modules/drivers/fglrx_drv.o

#ln -s /usr/X11R6/lib/modules/linux/libfglrxdrm.a /usr/lib/xorg/modules/drivers/libfglrxdrm.a
---------------------
##### The above two commands were what I was supposed to do, and I did, but the two above them linked the only files that showed up with ls, so I did both to be on the safe side
Then I tweaked my xorg.conf to the following

Code:
# Xorg configuration created by system-config-display
#Section "Monitor"
#	Identifier   "aticonfig Monitor 0"
#EndSection
#Section "Screen"
#	Identifier "aticonfig Screen 0"
#	Device     "ATI Graphics Adapter 0"
#	Monitor    "aticonfig Monitor 0"
#	DefaultDepth     24
#	SubSection "Display"
#		Viewport   0 0
#		Depth     24
#	EndSubSection
#EndSection

Section "ServerLayout"
	Identifier     "single head configuration"
	Screen      0  "aticonfig Screen 0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, a font server independent of the X server is
# used to render fonts.
	FontPath     "unix/:7100"
EndSection

Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "fbdevhw"
	Load  "glx"
	Load  "record"
	Load  "freetype"
	Load  "type1"
	Load  "dri"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#	Option	"Xleds"		"1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#	Option	"XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#	Option	"XkbModel"	"pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#	Option	"XkbModel"	"microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#	Option	"XkbLayout"	"de"
# or:
#	Option	"XkbLayout"	"de"
#	Option	"XkbVariant"	"nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#	Option	"XkbOptions"	"ctrl:swapcaps"
# Or if you just want both to be control, use:
#	Option	"XkbOptions"	"ctrl:nocaps"
#
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
 ### Comment all HorizSync and VertSync values to use DDC:
	Identifier   "aticonfig Monitor 0"
	VendorName   "Nokia"
	ModelName    "447L"
	HorizSync    30.0 - 64.0
	VertRefresh  50.0 - 100.0
	Option	    "dpms"
EndSection

Section "Device"
	Identifier  "ATI Graphics Adapter 0"
	Driver      "fglrx"
	VendorName  "Jetway"
	BoardName   "ATI Technologies Inc RV280 [Radeon 9250]"
	Option	    "no_accel" "no"
	Option	    "no_dri" "no"
	Option	    "MonitorLayout" "CRT, AUTO"
	Option	    "IgnoreEDID" "off"
	Option	    "HSync1" "30.0-64.0"
	Option	    "VRefresh1" "50.0-100.0"
	Option	    "ScreenOverlap" "0"
	Option	    "NoTV" "yes"
	Option	    "OpenGLOverlay" "on"
	Option	    "VideoOverlay" "off"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "aticonfig Screen 0"
	Device     "ATI Graphics Adapter 0"
	Monitor    "aticonfig Monitor 0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes    "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection
Finally, I removed "rhgb quiet" from grub.conf, rebooted, and everything worked!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
ATI Radeon 9250 Driver gambleDT Debian 16 12-15-2008 08:31 AM
ATI Radeon 9250 by connect3d William Oldham Debian 9 07-08-2006 01:11 PM
(Another) ATI Radeon 9250 installation... almost there a_priebe47 Linux - Hardware 2 05-30-2006 08:40 PM
I am not able to install my ati radeon 9250 anxomx Linux - Hardware 16 02-02-2006 02:27 PM
Help, ati radeon 9250 rude_reality Slackware 9 06-22-2005 12:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:36 PM.

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