All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] 2.6.17 hang on "will halt now" (possibly SMI related)
@ 2006-06-30 19:54 Rodrigo Rosenfeld Rosas
  2006-07-02 13:29 ` Jan Kiszka
  0 siblings, 1 reply; 5+ messages in thread
From: Rodrigo Rosenfeld Rosas @ 2006-06-30 19:54 UTC (permalink / raw)
  To: xenomai-core

I began to experience a problem since 2.6.17 when shutting down my PC.

I noticed the problem just after I recompiled my kernel to enable the SMI 
workaround. I, then rebooted the new kernel and when I tried to shutdown  the 
system, it stopped on "will halt now" message or something like.

The same behavior is occurring both in home (Pentium-3 550 MHz) and  at 
college (P4-1.7GHz). In both systems, Xenomai advised me to enable SMI 
workaround. Actually, at home, the worst latency with the latency test was 
about 20us independently from enabling or not the SMI workaround.

Do someone else experienced a similar problem when upgrading to 2.6.17?

I'm currently using 2.6.17.2 and SVN version of Xenomai.

Thanks in advance,

Rodrigo.

P.S: All remaining system is working fine as much as I could note.

		
_______________________________________________________ 
Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora! 
http://br.mobile.yahoo.com/mailalertas/ 
 




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

* Re: [Xenomai-core] 2.6.17 hang on "will halt now" (possibly SMI related)
  2006-06-30 19:54 [Xenomai-core] 2.6.17 hang on "will halt now" (possibly SMI related) Rodrigo Rosenfeld Rosas
@ 2006-07-02 13:29 ` Jan Kiszka
  2006-07-03 17:37   ` [Xenomai-core] 2.6.17 hang on "will halt now" (possibly SMI related) [SOLVED] Rodrigo Rosenfeld Rosas
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Kiszka @ 2006-07-02 13:29 UTC (permalink / raw)
  To: Rodrigo Rosenfeld Rosas; +Cc: xenomai-core

[-- Attachment #1: Type: text/plain, Size: 1063 bytes --]

Rodrigo Rosenfeld Rosas wrote:
> I began to experience a problem since 2.6.17 when shutting down my PC.
> 
> I noticed the problem just after I recompiled my kernel to enable the SMI 
> workaround. I, then rebooted the new kernel and when I tried to shutdown  the 
> system, it stopped on "will halt now" message or something like.
> 
> The same behavior is occurring both in home (Pentium-3 550 MHz) and  at 
> college (P4-1.7GHz). In both systems, Xenomai advised me to enable SMI 
> workaround. Actually, at home, the worst latency with the latency test was 
> about 20us independently from enabling or not the SMI workaround.
> 
> Do someone else experienced a similar problem when upgrading to 2.6.17?

Yep. Should be fixed now, see latest trunk.

It was a deadlock due to clumsy unregistration of the reboot notifier
from its own handler. I think the locking of the kernel changed in
2.6.17 (RCU) and made this fatal.

Jan


PS: 20us on a P-III 550 is a bit too good. I guess some serious load is
missing (cache load, IRQs, ...).


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

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

* Re: [Xenomai-core] 2.6.17 hang on "will halt now" (possibly SMI related) [SOLVED]
  2006-07-02 13:29 ` Jan Kiszka
@ 2006-07-03 17:37   ` Rodrigo Rosenfeld Rosas
  2006-07-03 17:45     ` Jan Kiszka
  0 siblings, 1 reply; 5+ messages in thread
From: Rodrigo Rosenfeld Rosas @ 2006-07-03 17:37 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai-core

Thank you Jan. I tested and it is working pretty fine again.

My only problem is that I couldn't compile the new IRQ testsuite. I needed to 
disable it in order to compile the kernel. That happened both at home as at 
college.

Thank you, once more.

Best Regards,
Rodrigo.

____________________________________________________________
Em Domingo 02 Julho 2006 10:29, Jan Kiszka escreveu:

>Rodrigo Rosenfeld Rosas wrote:
>> I began to experience a problem since 2.6.17 when shutting down my PC.
>>
>> I noticed the problem just after I recompiled my kernel to enable the SMI
>> workaround. I, then rebooted the new kernel and when I tried to shutdown 
>> the system, it stopped on "will halt now" message or something like.
>>
>> The same behavior is occurring both in home (Pentium-3 550 MHz) and  at
>> college (P4-1.7GHz). In both systems, Xenomai advised me to enable SMI
>> workaround. Actually, at home, the worst latency with the latency test was
>> about 20us independently from enabling or not the SMI workaround.
>>
>> Do someone else experienced a similar problem when upgrading to 2.6.17?
>
>Yep. Should be fixed now, see latest trunk.
>
>It was a deadlock due to clumsy unregistration of the reboot notifier
>from its own handler. I think the locking of the kernel changed in
>2.6.17 (RCU) and made this fatal.
>
>Jan
>
>
>PS: 20us on a P-III 550 is a bit too good. I guess some serious load is
>missing (cache load, IRQs, ...).

		
_______________________________________________________ 
Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora! 
http://br.mobile.yahoo.com/mailalertas/ 
 




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

* Re: [Xenomai-core] 2.6.17 hang on "will halt now" (possibly SMI related) [SOLVED]
  2006-07-03 17:37   ` [Xenomai-core] 2.6.17 hang on "will halt now" (possibly SMI related) [SOLVED] Rodrigo Rosenfeld Rosas
@ 2006-07-03 17:45     ` Jan Kiszka
  2006-07-03 18:04       ` Rodrigo Rosenfeld Rosas
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Kiszka @ 2006-07-03 17:45 UTC (permalink / raw)
  To: Rodrigo Rosenfeld Rosas; +Cc: xenomai-core

[-- Attachment #1: Type: text/plain, Size: 539 bytes --]

Rodrigo Rosenfeld Rosas wrote:
> Thank you Jan. I tested and it is working pretty fine again.
> 
> My only problem is that I couldn't compile the new IRQ testsuite. I needed to 
> disable it in order to compile the kernel. That happened both at home as at 
> college.

[Oops, forgot to reply your private mail]
Did you re-run the prepare-kernel script?

I'm not aware of problems with the kernel compilation so far, I only
forgot to add nucleus/trace.h to the userspace installation process
which Gilles fixed today.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

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

* Re: [Xenomai-core] 2.6.17 hang on "will halt now" (possibly SMI related) [SOLVED]
  2006-07-03 17:45     ` Jan Kiszka
@ 2006-07-03 18:04       ` Rodrigo Rosenfeld Rosas
  0 siblings, 0 replies; 5+ messages in thread
From: Rodrigo Rosenfeld Rosas @ 2006-07-03 18:04 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai-core

Em Segunda 03 Julho 2006 14:45, Jan Kiszka escreveu:

>Rodrigo Rosenfeld Rosas wrote:
>> Thank you Jan. I tested and it is working pretty fine again.
>>
>> My only problem is that I couldn't compile the new IRQ testsuite. I needed
>> to disable it in order to compile the kernel. That happened both at home
>> as at college.
>
>[Oops, forgot to reply your private mail]
>Did you re-run the prepare-kernel script?

Right. That corrected the problem.

Sorry,

Rodrigo.

		
_______________________________________________________ 
Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora! 
http://br.mobile.yahoo.com/mailalertas/ 
 




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

end of thread, other threads:[~2006-07-03 18:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-30 19:54 [Xenomai-core] 2.6.17 hang on "will halt now" (possibly SMI related) Rodrigo Rosenfeld Rosas
2006-07-02 13:29 ` Jan Kiszka
2006-07-03 17:37   ` [Xenomai-core] 2.6.17 hang on "will halt now" (possibly SMI related) [SOLVED] Rodrigo Rosenfeld Rosas
2006-07-03 17:45     ` Jan Kiszka
2006-07-03 18:04       ` Rodrigo Rosenfeld Rosas

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.