View previous topic :: View next topic |
Author |
Message |
berkowski Tux's lil' helper
Joined: 17 Mar 2004 Posts: 134
|
Posted: Sat Oct 30, 2004 12:43 am Post subject: gentoo-dev-sources 2.6.9 & fglrx [SOLVED] |
|
|
I was wondering what 2.6 kernel versions people have gotten to work with ati-drivers. I tried with 2.6.9-rc1, but I get
Code: |
modprobe fglrx
FATAL: Error inserting fglrx (/lib/modules/2.6.9-gentoo-r1/video/fglrx.ko): unknown symbol in module, or unknown parameter (see dmesg)
|
and dmesg reports:
Code: |
fglrx: disagreement about versions of symbol copy_from_user
fglrx: unknown symbol copy_from_user
fglrx: disagreement about versions of symbol copy_to_user
fglrx: unknown symbol copy_to_user
|
I came across
http://odin.prohosting.com/wedge01/gentoo-radeon-faq.html#3_howinst
from a forum post when searching this and it said to try another version of the kernel. Instead of trying randomly, I was wondering what versions of ati-drivers & kernel-2.6.x folks have gotten to work together.
Last edited by berkowski on Sat Oct 30, 2004 10:15 pm; edited 1 time in total |
|
Back to top |
|
|
frary Guru
Joined: 27 Jan 2004 Posts: 545
|
Posted: Sat Oct 30, 2004 9:12 am Post subject: |
|
|
I had it working with any release of 2.6.8 ( r1, r3, r7, r10, dev-sources ). Yesterday I tried to compile 2.6.9 and no success...
I was able to compile and start the Kernel, but fglrx won`t load.
T _________________ Mitleid bekommt man geschenkt;
Neid muss man sich hart erarbeiten!
I.Walter |
|
Back to top |
|
|
berkowski Tux's lil' helper
Joined: 17 Mar 2004 Posts: 134
|
Posted: Sat Oct 30, 2004 4:32 pm Post subject: |
|
|
yeah, that's the same problem I got. I'll try 2.6.8-r10 later today. Thanks |
|
Back to top |
|
|
Admiral LSD Guru
Joined: 27 Jun 2003 Posts: 522 Location: Northam, W.A., Australia
|
Posted: Sat Oct 30, 2004 5:42 pm Post subject: |
|
|
I never had any trouble compiling the ati DRM module under 2.6.9 but I don't use the gentoo-dev-sources, I use the vanilla-development sources to which I add my own collection of patches (mainly boot/fbsplash and ALSA updates). _________________ Wasurenaide...
...watashi ga iru koto o.
Itsudatte soba ni iru yo.
Registered Linux user #319839 |
|
Back to top |
|
|
Strowi l33t
Joined: 19 Aug 2003 Posts: 656 Location: Bonn
|
Posted: Sat Oct 30, 2004 5:53 pm Post subject: |
|
|
hi,
i got the same error yesterday, when i was installing a new genbx.
It's an error in the gentoo-dev-sources-2.6.9-gentoo-r1.
It can easily be fixed by editing the source like this:
nano -w /usr/src/linux/arch/i386/mm/init.c
look for:
unsigned int __VMALLOC_RESERVE = 128 << 20;
and after that line enter:
EXPORT_SYMBOL(__VMALLOC_RESERVE);
then recompile kernel and it should work...
(found this solution somewhere in the forums). works here (nvidia-card, but seems like that doesn't matter). _________________ --
Linux & such ...
http://blog.hasnoname.de |
|
Back to top |
|
|
Admiral LSD Guru
Joined: 27 Jun 2003 Posts: 522 Location: Northam, W.A., Australia
|
Posted: Sat Oct 30, 2004 6:04 pm Post subject: |
|
|
That's another bug, one I don't think affects the ATi drivers. As I said, the ATi drivers compiled and worked fine on every version of 2.6.9 I used so I'm at a loss to understand what's happening here. _________________ Wasurenaide...
...watashi ga iru koto o.
Itsudatte soba ni iru yo.
Registered Linux user #319839 |
|
Back to top |
|
|
berkowski Tux's lil' helper
Joined: 17 Mar 2004 Posts: 134
|
Posted: Sat Oct 30, 2004 6:21 pm Post subject: |
|
|
Strowi wrote: | hi,
i got the same error yesterday, when i was installing a new genbx.
It's an error in the gentoo-dev-sources-2.6.9-gentoo-r1.
It can easily be fixed by editing the source like this:
nano -w /usr/src/linux/arch/i386/mm/init.c
look for:
unsigned int __VMALLOC_RESERVE = 128 << 20;
and after that line enter:
EXPORT_SYMBOL(__VMALLOC_RESERVE);
then recompile kernel and it should work...
(found this solution somewhere in the forums). works here (nvidia-card, but seems like that doesn't matter). |
I'll try this before another kernel then. Thanks a bunch! |
|
Back to top |
|
|
berkowski Tux's lil' helper
Joined: 17 Mar 2004 Posts: 134
|
Posted: Sat Oct 30, 2004 10:16 pm Post subject: |
|
|
Yup it worked! Thanks a bunch.
After you compile the kernel with that change & boot into it, I re-emerged ati-drivers. modeprobe fglrx then worked and I get 1800 FPS with glxgears.
now it's on to gdesklets. |
|
Back to top |
|
|
Strowi l33t
Joined: 19 Aug 2003 Posts: 656 Location: Bonn
|
Posted: Sun Oct 31, 2004 11:43 am Post subject: |
|
|
hi,
np, glad i could help on a sunday morning!
PS: just curious, why don't the devs fix such an essential error and do a new fixed-release? This bug seems to be around a while.. _________________ --
Linux & such ...
http://blog.hasnoname.de |
|
Back to top |
|
|
KenTI n00b
Joined: 28 Jan 2004 Posts: 53 Location: Italy
|
Posted: Thu Mar 31, 2005 8:07 am Post subject: |
|
|
strenge, i had the same problem with a 2.6.11.5 vanilla kernel and ndiswrapper/slmodem modules
the problem shown up just after switching to gcc 3.4, before that everytning was working fine..
added the line to the kernel source file and it worked for me
thanks |
|
Back to top |
|
|
|