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: | autosave problem |
From: | Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> |
To: | "Johnson, Andrew N." <anj at anl.gov>, "mooney at aps.anl.gov" <mooney at aps.anl.gov> |
Cc: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Wed, 18 May 2022 21:52:31 +0000 |
Folks, I just upgraded my VME IOCs to base 7.0.6.1 and the master branch of autosave (some changes since 5-10-2). I am getting these errors at the vxWorks prompt: ioc13ida> save_restore:write_it: fprintf returned 0 [220518-163829]. save_restore:write_it: Giving up on this attempt to write 'auto_settings.sav'. [220518-163829] *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** save_restore:write_save_file: Can't write save file. [220518-163829] *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Recent files in the autosave/ directory are: -rw-rw-rw- 1 epics domain users 2749 May 18 16:37 auto_positions.sav_220518-163750 -rw-rw-rw- 1 epics domain users 1058 May 18 16:37 auto_settings.sav_RBAD_220518-163750 -rw-rw-rw- 1 epics domain users 1058 May 18 16:37 auto_settings.sav_220518-163751 -rw-rw-rw- 1 epics domain users 1058 May 18 16:37 auto_settings.sav_RBAD_220518-163751 -rw-rw-r-- 1 epics domain users 2749 May 18 16:37 auto_positions.sav -rw-rw-rw- 1 epics domain users 2749 May 18 16:37 auto_positions.savB -rw-rw-r-- 1 epics domain users 1058 May 18 16:41 auto_settings.sav Note that it is writing files. However, the auto_settings.sav file is only 1058 bytes long, while it should be about 160 kB. It seems like save_restore:write_it is writing
some information to the file and then it gets an error. This is the contents of the auto_settings.sav file: corvette:iocBoot/ioc13ida/autosave>more auto_settings.sav # autosave R5.3 Automatically generated - DO NOT MODIFY - 220518-164400 13IDA:ip2:SAUTOS 0 13IDA:ip2:DIS 0 13IDA:ip2:SSIZE 400 13IDA:ip2:ULCK 1 13IDA:ip2:SIZE.SCAN 6 13IDA:ip2:STAT.SCAN 6 13IDA:ip8:SAUTOS 0 13IDA:ip8:DIS 0 13IDA:ip8:SSIZE 400 13IDA:ip8:ULCK 0 13IDA:ip8:SIZE.SCAN 4 13IDA:ip8:STAT.SCAN 6 13IDA:ip9:SAUTOS 0 13IDA:ip9:DIS 0 13IDA:ip9:SSIZE 400 13IDA:ip9:ULCK 0 13IDA:ip9:SIZE.SCAN 4 13IDA:ip9:STAT.SCAN 6 13IDA:tsp1:TSP_FIL 0 13IDA:tsp1:TSP_AUTO_ADV 0 13IDA:tsp1:TSP_VALUE 50 13IDA:tsp1:TSP_UNITS 0 13IDA:tsp1:TSP_SECONDS 50 13IDA:tsp1:TSP_MINUTES 240 13IDA:tsp1:TSP_NCYCLES 900 13IDA:tsp1:TSP_MIN_PRESS 1e-10 13IDA:tsp1:TSP_STAT.SCAN 9 13IDA:DMM1dmm_chan.VAL 1 13IDA:DMM1ch_mode_sel.VAL 6 13IDA:DMM1init_string.VAL *rst;form:elem read 13IDA:DMM1onesh_cont.VAL 1 13IDA:DMM1single_multi.VAL 1 13IDA:DMM1scanner.SCAN 6 13IDA:DMM1Dmm_raw.DESC Dmm raw desc 13IDA:DMM1Dmm_calc.DESC Dmm Units 13IDA:DMM1Dmm_calc.PREC 4 13IDA:DMM1Dmm_calc.SCAN 0 13IDA:DMM1Dmm_calc.CALC A 13IDA:DMM1Dmm_calc.INPA 13IDA:DMM1Dmm_raw.VAL NPP NMS 13IDA:DMM1Dmm_calc.INPB The disk that autosave it writing to has plenty of room. What could be causing this error.
It is happening on all 8 of my VME IOCs, it is not just with one of them. Thanks, Mark |