* 2.6.19 Microcode Update causes a ten second wait
@ 2006-11-06 21:33 Andrew Benton
2006-11-06 22:03 ` Arjan van de Ven
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Benton @ 2006-11-06 21:33 UTC (permalink / raw)
To: Linux Kernel Mailing List
Hello World
With the 2.6.19 kernels I've tried (2.6.19-rc1-git7 and
2.6.19-rc4-git10), enabling the Intel Microcode Update Driver causes the
kernel to hang for more than ten seconds when I boot. The last thing it
shows on the screen is `TCP reno registered' and then it just stops like
its a kernel panic. But it isn't, after about ten seconds the text flies
up the screen again and the system boots normally. Disabling support for
the microcode update makes the problem go away.
Andy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.6.19 Microcode Update causes a ten second wait
2006-11-06 21:33 2.6.19 Microcode Update causes a ten second wait Andrew Benton
@ 2006-11-06 22:03 ` Arjan van de Ven
2006-11-06 23:05 ` Andrew Benton
0 siblings, 1 reply; 3+ messages in thread
From: Arjan van de Ven @ 2006-11-06 22:03 UTC (permalink / raw)
To: Andrew Benton; +Cc: Linux Kernel Mailing List
On Mon, 2006-11-06 at 21:33 +0000, Andrew Benton wrote:
> Hello World
> With the 2.6.19 kernels I've tried (2.6.19-rc1-git7 and
> 2.6.19-rc4-git10), enabling the Intel Microcode Update Driver causes the
> kernel to hang for more than ten seconds when I boot. The last thing it
> shows on the screen is `TCP reno registered' and then it just stops like
> its a kernel panic. But it isn't, after about ten seconds the text flies
> up the screen again and the system boots normally. Disabling support for
> the microcode update makes the problem go away.
you're lucky, for me it hangs forever until I add this patch:
--- linux-2.6.18/arch/i386/kernel/microcode.c.org 2006-11-06 14:50:37.000000000 +0100
+++ linux-2.6.18/arch/i386/kernel/microcode.c 2006-11-06 14:52:30.000000000 +0100
@@ -577,7 +577,7 @@ static void microcode_init_cpu(int cpu)
set_cpus_allowed(current, cpumask_of_cpu(cpu));
mutex_lock(µcode_mutex);
collect_cpu_info(cpu);
- if (uci->valid)
+ if (uci->valid && system_state==SYSTEM_RUNNING)
cpu_request_microcode(cpu);
mutex_unlock(µcode_mutex);
set_cpus_allowed(current, old);
--
if you want to mail me at work (you don't), use arjan (at) linux.intel.com
Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.6.19 Microcode Update causes a ten second wait
2006-11-06 22:03 ` Arjan van de Ven
@ 2006-11-06 23:05 ` Andrew Benton
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Benton @ 2006-11-06 23:05 UTC (permalink / raw)
To: Arjan van de Ven; +Cc: Linux Kernel Mailing List
Arjan van de Ven wrote:
> you're lucky, for me it hangs forever until I add this patch:
>
> --- linux-2.6.18/arch/i386/kernel/microcode.c.org 2006-11-06 14:50:37.000000000 +0100
> +++ linux-2.6.18/arch/i386/kernel/microcode.c 2006-11-06 14:52:30.000000000 +0100
> @@ -577,7 +577,7 @@ static void microcode_init_cpu(int cpu)
> set_cpus_allowed(current, cpumask_of_cpu(cpu));
> mutex_lock(µcode_mutex);
> collect_cpu_info(cpu);
> - if (uci->valid)
> + if (uci->valid && system_state==SYSTEM_RUNNING)
> cpu_request_microcode(cpu);
> mutex_unlock(µcode_mutex);
> set_cpus_allowed(current, old);
>
Thanks, that patch fixes the problem for me.
Andy
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-11-06 23:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-06 21:33 2.6.19 Microcode Update causes a ten second wait Andrew Benton
2006-11-06 22:03 ` Arjan van de Ven
2006-11-06 23:05 ` Andrew Benton
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.