interrupt and timer

From: Bob888y (bob888y_at_wmconnect.com)
Date: 08/28/03


Date: 28 Aug 2003 03:28:12 GMT

Here is a problem I want suggestions:
I have some recovery after having detected some hardware failure. This recovery
is absolutely the most important thing I have to do, and dont want any
interruption.
So I want disable the interrupts during the recovery period.

The problem is that the recovery involve setting some internal registers to a
certains device, I can not access directly, instead I have to set a commands
register, activate the command, the read or write is completed until the device
ack'ed. Since I disable all interrupt, I poll the device to see if the device
acq'd. At the same time, I want setup a timer for the polling to prevent the
system hang. How would the timer would work if the interrupts are disabled?



Relevant Pages

  • Re: interrupt and timer
    ... > I have some recovery after having detected some hardware failure. ... > So I want disable the interrupts during the recovery period. ... I want setup a timer for the polling to prevent ...
    (comp.os.linux.embedded)
  • Re: On "Recovery Time Limit" (TLER-like)
    ... See "SCT Error Recovery Control" in section 8.3.4. ... To confirm whether ERC is supported by the drive, ... Set supported) of word 206 in the Identify ... The ERC commands can be "tunnelled" inside SMART READ LOG and SMART ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: [PATCH 9/9] ipmi: add timer thread
    ... >> We must poll for responses to commands when interrupts aren't in use. ... >> The default poll interval is based on using a kernel timer, ...
    (Linux-Kernel)
  • Re: damaged XP/boot to dos prompt
    ... No recovery option available. ... mode w/dos prompt, but many of the commands I'm used to aren't there are there any comparable? ... the F10 recovery option is not available while starting. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: damaged XP/boot to dos prompt
    ... so can't see many of the commands available. ... can't boot up. ... Now that I have found the correct recovery disks for my ... Fixboot and Bootcfg are not directly ...
    (microsoft.public.windowsxp.help_and_support)