[Voyage-linux] Bug reports

Kim-man 'Punky' TSE (spam-protected)
Tue Mar 13 14:29:58 HKT 2012


Hi Stanislav,

Regarding to the 1st problem: "Floating point exception" in "vmstat 1" when idle.  I am able to reproduce it yesterday.

But after I reboot with different kernels back and forth, today this problem disappears automagically!  I have debugged 
a bit and can share the finding

It seems that on ALIX with 3.2 kernel, the idle counter in /proc/stat (the 4th number) is not moving at 100 ticks when 
idle.  I once saw the idle counter stay as the same number when it is idle.  If the idle counter does not change over an 
interval, vmstat would use 0 for a divisor.  So the floating point exception is actually division-by-zero error.

The below output shows the correct behaviour

while [ 1 ] ; do cat /proc/stat |grep "cpu  " ; sleep 1 ; done
cpu  1031 0 1916 1115462 258 13 73 0 0 0
cpu  1032 0 1917 1115560 258 13 73 0 0 0
cpu  1032 0 1919 1115658 258 13 73 0 0 0
cpu  1033 0 1920 1115756 258 13 73 0 0 0

Next, I will do a hard reset on ALIX board to see if I can repeat the problem.


On 3/5/2012 10:13 PM, Stanislav Sinyagin wrote:
> hi,
>
> is there a plan to use a bug tracking software, like Bugzilla or JIRA? I've got a couple of bugs to report:
>
> 1. With voyage-current, as of about a week ago, "vmstat 1" was crashing when the host was idle (ALIX board).
>

-- 
Regards,
Kim-man "Punky" Tse

* Open Source Embedded Solutions and Systems
   - Voyage Linux (http://linux.voyage.hk)
   - Voyage ONE   (http://linux.voyage.hk/voyage-one)
   - Voyage MPD   (http://linux.voyage.hk/voyage-mpd)
* Voyage Store   (http://store.voyage.hk)






More information about the Voyage-linux mailing list