Skip to contentSkip to conversation

2.6.17 hang on "will halt now" (possibly SMI related)

Xenomai-core Rodrigo Rosenfeld Rosas 2 participants 5 messages Jun 30, 2006 – Jul 3, 2006

lore
Share & tools
lore
#0 lore raw

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/

#1 lore raw
Quoted 6 lines · Rodrigo Rosenfeld Rosas

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.

Quoted 6 lines

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, ...).

#2 lore raw

Re: [Xenomai-core] 2.6.17 hang on "will halt now" (possibly SMI related) [SOLVED]

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:

Quoted 20 lines
Quoted 6 lines · Rodrigo Rosenfeld Rosas

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.

Quoted 6 lines

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.

Quoted 5 lines

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/

#3 lore raw

Re: [Xenomai-core] 2.6.17 hang on "will halt now" (possibly SMI related) [SOLVED]

Quoted 5 lines · Rodrigo Rosenfeld Rosas

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

#4 lore raw

Re: [Xenomai-core] 2.6.17 hang on "will halt now" (possibly SMI related) [SOLVED]

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

Quoted 9 lines
Quoted 5 lines · Rodrigo Rosenfeld Rosas

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/