* Real-Time Preemption, -RT-2.6.10-rc2-mm3-V0.7.31-15
@ 2004-12-01 10:17 Wen-chien Jesse Sung
2004-12-01 11:37 ` Ingo Molnar
0 siblings, 1 reply; 6+ messages in thread
From: Wen-chien Jesse Sung @ 2004-12-01 10:17 UTC (permalink / raw)
To: Ingo Molnar; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 362 bytes --]
Hi Ingo,
System hangs on my notebook with RT-0.7.31-15 when running
"/sbin/hwclock --hctosys --localtime".
Cursor stops blinking, no response to SysRq-b.
But if I set "hardirq-preempt=0" in kernel command line, the problem is
gone.
config is attached. Is there anything I can do to provide you more
useful informantion?
--
Best Regards,
Wen-chien Jesse Sung
[-- Attachment #2: config-0.7.31-15.gz --]
[-- Type: application/x-gzip, Size: 2948 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Real-Time Preemption, -RT-2.6.10-rc2-mm3-V0.7.31-15
2004-12-01 10:17 Real-Time Preemption, -RT-2.6.10-rc2-mm3-V0.7.31-15 Wen-chien Jesse Sung
@ 2004-12-01 11:37 ` Ingo Molnar
2004-12-01 11:52 ` Ingo Molnar
0 siblings, 1 reply; 6+ messages in thread
From: Ingo Molnar @ 2004-12-01 11:37 UTC (permalink / raw)
To: Wen-chien Jesse Sung; +Cc: linux-kernel
* Wen-chien Jesse Sung <jesse@cola.voip.idv.tw> wrote:
> config is attached. Is there anything I can do to provide you more
> useful informantion?
hm, how did you generate this .config file? Could you send me your
/proc/config.gz or the .config that you have in your kernel tree?
Ingo
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Real-Time Preemption, -RT-2.6.10-rc2-mm3-V0.7.31-15
2004-12-01 11:37 ` Ingo Molnar
@ 2004-12-01 11:52 ` Ingo Molnar
2004-12-01 12:50 ` Wen-chien Jesse Sung
0 siblings, 1 reply; 6+ messages in thread
From: Ingo Molnar @ 2004-12-01 11:52 UTC (permalink / raw)
To: Wen-chien Jesse Sung; +Cc: linux-kernel
* Ingo Molnar <mingo@elte.hu> wrote:
>
> * Wen-chien Jesse Sung <jesse@cola.voip.idv.tw> wrote:
>
> > config is attached. Is there anything I can do to provide you more
> > useful informantion?
>
> hm, how did you generate this .config file? Could you send me your
> /proc/config.gz or the .config that you have in your kernel tree?
also, is this a vanilla -RT-2.6.10-rc2-mm3-V0.7.31-15 tree?
Ingo
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Real-Time Preemption, -RT-2.6.10-rc2-mm3-V0.7.31-15
2004-12-01 11:52 ` Ingo Molnar
@ 2004-12-01 12:50 ` Wen-chien Jesse Sung
2004-12-01 13:27 ` [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm3-V0.7.31-17 Ingo Molnar
0 siblings, 1 reply; 6+ messages in thread
From: Wen-chien Jesse Sung @ 2004-12-01 12:50 UTC (permalink / raw)
To: Ingo Molnar; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 338 bytes --]
Ingo Molnar wrote:
> * Ingo Molnar <mingo@elte.hu> wrote:
> also, is this a vanilla -RT-2.6.10-rc2-mm3-V0.7.31-15 tree?
Ah... Sorry, my fault, it's not a vanilla one.
I redo the test with a vanilla 2.6.10-rc2-mm3-V0.7.31-16 again, and it
still hangs at hwclock.
Here's the complete config file.
--
Best Regards,
Wen-chien Jesse Sung
[-- Attachment #2: config.gz --]
[-- Type: application/x-gzip, Size: 8401 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm3-V0.7.31-17
2004-12-01 12:50 ` Wen-chien Jesse Sung
@ 2004-12-01 13:27 ` Ingo Molnar
2004-12-01 16:12 ` Wen-chien Jesse Sung
0 siblings, 1 reply; 6+ messages in thread
From: Ingo Molnar @ 2004-12-01 13:27 UTC (permalink / raw)
To: Wen-chien Jesse Sung; +Cc: linux-kernel
* Wen-chien Jesse Sung <jesse@cola.voip.idv.tw> wrote:
> I redo the test with a vanilla 2.6.10-rc2-mm3-V0.7.31-16 again, and it
> still hangs at hwclock. Here's the complete config file.
ok, could you try the -17 kernel i've just uploaded to the usual place:
http://redhat.com/~mingo/realtime-preempt/
does this fix the lockup?
i believe the lockup is an interesting side-effect of threading IRQ#0:
any code within the kernel that loops on jiffies will produce a lockup,
because it starves the timer IRQ thread.
The RTC driver had two such places, but i also found one in the
IRQ-autodetect code. We want to eliminate such code anyway, and a lockup
is certainly an effective way to detect it ;)
to debug such lockups in the future you can do:
echo 1 > /proc/sys/kernel/debug_direct_keyboard
/sbin/hwclock ...
and use the sysrq keys to get a stack dump of the lockup. NOTE: dont use
the keyboard in this mode for too long, it can lock up.
Ingo
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-12-01 16:14 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-01 10:17 Real-Time Preemption, -RT-2.6.10-rc2-mm3-V0.7.31-15 Wen-chien Jesse Sung
2004-12-01 11:37 ` Ingo Molnar
2004-12-01 11:52 ` Ingo Molnar
2004-12-01 12:50 ` Wen-chien Jesse Sung
2004-12-01 13:27 ` [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm3-V0.7.31-17 Ingo Molnar
2004-12-01 16:12 ` Wen-chien Jesse Sung
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox