Message-ID: Date: Wed, 18 Jan 2006 23:26:45 +0100 From: Jeroen Van den Keybus Subject: Re: [Xenomai-core] Scheduling while atomic In-Reply-To: <43CEBD90.7080603@domain.hid> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6315_13686525.1137623205567" References: <43CEA323.7000701@domain.hid> <43CEAF25.6010705@domain.hid> <43CEB291.4020609@domain.hid> <43CEBD90.7080603@domain.hid> List-Id: "Xenomai life and development \(bug reports, patches, discussions\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hannes Mayer Cc: xenomai@xenomai.org ------=_Part_6315_13686525.1137623205567 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > > # ./sem 1.0e5 > Running for 2.15 seconds. > L119: Operation not permitted. Could be a dirty cleanup. Sorry for that. > ...ipipe_supend_domain > ...default_idle > ...cpu_idle > ...start_kernel > ...unknown_bootoption > Kernel panic start_kernel ? Unknown_bootoption ? The plot is thickening. > # ./mutex 1.0e5 > ALERT: No lock! (lockcnt=3D0) Offending task: task0 > ALERT: No lock! (lockcnt=3D0) Offending task: task0 > ALERT: No lock! (lockcnt=3D0) Offending task: task0 > [...] > [freeze] The problem is: freezing could be due to Linux getting no CPU time anymore. I think the best test now is to run the semaphore test (it should give no ALERTS) at a reasonable (1.0e6 - 1.0e7, which is on average 2kHz - 200Hz) speed for a longer duration. Maybe better 1.0e7, which will yield about 1.5Mb per hour. Many thanks already for testing and helping us out. Jeroen. ------=_Part_6315_13686525.1137623205567 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
# ./sem 1.0e5
Running for 2.1= 5 seconds.
L119: Operation not permitted.
 
Could be a dirty cleanup. Sorry for that.
 
...ipipe_supend_domain
...def= ault_idle
...cpu_idle
...start_kernel
...unknown_bootoption
Ker= nel panic
 
start_kernel ? Unknown_bootoption ? The plot is thickening.

 
# ./mutex 1.0e5
ALERT: No loc= k! (lockcnt=3D0) Offending task: task0
ALERT: No lock! (lockcnt=3D0) Off= ending task: task0
ALERT: No lock! (lockcnt=3D0) Offending task: task0
[...]
[freeze= ]
 
The problem is: freezing could be due to Linux getting no CPU time any= more. I think the best test now is to run the semaphore test (it shoul= d give no ALERTS) at a reasonable (1.0e6 - 1.0e7, which is on average = 2kHz - 200Hz) speed for a longer duration. Maybe better=20 1.0e7, which will yield about 1.5 Mb per hour.

Many thanks already for testing and helping us out.

 
Jeroen.
------=_Part_6315_13686525.1137623205567--