From: Shaohua Li <shaohua.li@intel.com>
To: Andrew Morton <akpm@osdl.org>
Cc: Kevin Baradon <kevin.baradon@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: 2.6.17-rc1: kernel only boots one CPU on HT system
Date: Mon, 24 Apr 2006 09:57:39 +0800 [thread overview]
Message-ID: <1145843859.19994.63.camel@sli10-desk.sh.intel.com> (raw)
In-Reply-To: <20060423141519.314ae567.akpm@osdl.org>
Hi,
On Sun, 2006-04-23 at 14:15 -0700, Andrew Morton wrote:
> Kevin Baradon <kevin.baradon@gmail.com> wrote:
> >
> > Hello,
> >
> > Starting with kernel 2.6.17-rc1 (also happens with 2.6.17-rc2), second
> > logical-CPU of my Hyperthreading system no longer boots.
> >
> > I tracked up changes in APIC code, and it appears reverting commit
> > 7c5c1e427b5e83807fd05419d1cf6991b9d87247 fixes this bug.
>
> That helps heaps, thanks.
The commit doesn't look like the root cause to me. BIOS already assigns
unique id to ioapic, and the cpu family is 15, so with/without the patch
the code path hasn't any difference. Kevin, can you please make a clean
build and check if the patch is the real cause?
If it still doesn't work, you might apply a small change below to
include/asm-i386/apic.h, and attach the dmesg, so we could analyze it.
-#define Dprintk(x...)
+#define Dprintk(format, arg...) printk(format, ##arg)
> > See both dmesgs, and kernel configuration attached.
> >
> > Feel free to ask me if you need other informations.
> > Please CC me as I'm not subscribed to LKML.
> >
> >
> > Hardware :
> > ------------------------------
> > MB: Gigabyte GA-8SINXP1394
> > CPU: Intel Pentium 4 3.06Ghz HT
> > RAM: Corsair 512Mo
> >
> > cat /proc/cpuinfo: (patched kernel)
> > ------------------------------
> > processor : 0
> > vendor_id : GenuineIntel
> > cpu family : 15
> > model : 2
> > model name : Intel(R) Pentium(R) 4 CPU 3.06GHz
> > stepping : 7
> > cpu MHz : 3081.400
> > cache size : 512 KB
> > physical id : 0
> > siblings : 2
> > core id : 0
> > cpu cores : 1
> > fdiv_bug : no
> > hlt_bug : no
> > f00f_bug : no
> > coma_bug : no
> > fpu : yes
> > fpu_exception : yes
> > cpuid level : 2
> > wp : yes
> > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
> > cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
> > bogomips : 6165.74
> >
> > processor : 1
> > vendor_id : GenuineIntel
> > cpu family : 15
> > model : 2
> > model name : Intel(R) Pentium(R) 4 CPU 3.06GHz
> > stepping : 7
> > cpu MHz : 3081.400
> > cache size : 512 KB
> > physical id : 0
> > siblings : 2
> > core id : 0
> > cpu cores : 1
> > fdiv_bug : no
> > hlt_bug : no
> > f00f_bug : no
> > coma_bug : no
> > fpu : yes
> > fpu_exception : yes
> > cpuid level : 2
> > wp : yes
> > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
> > cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
> > bogomips : 6162.10
> >
> > cat /proc/interrupts : (patched kernel)
> > -----------------------------
> > CPU0 CPU1
> > 0: 2143303 6647 IO-APIC-edge timer
> > 1: 15 9 IO-APIC-edge i8042
> > 4: 7 1 IO-APIC-edge serial
> > 8: 19518 1 IO-APIC-edge rtc
> > 9: 0 0 IO-APIC-level acpi
> > 15: 37053 23 IO-APIC-edge ide1
> > 16: 240872 1 IO-APIC-level cx88[0], eth-lan
> > 17: 11128 19 IO-APIC-level ide2, ide3
> > 18: 63432 4 IO-APIC-level libata, ohci1394, CS46XX
> > 19: 0 3 IO-APIC-level ehci_hcd:usb1
> > 20: 457635 195 IO-APIC-level ohci_hcd:usb2
> > 21: 0 0 IO-APIC-level ohci_hcd:usb3
> > 22: 0 0 IO-APIC-level ohci_hcd:usb4
> > NMI: 2149889 2149786
> > LOC: 2150122 2150121
> > ERR: 0
> > MIS: 0
> >
>
> Shaohua, I'll queue up a reversion patch so this doesn't get forgotten
> about but I won't send it to Linus at this stage.
Thanks, Andrew.
Thanks,
Shaohua
next prev parent reply other threads:[~2006-04-24 1:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-23 12:34 Kevin Baradon
2006-04-23 21:15 ` Andrew Morton
2006-04-24 1:57 ` Shaohua Li [this message]
2006-04-24 17:26 ` Kevin Baradon
2006-04-25 1:53 ` Shaohua Li
2006-05-15 21:26 ` Kevin Baradon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1145843859.19994.63.camel@sli10-desk.sh.intel.com \
--to=shaohua.li@intel.com \
--cc=akpm@osdl.org \
--cc=kevin.baradon@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®