* [gentoo-user] ati-drivers
@ 2007-09-03 0:37 james
2007-09-03 0:49 ` Mark Knecht
2007-09-06 1:17 ` [gentoo-user] ati-drivers Daniel D Jones
0 siblings, 2 replies; 9+ messages in thread
From: james @ 2007-09-03 0:37 UTC (permalink / raw
To: gentoo-user
Hello,
Im installing a new dell laptop. Mostly the install has been routine.
I cannot seem to get ati-drivers to install.
bugs.gentoo.org did not reveal anything useful (not from what I read).
Here is the error:
/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/
modules/fglrx/build_mod/2.6.x/firegl_public.c:
In function 'KAS_SlabCache_Initialize':
/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/
modules/fglrx/build_mod/2.6.x/firegl_public.c:5037:
warning: cast from pointer to integer of different size
make[2]: ***
[/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/
modules/fglrx/build_mod/2.6.x/firegl_public.o]
Error 1
make[1]: ***
[_module_/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/
common/lib/modules/fglrx/build_mod/2.6.x]
Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.22-gentoo-r5'
make: *** [kmod_build] Error 2
!!! ERROR: x11-drivers/ati-drivers-8.35.5 failed.
Call stack:
ebuild.sh, line 1638: Called dyn_compile
ebuild.sh, line 985: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
ati-drivers-8.35.5.ebuild, line 170: Called linux-mod_src_compile
linux-mod.eclass, line 516: Called die
!!! Unable to make GCC_VER_MAJ=4 KVER=2.6.22-gentoo-r5 KDIR=/usr/src/linux
kmod_build.
so I thought I'd just add an entry to /etc/portage/package.keywords and try
another version (8.39.4) that works fine on another system.
On the del laptop I cannot get the system to try another ati-drivers version,
despite addiing this to the /etc/portagae/package.keywords file:
x11-drivers/ati-drivers ~amd64
Identical to what I have on other systems. I lookedin /usr/portage/distfiles
and only found this ati file on the portable:
ati-driver-installer-8.35.5-x86.x86_64.run
so I downloaded the other files from a similar amd 64 system where I use
ati-drivers:
ati-driver-installer-8.27.10-x86_64.run
ati-driver-installer-8.30.3.run
ati-driver-installer-8.32.5-x86.x86_64.run
ati-driver-installer-8.33.6-x86.x86_64.run
ati-driver-installer-8.34.8-x86.x86_64.run
ati-driver-installer-8.36.5-x86.x86_64.run
ati-driver-installer-8.37.6-x86.x86_64.run
ati-driver-installer-8.39.4-x86.x86_64.run
ati-driver-installer-8.40.4-x86.x86_64.run
Still I compiling ati-drivers-8.36.5 fails and I cannot even get the
dell laptop to try another version of ati-drivers. I recompiled gcc,
just for grins. Did nothing to help (4.1.2).
revdep-rebuild comes back clean. Since it is a new install, I mostly
missed something, xorg-x11 is there. No clue.
Ideas?
James
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] ati-drivers
2007-09-03 0:37 [gentoo-user] ati-drivers james
@ 2007-09-03 0:49 ` Mark Knecht
2007-09-03 1:09 ` [gentoo-user] ati-drivers James
2007-09-06 1:17 ` [gentoo-user] ati-drivers Daniel D Jones
1 sibling, 1 reply; 9+ messages in thread
From: Mark Knecht @ 2007-09-03 0:49 UTC (permalink / raw
To: gentoo-user
You need to discover with lspci what ATI controller is in the machine
and then check which ati-drivers packages support it. After doing that
you need to make sure that the ati-drivers package you have chosen
matches up with the kernel you are attempting to build/install.
Basic lesson: Not all ati-driver packages work with all kernels. They
come in matched sets over ranges. I don't know of a good single source
for the information but the folks on the Phoronix forums have been
very helpful to me.
Hope this helps,
Mark
On 9/2/07, james <wireless@tampabay.rr.com> wrote:
> Hello,
>
> Im installing a new dell laptop. Mostly the install has been routine.
> I cannot seem to get ati-drivers to install.
>
> bugs.gentoo.org did not reveal anything useful (not from what I read).
>
> Here is the error:
>
> /var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/
> modules/fglrx/build_mod/2.6.x/firegl_public.c:
> In function 'KAS_SlabCache_Initialize':
> /var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/
> modules/fglrx/build_mod/2.6.x/firegl_public.c:5037:
> warning: cast from pointer to integer of different size
> make[2]: ***
> [/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/
> modules/fglrx/build_mod/2.6.x/firegl_public.o]
> Error 1
> make[1]: ***
> [_module_/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/
> common/lib/modules/fglrx/build_mod/2.6.x]
> Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.22-gentoo-r5'
> make: *** [kmod_build] Error 2
>
> !!! ERROR: x11-drivers/ati-drivers-8.35.5 failed.
> Call stack:
> ebuild.sh, line 1638: Called dyn_compile
> ebuild.sh, line 985: Called qa_call 'src_compile'
> ebuild.sh, line 44: Called src_compile
> ati-drivers-8.35.5.ebuild, line 170: Called linux-mod_src_compile
> linux-mod.eclass, line 516: Called die
>
> !!! Unable to make GCC_VER_MAJ=4 KVER=2.6.22-gentoo-r5 KDIR=/usr/src/linux
> kmod_build.
>
>
>
> so I thought I'd just add an entry to /etc/portage/package.keywords and try
> another version (8.39.4) that works fine on another system.
>
> On the del laptop I cannot get the system to try another ati-drivers version,
> despite addiing this to the /etc/portagae/package.keywords file:
> x11-drivers/ati-drivers ~amd64
>
> Identical to what I have on other systems. I lookedin /usr/portage/distfiles
> and only found this ati file on the portable:
> ati-driver-installer-8.35.5-x86.x86_64.run
>
> so I downloaded the other files from a similar amd 64 system where I use
> ati-drivers:
> ati-driver-installer-8.27.10-x86_64.run
> ati-driver-installer-8.30.3.run
> ati-driver-installer-8.32.5-x86.x86_64.run
> ati-driver-installer-8.33.6-x86.x86_64.run
> ati-driver-installer-8.34.8-x86.x86_64.run
> ati-driver-installer-8.36.5-x86.x86_64.run
> ati-driver-installer-8.37.6-x86.x86_64.run
> ati-driver-installer-8.39.4-x86.x86_64.run
> ati-driver-installer-8.40.4-x86.x86_64.run
>
>
> Still I compiling ati-drivers-8.36.5 fails and I cannot even get the
> dell laptop to try another version of ati-drivers. I recompiled gcc,
> just for grins. Did nothing to help (4.1.2).
>
> revdep-rebuild comes back clean. Since it is a new install, I mostly
> missed something, xorg-x11 is there. No clue.
>
> Ideas?
>
>
> James
>
>
>
>
>
> --
> gentoo-user@gentoo.org mailing list
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-user] Re: ati-drivers
2007-09-03 0:49 ` Mark Knecht
@ 2007-09-03 1:09 ` James
2007-09-03 1:34 ` Mark Knecht
0 siblings, 1 reply; 9+ messages in thread
From: James @ 2007-09-03 1:09 UTC (permalink / raw
To: gentoo-user
Mark Knecht <markknecht <at> gmail.com> writes:
> You need to discover with lspci what ATI controller is in the machine
> and then check which ati-drivers packages support it. After doing that
> you need to make sure that the ati-drivers package you have chosen
> matches up with the kernel you are attempting to build/install.
Well, I think you are on to something: on the dell lspci shows:
00:00.0 Host bridge: ATI Technologies Inc Unknown device 7910
00:01.0 PCI bridge: ATI Technologies Inc Unknown device 7912
00:05.0 PCI bridge: ATI Technologies Inc Unknown device 7915
00:07.0 PCI bridge: ATI Technologies Inc Unknown device 7917
00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
00:14.0 SMBus: ATI Technologies Inc SB600 SMBus (rev 14)
<snip>
googling produces this:
Dell Inspiron 1721 is based on AMD ATI M690T chipset, Turion 64 X2 dual core
processors with speeds from 1.8GHz to 2.2GHz, and ATI Mobility Radeon X1270
integrated graphics.
so How/where do I read which chipsets are covered by which drivers?
James
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Re: ati-drivers
2007-09-03 1:09 ` [gentoo-user] ati-drivers James
@ 2007-09-03 1:34 ` Mark Knecht
2007-09-03 19:16 ` James
0 siblings, 1 reply; 9+ messages in thread
From: Mark Knecht @ 2007-09-03 1:34 UTC (permalink / raw
To: gentoo-user
On 9/2/07, James <wireless@tampabay.rr.com> wrote:
> Mark Knecht <markknecht <at> gmail.com> writes:
>
>
> > You need to discover with lspci what ATI controller is in the machine
> > and then check which ati-drivers packages support it. After doing that
> > you need to make sure that the ati-drivers package you have chosen
> > matches up with the kernel you are attempting to build/install.
>
> Well, I think you are on to something: on the dell lspci shows:
> 00:00.0 Host bridge: ATI Technologies Inc Unknown device 7910
> 00:01.0 PCI bridge: ATI Technologies Inc Unknown device 7912
> 00:05.0 PCI bridge: ATI Technologies Inc Unknown device 7915
> 00:07.0 PCI bridge: ATI Technologies Inc Unknown device 7917
> 00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
> 00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
> 00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
> 00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
> 00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
> 00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
> 00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
> 00:14.0 SMBus: ATI Technologies Inc SB600 SMBus (rev 14)
> <snip>
>
> googling produces this:
> Dell Inspiron 1721 is based on AMD ATI M690T chipset, Turion 64 X2 dual core
> processors with speeds from 1.8GHz to 2.2GHz, and ATI Mobility Radeon X1270
> integrated graphics.
>
>
> so How/where do I read which chipsets are covered by which drivers?
>
I would personally visit the Phoronix forums, sign up and ask the
question there. Most likely a very helpful individual named Michael
will be able to tell you more about which driver revision, if any,
works with that Radeon.
Maybe a helpful Gentoo person can answer the question sooner but it
doesn't hurt to have a second opinion. He's very ATI knowledgeable and
don't have a strong ati-driver anti-bias like we run into here some
times.
On the other hand, why do you need the ati-driver package at all. Have
you considered just using the radeon driver in the kernel until you
get this machine up and running and then deal with this driver issue
later? That's my usual path to making a new ATI machine useful as
quickly as possible.
I run ati-drivers on some machine but prefer to stick with the kernel
driver when I Can.
Good luck whatever you do,
Mark
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-user] Re: ati-drivers
2007-09-03 1:34 ` Mark Knecht
@ 2007-09-03 19:16 ` James
2007-09-03 20:37 ` Mark Knecht
0 siblings, 1 reply; 9+ messages in thread
From: James @ 2007-09-03 19:16 UTC (permalink / raw
To: gentoo-user
Mark Knecht <markknecht <at> gmail.com> writes:
> > Dell Inspiron 1721 is based on AMD ATI M690T chipset, Turion 64 X2 dual core
> > processors with speeds from 1.8GHz to 2.2GHz, and ATI Mobility Radeon X1270
> > so How/where do I read which chipsets are covered by which drivers?
> I would personally visit the Phoronix forums, sign up and ask the
> question there.
> On the other hand, why do you need the ati-driver package at all. Have
> you considered just using the radeon driver in the kernel until you
> get this machine up and running and then deal with this driver issue
> later? That's my usual path to making a new ATI machine useful as
> quickly as possible.
Got vesa working. For now that good enough. I'll give the ati-drivers another
shot, once I read somewhere where this chips is covered by the ati-drivers:
01:05.0 VGA compatible controller: ATI Technologies Inc Unknown device 791f
It does not even show up in my favorite hardware index:
http://sources.gentoo.org/viewcvs.py/hwdata/trunk/pcitable?rev=5
James
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Re: ati-drivers
2007-09-03 19:16 ` James
@ 2007-09-03 20:37 ` Mark Knecht
2007-09-03 21:49 ` James
0 siblings, 1 reply; 9+ messages in thread
From: Mark Knecht @ 2007-09-03 20:37 UTC (permalink / raw
To: gentoo-user
On 9/3/07, James <wireless@tampabay.rr.com> wrote:
> Mark Knecht <markknecht <at> gmail.com> writes:
>
>
>
>
> > > Dell Inspiron 1721 is based on AMD ATI M690T chipset, Turion 64 X2 dual core
> > > processors with speeds from 1.8GHz to 2.2GHz, and ATI Mobility Radeon X1270
>
>
> > > so How/where do I read which chipsets are covered by which drivers?
>
> > I would personally visit the Phoronix forums, sign up and ask the
> > question there.
>
>
> > On the other hand, why do you need the ati-driver package at all. Have
> > you considered just using the radeon driver in the kernel until you
> > get this machine up and running and then deal with this driver issue
> > later? That's my usual path to making a new ATI machine useful as
> > quickly as possible.
>
>
> Got vesa working. For now that good enough. I'll give the ati-drivers another
> shot, once I read somewhere where this chips is covered by the ati-drivers
Glad for that much. Now the machine is usable. that's a good first step.
>
>
> 01:05.0 VGA compatible controller: ATI Technologies Inc Unknown device 791f
>
> It does not even show up in my favorite hardware index:
> http://sources.gentoo.org/viewcvs.py/hwdata/trunk/pcitable?rev=5
>
I suspect that ATI has integrated an existing VGA core into a new
chipset. sometimes it takes Linux quite awhile to catch up on this
sort of issue. I had a Compaq laptop a couple of years ago with a new
chipset. It was probably 4 months before I could even attempt to turn
on DMA on my hard drives. The machine was very slow for quite a while.
It will get worked out. Look for a reasonable location to post some
info on the chipset. Note that the Linux kernel guys won't really help
with this as they don't like drivers that taint the kernel. I use ATI
drivers when I have to, like on my Myth frontend machines, but I stick
with the radeon driver if I want any real support.
Good luck,
Mark
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-user] Re: ati-drivers
2007-09-03 20:37 ` Mark Knecht
@ 2007-09-03 21:49 ` James
2007-09-03 22:09 ` Mark Knecht
0 siblings, 1 reply; 9+ messages in thread
From: James @ 2007-09-03 21:49 UTC (permalink / raw
To: gentoo-user
Mark Knecht <markknecht <at> gmail.com> writes:
> I suspect that ATI has integrated an existing VGA core into a new
> chipset.
yep....
> I stick with the radeon driver if I want any real support.
That driver did not work either....
It's a waiting game. One day, when googling, I'll find a post about that
chipset being covered.....
Had a recent similar issue with a sony laptop, for one of the employees.
It's an intel 965G. No support (yet) in the i810 driver....
oh well, they'll work eventually. Neither employee is big on 3D or
graphics anyway.....
thx,
James
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Re: ati-drivers
2007-09-03 21:49 ` James
@ 2007-09-03 22:09 ` Mark Knecht
0 siblings, 0 replies; 9+ messages in thread
From: Mark Knecht @ 2007-09-03 22:09 UTC (permalink / raw
To: gentoo-user
On 9/3/07, James <wireless@tampabay.rr.com> wrote:
> Mark Knecht <markknecht <at> gmail.com> writes:
>
>
> > I suspect that ATI has integrated an existing VGA core into a new
> > chipset.
>
> yep....
>
>
> > I stick with the radeon driver if I want any real support.
>
> That driver did not work either....
>
> It's a waiting game. One day, when googling, I'll find a post about that
> chipset being covered.....
I think that it's PERFECTLY appropriate to subscribe to LKML and ask
them about it. They are always interested in supporting new hardware.
Often they are already working on it and can give you a schedule or
tell you what kernel to build to get it working.
My only point was they don't like the ati-drivers, not that they don't
want to support machines if possible.
Of course, ATI has to release specs for the Radeon driver to support
it completely. I think they do that but somewhat slowly.
Just my 2 cents,
Mark
>
>
> Had a recent similar issue with a sony laptop, for one of the employees.
> It's an intel 965G. No support (yet) in the i810 driver....
>
> oh well, they'll work eventually. Neither employee is big on 3D or
> graphics anyway.....
>
>
> thx,
>
> James
>
>
>
> --
> gentoo-user@gentoo.org mailing list
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] ati-drivers
2007-09-03 0:37 [gentoo-user] ati-drivers james
2007-09-03 0:49 ` Mark Knecht
@ 2007-09-06 1:17 ` Daniel D Jones
1 sibling, 0 replies; 9+ messages in thread
From: Daniel D Jones @ 2007-09-06 1:17 UTC (permalink / raw
To: gentoo-user; +Cc: james
On Sunday 02 September 2007 08:37:39 pm james wrote:
> Hello,
>
> Im installing a new dell laptop. Mostly the install has been routine.
> I cannot seem to get ati-drivers to install.
>
> bugs.gentoo.org did not reveal anything useful (not from what I read).
>
> Here is the error:
>
> /var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/
> modules/fglrx/build_mod/2.6.x/firegl_public.c:
> In function 'KAS_SlabCache_Initialize':
> /var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/
> modules/fglrx/build_mod/2.6.x/firegl_public.c:5037:
> warning: cast from pointer to integer of different size
> make[2]: ***
> [/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/common/lib/
> modules/fglrx/build_mod/2.6.x/firegl_public.o]
> Error 1
> make[1]: ***
> [_module_/var/tmp/portage/x11-drivers/ati-drivers-8.35.5/work/
> common/lib/modules/fglrx/build_mod/2.6.x]
> Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.22-gentoo-r5'
> make: *** [kmod_build] Error 2
>
> !!! ERROR: x11-drivers/ati-drivers-8.35.5 failed.
> Call stack:
> ebuild.sh, line 1638: Called dyn_compile
> ebuild.sh, line 985: Called qa_call 'src_compile'
> ebuild.sh, line 44: Called src_compile
> ati-drivers-8.35.5.ebuild, line 170: Called linux-mod_src_compile
> linux-mod.eclass, line 516: Called die
>
> !!! Unable to make GCC_VER_MAJ=4 KVER=2.6.22-gentoo-r5 KDIR=/usr/src/linux
> kmod_build.
>
>
>
> so I thought I'd just add an entry to /etc/portage/package.keywords and try
> another version (8.39.4) that works fine on another system.
>
> On the del laptop I cannot get the system to try another ati-drivers
> version, despite addiing this to the /etc/portagae/package.keywords file:
> x11-drivers/ati-drivers ~amd64
>
> Identical to what I have on other systems. I lookedin
> /usr/portage/distfiles and only found this ati file on the portable:
> ati-driver-installer-8.35.5-x86.x86_64.run
>
> so I downloaded the other files from a similar amd 64 system where I use
> ati-drivers:
> ati-driver-installer-8.27.10-x86_64.run
> ati-driver-installer-8.30.3.run
> ati-driver-installer-8.32.5-x86.x86_64.run
> ati-driver-installer-8.33.6-x86.x86_64.run
> ati-driver-installer-8.34.8-x86.x86_64.run
> ati-driver-installer-8.36.5-x86.x86_64.run
> ati-driver-installer-8.37.6-x86.x86_64.run
> ati-driver-installer-8.39.4-x86.x86_64.run
> ati-driver-installer-8.40.4-x86.x86_64.run
>
>
> Still I compiling ati-drivers-8.36.5 fails and I cannot even get the
> dell laptop to try another version of ati-drivers. I recompiled gcc,
> just for grins. Did nothing to help (4.1.2).
>
> revdep-rebuild comes back clean. Since it is a new install, I mostly
> missed something, xorg-x11 is there. No clue.
>
> Ideas?
Try issuing the following command:
ln -s /usr/src/linux/include/linux/ioctl.h /usr/src/linux/include/linux/ioctl32.h
then recompiling.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2007-09-06 1:29 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-03 0:37 [gentoo-user] ati-drivers james
2007-09-03 0:49 ` Mark Knecht
2007-09-03 1:09 ` [gentoo-user] ati-drivers James
2007-09-03 1:34 ` Mark Knecht
2007-09-03 19:16 ` James
2007-09-03 20:37 ` Mark Knecht
2007-09-03 21:49 ` James
2007-09-03 22:09 ` Mark Knecht
2007-09-06 1:17 ` [gentoo-user] ati-drivers Daniel D Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox