LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices

Reply
 
Search this Thread
Old 05-03-2004, 03:12 PM   #1
Wolfgang67
Member
 
Registered: Dec 2003
Location: Cologne/Germany
Distribution: Slackware 9.1 / Suse 9.1
Posts: 56

Rep: Reputation: 15
Suse 9.1 and ATI Radeon 9800 pro


XP-2800:/home/wolfgang # modprobe fglrx
FATAL: Error inserting fglrx (/lib/modules/2.6.4-52-default/kernel/drivers/char/drm/fglrx.ko): Bad address
XP-2800:/home/wolfgang #




Thats what i get when modprobing the module. What to do? It most probably has something to do with Suse's 2.6.x kernel and ATI 3.7.6 drivers inability for kernels above 2.4.x, but then there are million people running the drivers under 2.6.x kernels.

Any suggestions?

Greetings
 
Old 05-04-2004, 05:30 AM   #2
metalick
Member
 
Registered: Apr 2004
Location: Zagreb, Croatia
Distribution: SuSE 9.0
Posts: 44

Rep: Reputation: 15
most of these ppl don't use radeon chipsets, as radeon is (or at least it was) slow in developing linux drivers. on the other hand nvidia wasn't. hmmm...
 
Old 05-04-2004, 02:14 PM   #3
Wolfgang67
Member
 
Registered: Dec 2003
Location: Cologne/Germany
Distribution: Slackware 9.1 / Suse 9.1
Posts: 56

Original Poster
Rep: Reputation: 15
What a useless answer...

Meanwhile I found that the problem seems to be the Regparm option within newer 2.6.x kernels. There's a link over at this thread over at rage3d.com http://www.rage3d.com/board/showthre...eadid=33737573
where i also posted about the problem.

As I understand it Nvidia has the SAME PROBLEM.

Anyway...the thread with the patches there describes exactly my problem and seems reasonable only that it doesn't work for me. I even compiled a kernel with regparm disabled but my machine couldn't read my reiserfs partitions afterwards ?!?
 
Old 05-05-2004, 10:14 AM   #4
LiQuID0603
LQ Newbie
 
Registered: May 2004
Posts: 12

Rep: Reputation: 0
Wink suse 9.1 ati 3d driver tutorial!

list of packages needed:
a) suse 9.1 kernel source (2.6.4-52 or 2.6.4-53.3) (DVD, CDs, Suse FTP)
b) fglrx-4.3.0-3.7.6.i386.rpm (http://www2.ati.com/drivers/linux/fg...3.7.6.i386.rpm)
c) fglrx-3.7.6-regparm.patch (http://www.kaseorg.com/fglrx-3.7.6-regparm.patch)

1. get super user priveledges (su -)

2. install kernel source and goto that directory (cd /usr/src/linux)

3. start the kernel configuration (make xconfig, make menuconfig)

4. in the kernel configuration change these options

a) loadable module support --> loadable module support, module unloading, automatic kernel module = Y
b) to boat option --> CFGNAME = RaR + RELEASE = 01
c) processor type and feature --> register of argument = N, MTRR = Y
d) character devices --> /dev/agpgart = Y (select your chipset to Y), DRM = N
e) kernel hacking --- kernel debugging = N

5. save your configuration and compile your new kernel (make)

6. build your boot images (make bzImage)

7. build kernel modules (make modules)

8. install kernel modules (make modules_install)

9. prepares and installs boot images (make install)

10. pay attention to what the initrd and what vmlinuz images where created so you can edit the bootloader

11. now its time to install the ati driver (init 3 and login as root)

12. install the latest ati driver 3.76 from there site (rpm -Uvh fglrx-4.3.0-3.7.6.i386.rpm)

13. copy the driver patch to modules location (cp fglrx-3.7.6-regparm.patch /lib/modules/fglrx/build_mod

14. apply the module patch (cd /lib/modules/fglrx/build_mod, patch -p1 < fglrx-3.7.6-regparm.patch)

15. edit lines 791, 1823, 3021 of the firegl_pub.c file (vim firegl_pub.c, pico firegl_pub.c)

a) (*notifier) --> (*IP_LINKAGE notifier)
b) (*handler) --> (*IP_LINKAGE handler)
c) (*func) --> (*IP_LINKAGE func)

15 make sure fglrx service isn't already active (lsmod | grep fglrx, ps -aux and get pid, kill pid)

16. now build your kernel module (cd /lib/modules/fglrx/build_mod, sh make.sh)

17. now install the module you just built into kernel(cd /lib/modules/fglrx, sh make_install.sh)

18. edit your XF86Config and add load "dri" to the modules section (cd /etc/X11/XF86Config)

19. add on 3 lines to the boot.local file (cd /etc/rc.d/boot.local)

a) /sbin/modprobe agpgart
b) /sbin/modprobe intel-agp, nvidia-agp (depends on ur chipset that you built into the kernel)
c) /sbin/modprobe fireglx

20. run fglrxconfig and select approriate settings, edit your bootloader so it loads your new kernel, then reboot
 
Old 05-05-2004, 04:44 PM   #5
LiQuID0603
LQ Newbie
 
Registered: May 2004
Posts: 12

Rep: Reputation: 0
here is the official how to...

Here is my official how make the ati driver work with suse 9.1 and the 2.6.x kernel enjoy

http://blahserver.greatnow.com/atihowto.html
 
