EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: epics ioc3.14.3 problem at the tornado2.2
From: "Kiman Ha" <[email protected]>
To: <[email protected]>
Date: Sat, 13 Sep 2003 03:42:10 +0900
Hi everyone,

I have found problem at the MVME-5110 SBC and Tornado2.2(vxWorks5.5.1).

First I tested base3.14.1.cvs It's working well.
But base3.14.2 and base3.14.3 versions test_registerRecordDeviceDriver(pdbbase) functions loding errors.
Please a
I attached below error messages.

cd topbin
value = 0 = 0x0
## You may have to change test to something else
## everywhere it appears in this file 

ld < test.munch
value = 121621328 = 0x73fcb50

## Register all support components
cd top
value = 0 = 0x0
dbLoadDatabase("dbd/test.dbd",0,0)
value = 0 = 0x0
test_registerRecordDeviceDriver(pdbbase)

alignment
Exception current instruction address: 0x00000020
Machine Status Register: 0x0200b030
Data Access Register: 0x073b509b
Condition Register: 0x20002044
Data storage interrupt Register: 0x00005fff

24aa24 vxTaskEntry    +68 : shell ()
2017ec shell          +190: 201818 ()
201a18 shell          +3bc: execute ()
201b54 execute        +90 : 201818 ()
201a18 shell          +3bc: execute ()
201b9c execute        +d8 : yyparse ()
21fd10 yyparse        +71c: 21e0a8 ()
21e22c yystart        +96c: test_registerRecordDeviceDriver ()
72b0e34 test_registerRecordDeviceDriver+12c: 20 ()
shell restarted.

hkm@pls->


I see the source code registerRecordDeviceDriver.cpp for why this problem is happened.
The probeem from this functions.  sizeOffset(dbEntry.precordType); 

int test_registerRecordDeviceDriver(DBBASE *pbase)
{
    int i;
    for(i=0; i< 26;  i++ ) {
        recordTypeLocation *precordTypeLocation;
        computeSizeOffset sizeOffset;
        DBENTRY dbEntry;

        if(registryRecordTypeFind(recordTypeNames[i])) continue;
        if(!registryRecordTypeAdd(recordTypeNames[i],&rtl[i])) {
            errlogPrintf("registryRecordTypeAdd failed %s\n",
                recordTypeNames[i]);
            continue;
        }
        dbInitEntry(pbase,&dbEntry);
        precordTypeLocation = registryRecordTypeFind(recordTypeNames[i]);
        sizeOffset = precordTypeLocation->sizeOffset;
        if(dbFindRecordType(&dbEntry,recordTypeNames[i])) {
            errlogPrintf("registerRecordDeviceDriver failed %s\n",
                recordTypeNames[i]);
        } else {
            --------------------------------
            sizeOffset(dbEntry.precordType);        /* probleam this line */
            --------------------------------
        }
    }
    for(i=0; i< 24;  i++ ) {
        if(registryDeviceSupportFind(deviceSupportNames[i])) continue;
        if(!registryDeviceSupportAdd(deviceSupportNames[i],devsl[i])) {
            errlogPrintf("registryDeviceSupportAdd failed %s\n",
                deviceSupportNames[i]);
            continue;
        }
    }
    (*pasSub)();
    (*pmySubRegistrar)();
    iocshRegisterVariable(vardefs);
    return(0);
}



Thanks,

Kiman Ha,
PLS Control Group.
[email protected]




Replies:
Re: epics ioc3.14.3 problem at the tornado2.2 Andrew Johnson

Navigate by Date:
Prev: JCA2.0 is now released !!! Eric Boucher
Next: Re: epics ioc3.14.3 problem at the tornado2.2 Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: JCA2.0 is now released !!! Eric Boucher
Next: Re: epics ioc3.14.3 problem at the tornado2.2 Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·