alex arhipov
06/09/2008 5:32 AM
post8869
|
Hello,
I have QNX 6.3.2 on x86 processor board.
I'm using slogger ( slogger -l /tmp/log) to log messages received by CAN driver. The problem is a garbage that
periodically appeares in log. No other application writes to the log (I've checked this. When drivers doesn't work there
is nothing in log ).
What's wrong?
E.g.
Feb 21 00:03:34 6 10001 2 /dev/can0 << id: 0x4a0 len: 0x8 rtr: 0 data: 0
Feb 21 00:03:34 6 10001 2 /dev/can0 << id: 0x5a0 len: 0x8 rtr: 0 data: 0
Feb 21 00:03:34 6 10002 0 Unknown message with id 0x3a0 and length 8 byte(s) received.
Feb 21 00:03:34 6 10001 2 /dev/can0 << id: 0x6a0 len: 0x8 rtr: 0 data: 0
Feb 21 00:03:34 6 10001 2 /dev/can0 << id: 0x3b0 len: 0x8 rtr: 0 data: 0
Feb 21 00:03:34 6 10002 0 Unknown message with id 0x3b0 and length 8 byte(s) received.
Feb 17 17:48:16 2 683621 515 980579442 1679831072 979465313 671100960 1052782 10002 319928614 1852534357 544110447
........
this garbage appears periodically ( period: 4-10 seconds )
........
1936942445 543516513 1752459639 543451424 1647605808 185100960 771100960 1056254 10002 319928614 1852534357
Mar 23 19:48:33 7 222573 1847 with id 0x3a0 and length 8 byte(s) received.
Feb 21 00:03:34 6 10002 0 Unknown message with id 0x5b0 and length 8 byte(s) received.
Feb 21 00:03:34 6 10001 2 /dev/can0 << id: 0x3a0 len: 0x8 rtr: 0 data: 0
Feb 21 00:03:34 6 10001 2 /dev/can0 << id: 0x4a0 len: 0x8 rtr: 0 data: 0
Feb 21 00:03:34 6 10002 0 Unknown message with id 0x6b0 and length 8 byte(s) received.
Feb 21 00:03:34 6 10001 2 /dev/can0 << id: 0x5a0 len: 0x8 rtr: 0 data: 0
Feb 21 00:03:34 6 10002 0 Unknown message with id 0x3a0 and length 8 byte(s) received.
Also I've tried a simple test program:
//main
while(1)
{
delay(100);
slogf( 1,1,"%s","test");
}
Slogger put logs to file on CF disk (slogger -l /tmp/log).
Garbage in the log appeared every 3 minutes.
Then I've tried to put logs into RAM (slogger -l /dev/shmem/log).
There was no garbage.
So, the problem appears only when slogger puts logs into file on CF disk.
Could anyone help me?
|
|
|