Skip to contentSkip to conversation

Fix stat overruns on 64-bit (was: [Xenomai-help] Kernel panic: not syncing)

PATCH Fillod Stephane 3 participants 4 messages Aug 13, 2008

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines · Jan Kiszka

/proc/xenomai/stat output is strange. Probably some type cast error, because 18446744071739514846 = 0xFFFFFFFF8A939FDE and the appropriate value perhaps should be 0x000000008A939FDE = 2324930526.

[...]

Reminds me that other pending patch for /proc/xenomai/faults:
https://mail.gna.org/public/xenomai-core/2007-12/msg00064.html

Signature · 1 line
Stephane
#1 lore raw
Quoted 8 lines · Fillod Stephane
Quoted 3 lines · Jan Kiszka

/proc/xenomai/stat output is strange. Probably some type cast error, because 18446744071739514846 = 0xFFFFFFFF8A939FDE and the appropriate value perhaps should be 0x000000008A939FDE = 2324930526.

[...]

Reminds me that other pending patch for /proc/xenomai/faults:
https://mail.gna.org/public/xenomai-core/2007-12/msg00064.html

december 2007? Oh dear! You should remind us more often when we forg^H^H^H^H take so much time to include your patches.

Signature · 1 line
                                                 Gilles.
#2 lore raw
Quoted 5 lines · Gilles Chanteperdrix
Quoted 4 lines · Fillod Stephane
Quoted 3 lines · Jan Kiszka

/proc/xenomai/stat output is strange. Probably some type cast error, because 18446744071739514846 = 0xFFFFFFFF8A939FDE and the appropriate value perhaps should be 0x000000008A939FDE = 2324930526.

Quoted 8 lines
Quoted 4 lines

[...]

Reminds me that other pending patch for /proc/xenomai/faults:
https://mail.gna.org/public/xenomai-core/2007-12/msg00064.html

december 2007? Oh dear! You should remind us more often when we forg^H^H^H^H take so much time to include your patches.

Well, technically, this patch was not forgotten, but was, mmff... "swapped out". Fact is that my swapper-in sometimes gets swapped out as well. Working on it.

Signature · 1 line
Philippe.
#3 lore raw
In reply to Fillod Stephane
Quoted 9 lines · Fillod Stephane
Quoted 3 lines · Jan Kiszka

/proc/xenomai/stat output is strange. Probably some type cast error, because 18446744071739514846 = 0xFFFFFFFF8A939FDE and the appropriate value perhaps should be 0x000000008A939FDE = 2324930526.

[...]

Reminds me that other pending patch for /proc/xenomai/faults:
https://mail.gna.org/public/xenomai-core/2007-12/msg00064.html

Finally applied, thanks.

Signature · 1 line
Philippe.