LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices

Reply
 
Search this Thread
Old 07-10-2004, 09:23 PM   #1
jasonM
LQ Newbie
 
Registered: Apr 2004
Posts: 24

Rep: Reputation: 15
SuSE 9.1 Personal - Kernel upgrade breaks fglrx driver


Hi,
Recently, I ran YOU and this included a kernel update that was required
for security reasons (2.6.5-7.95). However, this update seems to have
broken the fglrx driver I had installed for the ATI 9600 graphics chip in
my laptop. I say this because an OpenGL screensaver I'm running seemed
slow, and the flg_glxgears app won't run complaining that the DRI X11
module isn't available. I've tried to recompile the driver, but the
process seems to be broken. When I follow the README to make the driver, I
get the following error when I try this step :

KERNEL_SOURCE=/usr/src/linux make modules
make -C /usr/src/linux modules SUBDIRS=/usr/src/kernel-modules/fglrx
make[1]: Entering directory `/usr/src/linux-2.6.5-7.95'

WARNING: Symbol version dump /usr/src/linux-2.6.5-7.95/Module.symvers is
missing, modules will have CONFIG_MODVERSIONS disabled.

Building modules, stage 2.
MODPOST
/bin/sh: line 1: scripts/modpost: No such file or directory
make[2]: *** [__modpost] Error 127
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.5-7.95'
make: *** [modules] Error 2

I have no idea how to get modpost made. There is a Makefile for it that
doesn't work. Has anyone come across this problem? Can anyone lead me
towards the solution to this problem?

Thanks,

Jason Mazzotta
 
Old 07-11-2004, 01:00 AM   #2
jasonM
LQ Newbie
 
Registered: Apr 2004
Posts: 24

Original Poster
Rep: Reputation: 15
I got past this problem by finding modpost in another location and copying it to where the Makefile wanted it to be. Now, I have problem of unresolved symbols in fglrx_drv.o. Perhaps one is related to the other.
 
Old 07-11-2004, 06:50 AM   #3
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Any kernel upgrade, on any distribution, requires a reinstall of the fglrx driver, because it is compiled against the kernel source of the currently-running kernel (and this has changed when you upgraded your kernel).

You upgraded the kernel; did you also upgrade the source package linked in /usr/src/linux to the source for the new kernel? Get the source for the new kernel and reinstall the drivers, or get the driver modules for the new kernel from YOU, if available.

Hope this helps.
 
Old 07-11-2004, 10:42 AM   #4
jasonM
LQ Newbie
 
Registered: Apr 2004
Posts: 24

Original Poster
Rep: Reputation: 15
Hi,
Yes, I'm aware that I would need to recompile the driver against the source for the new kernel. That is what I am trying to do. Close inspection of my first post and the error messages I got shows this. For some reason either depmod or modpost isn't working properly, as symbols required by fglrx_drv.o aren't being found by the kernel (I guess).


Jason
 
Old 07-11-2004, 06:40 PM   #5
jasonM
LQ Newbie
 
Registered: Apr 2004
Posts: 24

Original Poster
Rep: Reputation: 15
It appears SuSE posted new code (or at least a new build process) for the new kernel. I downloaded that, and following the new installation instructions to the letter, I got everything to work. Problem solved.
 
Old 07-14-2004, 07:03 PM   #6
wilke
LQ Newbie
 
Registered: Jul 2004
Distribution: Suse
Posts: 1

Rep: Reputation: 0
Dear jasonM,

could you give the link where SuSE has posted the new code?
 
Old 07-14-2004, 07:34 PM   #7
jasonM
LQ Newbie
 
Registered: Apr 2004
Posts: 24

Original Poster
Rep: Reputation: 15
ftp://ftp.suse.com/pub/suse/i386/sup.../suse91/fglrx/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
FGLRX driver works initially in SuSe 10.0, then stops Elomis Linux - Software 4 10-30-2005 05:42 PM
ATI fglrx driver & SUSE 10.0 RC1 riba43 Suse/Novell 2 09-15-2005 11:23 PM
ati fglrx driver fedora core 2 with recompiled kernel smthmlk Linux - Hardware 42 08-30-2004 10:19 AM
Kernel compile breaks both nvidia driver module and dirver installation darkleaf Linux - Software 9 08-19-2004 04:24 PM
ftp upgrade from SuSE 7.1 personal to SuSE 7.2 SlCKB0Y Linux - General 5 11-04-2001 09:44 PM


All times are GMT -5. The time now is 06:10 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration