Bug 6563
Summary: | 2.6.16.16 boot hang in ACPI mode, 2.6.12 boots 1 of 2 processors - Pentium D | ||
---|---|---|---|
Product: | ACPI | Reporter: | David Ronis (ronis) |
Component: | Config-Other | Assignee: | Len Brown (lenb) |
Status: | CLOSED PATCH_ALREADY_AVAILABLE | ||
Severity: | blocking | CC: | acpi-bugzilla, bunk |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.16.16 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
dmsg file after boot with acpi=off
.config file used to build the kernel /proc/interrupts after booting with acpi=off dmsg file from knoppix boot /proc/interrupts from knoppix boot /proc/cpuinfo from Knoppix boot diffs of dmesg between Knoppix & 2.6.16.16 Full hardware listing |
Description
David Ronis
2006-05-16 08:53:54 UTC
Created attachment 8118 [details]
dmsg file after boot with acpi=off
Created attachment 8119 [details]
.config file used to build the kernel
Created attachment 8120 [details]
/proc/interrupts after booting with acpi=off
can you post the dmesg with 2.6.12 (the working case)?
> >.MP-BIOS bug: 8254 timer not connected to IO-APIC
> >...trying to set up timer (IRQ0) through the 8259A ... failed.
> >...trying to set up timer as Virtual Wire IRQ... works.
> >checking TSC synchronization across 2 CPUs: passed.
is this the same motherboard used by the pentium D CPU?
I've attached the information requested. I was in error though, the knoppix version actually comes up with only 1 cpu. I saw the 2 penguins on the boot screen and assumed that both would be working. On other thing. I compiled the 2.6.16.16 kernel with hyperthreading turned on (cpuinfo says it's there). Created attachment 8129 [details]
dmsg file from knoppix boot
Created attachment 8130 [details]
/proc/interrupts from knoppix boot
Created attachment 8131 [details]
/proc/cpuinfo from Knoppix boot
There are two problems here: 1. 2.6.12/Knoppix boots in ACPI mode, but enables only 1 processor? The BIOS is not enabling the 2nd processor: Linux version 2.6.12 (root@Knoppix) (gcc-Version 3.3.6 (Debian 1:3.3.6-7)) #2 SMP Tue Aug 9 23:20:52 CEST 2005 ... ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) Processor #0 15:6 APIC version 20 ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] disabled) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x82] disabled) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x83] disabled) Update your board with the latest BIOS from the vendor, then go into SETUP and make sure there is no option that is turning off the 2nd processor. 2. 2.6.16.16 ACPI-mode boot hang: Please always add "debug" to the cmdline. the "acpi=off" dmesg is missing some lines. Is it possible to capture the serial console log of the failure with just "debug" as a parameter? Also, try booting with "noapic". If there is something funky about the timer IRQ on this board that 2.6.16 is tripping over, this should get around it and run in legacy PIC mode just like the "acpi=off" case does. OK I upgraded the bios and made sure that everthing that looked like two processors should be enabled was. Booting 2.6.12 from knoppix (with no extra flags other than debug) works; i.e., I see both processors. Booting 2.6.16.16 hangs unless I put acpi=off, where I don't see the second processor. I tried simply booting with noapic and debug, but that hangs too. The last line on the screen is: Total of 2 processors activated (13606.11 BogoMIPS). I diff'd the dmsgs from the before and after the bios upgrade (with acpi=off and debug) diff dmesg /var/log/dmesg 6,7c6,7 < BIOS-e820: 0000000000100000 - 000000007fe5f000 (usable) < BIOS-e820: 000000007fe5f000 - 000000007fee9000 (ACPI NVS) --- > BIOS-e820: 0000000000100000 - 000000007fe5c000 (usable) > BIOS-e820: 000000007fe5c000 - 000000007fee9000 (ACPI NVS) 35c35 < Detected 3401.795 MHz processor. --- > Detected 3400.704 MHz processor. 40c40 < Memory: 2074024k/2096128k available (1961k kernel code, 20452k reserved, 655k data, 200k init, 1178000k highmem) --- > Memory: 2073900k/2096128k available (1961k kernel code, 20452k reserved, 655k data, 200k init, 1177988k highmem) 42c42 < Calibrating delay using timer specific routine.. 6807.51 BogoMIPS (lpj=3403756 ) --- > Calibrating delay using timer specific routine.. 6807.50 BogoMIPS (lpj=3403754 ) 59c59 < Total of 1 processors activated (6807.51 BogoMIPS). --- > Total of 1 processors activated (6807.50 BogoMIPS). 97c97 < MEM window: 95300000-953fffff --- > MEM window: disabled. 101c101 < MEM window: 95400000-954fffff --- > MEM window: disabled. > is after the upgrade. I also diffed the 2.6.16.16 (acpi=off) with knoppix and I've attached that. One question: I built the kernel with hyperthreading enabled. /proc/cpuinfo says it's there, but this is really a dual core chip. Is this a problem? Created attachment 8142 [details]
diffs of dmesg between Knoppix & 2.6.16.16
Created attachment 8164 [details]
Full hardware listing
I just noticed your return e-mail address. This box has an intel motherboard
and seems to be largely intel-based. Perhaps you have a similar one at work
that has a working SMP kernel? If so, could you send me a copy of the .config
file used to build the kernel?
I upgraded the kernel to 2.6.16.18 today (I'd already tried 2.6.16.17, with no improvement. The problem is solved (although it beats me as to why given the changes listed in the Changelog). One thing slightly different in the configuration was that I turned on IRQBALANCE (it had been on when I initially was trying to get things to work). |