LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 12-16-2003, 02:13 PM   #1
Lok3
Member
 
Registered: Oct 2002
Location: Northern Sweden
Distribution: Slackware 9.1
Posts: 32

Rep: Reputation: 15
PowerVR Kyro2 drivers and kernel v. 2.4.23 ...


Hallo folks!
I've been using Slackware for a while and installed SW9.1 when it was released. It's been working perfectly (except wine since I've had win2k running on a NTFS partition...). This last weekend I messed up my computer and Win2k suddenly refuses to read my 40GB HDD *panic* but fortunately Linux does! *Happy happy!!*

Now I've reinstalled Win2k since I thought that would help about the HDD and I've now installed it on a FAT32 partition so I'll be able to use wine instead of running Win2k for some appz.

Since I'm now heading forward to use Linux again I started upgrading all packages that had been upgraded and I didn't think about reading about if my powervr driver for my gfx (Hercules 3D prophet 4500 64MB TV-out) would work with kernel version 2.4.23 or not, I just upgraded the kernel version from 2.4.22 which I had earlier...
Now I can't use X since the driver doesn't support kernel version 2.4.23... When I run "make install" in the dir where I've unpacked powervr-2.00.20-516.tgz it first compiles and then it comes to the modprobe section where I receive the following output:

[...]
/lib/modules/2.4.23/kernel/drivers/char/drm/powervr.o: kernel-module version mismatch
/lib/modules/2.4.23/kernel/drivers/char/drm/powervr.o was compiled for kernel version 2.4.22 while this kernel is version 2.4.23
/lib/modules/2.4.23/kernel/drivers/char/drm/powervr.o: insmod /lib/modules/2.4.23/kernel/drivers/char/drm/powervr.o failed
/lib/modules/2.4.23/kernel/drivers/char/drm/powervr.o: insmod powervr failed
make: *** [install] Error 255
root@storfot:~/powervr-2.00.20-516#

Link to the driver: http://www.powervr.com/Drivers/Linux....00.20-516.tgz

I thought it was some control in some of the files from the driver but after doing a few pretty fast checks I haven't been able to find any such control (I've found some kernel versions controls but none that should do this output) and I've also been checking some of the included files.
I think the control should be in one of the driver files but in which? Just thinking in case someone else has solved this problem earlier?

Another question, do you ppl think it stupid to just change this control (if it's possible ...) instead of waiting for PowerVR to release new drivers?

[edited some gramathics and corrected some facts]

Last edited by Lok3; 12-16-2003 at 02:34 PM.
 
Old 12-16-2003, 04:00 PM   #2
skog
Member
 
Registered: Sep 2003
Location: TX
Distribution: slackware
Posts: 301

Rep: Reputation: 30
you need to go into the powervr directory that you untarred to and

make clean
configure
make
make install

i use the powervr drivers and 2.4.23.
 
Old 12-16-2003, 05:11 PM   #3
Lok3
Member
 
Registered: Oct 2002
Location: Northern Sweden
Distribution: Slackware 9.1
Posts: 32

Original Poster
Rep: Reputation: 15
How should I do to make "configure" work?
If you're talking about "./configure" , where do I find the configure file that fits the PowerVR driver?

I thought it wouldn't work since there's no configure file but I did test though, unfortunately it didn't work...
If I try with "./configure" it says there's no file with that name and if I try with "configure" it says unknown command...

Thanks for helping me =)
 
Old 12-16-2003, 05:48 PM   #4
skog
Member
 
Registered: Sep 2003
Location: TX
Distribution: slackware
Posts: 301

Rep: Reputation: 30
are you in the powervr directory?

like download the powervr drivers to /home/$USER/src
then cd /home/$USER/src
then tar -xvzf powervr-2.00.20-516.tgz
then cd powervr-2.00.20-516
then run ./configure and make and make install

the "./" just means the current directory.

you already have the driver downloaded so dont worry about that but go into the directory you untared to and you could have put it anywhere /home/$USER/src is just an example.

Last edited by skog; 12-16-2003 at 05:49 PM.
 
Old 12-17-2003, 09:50 AM   #5
Lok3
Member
 
Registered: Oct 2002
Location: Northern Sweden
Distribution: Slackware 9.1
Posts: 32

Original Poster
Rep: Reputation: 15
Yeah, I'm in the dir where I extracted the files but there is no "configure" file. If it would have been, it wouldn't have been any problem for me, then I'd known how to handle it but as there is no "configure" file I'm having problems.

Where did you download your powervr drivers??
 
Old 12-17-2003, 02:03 PM   #6
skog
Member
 
Registered: Sep 2003
Location: TX
Distribution: slackware
Posts: 301

