Home/Support/Support Forum/dgap / AccelePort 8r 920, a suitable Linus installation?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

dgap / AccelePort 8r 920, a suitable Linus installation?

0 votes
Hello everyone,

An older computer is being prepared to host an AccelePort Xr 920. My plan is to use the latest driver from ftp://ftp1.digi.com/support/beta/linux/dgap/ and Ubuntu 10.04 operating system. The computer will probably end up headless ( no GUI ).

Compiling under Ubuntu gave some errors to be sorted out. I will be starting over with a clean install.

1) Would a different Linux distribution be better? CentOS ?

2) What are the pros and cons for using the server or workstation installation? It appears that I/O Scheduler and kernel preemption are different on Ubuntu. http://www.serverwatch.com/tutorials/article.php/3715071/Ubuntu-Server--Kernel-Configuration-Considerations.htm

R. Harkins
asked Oct 17, 2010 in Serial Cards by RobertHarkins New to the Community (7 points)

Please log in or register to answer this question.

11 Answers

0 votes
The latest driver candidate should work fine in Ubuntu. What error are you seeing?

You may want to have a look at the driver installation video for Ubuntue:

http://www.digi.com/learningcenter/video/player.jsp?videoid=realport-installation-ubuntu

I cannot comment on the pros/cons of server vs. workstation as I see no effect either way on the serial driver.
answered Oct 18, 2010 by userid0 Veteran of the Digi Community (2,158 points)
0 votes
Thanks for the video link.

Being the hired help, I work as directed. The computer is back on the shelf for now. With the computer unplugged, the log files cannot be looked at.

If I recall correctly, a definition seamed to be missing. More specific information will be posted if the problem persists or if others could benefit.

Thank you,
R. Harkins
answered Oct 19, 2010 by RobertHarkins New to the Community (7 points)
0 votes
Here are the errors reported:

dgap-1.3/driver/build/dgap_driver.c:781: error: TASK_INTERRUPTIBLE undeclared (first use in this function)

dgap-1.3/driver/build/dgap_driver.c:998: error: TASK_INTERRUPTIBLE undeclared (first use in this function)

The make process then exited.

I will try and watch the video between other tasks today.
Any developments will be posted.

Thanks,
R. Harkins
answered Oct 25, 2010 by RobertHarkins New to the Community (7 points)
0 votes
The video is for the Real Port Driver, dgrp.
I have been working on compiling the dgap driver.

R. Harkins
answered Oct 25, 2010 by RobertHarkins New to the Community (7 points)
0 votes
The steps are pretty close to the same:

# rm /bin/sh
# ln -s /bin/bash /bin/sh
# script

#rpmbuild --rebuild dgap-1.3-18.src.rpm

#alien -d --scripts /usr/src/rpm/RPMS/(arch)/dgap-1.3-18.(arch).rpm

# dpkg -i dgap_1.3_19.(arch).deb

# exit

# mpi

If errors are seen, post the resulting typescript file, as I will need to see the activity leading up to the errors.
answered Oct 25, 2010 by userid0 Veteran of the Digi Community (2,158 points)
0 votes
Also, be sure you are using the latest driver candidate:

ftp://ftp1.digi.com/support/beta/linux/dgap/dgap-1.3-18.src.rpm
answered Oct 25, 2010 by userid0 Veteran of the Digi Community (2,158 points)
0 votes
Thanks for calling it to my attention. Already spotted & downloaded it.

linux-headers-2.6.32-25-generic installed

/usr/src/linux-headers-2.6.32-25-generic/include/linux/sched.h
line 187
#define TASK_INTERRUPTIBLE 1

The header is not being found.

using instructions on
http://www.digi.com/support/kbase/kbaseresultdetl.jsp?id=3123

Trying to attach the log file.

R. Harkins
answered Oct 25, 2010 by RobertHarkins New to the Community (7 points)
0 votes
It appears the headers are not matching your running kernel.

There is an extraversion on the running kernel suggesting the kernel was modified. If so, you will want to be sure the matching kernel-source is installed along with the headers.
answered Oct 26, 2010 by userid0 Veteran of the Digi Community (2,158 points)
0 votes
It looks like I will have some time to work on this.

What Linux distribution is used in house for working on DGAP ?

R. Harkins
answered Dec 14, 2010 by RobertHarkins New to the Community (7 points)
0 votes
I have Fedora up at the moment. CentOS, will work fine as well, if that is something you are considering.
answered Dec 14, 2010 by userid0 Veteran of the Digi Community (2,158 points)
...