Bug#542140: [Pkg-fglrx-devel] Bug#542140: Bug#542140: fglrx-driver: fglrx driver doesn't work with linux-image-2.6.30 (AMD64)

2009-08-18 Thread Patrick Matthäi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gary Dale schrieb:
 Patrick Matthäi wrote:
 Gary Dale schrieb:
 Package: fglrx-driver
 Version: 1:9-2-2
 Severity: grave
 Justification: renders package unusable

 After doing a dist-upgrade a couple of days ago in which
 linux-image-2.6.30 was installed, the fglrx driver stopped working. I
 could no longer get into X. Removing and reinstalling the driver
 under the kernel didn't help.

 Because the open source ATI drivers don't work, I'm left with the
 vesa driver as the only method for running X.

 I've also tried the installation method at
 http://www.debianadmin.com/how-to-install-ati-fglrx-driver-in-debian.html/comment-page-1#comment-3543

 but it fails during the driver install while trying to overwrite
 libglx.so - and no amount of trying has let me get around the error.
 Even if libglx.so is removed, I still can't overwrite it!

 ??

 We are _not_ supporting the debs resulted by the ati installer!

 On Debian just do (but be sure to remove everything from your old
 installation):

 # apt-get install fglrx-driver fglrx-glx fglrx-source module-assisstant
 # m-a a-i fglrx

 And that was it.

 You misunderstood. It was the Debian packages I was having the problem
 with. If you re-read my e-mail, I only tried the ATI installer because
 the Debian packages didn't work.
 
 The process you list fails, It gives the following log:
 
 /usr/bin/make  -f debian/rules clean
 make[1]: Entering directory `/usr/src/modules/fglrx'
 dh_testroot
 rm -f configure-stamp
 rm -f fglrx.ko fglrx.mod.c *.o libfglrx_ip.a
 rm -f .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
 rm -rf .tmp_versions
 rm -rf patch
 dh_clean
 rm -f /usr/src/modules/fglrx/debian/control
 rm -f /usr/src/modules/fglrx/debian/dirs
 make[1]: Leaving directory `/usr/src/modules/fglrx'
 /usr/bin/make  -f debian/rules binary_modules
 make[1]: Entering directory `/usr/src/modules/fglrx'
 if [ -f /usr/src/modules/fglrx/debian/control.template ]; then \
cat /usr/src/modules/fglrx/debian/control.template 
 /usr/src/modules/fglrx/debian/control; \
fi
 dh_testdir
 touch configure-stamp
 dh_testdir
 /usr/bin/make -C /lib/modules/2.6.30-1-amd64/build
 SUBDIRS=/usr/src/modules/fglrx modules
 make[2]: Entering directory `/usr/src/linux-headers-2.6.30-1-amd64'
  CC [M]  /usr/src/modules/fglrx/firegl_public.o
 In file included from /usr/src/modules/fglrx/drmP.h:86,
 from /usr/src/modules/fglrx/drm_proc.h:41,
 from /usr/src/modules/fglrx/firegl_public.c:433:
 /usr/src/modules/fglrx/drm_os_linux.h:45: error: conflicting types for
 ‘irqreturn_t’
 /usr/src/linux-headers-2.6.30-1-common/include/linux/irqreturn.h:16:
 error: previous declaration of ‘irqreturn_t’ was here
 In file included from /usr/src/modules/fglrx/firegl_public.c:433:
 /usr/src/modules/fglrx/drm_proc.h: In function ‘FGLDRM__vma_info’:
 /usr/src/modules/fglrx/drm_proc.h:497: warning: format ‘%08lx’ expects
 type ‘long unsigned int’, but argument 5 has type ‘phys_addr_t’
 /usr/src/modules/fglrx/firegl_public.c: In function ‘KCL_GetEffectiveUid’:
 /usr/src/modules/fglrx/firegl_public.c:1407: error: ‘struct task_struct’
 has no member named ‘euid’
 /usr/src/modules/fglrx/firegl_public.c: In function
 ‘KCL_PosixSecurityCapSetIPCLock’:
 /usr/src/modules/fglrx/firegl_public.c:1781: error: ‘struct task_struct’
 has no member named ‘cap_effective’
 /usr/src/modules/fglrx/firegl_public.c:1785: error: ‘struct task_struct’
 has no member named ‘cap_effective’
 /usr/src/modules/fglrx/firegl_public.c: In function
 ‘KCL_InstallInterruptHandler’:
 /usr/src/modules/fglrx/firegl_public.c:2663: warning: passing argument 2
 of ‘request_irq’ from incompatible pointer type
 /usr/src/modules/fglrx/firegl_public.c: In function
 ‘KCL_MEM_VM_GetRegionPhysAddrStr’:
 /usr/src/modules/fglrx/firegl_public.c:3225: warning: return makes
 pointer from integer without a cast
 /usr/src/modules/fglrx/firegl_public.c:3226: warning: return makes
 pointer from integer without a cast
 /usr/src/modules/fglrx/firegl_public.c:3227: warning: return makes
 pointer from integer without a cast
 /usr/src/modules/fglrx/firegl_public.c:3229: warning: return makes
 pointer from integer without a cast
 /usr/src/modules/fglrx/firegl_public.c: In function ‘KAS_Ih_Execute’:
 /usr/src/modules/fglrx/firegl_public.c:4204: warning: ‘return’ with no
 value, in function returning non-void
 make[5]: *** [/usr/src/modules/fglrx/firegl_public.o] Error 1
 make[4]: *** [_module_/usr/src/modules/fglrx] Error 2
 make[3]: *** [sub-make] Error 2
 make[2]: *** [all] Error 2
 make[2]: Leaving directory `/usr/src/linux-headers-2.6.30-1-amd64'
 make[1]: *** [build] Error 2
 make[1]: Leaving directory `/usr/src/modules/fglrx'
 make: *** [kdist_image] Error 2

