Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #191207 > unrolled thread

Making a driver for the Matrox P650 card.

Started bypeter@easthope.ca
First post2018-01-16 22:00 +0100
Last post2018-01-18 00:00 +0100
Articles 4 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  Making a driver for the Matrox P650 card. peter@easthope.ca - 2018-01-16 22:00 +0100
    Re: Making a driver for the Matrox P650 card. Dan Ritter <dsr@randomstring.org> - 2018-01-16 22:20 +0100
      Re: Making a driver for the Matrox P650 card. peter@easthope.ca - 2018-01-17 00:30 +0100
      Re: Making a driver for the Matrox P650 card. peter@easthope.ca - 2018-01-18 00:00 +0100

#191207 — Making a driver for the Matrox P650 card.

Frompeter@easthope.ca
Date2018-01-16 22:00 +0100
SubjectMaking a driver for the Matrox P650 card.
Message-ID<v8GuR-5xs-5@gated-at.bofh.it>
An attempt to make the driver fails with the following log.
Is a solution feasible?  Debian has evolved too far for the P650?

Thanks,              ... Peter E.
=========================
Using kernel headers in /lib/modules/4.9.0-5-686-pae/build/include for kernel version 4.9.x
making all in /parhelia...
make[1]: Entering directory '/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia'
making all in /mtxvxd...
make[1]: Entering directory '/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/mtxvxd'
gcc   -DMEMORY_STATS=0  -DOS_LINUX -D__KERNEL__  -O2 -fomit-frame-pointer -finline-functions  -DMODULE -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include/mtxvxd -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia/Main -I/lib/modules/4.9.0-5-686-pae/build/include -I/lib/modules/4.9.0-5-686-pae/build/include/asm/mach-default  -D__NO_VERSION__ -c MtxCpu.c -o MtxCpu.o
gcc   -DMEMORY_STATS=0  -DOS_LINUX -D__KERNEL__  -O2 -fomit-frame-pointer -finline-functions  -DMODULE -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include/mtxvxd -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia/Main -I/lib/modules/4.9.0-5-686-pae/build/include -I/lib/modules/4.9.0-5-686-pae/build/include/asm/mach-default  -D__NO_VERSION__ -c MtxCs.c -o MtxCs.o
gcc   -DMEMORY_STATS=0  -DOS_LINUX -D__KERNEL__  -O2 -fomit-frame-pointer -finline-functions  -DMODULE -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include/mtxvxd -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia/Main -I/lib/modules/4.9.0-5-686-pae/build/include -I/lib/modules/4.9.0-5-686-pae/build/include/asm/mach-default  -D__NO_VERSION__ -c MtxIo.c -o MtxIo.o
gcc   -DMEMORY_STATS=0  -DOS_LINUX -D__KERNEL__  -O2 -fomit-frame-pointer -finline-functions  -DMODULE -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include/mtxvxd -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia/Main -I/lib/modules/4.9.0-5-686-pae/build/include -I/lib/modules/4.9.0-5-686-pae/build/include/asm/mach-default  -D__NO_VERSION__ -c MtxMem.c -o MtxMem.o
MtxMem.c: In function âĘmemFileAllocâÄ™:
MtxMem.c:79:55: warning: passing argument 2 of âĘClientMemAllocâÄ™ makes integer from pointer without a cast [-Wint-conversion]
     pvChunk = ClientMemAlloc(dwSize + sizeof(UINT32), NULL);
                                                       ^~~~
In file included from precomp.h:33:0,
                 from MtxMem.c:19:
/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/mtx_client.h:41:30: note: expected âĘHREGION {aka long unsigned int}âÄ™ but argument is of type âĘvoid *âÄ™
 EXTERN_C STACK_LINKAGE void* ClientMemAlloc(size_t size, HREGION region);
                              ^~~~~~~~~~~~~~
gcc   -DMEMORY_STATS=0  -DOS_LINUX -D__KERNEL__  -O2 -fomit-frame-pointer -finline-functions  -DMODULE -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include/mtxvxd -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia/Main -I/lib/modules/4.9.0-5-686-pae/build/include -I/lib/modules/4.9.0-5-686-pae/build/include/asm/mach-default  -D__NO_VERSION__ -c MtxPci.c -o MtxPci.o
gcc   -DMEMORY_STATS=0  -DOS_LINUX -D__KERNEL__  -O2 -fomit-frame-pointer -finline-functions  -DMODULE -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include/mtxvxd -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia/Main -I/lib/modules/4.9.0-5-686-pae/build/include -I/lib/modules/4.9.0-5-686-pae/build/include/asm/mach-default  -D__NO_VERSION__ -c MtxMap.c -o MtxMap.o
gcc   -DMEMORY_STATS=0  -DOS_LINUX -D__KERNEL__  -O2 -fomit-frame-pointer -finline-functions  -DMODULE -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/../include/mtxvxd -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia -I/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/parhelia/Main -I/lib/modules/4.9.0-5-686-pae/build/include -I/lib/modules/4.9.0-5-686-pae/build/include/asm/mach-default  -D__NO_VERSION__ -c MtxDbg.c -o MtxDbg.o
ld -r MtxCpu.o MtxCs.o MtxIo.o MtxMem.o MtxPci.o MtxMap.o MtxDbg.o -o mtxvxd.o
make[1]: Leaving directory '/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/mtxvxd'
make -C /lib/modules/4.9.0-5-686-pae/build M=/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src modules
make[1]: *** /lib/modules/4.9.0-5-686-pae/build: No such file or directory.  Stop.
/home/guest/y/matroxdriver-x86_32-1.4.6/kernel/src/Makefile_2.6:37: recipe for target 'default' failed
make: *** [default] Error 2
=========================

