All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Error: cat: /proc/xenomai/stat: Cannot allocate memory
@ 2007-02-02  8:43 M. Koehrer
  2007-02-02  9:33 ` Philippe Gerum
  0 siblings, 1 reply; 29+ messages in thread
From: M. Koehrer @ 2007-02-02  8:43 UTC (permalink / raw)
  To: xenomai

Hi everybody,

I have a strange issue frequently when reading /proc/xenomai/stat.
I do a cat /proc/xenomai/stat and I get an "Cannot allocate memory" error.
This happens typcially after I have started and terminated by application that uses a number of tasks.
I am able to reproduce it deterministically...
While the application is running, I can see the stat values perfectly.
Here is the head output of all /proc/xenomai/* files:

==> affinity <==
00000002

==> apc <==
APC          CPU0         CPU1
  0:            0           0    (pipe_wakeup)
  1:           49          54    (lostage_handler)
  2:           12          23    (registry_export)

==> faults <==
TRAP         CPU0        CPU1
  0:            0           0    (Divide error)
  1:            0           0    (Debug)
  3:            0           0    (Int3)
  4:            0           0    (Overflow)
  5:            0           0    (Bounds)
  6:            0           0    (Invalid opcode)
  7:            0           0    (FPU not available)
  8:            0           0    (Double fault)
  9:            0           0    (FPU segment overrun)
 10:            0           0    (Invalid TSS)
 11:            0           0    (Segment not present)
 12:            0           0    (Stack segment)
 13:            0           0    (General protection)
 14:            0           0    (Page fault)
 15:            0           0    (Spurious interrupt)
 16:            0           0    (FPU error)
 17:            0           0    (Alignment check)
 18:            0           0    (Machine check)
 19:            0           0    (SIMD error)

==> hal <==
1.6-03

==> heap <==
size=130560:used=168:pagesz=512

==> interfaces <==
head: error reading `interfaces': Is a directory

==> irq <==
IRQ         CPU0        CPU1
213:           0          13
216:      387539      236720         [timer]
217:           0           0
226:         112         137         [virtual]

==> latency <==
2699

==> registry <==
head: error reading `registry': Is a directory

==> rtdm <==
head: error reading `rtdm': Is a directory

==> sched <==
CPU  PID    PRI      PERIOD   TIMEOUT    STAT       NAME
  0  0       -1      0        0          R          ROOT/0
  1  0       -1      0        0          R          ROOT/1
head: cannot open `stat' for reading: Cannot allocate memory

==> timer <==
status=oneshot:setup=120:tickval=1:jiffies=442215696848

==> version <==
2.3


I am using Xenomai 2.3.0 with some additional COW patches. Kernel 2.6.19.1 SMP.
Xenomai is directly integrated in the kernel,  not a module.

Thanks for any feedback on that

Mathias



-- 
Mathias Koehrer
mathias_koehrer@domain.hid


Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig
und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer,
nur  44,85 €  inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2


^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2007-02-05 16:05 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-02  8:43 [Xenomai-help] Error: cat: /proc/xenomai/stat: Cannot allocate memory M. Koehrer
2007-02-02  9:33 ` Philippe Gerum
2007-02-02  9:49   ` Philippe Gerum
2007-02-02  9:51     ` Gilles Chanteperdrix
2007-02-02 11:23       ` Philippe Gerum
2007-02-02 12:44         ` Philippe Gerum
2007-02-02 12:58           ` Re: [Xenomai-help] Error: cat: /proc/xenomai/stat: Cannot allocate M. Koehrer
2007-02-02 14:35             ` Philippe Gerum
2007-02-02 12:59           ` [Xenomai-help] Error: cat: /proc/xenomai/stat: Cannot allocate memory Rus V. Brushkoff
2007-02-02 14:31             ` Philippe Gerum
2007-02-02 14:36               ` Rus V. Brushkoff
2007-02-03 16:08                 ` Rus V. Brushkoff
2007-02-03 16:38                   ` Philippe Gerum
2007-02-03 18:20                     ` Dmitry Adamushko
2007-02-03 19:06                       ` Philippe Gerum
2007-02-04 13:54                         ` Dmitry Adamushko
2007-02-04 14:01                           ` Dmitry Adamushko
2007-02-05 10:02                             ` Rus V. Brushkoff
2007-02-05 16:05                             ` Paul
2007-02-04  7:16                     ` Rus V. Brushkoff
2007-02-04  9:12                       ` Philippe Gerum
2007-02-03 23:20                   ` Paul
2007-02-02 14:42               ` Jan Kiszka
2007-02-02 14:55                 ` Paul
2007-02-02 15:07                   ` Rus V. Brushkoff
2007-02-02 15:16                     ` Philippe Gerum
2007-02-02 15:29                       ` Philippe Gerum
2007-02-02 10:16     ` Re: [Xenomai-help] Error: cat: /proc/xenomai/stat: Cannot allocate M. Koehrer
2007-02-02 14:13       ` Re: Re: [Xenomai-help] Error: cat: /proc/xenomai/stat: Cannot M. Koehrer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.