Yes, known.

Give 9-8-1 a try.

- --
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

E-Mail: pmatth...@debian.org
patr...@linux-dev.org

Comment:
Always if we think we are right,
we 

Bug#542140: [Pkg-fglrx-devel] Bug#542140: Bug#542140: fglrx-driver: fglrx driver doesn't work with linux-image-2.6.30 (AMD64)

2009-08-18 Thread Gary Dale

Patrick Matthäi wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Gary Dale schrieb:
  

Patrick Matthäi wrote:


Gary Dale schrieb:
  

Package: fglrx-driver
Version: 1:9-2-2
Severity: grave
Justification: renders package unusable

After doing a dist-upgrade a couple of days ago in which
linux-image-2.6.30 was installed, the fglrx driver stopped working. I
could no longer get into X. Removing and reinstalling the driver
under the kernel didn't help.

Because the open source ATI drivers don't work, I'm left with the
vesa driver as the only method for running X.

I've also tried the installation method at
http://www.debianadmin.com/how-to-install-ati-fglrx-driver-in-debian.html/comment-page-1#comment-3543

but it fails during the driver install while trying to overwrite
libglx.so - and no amount of trying has let me get around the error.
Even if libglx.so is removed, I still can't overwrite it!


??

We are _not_ supporting the debs resulted by the ati installer!

On Debian just do (but be sure to remove everything from your old
installation):

# apt-get install fglrx-driver fglrx-glx fglrx-source module-assisstant
# m-a a-i fglrx

And that was it.

  

You misunderstood. It was the Debian packages I was having the problem
with. If you re-read my e-mail, I only tried the ATI installer because
the Debian packages didn't work.

The process you list fails, It gives the following log:

/usr/bin/make  -f debian/rules clean


   ..

make: *** [kdist_image] Error 2



Yes, known.

Give 9-8-1 a try.

  
Is that the SID package? If so, it wants to replace my xserver. How 
stable is the one in SID?


The following packages have unmet dependencies.
 fglrx-driver: Depends: xserver-xorg (= 1:7.4+1) but it is not going 
to be installed
   Recommends: fglrx-atieventsd but it is not going to be 
installed

E: Broken packages


If I try with aptitude, it suggests the following:

The following packages are 
BROKEN: 
 xserver-xorg-core xserver-xorg-video-all 
xserver-xorg-video-ati  
The following NEW packages will be 
installed:  
 console-setup{a} console-terminus{a} libaudit0{a} 
libdrm-intel1{a}   
 libpciaccess0{a} 
xserver-common{a}   
The following packages will be 
REMOVED:
 xserver-xorg-video-apm{a} 
xserver-xorg-video-ark{a}  
 xserver-xorg-video-chips{a} 
xserver-xorg-video-cirrus{a} 
 xserver-xorg-video-cyrix{a} 
xserver-xorg-video-dummy{a}  
 xserver-xorg-video-fbdev{a} 
xserver-xorg-video-glint{a}  
 xserver-xorg-video-i128{a} 
xserver-xorg-video-intel{a}   
 xserver-xorg-video-mach64{a} 
xserver-xorg-video-mga{a}   
 xserver-xorg-video-neomagic{a} 
xserver-xorg-video-nv{a}  
 xserver-xorg-video-openchrome{a} 
xserver-xorg-video-r128{a}  
 xserver-xorg-video-radeon{a} 
xserver-xorg-video-radeonhd{a}  
 xserver-xorg-video-rendition{a} 
xserver-xorg-video-s3{a} 
 xserver-xorg-video-s3virge{a} 
xserver-xorg-video-savage{a}   
 xserver-xorg-video-siliconmotion{a} 
xserver-xorg-video-sis{a}
 xserver-xorg-video-sisusb{a} 
xserver-xorg-video-tdfx{a}  
 xserver-xorg-video-tga{a} 
xserver-xorg-video-trident{a}  
 xserver-xorg-video-tseng{a} 
xserver-xorg-video-v4l{a}
 xserver-xorg-video-vesa{a} 
xserver-xorg-video-vga{a} 
 xserver-xorg-video-vmware{a} 
xserver-xorg-video-voodoo{a}
The following packages will be 
upgraded:   
 fglrx-driver fglrx-glx fglrx-source libgl1-mesa-dri 
libgl1-mesa-glx  
 
xserver-xorg  

7 packages upgraded, 6 newly installed, 34 to remove and 500 not 
upgraded. 
Need to get 33.1MB of archives. After unpacking 5370kB will be 
freed.  
The following packages have unmet 
dependencies:
 xserver-xorg-video-all: Depends: xserver-xorg-video-apm but it is not 
installable 

 Depends: xserver-xorg-video-ark but it is not 
installable 

 Depends: xserver-xorg-video-chips but it is 
not 
installable   

 Depends: xserver-xorg-video-cirrus but it is 
not 
installable  

 Depends: xserver-xorg-video-cyrix but it is