-- 

123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel: +1 360 639 0202                      Pender Is.: +1 250 629 3757
http://easthope.ca/Peter.html              Bcc: peter at easthope. ca

[toc] | [next] | [standalone]


#191210

FromDan Ritter <dsr@randomstring.org>
Date2018-01-16 22:20 +0100
Message-ID<v8GOd-5Tt-1@gated-at.bofh.it>
In reply to#191207
On Tue, Jan 16, 2018 at 12:15:52PM -0800, peter@easthope.ca wrote:
> An attempt to make the driver fails with the following log.
> Is a solution feasible?  Debian has evolved too far for the P650?
> 

I'm assuming you're trying to compile a driver from
http://www.matrox.com/graphics/en/support/drivers/download/certified/

because Debian only has support up through the 550 series.

Have you tried asking Matrox? They might have someone who 
can tell you definitively.

-dsr-

[toc] | [prev] | [next] | [standalone]


#191217

Frompeter@easthope.ca
Date2018-01-17 00:30 +0100
Message-ID<v8IQ2-776-15@gated-at.bofh.it>
In reply to#191210
*	From: Dan Ritter dsr@randomstring.org
*	Date: Tue, 16 Jan 2018 16:11:29 -0500
> I'm assuming you're trying to compile a driver from
> http://www.matrox.com/graphics/en/support/drivers/download/certified/

Yes, from that Web site, but the page notifies 
"There is no software available for download. 
Can't find what you're looing for?  Simply contact us."

To get an installer, I registered, logged in, traced through a 
hierarchy of menues to identify the requirement and ultimately got 
these files. 
mtxdriver-installer-x86_32-cvs-1.4.7.run
mtxdriver-installer-x86_32-cvs-1.4.6.run

Each of them contains an elaborate shell script followed by a binary 
archive.  "sh <...>.run" extracts the archive and proceeds to attempt 
making the driver.  The log in my previous message is from 1.4.6 
whereas 1.4.7 fails earlier in the script.

> Have you tried asking Matrox? They might have someone who 
> can tell you definitively.

Just submitted a request.  Will report later.

Thanks,                     ... Peter E.

-- 

123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel: +1 360 639 0202                      Pender Is.: +1 250 629 3757
http://easthope.ca/Peter.html              Bcc: peter at easthope. ca

[toc] | [prev] | [next] | [standalone]


#191248

Frompeter@easthope.ca
Date2018-01-18 00:00 +0100
Message-ID<v94Qy-5iv-5@gated-at.bofh.it>
In reply to#191210
*	From: Dan Ritter dsr@randomstring.org
*	Date: Tue, 16 Jan 2018 16:11:29 -0500
> Have you tried asking Matrox? They might have someone who 
> can tell you definitively.

Submitted this to their Web based input yesterday.
  One of your P650 dual output PCI cards is here and I wonder whether it 
  can work in Debian 9.  The 1.4.6 and 1.4.7 installer each fails with 
  an error message.   Any chance of either case being resolved?

  The log is rather long in each case.  I won't try to impose it here.
  
The reply is essentially a duplication of the information from  
their Web site.  
"For the P650, those are the supported distributions:
    - Red Hat Enterprise Linux 4 WS (updates 7 and 8)
    - Red Hat Enterprise Linux 5 WS (updates 2 and 3)
    - SuSE Linux Enterprise Server 10 (sp2)
    - SuSE Linux Enterprise Desktop 11
    - Fedora 10
    - OpenSuse 10.3 and 11.1
    - Ubuntu 8.04 and 8.10"
    
 And "... try using one of those distributions."  I won't be 
installing Ubuntu 8  to make an old video card work but still wonder 
how far a driver which  makes in Ubuntu 8 is from making in Debian 9.  
If anyone has a tip to  resolve the failure reported in my preceeding 
message, please let me know.
 
Thanks,                                  ... Peter E.
 

-- 

123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel: +1 360 639 0202                      Pender Is.: +1 250 629 3757
http://easthope.ca/Peter.html              Bcc: peter at easthope. ca

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web