Rep: Reputation: 30
oh your right ... forgot about that it use to have one.

just do make and make install then but do make clean first.
 
Old 12-17-2003, 04:26 PM   #7
Lok3
Member
 
Registered: Oct 2002
Location: Northern Sweden
Distribution: Slackware 9.1
Posts: 32

Original Poster
Rep: Reputation: 15
Yeah, that's exactly what I've done...
Btw, make is automatically done by the "make install" script... :P

You got some older driver you're using? Or have you taken some older driver's configure file?
 
Old 12-17-2003, 06:52 PM   #8
skog
Member
 
Registered: Sep 2003
Location: TX
Distribution: slackware
Posts: 301

Rep: Reputation: 30
no im using the 2.4.23 from slack patches and the latest powervr 2.00.516 or something like that.

i had your problem too at first, maybe i recompiled the kernel to get new headers. i forget been awhile

you ran make clean before make right?
 
Old 12-18-2003, 01:22 AM   #9
Lok3
Member
 
Registered: Oct 2002
Location: Northern Sweden
Distribution: Slackware 9.1
Posts: 32

Original Poster
Rep: Reputation: 15
Yeah, I did test

make clean
make
make install

and

make clean
make install

(make is automatically done by "make install" so it shouldn't be any difference and doesn't seem to be either).

None of above works, I does still receive the alert about kernel-module mismatch ...

Hmm do you remember if you changed anything in the kernel source before you recompiled? And what if so?
I've also upgraded to kernel version 2.4.23 via the slackware upgrade packages.
 
Old 12-18-2003, 09:00 PM   #10
skog
Member
 
Registered: Sep 2003
Location: TX
Distribution: slackware
Posts: 301

Rep: Reputation: 30
when you installed the 2.4.23 kernel did you reboot to it?

if you do uname -r what kernel version does it say?

You need to be on the 2.4.23 before you run make.

Didnt change a thing to the kernel or powervr driver.
 
Old 12-19-2003, 04:51 AM   #11
Lok3
Member
 
Registered: Oct 2002
Location: Northern Sweden
Distribution: Slackware 9.1
Posts: 32

Original Poster
Rep: Reputation: 15
Yeah, of course I did that since it's a kernel update... =P

Hmm ok... That's seems weird, that it worked for you but of some reason not for me... Hmm.
 
Old 12-19-2003, 03:04 PM   #12
skog
Member
 
Registered: Sep 2003
Location: TX
Distribution: slackware
Posts: 301

Rep: Reputation: 30
Are you still getting the same error msg when you do make install?

do a uname -r before you do make and check you are on the right kernel

Last edited by skog; 12-19-2003 at 03:11 PM.
 
Old 12-20-2003, 07:52 AM   #13
Lok3
Member
 
Registered: Oct 2002
Location: Northern Sweden
Distribution: Slackware 9.1
Posts: 32

Original Poster
Rep: Reputation: 15
Yeah... I've done all that you've told me to check and it all is as it should be.

Do you remember if you recompiled the kernel or not? I don't know how to do it and I don't think I want to do that if it's not necessary. =)
 
Old 12-20-2003, 10:56 PM   #14
skog
Member
 
Registered: Sep 2003
Location: TX
Distribution: slackware
Posts: 301

Rep: Reputation: 30
im not sure then ... i had this problem till i rebooted on the new kernel. After that it worked fine.

yea i always recompile my kernels. It doesnt need anything special just agp and dont build dri Ive found agp works better with the kyro driver if you leave it as a module. You might try that the 1st post in the slack forum explains how to do that. Posted by "daone".
 
Old 12-22-2003, 07:52 AM   #15
Lok3
Member
 
Registered: Oct 2002
Location: Northern Sweden
Distribution: Slackware 9.1
Posts: 32

Original Poster
Rep: Reputation: 15
Hmm I'll try again in Januar when my new HDD has arrived as my HDD seem to have crashed... =(
I'm going on my christmas-new-years-vacation now and I probably won't be fixing very much with the computer in my vacation.

Many thanks anyway! I'll get back if I doesn't get it working later.
 
  


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
PowerVR Drivers HELP! acompw Linux - Hardware 5 02-16-2005 04:33 AM
Have you got PowerVR Drivers Working? acompw Linux - Hardware 0 09-03-2004 09:41 PM
mdk 9.2 kyro2 and 107t51 macubo Linux - Newbie 0 04-22-2004 03:43 PM
KYRO / PowerVr driver jonner Linux - Newbie 2 12-16-2003 01:15 PM
Powervr driver problem dharries Linux - Hardware 1 03-24-2003 10:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 02:55 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