[Bug 574904] New: Checking/updating CPU microcode takes too long
http://bugzilla.novell.com/show_bug.cgi?id=574904 http://bugzilla.novell.com/show_bug.cgi?id=574904#c0 Summary: Checking/updating CPU microcode takes too long Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: jw@novell.com QAContact: qa@suse.de Blocks: 357354 Found By: --- Blocker: --- While booting the system, progress is halted after the message 'Checking/updating CPU microcode' for about more than a minute .. [ 13.683543] type=1505 audit(1264711829.339:11): operation="profile_load" pid=1188 name=/usr/sbin/traceroute [ 14.640442] microcode: CPU0 sig=0x6ec, pf=0x20, revision=0x54 [ 14.640448] platform microcode: firmware: requesting intel-ucode/06-0e-0c [ 74.640171] microcode: CPU1 sig=0x6ec, pf=0x20, revision=0x54 [ 74.640178] platform microcode: firmware: requesting intel-ucode/06-0e-0c [ 134.640212] Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba [ 136.140525] BIOS EDD facility v0.16 2004-Jun-25, 1 devices found [ 139.302857] [drm] DAC-6: set mode 1024x768 23 [ 141.693988] Bluetooth: L2CAP ver 2.14 .. Same behaviour on a second reboot. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=574904 http://bugzilla.novell.com/show_bug.cgi?id=574904#c1 Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |jeffm@novell.com Info Provider| |jw@novell.com --- Comment #1 from Jeff Mahoney <jeffm@novell.com> 2010-01-29 21:24:16 UTC --- Can you boot with sysrq=1 and do an alt+sysrq+t there? I'm not running into delays like that on my system and it's probably not actually the ucode updater that's the problem. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=574904 http://bugzilla.novell.com/show_bug.cgi?id=574904#c2 Juergen Weigert <jw@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|jw@novell.com | --- Comment #2 from Juergen Weigert <jw@novell.com> 2010-01-29 23:39:49 UTC --- Created an attachment (id=339790) --> (http://bugzilla.novell.com/attachment.cgi?id=339790) /var/log/messages I pressed alt-sysrq-t a few times while it hung there. See attached log. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=574904 http://bugzilla.novell.com/show_bug.cgi?id=574904#c3 --- Comment #3 from Juergen Weigert <jw@novell.com> 2010-02-03 18:22:12 UTC --- Installed kernel-2.6.31.12 as recommended in bnc#568120. No change here, I still have the one-minute delay. You are probably right, that it is unrelated to the 'Checking/updating CPU microcode', sometimes the next message 'Loading CPUFreq modules' is shown early and it hangs there instead. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=574904 http://bugzilla.novell.com/show_bug.cgi?id=574904#c4 --- Comment #4 from Jeff Mahoney <jeffm@novell.com> 2010-02-03 18:48:54 UTC --- My guess that it wasn't the ucode updater in comment #1 appears to be wrong. On my system (running the .32 kernel, which I've also seen this reported again), I can reproduce the delay by doing /etc/init.d/microcode.ctl start after the system is booted. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=574904 http://bugzilla.novell.com/show_bug.cgi?id=574904#c5 --- Comment #5 from Jeff Mahoney <jeffm@novell.com> 2010-02-03 18:58:14 UTC --- The delay is the timeout trying to load the firmware image from disk. It can be adjusted via /sys/class/firmware/timeout. I set it to 5 and the delay was suitably reduced. This isn't a solution, but it helps narrow down the cause. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=574904 http://bugzilla.novell.com/show_bug.cgi?id=574904#c6 Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel-maintainers@forge.pr |kasievers@novell.com |ovo.novell.com | --- Comment #6 from Jeff Mahoney <jeffm@novell.com> 2010-02-03 19:27:26 UTC --- Kay - I think this is a udev issue. The kernel is waiting for the completion event from the KOBJ_ADD of the firmware device and it's never coming. The firmware helper updates .../loading when it starts copying the firmware and then only updates it after that to indicate success or failure. There are other failures (like ENOENT) that can occur before then that aren't getting reported to the kernel. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=574904 http://bugzilla.novell.com/show_bug.cgi?id=574904#c7 --- Comment #7 from Jeff Mahoney <jeffm@novell.com> 2010-02-03 19:29:07 UTC --- Created an attachment (id=340559) --> (http://bugzilla.novell.com/attachment.cgi?id=340559) Potential solution This patch moves the final set_loading after the exit: label and sets 0/-1 depending on if there is an error condition. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=574904 http://bugzilla.novell.com/show_bug.cgi?id=574904#c8 Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #340559|0 |1 is obsolete| | --- Comment #8 from Jeff Mahoney <jeffm@novell.com> 2010-02-03 20:55:25 UTC --- Created an attachment (id=340578) --> (http://bugzilla.novell.com/attachment.cgi?id=340578) Potential solution #2 The previous patch didn't work because loadpath wasn't initialized yet. This version moves up the initialization and then only calls set_loading if the loadpath has been initialized and the loading file exists. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=574904 http://bugzilla.novell.com/show_bug.cgi?id=574904#c9 --- Comment #9 from Kay Sievers <kasievers@novell.com> 2010-02-04 05:09:03 UTC --- It's a 11.3 (Factory) issue, not 11.2, right? The fix is already upstream, and will be part of the next package update: http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=86a7a2f853fe6... Thanks! -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=574904 http://bugzilla.novell.com/show_bug.cgi?id=574904#c10 Kay Sievers <kasievers@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |seife@novell.slipkontur.de --- Comment #10 from Kay Sievers <kasievers@novell.com> 2010-02-04 05:12:56 UTC --- *** Bug 575553 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=575553 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=574904 http://bugzilla.novell.com/show_bug.cgi?id=574904#c11 Kay Sievers <kasievers@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED --- Comment #11 from Kay Sievers <kasievers@novell.com> 2010-02-05 00:34:29 UTC --- Fix submitted to Factory. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=574904 http://bugzilla.novell.com/show_bug.cgi?id=574904#c12 Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|FIXED | --- Comment #12 from Jeff Mahoney <jeffm@novell.com> 2010-02-05 01:36:12 UTC --- No, he's using 2.6.31. So it's on 11.2 as well. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=574904 http://bugzilla.novell.com/show_bug.cgi?id=574904#c13 --- Comment #13 from Kay Sievers <kasievers@novell.com> 2010-02-05 06:52:21 UTC --- Any idea? Doesn't sound like udev. There is no known issue like this with udev 146, no real change in that area since ages, and no firmware loader in C. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=574904 http://bugzilla.novell.com/show_bug.cgi?id=574904#c14 Kay Sievers <kasievers@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |jw@novell.com --- Comment #14 from Kay Sievers <kasievers@novell.com> 2010-02-05 07:00:26 UTC --- What version of udev is installed: /sbin/udevd -V ? Does: rpm -e microcode_ctl make the issue go away? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=574904 http://bugzilla.novell.com/show_bug.cgi?id=574904#c15 Juergen Weigert <jw@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED Info Provider|jw@novell.com | --- Comment #15 from Juergen Weigert <jw@novell.com> 2010-02-08 18:09:19 UTC --- /sbin/udevd -V 150 yes: rpm -e microcode_ctl makes it fast again. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=574904 http://bugzilla.novell.com/show_bug.cgi?id=574904#c16 Kay Sievers <kasievers@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |CLOSED Component|Kernel |Hotplug Version|Final |Factory Resolution| |FIXED Product|openSUSE 11.2 |openSUSE 11.3 Target Milestone|--- |Factory --- Comment #16 from Kay Sievers <kasievers@novell.com> 2010-02-09 08:39:13 UTC --- Udev 150 is the Factory version. This issue should be fixed. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=574904 http://bugzilla.novell.com/show_bug.cgi?id=574904#c17 Leonardo Chiquitto <lchiquitto@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Joachim.Reichelt@helmholtz- | |hzi.de --- Comment #17 from Leonardo Chiquitto <lchiquitto@novell.com> 2010-02-10 20:27:12 UTC --- *** Bug 578854 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=578854 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=574904 http://bugzilla.novell.com/show_bug.cgi?id=574904#c18 --- Comment #18 from Ruediger Oertel <ro@novell.com> 2010-02-11 09:14:44 UTC --- *** Bug 578855 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=578855 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com