Bug 2694 - boot hang unless "nolapic" - Compaq Presario 2100 (2199us)
Summary: boot hang unless "nolapic" - Compaq Presario 2100 (2199us)
Status: REJECTED DUPLICATE of bug 1269
Alias: None
Product: ACPI
Classification: Unclassified
Component: Config-Other (show other bugs)
Hardware: i386 Linux
: P2 high
Assignee: Len Brown
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-12 23:31 UTC by Wayne Schroeder
Modified: 2004-05-17 21:37 UTC (History)
0 users

See Also:
Kernel Version: 2.6.6
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Wayne Schroeder 2004-05-12 23:31:55 UTC
Distribution: 2.6.6 source download on Debian 3.1 (testing/sarge)
Hardware Environment: Compaq Presario 2100 (2199us) amd Athlon XP-M 2800+ 
Software Environment: Debian linux
Problem Description: Laptop hangs at boot at Executing all Device _STA and_INI
methods:.....


Steps to reproduce:
Build kernel with acpi

Powernow says my bios is broken (no table matching cpu id or something) and the
page it says (in boot messages) to go to says that the 2100 compaq presario's
have a broken bios BUT if I enable acpi there are reports that it will work with
acpi's 'driver' for cpu freq scaling etc.  So I am on a quest to get acpi
working with this laptop.  It works fine if I load with acpi=ht, but powernow
still refuses to work and acpi=ht seems to not be enough to work with battery
monitoring etc.  In any case, the laptop is available for hacking on if someone
wants to take a crack at it -- I got the following from serial console to
another machine at boot:

Linux version 2.6.6 (root@grub) (gcc version 3.3.3 (Debian 20040401)) #11 Thu
May 13 00:49:46 CDT 2004                           
BIOS-provided physical RAM map:                                                
                                                 
 BIOS-e820: 0000000000000000 - 000000000009f800 (usable)                       
                                                 
 BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)                     
                                                 
 BIOS-e820: 00000000000d0000 - 0000000000100000 (reserved)                     
                                                 
 BIOS-e820: 0000000000100000 - 000000001eef0000 (usable)
 BIOS-e820: 000000001eef0000 - 000000001eeff000 (ACPI data)
 BIOS-e820: 000000001eeff000 - 000000001ef00000 (ACPI NVS)
 BIOS-e820: 000000001ef00000 - 000000001f000000 (reserved)
 BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
494MB LOWMEM available.
On node 0 totalpages: 126704
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 122608 pages, LIFO batch:16
  HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 PTLTD                                     ) @ 0x000f7290
ACPI: RSDT (v001 PTLTD    RSDT   0x06040000  LTP 0x00000000) @ 0x1eef8b73
ACPI: FADT (v001 ATI    Raptor   0x06040000 ATI  0x000f4240) @ 0x1eefee2b
ACPI: BOOT (v001 PTLTD  $SBFTBL$ 0x06040000  LTP 0x00000001) @ 0x1eefee9f
ACPI: SSDT (v001 PTLTD  POWERNOW 0x06040000  LTP 0x00000001) @ 0x1eefeec7
ACPI: DSDT (v001    ATI U1_M1535 0x06040000 MSFT 0x0100000d) @ 0x00000000
Built 1 zonelists
Kernel command line: BOOT_IMAGE=linux ro root=307 console=ttyS0
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
PID hash table entries: 2048 (order 11: 16384 bytes)
Detected 2119.888 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Memory: 499172k/506816k available (1664k kernel code, 6872k reserved, 756k data,
228k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 4186.11 BogoMIPS
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: AMD mobile AMD Athlon(tm) XP2800+ stepping 00
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 2119.0787 MHz.
..... host bus clock speed is 264.0973 MHz.
NET: Registered protocol family 16
EISA bus registered
PCI: PCI BIOS revision 2.10 entry at 0xfd87b, last bus=2
PCI: Using configuration type 1
spurious 8259A interrupt: IRQ7.
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040326
 tbxface-0117 [03] acpi_load_tables      : ACPI Tables successfully acquired
Parsing all Control
Methods:..................................................................................................................................................................
Table [DSDT](id F005) - 753 Objects with 52 Devices 254 Methods 17 Regions
Parsing all Control Methods:
Table [SSDT](id F003) - 3 Objects with 0 Devices 0 Methods 0 Regions
ACPI Namespace successfully loaded at root c03aa89c
ACPI: IRQ9 SCI: Level Trigger.
evxfevnt-0093 [04] acpi_enable           : Transition to ACPI mode successful
evgpeblk-0867 [06] ev_create_gpe_block   : GPE 00 to 63 [_GPE] 8 regs at
0000000000008018 on int 9
evgpeblk-0925 [06] ev_create_gpe_block   : Found 0 Wake, Enabled 8 Runtime GPEs
in this block
Completing Region/Field/Buffer/Package
initialization:.......................................................................
Initialized 17/17 Regions 0/0 Fields 25/25 Buffers 29/29 Packages (765 nodes)
Executing all Device _STA and_INI methods:.....
Comment 1 Shaohua 2004-05-13 20:38:17 UTC
Please try boot option: noapic. we found the error in many systems if local 
apic enabled
Comment 2 Len Brown 2004-05-13 22:33:41 UTC
that should be "nolapic" 
 
Comment 3 Wayne Schroeder 2004-05-14 21:30:47 UTC
The "nolapic" worked like a champ.  Now I need to turn off acpi debug messages!
 The powernow stuff still thinks the bios is broken, but fallback to acpi
scaling seems to work.  I have yet to try messing with the sysfs stuff for
scaling but I had cpudynd going and it seemed to be modifying the governer just
fine, even though I haven't had a chance to really see what's going on, it looks
to be in working order. 

Is there anything that I need to attach here to aid in the local apic bug
squishing?  Is someone going to assign this to the right place -- I guess I'm
asking what are the next steps from a development standpoint.  For me
personally, I'm just going to go without local apic.
Comment 4 Len Brown 2004-05-17 21:37:37 UTC
we'll work this one in bug 1269 

*** This bug has been marked as a duplicate of 1269 ***

Note You need to log in before you can comment on or make changes to this bug.