1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 <2024> 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 <2024> 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Linux for VME devLiv, mca libSIS38XX.a |
From: | Rong Huang via Tech-talk <tech-talk at aps.anl.gov> |
To: | Mark Rivers <rivers at cars.uchicago.edu> |
Cc: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Wed, 17 Jan 2024 22:37:11 -0600 |
Hi Rong,
As I recall that SIS support on Linux was used by some sites that had an SIS PCI to VME adapter. It let a Linux PC talk to VME. I doubt if that is still in use. The other way to do it is to run Linux on a VME CPU. That has been done, but I don't know any site currently using it.
Mark
-----Original Message-----
From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Michael Davidsaver via Tech-talk
Sent: Wednesday, January 17, 2024 4:54 PM
To: Rong Huang <ronghuang at ls-cat.org>
Cc: tech-talk at aps.anl.gov
Subject: Re: Linux for VME devLiv, mca libSIS38XX.a
On 1/17/24 12:51, Rong Huang via Tech-talk wrote:
> Hello,
>
> May I ask what kind of Linux that has support for VME devLib? Can I install some software to make a normal Linux support VME devLib?
Unfortunately, I am not aware of anything I would describe as "normal"
about VME support in Linux. You may have a lot more work than you expect here. :(
To start with, can you describe your hardware? What sort of VME cards are present in your crate(s) ?
> I would like to build mca/lib/liunx-x86_64/libSIS38XX.a. According to the notes in mca/mcaApp/SISSrc/Makefile:
>
> # If your version of Linux has support for VME devLib uncomment
> following line #LIBRARY_IOC_Linux += SIS38XX
>
> In my $EPICS_BASE/include directory, and I find files of:
> devLib.h
> devLibVME.h
> devLibVMEImpl.h
> But that seems not enough, and the make of mca with option of "LIBRARY_IOC_Linux += SIS38XX" has errors of:
> ../drvSIS3820.h:208:3: error: ‘DMA_ID’ does not name a type
>
> My system:
> EPICS_base-7.0.7
> mca-R7-9
> linux_x86_64: Ubuntu 22.04.2 LTS
> devLib2-2.12
>
> Also tried:
> EPICS_base_3.14.12.8
> mca-7-8
> linux-arm; RHEL
> (no devLib2)
>
> Thanks a lot,
> Rong
>
>