Fedora Linux Support Community & Resources Center
  #1  
Old 25th February 2004, 12:23 AM
gertdesmet Offline
Registered User
 
Join Date: Feb 2004
Location: Switzerland
Age: 38
Posts: 210
3D Prophet 3500 64 MB Driver install

Hi,

Its the first time i install a driver on a linux box and i could use some help.
I have a 3D Prophet 3500 64 MB video card which is not detected, i downloaded the driver for RedHat 9.0
but when i try to install it, it says kernel version is not correct.

I did :

rpm -Uvh powervr-2.01.21-7.rh90.i386.rpm
error: Failed dependencies:
kernel = 2.4.20-8 is needed by powervr-2.01.21-7

What Kernel version Fedora uses ?

Am i going to be able to install my video card ?

Thanks in advance for any support
Reply With Quote
  #2  
Old 25th February 2004, 04:14 AM
Bana Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Austin, Texas
Age: 27
Posts: 581
Are those the most recent drivers? Fedora C1 uses 2.4.22 kernel, so try to get newer drivers first. If not that then you could try (ugly doing a rpm -Uvh --nodeps power*

GL
__________________
http://coolhands.blogspot.com/
binarybana AT gmail.com
Reply With Quote
  #3  
Old 25th February 2004, 10:35 AM
gertdesmet Offline
Registered User
 
Join Date: Feb 2004
Location: Switzerland
Age: 38
Posts: 210
Hi Bana and thanks for your reply,

I think i have downloaded the latest driver. I went on http://www.powervr.com/Downloads/Drivers/Index.asp as instructed on the Hercules Site.
It says :
**
Linux
Download the source as a RPM or TGZ file to build the drivers for your Linux distribution, by following the instructions in the README file. However, if you have trouble, we have made available some specific installers for specific distributions.

Linux kernel 2.6 introduced major structural changes to the way driver modules are built and loaded. As a result, existing KYRO drivers are not compatible with any Linux kernel whose version is 2.6 or above. To keep using KYRO drivers, users are requested to use the latest available 2.4 Linux kernel version. We have currently no plans of providing drivers supporting updated kernels.
**
So if i understand correctly, the kernel version used in Fedora should be fine for those drivers ?

If not i will try with --nodeps. But what does it do ?

THanks for the kind help.
__________________
Savage 2 - HON - Regnum Online - Linux-Gamers - PlayOnLinux - Wine - Loki

free bits for all
Reply With Quote
  #4  
Old 25th February 2004, 10:34 PM
gertdesmet Offline
Registered User
 
Join Date: Feb 2004
Location: Switzerland
Age: 38
Posts: 210
Hello,

I tried with --nodeps but it fails in the process saying to read the readme file to continue the installation. I coulndt find any info about that in the file

Am i using the correct driver ? I am really confused about this kernel version.

Any other tips ?

Thanks in advance
__________________
Savage 2 - HON - Regnum Online - Linux-Gamers - PlayOnLinux - Wine - Loki

free bits for all
Reply With Quote
  #5  
Old 26th February 2004, 03:35 AM
Bana Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Austin, Texas
Age: 27
Posts: 581
Hmm, that is odd, Perhaps it is the fact that it may be looking for the kernel of RH9 and be confused with Fedora or something.

Hmm... it seems here that you might want to try installing with the tar.gz file first as it says in the important install information:
Quote:
If you are attempting to install on a RedHat 9.0 Linux system with a modified kernel you can install the powervr-2.01.21-7.tgz package by following the installation instructions under the "Non-rpm based system" heading in the Readme.
So I would try installing it that way (usually it is simply a tar xzf <package>, cd <package>, ./configure, ./make, ./make-install.

Try that and see what it gives you (don't follow my instructions , make sure and read the README or INSTALL that comes with the drivers)

Best of Luck!
__________________
http://coolhands.blogspot.com/
binarybana AT gmail.com
Reply With Quote
  #6  
Old 26th February 2004, 12:27 PM
mhelios Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Queensland, AU
Posts: 738
gertdesmet,
You are using the wrong version. You should always use RPMs built for your platform (Fedora) or generic, non ditro specific ones.

The powervr-2.01.21-7.src.rpm package is the one you want in the source RPM link.
Then you need to rebuild it. Download it to /usr/src/redhat/SRPMS. Then, cd into the directory and issue as root:
Code:
rpmbuild --rebuild powervr-2.01.21-7.src.rpm
Now the .rpm will be built and located in /usr/src/redhat/RPMS/i386/. cd into that directory and you can now install it as root:
Code:
rpm -ivh powervr-2.01.21-7.rpm
NOTE: The reason you had to do this was because there was only a .src.rpm package made available. If they had provided a generic or Fedora .rpm then only the last step would have been needed.
__________________
mhelios@fedoraforum.org
Registered Linux User # 348963
GnuPG KeyID: 0xCE9F8922
Reply With Quote
  #7  
Old 26th February 2004, 12:38 PM
gertdesmet Offline
Registered User
 
Join Date: Feb 2004
Location: Switzerland
Age: 38
Posts: 210
Thanks a lot mhelios !

Now it gets much clearer to me

I wasnt sure about the version to use at all. I never tried the rebuild option yet so maybe thats why i got errors. I will try and let you know.
__________________
Savage 2 - HON - Regnum Online - Linux-Gamers - PlayOnLinux - Wine - Loki

free bits for all
Reply With Quote
  #8  
Old 26th February 2004, 07:25 PM
gertdesmet Offline
Registered User
 
Join Date: Feb 2004
Location: Switzerland
Age: 38
Posts: 210
Hello,

I tried but i got this :

rpmbuild --rebuild powervr-2.01.21-7.src.rpm Installing powervr-2.01.21-7.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.24821
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf powervr-2.01.21-7
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/powervr-2.01.21-7.tgz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd powervr-2.01.21-7
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.24821
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd powervr-2.01.21-7
+ LANG=C
+ export LANG
+ unset DISPLAY
+ make
grep: /usr/src/linux/include/linux/mm.h: No such file or directory
Makefile:26: *** kernel source not found in $KERNELROOT, /usr/src/linux-2.4.22-1 .2115.nptl, or /usr/src/linux. Stop.
error: Bad exit status from /var/tmp/rpm-tmp.24821 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.24821 (%build)


Any idea ?
__________________
Savage 2 - HON - Regnum Online - Linux-Gamers - PlayOnLinux - Wine - Loki

free bits for all
Reply With Quote
  #9  
Old 27th February 2004, 03:36 AM
mhelios Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Queensland, AU
Posts: 738
gertdesmet,

This means you don't have the kernel-source package installed. Something I forgot to mention above.
To rebuild pacvkages you need this package. Make sure you get the version matching your kernel. rpm -q kernel will give you your version. Then use up2date to get the package.
__________________
mhelios@fedoraforum.org
Registered Linux User # 348963
GnuPG KeyID: 0xCE9F8922
Reply With Quote
  #10  
Old 27th February 2004, 06:56 AM
Bana Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Austin, Texas
Age: 27
Posts: 581
Or you can use yum and type in yum install kernel-source

That should do it.
__________________
http://coolhands.blogspot.com/
binarybana AT gmail.com
Reply With Quote
  #11  
Old 27th February 2004, 07:50 AM
gertdesmet Offline
Registered User
 
Join Date: Feb 2004
Location: Switzerland
Age: 38
Posts: 210
Thanks a lot guys !

I will work on it this week-end.

Will post the results here

Have a nice week-end.
__________________
Savage 2 - HON - Regnum Online - Linux-Gamers - PlayOnLinux - Wine - Loki

free bits for all
Reply With Quote
  #12  
Old 27th February 2004, 07:05 PM
gertdesmet Offline
Registered User
 
Join Date: Feb 2004
Location: Switzerland
Age: 38
Posts: 210
I used yum and got the package. But i dont know how to install the package. It downloaded a lots of packages and i dont know where they are saved.

I tried the command again but i get same error, it seems like i didnt install the package.

grep: /usr/src/linux/include/linux/mm.h: No such file or directory
Makefile:26: *** kernel source not found in $KERNELROOT, /usr/src/linux-2.4.22-1.2174.nptl, or /usr/src/linux. Stop.
error: Bad exit status from /var/tmp/rpm-tmp.99963 (%build)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.99963 (%build)

And when i look at kernel version it give me two versions :

# rpm -q kernel
kernel-2.4.22-1.2115.nptl
kernel-2.4.22-1.2174.nptl

Did i forget anything ?
__________________
Savage 2 - HON - Regnum Online - Linux-Gamers - PlayOnLinux - Wine - Loki

free bits for all
Reply With Quote
  #13  
Old 28th February 2004, 06:59 AM
mhelios Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Queensland, AU
Posts: 738
You will want the kernel-source-2.4.22-1.2174.nptl package.
The program was downloading the latest .hdr (headers) for it's latest package versions. They're stored in /var/cache/yum/<repo>/ where <repo> could be freshrpms, dag, driers etc.
The yum command you want to install the kernel source is:
Code:
#yum install kernel-source
Yum will choose the correct version for you kernel, but you can verify this before inputing "yes" when prompted to confirm.

Then issue a `rpm -qa | grep kernel` to see that the kernel-source package was insalled. You should see something like:
Code:
kernel-pcmcia-cs-3.1.31-16
kernel-utils-2.4-9.1.101.fedora
kernel-ntfs-2.4.22-1.2174.nptl
kernel-module-alsa-1.0.2c-1.fr_2.4.22_1.2174.nptl
kernel-source-2.4.22-1.2174.nptl
kernel-2.4.22-1.2174.nptl
__________________
mhelios@fedoraforum.org
Registered Linux User # 348963
GnuPG KeyID: 0xCE9F8922
Reply With Quote
  #14  
Old 28th February 2004, 03:02 PM
gertdesmet Offline
Registered User
 
Join Date: Feb 2004
Location: Switzerland
Age: 38
Posts: 210
Hi,

I tried yum install kernel source and thinkit went fine :

kernel-source-2.4.22-1.21 100% |=========================| 40 MB 10:20
Running test transaction:
Test transaction complete, Success!
gcc32 100 % done 1/2
kernel-source 100 % done 2/2
Installed: kernel-source 2.4.22-1.2174.nptl.i386
Dep Installed: gcc32 3.2.3-6.i386
Transaction(s) Complete
[root@gert]# rpm -qa l grep kernel
grep-2.5.1-17.4
kernel-2.4.22-1.2174.nptl
kernel-2.4.22-1.2115.nptl

Then i tried to rebuild but got this error :

rpmbuild --rebuild powervr-2.01.21-7.src.rpm Installing powervr-2.01.21-7.src.rpm
Installing powervr-2.01.21-7.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.47624
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf powervr-2.01.21-7
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/powervr-2.01.21-7.tgz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd powervr-2.01.21-7
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.43906
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd powervr-2.01.21-7
+ LANG=C
+ export LANG
+ unset DISPLAY
+ make
cc -O2 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.22-1.2174.nptl/include/linux/modversions.h -D__KERNEL__ -I/usr/src/linux-2.4.22-1.2174.nptl/include -DLINUX -DGCC_IA32 -DSUPPORT_AGP -Idrm -DHAVE_VMA=0 -c -o hostfunc.o hostfunc.c
cc -O2 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.22-1.2174.nptl/include/linux/modversions.h -D__KERNEL__ -I/usr/src/linux-2.4.22-1.2174.nptl/include -DLINUX -DGCC_IA32 -DSUPPORT_AGP -Idrm -DHAVE_VMA=0 -c -o kernmem.o kernmem.c
cc -O2 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.22-1.2174.nptl/include/linux/modversions.h -D__KERNEL__ -I/usr/src/linux-2.4.22-1.2174.nptl/include -DLINUX -DGCC_IA32 -DSUPPORT_AGP -Idrm -DHAVE_VMA=0 -c -o mmap.o mmap.c
cc -O2 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.22-1.2174.nptl/include/linux/modversions.h -D__KERNEL__ -I/usr/src/linux-2.4.22-1.2174.nptl/include -DLINUX -DGCC_IA32 -DSUPPORT_AGP -Idrm -DHAVE_VMA=0 -c -o module.o module.c
cc -O2 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.22-1.2174.nptl/include/linux/modversions.h -D__KERNEL__ -I/usr/src/linux-2.4.22-1.2174.nptl/include -DLINUX -DGCC_IA32 -DSUPPORT_AGP -Idrm -DHAVE_VMA=0 -c -o module_drm.o module_drm.c
cc -O2 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.22-1.2174.nptl/include/linux/modversions.h -D__KERNEL__ -I/usr/src/linux-2.4.22-1.2174.nptl/include -DLINUX -DGCC_IA32 -DSUPPORT_AGP -Idrm -DHAVE_VMA=0 -c -o virtmem.o virtmem.c
ld -r hostfunc.o kernmem.o mmap.o module.o module_drm.o virtmem.o libPOWERVR.a -o powervr.o
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.92785
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd powervr-2.01.21-7
+ LANG=C
+ export LANG
+ unset DISPLAY
+ '[' -z '' ']'
++ uname -r
+ export TARGET_KERNEL=2.4.22-1.2174.nptl
+ TARGET_KERNEL=2.4.22-1.2174.nptl
+ DRMINSTALLPATH=/lib/modules/2.4.22-1.2174.nptl/kernel/drivers/char/drm
+ mkdir -p /var/tmp/powervr-buildroot//lib/modules/2.4.22-1.2174.nptl/kernel/drivers/char/drm
+ install -m 0444 powervr.o /var/tmp/powervr-buildroot//lib/modules/2.4.22-1.2174.nptl/kernel/drivers/char/drm
+ echo '%attr(444 root root) ' /lib/modules/2.4.22-1.2174.nptl/kernel/drivers/char/drm/powervr.o
+ mkdir -p /var/tmp/powervr-buildroot/usr/lib
+ install libPVR2D.so /var/tmp/powervr-buildroot/usr/lib
+ install libPVR2OS.so /var/tmp/powervr-buildroot/usr/lib
+ install libPVRMMAP.so /var/tmp/powervr-buildroot/usr/lib
+ install libSGL2.so /var/tmp/powervr-buildroot/usr/lib
+ install libSGLMID7B.so /var/tmp/powervr-buildroot/usr/lib
+ mkdir -p /var/tmp/powervr-buildroot/usr/X11R6/lib/modules/drivers
+ mkdir -p /var/tmp/powervr-buildroot/usr/X11R6/lib/modules/dri
+ install powervr_drv.o /var/tmp/powervr-buildroot/usr/X11R6/lib/modules/drivers
+ install powervr_dri.so /var/tmp/powervr-buildroot/usr/X11R6/lib/modules/dri
+ ln -fs ../../../../lib/libPVR2D.so /var/tmp/powervr-buildroot/usr/X11R6/lib/modules/drivers
+ mkdir -p /var/tmp/powervr-buildroot/etc/X11
+ install -m 0444 XF86KyroSampleConfig /var/tmp/powervr-buildroot/etc/X11
+ mkdir -p /var/tmp/powervr-buildroot/etc
+ install -m 0644 powervr_kyro.ini /var/tmp/powervr-buildroot/etc
+ DOCPATH=/var/tmp/powervr-buildroot/usr/share/doc/powervr-2.01.21
+ mkdir -p /var/tmp/powervr-buildroot/usr/share/doc/powervr-2.01.21
+ install -m 0444 LICENSE.TXT /var/tmp/powervr-buildroot/usr/share/doc/powervr-2.01.21
+ install -m 0444 README /var/tmp/powervr-buildroot/usr/share/doc/powervr-2.01.21
+ /usr/lib/rpm/brp-compress
Processing files: powervr-2.01.21-7
Processing files: powervr-debuginfo-2.01.21-7
error: Could not open %files file /usr/src/redhat/BUILD/${RPM_PACKAGE_NAME}-${RPM_PACKAGE_VERSION}-${RPM_PACKAGE_RELEASE}/debugfiles.list: No such file or directory


RPM build errors:
Could not open %files file /usr/src/redhat/BUILD/${RPM_PACKAGE_NAME}-${RPM_PACKAGE_VERSION}-${RPM_PACKAGE_RELEASE}/debugfiles.list: No such file or directory

Thanks again for your replies, its much appreciated


__________________
Savage 2 - HON - Regnum Online - Linux-Gamers - PlayOnLinux - Wine - Loki

free bits for all
Reply With Quote
  #15  
Old 28th February 2004, 04:54 PM
mhelios Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Queensland, AU
Posts: 738
Ok, a new approach. Let's create a "user" build directory and then rebuild the package from there.
Type this as non-root user to set it up (thanks to Thomas Chung):
Code:
cd ~
cp -a /usr/src/redhat/ rpmbuild
echo '%_topdir %(echo $HOME)/rpmbuild' >> .rpmmacros
echo '%debug_package %{nil}' >> .rpmmacros
Then mv the package from /usr/src/redhat/SRPMS to ~/rpmbuild/SRPMS

Then try again...:o

NOTE: I just tested this and it built perfectly.
When things are done, cd to ~/rpmbuild/RPMS/i386 and from there you can (finally) install it with rpm -ivh <package>

HTH
__________________
mhelios@fedoraforum.org
Registered Linux User # 348963
GnuPG KeyID: 0xCE9F8922
Reply With Quote
Reply

Tags
3500, driver, install, prophet

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
AMD Athlon 64 bit 3500+ Processor WindDancer627 Hardware & Laptops 4 2nd June 2007 09:02 PM
hercules 3D prophet 4500 driver TranceDude Hardware & Laptops 0 10th September 2005 11:03 AM
Hercules 3D Prophet 4000XT snorkey Hardware & Laptops 2 28th July 2005 08:06 PM
problem driver hercules 3d prophet 4500 Stagger Lee Hardware & Laptops 0 24th January 2004 07:08 PM


Current GMT-time: 17:57 (Saturday, 22-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Osnabrueck Photos on Instagram - Fryazino Travel Photos on Instagram - San Miniato Basso Travel Photos on Instagram