Re: 3dfx.o -- SOLVED!!!

2000-10-29 Thread David Bellows
Hello Peter and anyone else having problems

Peter Jay Salzman wrote:
> 
> dave,
> 
> this isn't the reply you wanted, but fwiw, i can't get the 3dfx driver to
> work for the life of me.  i've been at it for a couple of days now.  i
> emailed the packager, steve hasam(sp?) twice, and he hasn't replied at all.
> not even a "RTFM".  (i'll leave my opinion of his maintainer's status unsaid).
> 
> i've read a number of people in the same predicament on this list.  i'd say
> 4 or 5 people by now, in the past 2 weeks.  one person emailed me and said
> his driver worked.  i emailed him back and got no reply.
> 
> i also tried using rpm2cpio on the rpms offered on 3dfx's website.  they
> compiled and didn't work either, but i should try that again.
> 
> if someone here has their voodoo 3 working, a bunch of people would really
> like to hear from you!
> 

OK, here's what I did.  

1)I apt-get removed my existing device3dfx-source and also removed
/usr/src/modules/ which is where the source was.

2) apt-get install device3dfx-source.

3) cd /usr/src/

4) tar zxfv device3dfx-source

5) cd modules  # This dir is created by the above command

6) cd modules/device3dfx

7) ./debian/buildpkg  # This as per the docs in
/usr/share/doc/device3dfx-source/README.Debian

8)  This time it compiled.  Before when I ran this command it wouldn't
compile, apparently I needed to clean up some stuff but I didn't know
how.  Re-installing the whole package provided me with a clean script.

9)  The module will be located in /usr/src/modules/device3dfx as 3dfx.o

10) cp 3dfx.o /lib/modules/2.2.17/misc/  # obviously sub 2.2.17 for
wherever your modules are.

11)  According to /usr/src/modules/device3dfx/debian/README.debian do
the following
  A) mknod /dev/3dfx c 107 0  
  B) make the group "audio" have rw permissions for /dev/3dfx
  C) make sure whatever user you want to use belongs to the group
"audio"

12)  insmod 3dfx

13) Start fragging  # hopefully, this worked for me.

Hope this helps,
David Bellows



Re: 3dfx.o -- SOLVED!!!

2000-10-30 Thread Juergen Fiedler
One question, if I may: Is the kernel that this module is working with 
installed from
the 2.2.17 kernel image deb or did you compile it from the kernel sources? It 
seemed
to me that the fact that I installed the sources, but tried to run the module 
with
the precompiled kernel might have caused the problem described by you (and
experienced by me).

Thanks,
Juergen

David Bellows wrote:

> [...]
> OK, here's what I did.
>
> 1)I apt-get removed my existing device3dfx-source and also removed
> /usr/src/modules/ which is where the source was.
>
> 2) apt-get install device3dfx-source.
>
> 3) cd /usr/src/
>
> 4) tar zxfv device3dfx-source
>
> 5) cd modules  # This dir is created by the above command
>
> 6) cd modules/device3dfx
>
> 7) ./debian/buildpkg  # This as per the docs in
> /usr/share/doc/device3dfx-source/README.Debian
>
> 8)  This time it compiled.  Before when I ran this command it wouldn't
> compile, apparently I needed to clean up some stuff but I didn't know
> how.  Re-installing the whole package provided me with a clean script.
>
> 9)  The module will be located in /usr/src/modules/device3dfx as 3dfx.o
>
> 10) cp 3dfx.o /lib/modules/2.2.17/misc/  # obviously sub 2.2.17 for
> wherever your modules are.
>
> 11)  According to /usr/src/modules/device3dfx/debian/README.debian do
> the following
>   A) mknod /dev/3dfx c 107 0
>   B) make the group "audio" have rw permissions for /dev/3dfx
>   C) make sure whatever user you want to use belongs to the group
> "audio"
>
> 12)  insmod 3dfx
>
> 13) Start fragging  # hopefully, this worked for me.
>
> Hope this helps,
> David Bellows
>
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null



Re: 3dfx.o -- SOLVED!!!

2000-10-30 Thread David Bellows
Hello,

Juergen Fiedler wrote:
> 
> One question, if I may: Is the kernel that this module is working with 
> installed from
> the 2.2.17 kernel image deb or did you compile it from the kernel sources? It 
> seemed
> to me that the fact that I installed the sources, but tried to run the module 
> with
> the precompiled kernel might have caused the problem described by you (and
> experienced by me).
> 

The kernel I am using is 2.2.17 from woody.  Potato comes with
2.2.17pre6.  I had to upgrade to the newer kernel in order to get the
newest debian ALSA to work with my SB Live!.  So anyway, yes you have to
get the kernel source (and probably headers) and compile the 3dfx-source
against that (I think you have to link /usr/src/linux to kernel-souce). 
Even going from 2.2.17pre6 to 2.2.17 breaks the 3dfx module.  In
addition, the kernel image I'm using is the precompiled one available
from woody, so installing that kernel deb, along with the sources deb
and possibly the headers deb using apt-get (a few other things might
need upgrading too) along with a fresh 3dfx-device-source worked for me
as I described in my last posting.

Good luck!
David Bellows