QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
Cache invalidated by timeout... |
Ref. No. |
QNX.000009708 |
Category(ies) |
Filesystem |
Issue |
What is the meaning of this message and how is it possible to fix it?
Jan 15 14:19:19 3 00003006 Cache for /dev/hd0 invalidated by timeout (/dev/hd0 is a flash based 16M sandisk - we use Fsys.eide to talk to it).
The flash is soldered down and trace buffer is filled up by these messages - it actually makes traceinfo useless since the buffers are always overflowed.
|
Solution |
The meaning of the message is that a 2-second removable media inactivity timeout has occured, and the contents of the buffer cache(blocks for that device) will be discarded in favor of re-reading the drive(in case it has changed). The Sandisk is obviously reporting itself as "removable"(this can be confirmed with "Disk type" field in "fdisk /dev/hd0 info"). What you will be able to do is issue a SCSI command to lock the media in at which point Fsys stop treating it as removable: 'scsi_util /dev/hd0 lock' soon after starting the driver. |
|