Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Tony Luck <tony.luck@...>
Cc: David Miller <davem@...>, <mingo@...>, <linux-kernel@...>
Date: Thursday, February 14, 2008 - 6:04 pm

> >  The strange thing is that Ingo's patch to make cpu_clock() a NOP until
 > >  after sched_init() didn't fix things for me...

 > Very strange.  I threw in an output line counter into the printk code() ... if I
 > disable the timestamps for the first 30 lines, then everything is good (so the
 > basic timestamping code does still work on ia64). But I would have thought
 > that Ingo's delay until sched_init() ought to be long enough too. Clearly I
 > need to figure out exactly what needs to be initialized to prevent the
 > hang/crash.

I guess sched_init() is too early... it does seem really strange to
me, but I just double checked with Ingo's patch and it does indeed
hang.  The slow way to make progress is just to go through
start_kernel() line-by-line and enable cpu_clock() at each stage, and
see where it stops hanging.  I'll give that a shot as a background
process (my ia64 box takes quite a while to boot, so each test takes a
long time but requires very little of my attention).
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Strange hang on ia64 with CONFIG_PRINTK_TIME=y, Roland Dreier, (Wed Feb 13, 2:24 am)
Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y, David Miller, (Wed Feb 13, 3:01 am)
Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y, Ingo Molnar, (Wed Feb 13, 8:57 am)
Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y, David Miller, (Wed Feb 13, 9:03 am)
Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y, Tony Luck, (Wed Feb 13, 8:59 pm)
Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y, David Miller, (Wed Feb 13, 9:04 pm)
Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y, Tony Luck, (Wed Feb 13, 11:33 pm)
Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y, Roland Dreier, (Wed Feb 13, 11:47 pm)
Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y, Tony Luck, (Thu Feb 14, 5:27 pm)
Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y, Roland Dreier, (Thu Feb 14, 6:04 pm)
RE: Strange hang on ia64 with CONFIG_PRINTK_TIME=y, Luck, Tony, (Thu Feb 14, 6:23 pm)
Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y, Tony Luck, (Thu Feb 14, 10:17 pm)
Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y, Tony Luck, (Tue Feb 19, 6:40 pm)
Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y, Roland Dreier, (Wed Feb 20, 7:36 pm)
Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y, Roland Dreier, (Wed Feb 20, 7:35 pm)
Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y, Ingo Molnar, (Wed Feb 20, 4:12 am)
Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y, David Miller, (Wed Feb 20, 4:15 am)
RE: Strange hang on ia64 with CONFIG_PRINTK_TIME=y, Luck, Tony, (Thu Feb 14, 2:24 pm)
Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y, Ingo Molnar, (Wed Feb 13, 9:06 am)
Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y, Ingo Molnar, (Wed Feb 13, 9:02 am)
Re: Strange hang on ia64 with CONFIG_PRINTK_TIME=y, Roland Dreier, (Wed Feb 13, 8:26 pm)