"Peregrine M. McGehee" wrote:
>
> Dear all,
>
> One of my mv162 based IOCs has recently started to hang whenever I issue
> a ^x or type reboot on the console. If I don't enable interrupts for a
> specific module (the GreenSprings ipOctalSerial) the reboot proceeds as
> expected.
>
> Note that this behavior does not seem to affect the operation and data
> collecting of the IOC, only the reboot process.
>
> Any ideas?
> Peregrine
> --
> Peregrine M. McGehee Coordinator, Los Alamos Astrophysics
> (505) 667-3273 MS H820, LANL, Los Alamos, NM 87545
I suspect the following:
1) You are calling rebootHookAdd
2) Your reboot hookroutine turns off interrupts but does not do anything to stop
new write requests directed to ipOctalSerial
3) Something else also is using rebootHookAdd and it's reboot hook routine does
something like taskdelay.
4) A new write request is directed to the ipOctal and started.
5) The taskdelay completes and the reboot occurs. But that ipOctal comes up with
transmit enabled.
As I recall you started with the Hideos driver for ipOctalSerial. So did MPF. In
MPF we found this problem. You may want to compare your version against the
latest MPF version, which can be obtained from:
http://www.aps.anl.gov/asd/people/mrk/epics/modules/serial/mpfSerial/
At the very least you can look at the code for handling soft reboots.
Marty Kraimer
- Replies:
- Re: mv162 hangs on reboot Peregrine M. McGehee
- References:
- mv162 hangs on reboot Peregrine M. McGehee
- Navigate by Date:
- Prev:
Re: Problem with MVME162 and A24/D32 or D16 access to SIAM Burkhard W. Kolb
- Next:
Re: mv162 hangs on reboot Peregrine M. McGehee
- 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
- Navigate by Thread:
- Prev:
mv162 hangs on reboot Peregrine M. McGehee
- Next:
Re: mv162 hangs on reboot Peregrine M. McGehee
- 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
|