Old 05-05-2004, 05:26 PM   #6
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
LiQuID0603 -- this looks pretty interesting. I freed up some space on one of my boxen and I've been thinking about giving Suse a tryout in a dual boot system. I've got a 9700Pro that is not being fully utilized, due to ATI vs. nforce chipset conflicts. One question: what mobo are you using, and what chipset does it use? Thanks -- J.W.
 
Old 05-05-2004, 05:51 PM   #7
LiQuID0603
LQ Newbie
 
Registered: May 2004
Posts: 12

Rep: Reputation: 0
im using a abit ic7 max3 which uses the intel 875p chipset. all u need to do is if ur using a nforce board is in your module configuration select /dev/agpgart = M, and select only your chipset (nforce 2) and set that to M also
 
Old 05-08-2004, 02:41 PM   #8
Marvelloard
Member
 
Registered: Nov 2003
Posts: 78

Rep: Reputation: 15
Hi

I have a little prob...

fglrx and agpgart are loaded (as shown in lsmod), but fglrx is not used and so 3D works only with MESA...


It's an AMD sys with a NForce2 chipset and a 9500pro by sapphire...

Can you help me?

Last edited by Marvelloard; 05-08-2004 at 02:43 PM.
 
Old 05-08-2004, 10:40 PM   #9
LiQuID0603
LQ Newbie
 
Registered: May 2004
Posts: 12

Rep: Reputation: 0
probally your best bet is to start fresh and follow the instructions in the tutorial the link is above. the problem could be that ur fglrx is loading before you agpgart and also if your using a 2.6.x kernel another process called nvidia-agp should also be loaded hope this helps if you want to talk my AIM is on the bottom of the tutorial page happy compiling
 
Old 05-10-2004, 08:54 AM   #10
Marvelloard
Member
 
Registered: Nov 2003
Posts: 78

Rep: Reputation: 15
Thanks, I'll write to you when my aggressions are gone...
My hardware is very badly supported by Linux...
 
Old 05-12-2004, 10:46 AM   #11
zidane2010
Member
 
Registered: Jan 2004
Location: Canada
Distribution: SuSE 9.1 Professional, Slackware 9.1, Gentoo 2004.1
Posts: 238

Rep: Reputation: 30
LIQUID!!!! I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU I LOVE YOU!

sorry for the spam but im really happy now, i tried everything and i was about to snap my suse 9.1 CDs and reinstall 9.0 thanks alot
 
Old 05-12-2004, 11:09 AM   #12
zidane2010
Member
 
Registered: Jan 2004
Location: Canada
Distribution: SuSE 9.1 Professional, Slackware 9.1, Gentoo 2004.1
Posts: 238

Rep: Reputation: 30
Sigh.... now that my video card is working perfectly, of course my sound has to stop working compleatly. do you think that remaking that new kernel would have got rid of my sound support? i tried deleting my sound card and adding it again (audigy) and i would test hte sound in YaST and i get nothing... no sound from YaST, XMMS, or my games..... is there an easy way to fix this?
 
Old 05-12-2004, 11:12 AM   #13
zidane2010
Member
 
Registered: Jan 2004
Location: Canada
Distribution: SuSE 9.1 Professional, Slackware 9.1, Gentoo 2004.1
Posts: 238

Rep: Reputation: 30
Whoa.... i just used my nforce2 soundcard.... it works! so something else must be wrong! why doesnt my audigy work after that tutorial? weird... i really want to get it to work. please help

this is what i get
I type int "yast2 sound add"
i get "the kernel module snd-intel8x0 for sound suppt could not be loaded. This could be caused by incorrect module parameters. including invalid IO or IRQ parameters.

Last edited by zidane2010; 05-12-2004 at 12:17 PM.
 
Old 05-14-2004, 12:25 PM   #14
LiQuID0603
LQ Newbie
 
Registered: May 2004
Posts: 12

Rep: Reputation: 0
sup

i have a audigy 2 zs also mine works fine when u rebuilt the kernel did u include ALSA and declude OSS b/c its depricated. Also don't build it into the kernel load it as a module
 
Old 05-14-2004, 03:04 PM   #15
zidane2010
Member
 
Registered: Jan 2004
Location: Canada
Distribution: SuSE 9.1 Professional, Slackware 9.1, Gentoo 2004.1
Posts: 238

Rep: Reputation: 30
i reinstalled SuSE 9.1.... i still had no sound (meaning your turorial did not mess it up) i then followed your tutorial excluding the first several steps about recompiling the kernel. and then at the end i edited some files to get it working with my nforce mobo. the accelleration works fine but still no sound :S others have been having this problem when they install kdemultimedia3-mixer at installation time which is located under "All Of KDE" category. out of curiousity, did you install All of KDE?
 
  


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 9800/Pro + SuSE 9.0 (freezes after successfull DRI load) Euphorix Linux - Hardware 4 10-02-2006 10:32 AM
ATI Radeon 9800 Pro SUSE 9.3....... HELP!!!! CrazyKvn Linux - Hardware 2 10-05-2005 10:32 PM
ATI Radeon 9800 pro slan124 Mandriva 6 01-25-2005 03:12 PM
Ati radeon 9800 pro VIA KT-400 and Suse 9.0 Howto Wolfgang67 Linux - Hardware 3 11-08-2004 07:35 AM
ati radeon 9800 pro with Suse 8.2 wimmo1956 Linux - Newbie 3 09-18-2003 06:12 PM


All times are GMT -5. The time now is 09:12 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration