From: Aaron W. Hsu on
On Fri, 29 Jan 2010 03:50:41 -0500, Paul <pminottawa(a)yahoo.ca> wrote:

> The installer always exits with two failures. That is why I used the
> roundabout method I used. I built and installed the driver with the
> method you indicated--same errors, same results. DRI initialization is
> still failing.

It would be helpful if you posted the exact output you get from the
--buildpkg Slackware/All step. Also, you should provide the information
about the kernel you are using as well as maybe uname output and an lspci.

Aaron W. Hsu

--
A professor is one who talks in someone else's sleep.
From: Paul on
On 01/29/10 08:20 PM, Aaron W. Hsu wrote:
> On Fri, 29 Jan 2010 03:50:41 -0500, Paul <pminottawa(a)yahoo.ca> wrote:
>
>> The installer always exits with two failures. That is why I used the
>> roundabout method I used. I built and installed the driver with the
>> method you indicated--same errors, same results. DRI initialization is
>> still failing.
>
> It would be helpful if you posted the exact output you get from the
> --buildpkg Slackware/All step. Also, you should provide the information
> about the kernel you are using as well as maybe uname output and an lspci.
>
> Aaron W. Hsu
>
here is uname --all

Linux dnsserver 2.6.32.5 #1 SMP Fri Jan 29 08:10:13 EST 2010 x86_64

AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ AuthenticAMD GNU/Linux

lspci:

00:00.0 RAM memory: nVidia Corporation MCP55 Memory Controller (rev a2)
00:01.0 ISA bridge: nVidia Corporation MCP55 LPC Bridge (rev a3)
00:01.1 SMBus: nVidia Corporation MCP55 SMBus (rev a3)
00:02.0 USB Controller: nVidia Corporation MCP55 USB Controller (rev a1)
00:02.1 USB Controller: nVidia Corporation MCP55 USB Controller (rev a2)
00:04.0 IDE interface: nVidia Corporation MCP55 IDE (rev a1)
00:05.0 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a3)
00:05.1 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a3)
00:05.2 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a3)
00:06.0 PCI bridge: nVidia Corporation MCP55 PCI bridge (rev a2)
00:06.1 Audio device: nVidia Corporation MCP55 High Definition Audio
(rev a2)
00:08.0 Bridge: nVidia Corporation MCP55 Ethernet (rev a3)
00:0f.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Miscellaneous Control
02:00.0 VGA compatible controller: ATI Technologies Inc RV710 [Radeon HD
4350]
02:00.1 Audio device: ATI Technologies Inc R700 Audio Device [Radeon HD
4000 Series]

Errors from ATI build:

