LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-22-2010, 07:17 PM   #16
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399

So fglrx is currently uninstalled on your machine? What's the output of 'lsmod | grep fglrx'?

Adam
 
Old 08-22-2010, 07:25 PM   #17
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Original Poster
Rep: Reputation: 30
Every time I try something new, I restart into the new kernel, uninstall everything fglrx-related, install it from backports and try whatever you suggest, it fails, then I remove everything fglrx-related, install it again for lenny, and restart into the old kernel.

I tried that again just to make sure, and after I remove everything lsmod shows no fglrx.
 
Old 08-22-2010, 07:34 PM   #18
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Then I have no idea what's going on. If the fglrx kernel module doesn't exist after you remove all the fglrx related packages, yet it's still loading a different version from the Xorg driver, then the installer is somehow building that different version kernel module. I have never heard of that happening before and can only assume the Debian installer is doing something stupid.

Adam
 
Old 08-22-2010, 11:37 PM   #19
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Original Poster
Rep: Reputation: 30
Hmm, well if DKMS is messing up with the kernel module, I thought I'd try building it manually again. So I removed all packages, then ran "m-a a-i fglrx". That downloaded the source, started the build, and reported that the build failed:

Code:
/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.32-bpo.5-686/build SUBDIRS=/usr/src/modules/fglrx modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.32-bpo.5-686'
  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:429:
/usr/src/modules/fglrx/drm_os_linux.h:45: error: conflicting types for ‘irqreturn_t’
/usr/src/linux-headers-2.6.32-bpo.5-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:429:
/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:1453: 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:1808: error: ‘struct task_struct’ has no member named ‘cap_effective’
/usr/src/modules/fglrx/firegl_public.c:1812: 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:2659: 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:3223: warning: return makes pointer from integer without a cast
/usr/src/modules/fglrx/firegl_public.c:3224: warning: return makes pointer from integer without a cast
/usr/src/modules/fglrx/firegl_public.c:3225: 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: In function ‘KAS_Ih_Execute’:
/usr/src/modules/fglrx/firegl_public.c:4202: 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.32-bpo.5-686'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/src/modules/fglrx'
make: *** [kdist_image] Error 2
Any insight on that? Thanks again!

EDIT: I realize the problem was probably that it was trying to use the fglrx-source package in stable, not lenny-backports. I downloaded fglrx-source from backports directly and repeated the process, and it installed the module fine (8.72.5). Is the problem maybe that I need a new xorg before I can use the new fglrx? Maybe I need to just wait for the next stable release to fix all this...

Last edited by jrdioko; 08-22-2010 at 11:53 PM. Reason: More info
 
Old 08-23-2010, 06:05 AM   #20
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Sorry, but at this point I'm out of my depth. I think I just don't know enough about Debian releases to be any help here.

Adam
 
Old 08-23-2010, 09:50 AM   #21
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Original Poster
Rep: Reputation: 30
Alright, well thanks anyway for all your help!
 
  


Reply



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
Dist-upgrade gone wrong and now gdm and X are mest up FireFerum Debian 19 06-10-2009 07:11 PM
Etch upgrade killed my X server / gdm Lexia Debian 9 07-22-2007 11:00 PM
gdm problem after apt-get dist-upgrade quarry_06 Debian 2 06-06-2006 06:50 PM
GDM doesn't work after upgrade to Testing packen104 Debian 4 06-04-2006 01:12 AM
GDM Broken After Upgrade Via Swaret 2Gnu Slackware 5 03-20-2004 11:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:36 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration