Skip to contentSkip to conversation

Problem of freeze

Xenomai-help [email protected] 4 participants 8 messages Apr 23, 2009 – May 7, 2009 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 23 lines

----- Mail Original -----
De: "Gilles Chanteperdrix" <[email protected]>
À: [email protected]
Cc: "xenomai-help" <[email protected]>
Envoyé: Jeudi 23 Avril 2009 10h28:31 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / >Vienne
Objet: Re: [Xenomai-help] Problem of freeze

Quoted 14 lines · [email protected] wrote:

Hello

I'am rookie in xenomai and i have a problem.

Here my configuration :

Linux base : CentOS v5.3 (with gnome)
kernel : linux-2.6.28.7
<xenomai : 2.4.7
processor cpu familly : 6

              type : 14 (Intel Core Duo T2500 2Ghz)

memory : 1 GB
HDD : SCSI with Adaptec AIC-7892B card

Quoted 8 lines
Quoted 2 lines

I have installed xenomai with no problem.
All options of ACPI, APM and CPU frequency scaling are disabled.

This is wrong. You should enable ACPI, and only disable ACPI_PROCESSOR. Disabling ACPI is known to cause bugs with Linux on some machines.

Signature · 1 line
					    Gilles.

Thanks for your reply
So now ACPI is enable and ACPI PROCESSOR Disable

I use xenomai with the patch adeos-ipipe-2.6.28.9-x86-2.2-07.patch from the Xenomai git

