LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-09-2012, 10:38 AM   #1
orcaja
Member
 
Registered: Aug 2008
Posts: 92

Rep: Reputation: 1
err msg: System Error! gcc DAQ


Hi everyone!

I managed to Install an Advantech pci1780 card in a PC with debian 6. I compiled the very first program using gcc without problems, but by the time I execute it, I have the following output:

err msg: System Error!

Any idea where to look for the error?
Thanks in advance.

Last edited by orcaja; 02-09-2012 at 11:08 AM. Reason: mispelling
 
Old 02-09-2012, 12:32 PM   #2
orcaja
Member
 
Registered: Aug 2008
Posts: 92

Original Poster
Rep: Reputation: 1
Unhappy

I installed gdb, and It seems that the program crashes at the very first instruction. This instruction is a function that is supposed to be in the DAQ library /usr/local/include/Advantech/advdaq.h

I don't know what to do now... Isn't the driver properly compiled?

Program exited with code 0377.
Gdb gives the next lines:

DRV_DeviceOpen (filename=0x80486e7 "/dev/advdaq254", handle=0xbffff67c) at api_devfun.c:169
169 api_devfun.c: No such file or directory.

Last edited by orcaja; 02-09-2012 at 02:11 PM.
 
Old 02-10-2012, 01:23 PM   #3
orcaja
Member
 
Registered: Aug 2008
Posts: 92

Original Poster
Rep: Reputation: 1
Unhappy useless compiled module?

I recompile the drivers again today. I ran one of the examples and I got this:


Message from syslogd@maize at Feb 10 15:37:39 ...
kernel:[ 778.726876] Oops: 0000 [#1] SMP

Message from syslogd@maize at Feb 10 15:37:39 ...
kernel:[ 778.726881] last sysfs file: /sys/devices/pci0000:00/0000:00:1e.0/0000:05:0a.0/class

Message from syslogd@maize at Feb 10 15:37:39 ...
kernel:[ 778.726999] Process gdb (pid: 1686, ti=dd944000 task=d7544cc0 task.ti=dd944000)

Message from syslogd@maize at Feb 10 15:37:39 ...
kernel:[ 778.727002] Stack:

Message from syslogd@maize at Feb 10 15:37:39 ...
kernel:[ 778.727032] Call Trace:
flowsensor@maize:~/daq/advdaq-1.10.0001/examples/console/freq_in/general$
Message from syslogd@maize at Feb 10 15:37:39 ...
kernel:[ 778.727106] Code: 0f 84 b1 00 00 00 39 6b 20 74 0c 81 ff 0e 63 00 00 0f 84 a0 00 00 00 39 6b 24 74 0c 81 ff 0b 63 00 00 0f 84 8f 00 00 00 8b 14 24 <8b> 42 04 8b 40 10 8b 70 08 85 f6 74 14 8b 8c 24 e4 00 00 00 89

Message from syslogd@maize at Feb 10 15:37:39 ...
kernel:[ 778.727155] EIP: [<e013f4c8>] advdrv_ioctl+0x866/0x919 [advdrv_core] SS:ESP 0068:dd945e48

Message from syslogd@maize at Feb 10 15:37:39 ...
kernel:[ 778.727163] CR2: 0000000018948d04


does it mean that I did something wrong compiling the drivers?

thanks in advance.
 
Old 02-13-2012, 06:18 AM   #4
orcaja
Member
 
Registered: Aug 2008
Posts: 92

Original Poster
Rep: Reputation: 1
solved

I got it solved once I bind the card to a device file.

Thanks
 
  


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
Broken Dual boot - xp/ub, err msg-> grub rescue jazzisjazz Linux - Newbie 16 05-27-2011 04:36 PM
[SOLVED] Boot-Up err Msg. after kitten tap danced on keyboard drmjh Linux - General 14 03-19-2011 10:42 PM
daq-0.4 error while untaring. WHY ???? anvin Linux - Newbie 1 01-11-2011 03:43 AM
Dual system boot err: rootnoverify(hd1,0),but the hd0 err msg existed befor shut down lilipeng24 Linux - General 3 06-25-2005 12:10 PM
ERR MSG: orinoco_cs device eth1 does not seem to be present, delaying initialization. gt6350a Linux - Hardware 1 11-08-2003 03:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:25 PM.

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