> Verifying archive integrity... All good.
> Uncompressing ATI Proprietary Linux Driver-8.681...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
.............................................................................
> ==================================================
>  ATI Technologies Linux Driver Installer/Packager 
> ==================================================
> Generating package: Slackware/All
>
> ATI SlackBuild Version 1.4.0
> --------------------------------------------
> by: Emanuele Tomasi <tomasiATcli.di.unipi.it>
> Ezio Ghibaudo <ekxiusATgmail.com>
>
> AMD kernel module generator version 2.1
> doing Makefile based build for kernel 2.6.x and higher
> rm -rf *.c *.h *.o *.ko *.GCC* .??* *.symvers
> make -C /lib/modules/2.6.32.5/build SUBDIRS=/opt/downloads/ati/fglrx-install.9Z0LWr/common/lib/modules/fglrx/build_mod/2.6.x modules
> make[1]: Entering directory `/usr/src/linux-2.6.32.5'
> CC [M] /opt/downloads/ati/fglrx-install.9Z0LWr/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
> In file included from /opt/downloads/ati/fglrx-install.9Z0LWr/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:443:
> /opt/downloads/ati/fglrx-install.9Z0LWr/common/lib/modules/fglrx/build_mod/2.6.x/drm_proc.h: In function 'FGLDRM__vma_info':
> /opt/downloads/ati/fglrx-install.9Z0LWr/common/lib/modules/fglrx/build_mod/2.6.x/drm_proc.h:497: warning: format '%08lx' expects type 'long unsigned int', but argument 5 has type 'phys_addr_t'
> CC [M] /opt/downloads/ati/fglrx-install.9Z0LWr/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o
> CC [M] /opt/downloads/ati/fglrx-install.9Z0LWr/common/lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o
> CC [M] /opt/downloads/ati/fglrx-install.9Z0LWr/common/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.o
> CC [M] /opt/downloads/ati/fglrx-install.9Z0LWr/common/lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.o
> CC [M] /opt/downloads/ati/fglrx-install.9Z0LWr/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.o
> /opt/downloads/ati/fglrx-install.9Z0LWr/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.c: In function 'KCL_IO_FASYNC_Terminate':
> /opt/downloads/ati/fglrx-install.9Z0LWr/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.c:122: error: 'SIGIO' undeclared (first use in this function)
> /opt/downloads/ati/fglrx-install.9Z0LWr/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.c:122: error: (Each undeclared identifier is reported only once
> /opt/downloads/ati/fglrx-install.9Z0LWr/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.c:122: error: for each function it appears in.)
> make[2]: *** [/opt/downloads/ati/fglrx-install.9Z0LWr/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.o] Error 1
> make[1]: *** [_module_/opt/downloads/ati/fglrx-install.9Z0LWr/common/lib/modules/fglrx/build_mod/2.6.x] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.32.5'
> make: *** [kmod_build] Error 2
> build failed with return value 2
> ERROR: i don't have make module
> Removing temporary directory: fglrx-install.9Z0LWr


From: Aaron W. Hsu on
On Fri, 29 Jan 2010 22:19:58 -0500, Paul <pminottawa(a)yahoo.ca> wrote:

> Linux dnsserver 2.6.32.5 #1 SMP Fri Jan 29 08:10:13 EST 2010 x86_64

Ahah. So you are not running Slackware64 13.0, you're actually running
your own updated kernel, rather than generic.s or something like that. :-)
That could make a difference.

> 02:00.0 VGA compatible controller: ATI Technologies Inc RV710 [Radeon HD
> 4350]

Okay, so there is definitely the 10.1 revision of the ATI driver that you
should use if you have not already, though I doubt that is going to fix
the problem (I assume the build results from below are from revision 10.1).

>> /opt/downloads/ati/fglrx-install.9Z0LWr/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.o
>> /opt/downloads/ati/fglrx-install.9Z0LWr/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.c:
>> In function 'KCL_IO_FASYNC_Terminate':
>> /opt/downloads/ati/fglrx-install.9Z0LWr/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.c:122:
>> error: 'SIGIO' undeclared (first use in this function)
>> /opt/downloads/ati/fglrx-install.9Z0LWr/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.c:122:
>> error: (Each undeclared identifier is reported only once
>> /opt/downloads/ati/fglrx-install.9Z0LWr/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.c:122:
>> error: for each function it appears in.)
>> make[2]: ***

I have not used this updated kernel, so I don't know, but if I had to
guess I would guess that the problem is with the kernel version. I don't
know if anything changed there, but I would check that. Try reverting to a
stock Slackware64 13.0 kernel (the updated one should work fine), and see
if this fixes the problem. I'm not familiar with the patch that you made
to get this to build with your kernel, but it's suspicious to me that you
have a non-standard kernel, and it just so happens that the kernel module
component is probably the problem.

Aaron W. Hsu

--
A professor is one who talks in someone else's sleep.
From: Paul on
On 01/29/10 10:39 PM, Aaron W. Hsu wrote:
> On Fri, 29 Jan 2010 22:19:58 -0500, Paul <pminottawa(a)yahoo.ca> wrote:
>
>> Linux dnsserver 2.6.32.5 #1 SMP Fri Jan 29 08:10:13 EST 2010 x86_64
>
> Ahah. So you are not running Slackware64 13.0, you're actually running
> your own updated kernel, rather than generic.s or something like that.
> :-) That could make a difference.
>
>> 02:00.0 VGA compatible controller: ATI Technologies Inc RV710 [Radeon
>> HD 4350]
>
> Okay, so there is definitely the 10.1 revision of the ATI driver that
> you should use if you have not already, though I doubt that is going to
> fix the problem (I assume the build results from below are from revision
> 10.1).
>
>>> /opt/downloads/ati/fglrx-install.9Z0LWr/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.o
>>>
>>> /opt/downloads/ati/fglrx-install.9Z0LWr/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.c:
>>> In function 'KCL_IO_FASYNC_Terminate':
>>> /opt/downloads/ati/fglrx-install.9Z0LWr/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.c:122:
>>> error: 'SIGIO' undeclared (first use in this function)
>>> /opt/downloads/ati/fglrx-install.9Z0LWr/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.c:122:
>>> error: (Each undeclared identifier is reported only once
>>> /opt/downloads/ati/fglrx-install.9Z0LWr/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.c:122:
>>> error: for each function it appears in.)
>>> make[2]: ***
>
> I have not used this updated kernel, so I don't know, but if I had to
> guess I would guess that the problem is with the kernel version. I don't
> know if anything changed there, but I would check that. Try reverting to
> a stock Slackware64 13.0 kernel (the updated one should work fine), and
> see if this fixes the problem. I'm not familiar with the patch that you
> made to get this to build with your kernel, but it's suspicious to me
> that you have a non-standard kernel, and it just so happens that the
> kernel module component is probably the problem.
>
> Aaron W. Hsu
>

I got the same errors when I first tried to build the driver using the
kernel 2.6.29.6 huge kernel that is installed with Slackware64 13. My
build just removes the portions that are unnecessary for me and, I
believe but stand to be corrected, loses nothing required for OpenGL or
the ATI Radeon driver.
From: Aaron W. Hsu on
On Sat, 30 Jan 2010 01:08:44 -0500, Paul <pminottawa(a)yahoo.ca> wrote:

> I got the same errors when I first tried to build the driver using the
> kernel 2.6.29.6 huge kernel that is installed with Slackware64 13.

Could you perchance take the generic.s kernel and use that? I'd like to
see if the build fails when using that kernel with a properly defined
initrd and such.

Aaron W. Hsu

--
A professor is one who talks in someone else's sleep.