But i have the same problem :(

I have a question, when I configure the kernel, for the procesor type, can i use th right type for me (core 2) or I must use only 6x86MX type ?

Benoit

#2 lore raw
Quoted 31 lines · [email protected] wrote:
Quoted 22 lines

----- Mail Original -----
De: "Gilles Chanteperdrix" <[email protected]>
À: [email protected]
Cc: "xenomai-help" <[email protected]>
Envoyé: Jeudi 23 Avril 2009 10h28:31 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / >Vienne
Objet: Re: [Xenomai-help] Problem of freeze

Quoted 14 lines · [email protected] wrote:

Hello

I'am rookie in xenomai and i have a problem.

Here my configuration :

Linux base : CentOS v5.3 (with gnome)
kernel : linux-2.6.28.7
<xenomai : 2.4.7
processor cpu familly : 6

              type : 14 (Intel Core Duo T2500 2Ghz)

memory : 1 GB
HDD : SCSI with Adaptec AIC-7892B card

Quoted 8 lines
Quoted 2 lines

I have installed xenomai with no problem.
All options of ACPI, APM and CPU frequency scaling are disabled.

This is wrong. You should enable ACPI, and only disable ACPI_PROCESSOR. Disabling ACPI is known to cause bugs with Linux on some machines.

Signature · 1 line
					    Gilles.
Quoted 8 lines

Thanks for your reply
So now ACPI is enable and ACPI PROCESSOR Disable

I use xenomai with the patch adeos-ipipe-2.6.28.9-x86-2.2-07.patch from the Xenomai git

But i have the same problem :(

I have a question, when I configure the kernel, for the procesor type, can i use th right type for me (core 2) or I must use only 6x86MX type ?

No you should use the right type for your procsesor.

I see that you are using X-window, so I guess you do not see the console. Unfortunately, if your hang is due to a kernel oops we do not have a clue. So, you should try and get the console output on another machine, using preferably a serial cable, or if not possible the netconsole.

Signature · 1 line
                                                 Gilles.
#3 lore raw
Quoted 3 lines · Gilles Chanteperdrix
Quoted 3 lines

I use xenomai with the patch adeos-ipipe-2.6.28.9-x86-2.2-07.patch from the Xenomai git

But i have the same problem :(

Just to make you know that I'm (still) experimenting exactly the same random freeze on Ubuntu Jaunty, with 2.6.28.9 kernel, adeos-ipipe-2.6.28.9... patch and xenomai-git (but I think that does not matter, since it seems a kernel issue!!)

Quoted 4 lines

I see that you are using X-window, so I guess you do not see the console. Unfortunately, if your hang is due to a kernel oops we do not have a clue. So, you should try and get the console output on another machine, using preferably a serial cable, or if not possible the netconsole.

I'll try to setup a netconsole environment as soon possible and let you know what I can see in the kernel logs.

Regards,
Dario

Signature · 6 lines
<<This happens because I choose it to happen!>> (Raistlin Majere)
----------------------------------------------------------------------
Dario Faggioli, ReTiS Lab, Scuola Superiore Sant'Anna, Pisa  (Italy)

http://blog.linux.it/raistlin / [email protected] /
[email protected]
#4 lore raw
Quoted 9 lines · Raistlin
Quoted 3 lines · Gilles Chanteperdrix
Quoted 3 lines

I use xenomai with the patch adeos-ipipe-2.6.28.9-x86-2.2-07.patch from the Xenomai git

But i have the same problem :(

Just to make you know that I'm (still) experimenting exactly the same random freeze on Ubuntu Jaunty, with 2.6.28.9 kernel, adeos-ipipe-2.6.28.9... patch and xenomai-git (but I think that does not matter, since it seems a kernel issue!!)

Quoted 6 lines
Quoted 4 lines

I see that you are using X-window, so I guess you do not see the console. Unfortunately, if your hang is due to a kernel oops we do not have a clue. So, you should try and get the console output on another machine, using preferably a serial cable, or if not possible the netconsole.

I'll try to setup a netconsole environment as soon possible and let you know what I can see in the kernel logs.

As usual, please send us /proc/interrupts, /proc/xenomai/irq, your .config, and the version of the I-pipe patch you use.

Run the latency and switchtest tests, and tell us if you have the freeze with them too.

Signature · 1 line
                                                 Gilles.
#5 lore raw
Quoted 14 lines · Gilles Chanteperdrix
Quoted 13 lines · Raistlin
Quoted 3 lines · Gilles Chanteperdrix
Quoted 3 lines

I use xenomai with the patch adeos-ipipe-2.6.28.9-x86-2.2-07.patch from the Xenomai git

But i have the same problem :(

Just to make you know that I'm (still) experimenting exactly the same random freeze on Ubuntu Jaunty, with 2.6.28.9 kernel, adeos-ipipe-2.6.28.9... patch and xenomai-git (but I think that does not matter, since it seems a kernel issue!!)

Quoted 4 lines

I see that you are using X-window, so I guess you do not see the console. Unfortunately, if your hang is due to a kernel oops we do not have a clue. So, you should try and get the console output on another machine, using preferably a serial cable, or if not possible the netconsole.

Quoted 8 lines
Quoted 2 lines

I'll try to setup a netconsole environment as soon possible and let you know what I can see in the kernel logs.

As usual, please send us /proc/interrupts, /proc/xenomai/irq, your .config, and the version of the I-pipe patch you use.

Run the latency and switchtest tests, and tell us if you have the freeze with them too.

Also, Benoit's problem was not in fact due to xenomai but to gnome power management. This shows that the notion of "freeze" is very vague, and without further information, we can not tell you more.

Signature · 1 line
                                                 Gilles.
#6 lore raw
Quoted 3 lines · Gilles Chanteperdrix
Quoted 3 lines

As usual, please send us /proc/interrupts, /proc/xenomai/irq, your .config, and the version of the I-pipe patch you use.

I will.

Quoted 3 lines
Quoted 2 lines

Run the latency and switchtest tests, and tell us if you have the freeze with them too.

It has happened once during a test (latency I think), but I've also been (next times, after reboot) able to run both of them without any issue.

Anyway, as soon as I reboot I'll run all the tests again.

Quoted 2 lines

Also, Benoit's problem was not in fact due to xenomai but to gnome power management.

I see... Well, of course, all is possible... I'm using gnome-power-manager too, but while running plain Ubuntu kernel no freeze happens, but... I mean... Who knows?!?!

Quoted 2 lines

This shows that the notion of "freeze" is very vague, and without further information, we can not tell you more.

I know, and I'm sorry of being able to be more specific since now. :-( I'll test it deeper and let you know in detail.

For now, thanks a lot for your support! :-)

Regards,
Dario

Signature · 6 lines
<<This happens because I choose it to happen!>> (Raistlin Majere)
----------------------------------------------------------------------
Dario Faggioli, ReTiS Lab, Scuola Superiore Sant'Anna, Pisa  (Italy)

http://blog.linux.it/raistlin / [email protected] /
[email protected]
#7 lore raw
Quoted 12 lines · Raistlin
Quoted 3 lines · Gilles Chanteperdrix
Quoted 3 lines

As usual, please send us /proc/interrupts, /proc/xenomai/irq, your .config, and the version of the I-pipe patch you use.

I will.

Quoted 3 lines
Quoted 2 lines

Run the latency and switchtest tests, and tell us if you have the freeze with them too.

It has happened once during a test (latency I think), but I've also been (next times, after reboot) able to run both of them without any issue.

Quoted 7 lines

Anyway, as soon as I reboot I'll run all the tests again.

Quoted 2 lines

Also, Benoit's problem was not in fact due to xenomai but to gnome power management.

I see... Well, of course, all is possible... I'm using gnome-power-manager too, but while running plain Ubuntu kernel no freeze happens, but... I mean... Who knows?!?!

The point is not about blaming Gnome PM, but we do know for sure that power management related drivers may have adverse effects on a Xenomai-patched kernel - see the troubleshooting guide. If your kernel enable those, and Gnome PM triggers actions on those such as CPU freq governors, bad things may happen.

You .config will confirm or not whether this assumption is correct.

Quoted 15 lines
Quoted 3 lines

This shows that the notion of "freeze" is very vague, and without further information, we can not tell you more.

I know, and I'm sorry of being able to be more specific since now. :-( I'll test it deeper and let you know in detail.

For now, thanks a lot for your support! :-)

Regards,
Dario

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Signature · 1 line
Philippe.
#8 lore raw
Quoted 20 lines · Philippe Gerum
Quoted 11 lines · Raistlin
Quoted 3 lines · Gilles Chanteperdrix
Quoted 3 lines

As usual, please send us /proc/interrupts, /proc/xenomai/irq, your .config, and the version of the I-pipe patch you use.

I will.

Quoted 2 lines
Quoted 2 lines

Run the latency and switchtest tests, and tell us if you have the freeze with them too.

It has happened once during a test (latency I think), but I've also been (next times, after reboot) able to run both of them without any issue.

Quoted 7 lines

Anyway, as soon as I reboot I'll run all the tests again.

Quoted 2 lines

Also, Benoit's problem was not in fact due to xenomai but to gnome power management.

I see... Well, of course, all is possible... I'm using gnome-power-manager too, but while running plain Ubuntu kernel no freeze happens, but... I mean... Who knows?!?!

Quoted 7 lines

The point is not about blaming Gnome PM, but we do know for sure that power management related drivers may have adverse effects on a Xenomai-patched kernel - see the troubleshooting guide. If your kernel enable those, and Gnome PM triggers actions on those such as CPU freq governors, bad things may happen.

You .config will confirm or not whether this assumption is correct.

The problem could also be that gnome-power-management is trying to use services from the kernel which are not available because power management is disabled in kernel configuration.

Signature · 1 line
                                                 Gilles.