Bug 11785

Summary: boot hang - unless "nolapic" - Asus M3N, Asus M300N
Product: ACPI Reporter: Tony White (tonywhite100)
Component: Config-OtherAssignee: acpi_acpica-core (acpi_acpica-core)
Status: CLOSED DUPLICATE    
Severity: high CC: acpi-bugzilla
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.23.1, 2.6.25.5, 2.6.27.1 Subsystem:
Regression: --- Bisected commit-id:
Attachments: Output from acpidump in a text file
cpuinfo
dmidecode output
acpi=debug dmesg
info log
warnings log
Newest bios version dmidecode output

Description Tony White 2008-10-18 19:17:43 UTC
Latest working kernel version:linux-2.6.27.1
Earliest failing kernel version:All previous as far as I can remember.
Distribution: Mandrvia 2009
Hardware Environment:Asus M300N (Also known as M3N) It's a laptop. The Asus sticker says M300N.
Software Environment:glibc 2.8
Problem Description: I need to pass no lapic to the kernel in order to prevent a hang at boot. The kernel will not boot without this option supplied to it.

Steps to reproduce:Boot a vanilla linux-2.6.27.1 using grub on this machine without passing nolapic to it.

Other than that, The kernel runs very well guys, Nice job! Keep up the sterling work, You guys rock!

I hope I have reported this in the right place. :)

lspci :

00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)                                                           
00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)                                                     
00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
01:04.0 Network controller: Intel Corporation PRO/Wireless LAN 2100 3B Mini PCIAdapter (rev 04)
01:05.0 CardBus bridge: Ricoh Co Ltd RL5c475 (rev b8)
01:05.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C551 IEEE 1394 Controller
01:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VM (MOB) Ethernet Controller (rev 83)

dmidecode :

# dmidecode 2.9                
SMBIOS 2.3 present.            
37 structures occupying 1383 bytes.
Table at 0x000F5610.               

Handle 0x0000, DMI type 0, 20 bytes
BIOS Information                   
        Vendor: American Megatrends Inc.
        Version: 0202                   
        Release Date: 04/18/2003        
        Address: 0xF0000                
        Runtime Size: 64 kB             
        ROM Size: 512 kB                
        Characteristics:                
                ISA is supported        
                PCI is supported        
                PC Card (PCMCIA) is supported
                PNP is supported             
                APM is supported             
                BIOS is upgradeable          
                BIOS shadowing is allowed    
                ESCD support is available    
                Boot from CD is supported    
                Selectable boot is supported 
                BIOS ROM is socketed         
                EDD is supported             
                5.25"/360 KB floppy services are supported (int 13h)
                5.25"/1.2 MB floppy services are supported (int 13h)
                3.5"/720 KB floppy services are supported (int 13h) 
                3.5"/2.88 MB floppy services are supported (int 13h)
                Print screen service is supported (int 5h)          
                8042 keyboard services are supported (int 9h)       
                Serial services are supported (int 14h)             
                Printer services are supported (int 17h)            
                CGA/mono video services are supported (int 10h)     
                ACPI is supported                                   
                USB legacy is supported                             
                AGP is supported                                    
                LS-120 boot is supported                            
                ATAPI Zip drive boot is supported                   
                BIOS boot specification is supported                
                Function key-initiated network boot is supported    

Handle 0x0001, DMI type 1, 25 bytes
System Information                 
        Manufacturer: ASUSTeK Computer Inc.        
        Product Name: M3N                          
        Version: 1.0                               
        Serial Number: SSN12345678901234567        
        UUID: 00020003-0004-0005-0006-000700080009 
        Wake-up Type: Power Switch                 

Handle 0x0002, DMI type 2, 8 bytes
Base Board Information            
        Manufacturer: ASUSTeK Computer Inc.        
        Product Name: M3N                          
        Version: 1.0                               
        Serial Number: BSN12345678901234567        

Handle 0x0003, DMI type 3, 17 bytes
Chassis Information                
        Manufacturer: ASUSTeK Computer Inc.        
        Type: Notebook                             
        Lock: Not Present                          
        Version: 1.0                               
        Serial Number: CSN12345678901234567        
        Asset Tag: ATN12345678901234567            
        Boot-up State: Safe                        
        Power Supply State: Safe                   
        Thermal State: Other                       
        Security Status: Other                     
        OEM Information: 0x00000000                

Handle 0x0004, DMI type 4, 35 bytes
Processor Information              
        Socket Designation: X1     
        Type: Central Processor    
        Family: Unknown            
        Manufacturer: Intel            
        ID: 95 06 00 00 BF FB E9 A7    
        Version: Mobile Genuine Intel(R) processor       1600MHz     
        Voltage: 1.5 V                                               
        External Clock: 100 MHz                                      
        Max Speed: 1600 MHz                                          
        Current Speed: 1600 MHz                                      
        Status: Populated, Enabled                                   
        Upgrade: Unknown                                             
        L1 Cache Handle: 0x0005                                      
        L2 Cache Handle: 0x0006                                      
        L3 Cache Handle: Not Provided                                
        Serial Number: PSN12345678901234567                          
        Asset Tag: PATN1234567890123456                              
        Part Number: PPN12345678901234567                            

Handle 0x0005, DMI type 7, 19 bytes
Cache Information                  
        Socket Designation: L1-Cache
        Configuration: Enabled, Not Socketed, Level 1
        Operational Mode: Varies With Memory Address 
        Location: Internal                           
        Installed Size: 32 KB                        
        Maximum Size: 32 KB                          
        Supported SRAM Types:                        
                Pipeline Burst                       
        Installed SRAM Type: Pipeline Burst          
        Speed: Unknown                               
        Error Correction Type: Single-bit ECC        
        System Type: Data                            
        Associativity: 4-way Set-associative         

Handle 0x0006, DMI type 7, 19 bytes
Cache Information                  
        Socket Designation: L2-cache
        Configuration: Enabled, Not Socketed, Level 2
        Operational Mode: Varies With Memory Address 
        Location: Internal                           
        Installed Size: 1024 KB                      
        Maximum Size: 1024 KB                        
        Supported SRAM Types:                        
                Pipeline Burst                       
        Installed SRAM Type: Pipeline Burst          
        Speed: Unknown                               
        Error Correction Type: Single-bit ECC        
        System Type: Unified                         
        Associativity: 4-way Set-associative         

Handle 0x0007, DMI type 5, 20 bytes
Memory Controller Information      
        Error Detecting Method: None
        Error Correcting Capabilities:
                None                  
        Supported Interleave: One-way Interleave
        Current Interleave: One-way Interleave  
        Maximum Memory Module Size: 1024 MB     
        Maximum Total Memory Size: 2048 MB      
        Supported Speeds:                       
                70 ns                           
                60 ns                           
                50 ns                           
        Supported Memory Types:                 
                DIMM                            
                SDRAM                           
        Memory Module Voltage: 3.3 V            
        Associated Memory Slots: 2              
                0x0008                          
                0x0009                          
        Enabled Error Correcting Capabilities:  
                None                            

Handle 0x0008, DMI type 6, 12 bytes
Memory Module Information          
        Socket Designation: DIMM1  
        Bank Connections: 0 1      
        Current Speed: 10 ns       
        Type: Standard DIMM SDRAM  
        Installed Size: 512 MB (Single-bank Connection)
        Enabled Size: 512 MB (Single-bank Connection)  
        Error Status: OK                               

Handle 0x0009, DMI type 6, 12 bytes
Memory Module Information          
        Socket Designation: DIMM2  
        Bank Connections: 2 3      
        Current Speed: 10 ns       
        Type: Standard DIMM SDRAM  
        Installed Size: 512 MB (Single-bank Connection)
        Enabled Size: 512 MB (Single-bank Connection)  
        Error Status: OK                               

Handle 0x000A, DMI type 8, 9 bytes
Port Connector Information        
        Internal Reference Designator: J1A1
        Internal Connector Type: None      
        External Reference Designator: USB1
        External Connector Type: Access Bus (USB)
        Port Type: USB                           

Handle 0x000B, DMI type 8, 9 bytes
Port Connector Information        
        Internal Reference Designator: J1A1
        Internal Connector Type: None      
        External Reference Designator: USB2
        External Connector Type: Access Bus (USB)
        Port Type: USB                           

Handle 0x000C, DMI type 8, 9 bytes
Port Connector Information        
        Internal Reference Designator: J3A1
        Internal Connector Type: None      
        External Reference Designator: 1394
        External Connector Type: IEEE 1394 
        Port Type: Firewire (IEEE P1394)   

Handle 0x000D, DMI type 8, 9 bytes
Port Connector Information        
        Internal Reference Designator: J4A1
        Internal Connector Type: None      
        External Reference Designator: MODEM
        External Connector Type: RJ-11      
        Port Type: Modem Port               

Handle 0x000E, DMI type 8, 9 bytes
Port Connector Information        
        Internal Reference Designator: J5A1
        Internal Connector Type: None      
        External Reference Designator: LAN 
        External Connector Type: RJ-45     
        Port Type: Network Port            

Handle 0x000F, DMI type 8, 9 bytes
Port Connector Information        
        Internal Reference Designator: J6A1
        Internal Connector Type: None      
        External Reference Designator: Audio Mic In
        External Connector Type: Mini Jack (headphones)
        Port Type: Audio Port                          

Handle 0x0010, DMI type 8, 9 bytes
Port Connector Information        
        Internal Reference Designator: J6A1
        Internal Connector Type: None      
        External Reference Designator: Audio Line In
        External Connector Type: Mini Jack (headphones)
        Port Type: Audio Port                          

Handle 0x0011, DMI type 8, 9 bytes
Port Connector Information        
        Internal Reference Designator: J6A1
        Internal Connector Type: None      
        External Reference Designator: Audio Line Out
        External Connector Type: Mini Jack (headphones)
        Port Type: Audio Port                          

Handle 0x0012, DMI type 8, 9 bytes
Port Connector Information        
        Internal Reference Designator: J9A1
        Internal Connector Type: None      
        External Reference Designator: Video
        External Connector Type: DB-15 female
        Port Type: Video Port                

Handle 0x0013, DMI type 8, 9 bytes
Port Connector Information        
        Internal Reference Designator: J10A1
        Internal Connector Type: None       
        External Reference Designator: Port Replicator
        External Connector Type: Proprietary          
        Port Type: Other                              

Handle 0x0014, DMI type 8, 9 bytes
Port Connector Information        
        Internal Reference Designator: J11A1
        Internal Connector Type: None       
        External Reference Designator: AIBOX
        External Connector Type: Proprietary
        Port Type: Other                    

Handle 0x0015, DMI type 8, 9 bytes
Port Connector Information        
        Internal Reference Designator: J12A1
        Internal Connector Type: None       
        External Reference Designator: USB3 
        External Connector Type: Access Bus (USB)
        Port Type: USB                           

Handle 0x0016, DMI type 9, 13 bytes
System Slot Information            
        Designation: MiniPCI       
        Type: 32-bit PCI           
        Current Usage: Available   
        Length: Long               
        ID: 1                      
        Characteristics:           
                3.3 V is provided  
                Opening is shared  
                PME signal is supported

Handle 0x0017, DMI type 10, 6 bytes
On Board Device Information        
        Type: Video                
        Status: Enabled            
        Description: AGP VGA controller

Handle 0x0018, DMI type 10, 6 bytes
On Board Device Information        
        Type: Ethernet             
        Status: Enabled            
        Description: Ethernet controller

Handle 0x0019, DMI type 10, 6 bytes
On Board Device Information        
        Type: Sound                
        Status: Enabled            
        Description: Audio controller

Handle 0x001A, DMI type 10, 6 bytes
On Board Device Information        
        Type: Other                
        Status: Enabled            
        Description: Modem controller

Handle 0x001B, DMI type 13, 22 bytes
BIOS Language Information           
        Installable Languages: 1    
                enUS                
        Currently Installed Language: enUS

Handle 0x001C, DMI type 15, 33 bytes
System Event Log                    
        Area Length: 1008 bytes     
        Header Start Offset: 0x1010 
        Header Length: 16 bytes     
        Data Start Offset: 0x1020   
        Access Method: General-purpose non-volatile data functions
        Access Address: 0x0002                                    
        Status: Invalid, Not Full                                 
        Change Token: 0x00000000                                  
        Header Format: Type 1                                     
        Supported Log Type Descriptors: 5                         
        Descriptor 1: POST error                                  
        Data Format 1: POST results bitmap                        
        Descriptor 2: Parity memory error                         
        Data Format 2: Multiple-event                             
        Descriptor 3: I/O channel block                           
        Data Format 3: Multiple-event                             
        Descriptor 4: Single-bit ECC memory error                 
        Data Format 4: Multiple-event                             
        Descriptor 5: Multi-bit ECC memory error                  
        Data Format 5: Multiple-event                             

Handle 0x001D, DMI type 18, 23 bytes
32-bit Memory Error Information     
        Type: Bad Read              
        Granularity: Device Level   
        Operation: Read             
        Vendor Syndrome: Unknown    
        Memory Array Address: Unknown
        Device Address: Unknown      
        Resolution: Unknown          

Handle 0x001E, DMI type 16, 15 bytes
Physical Memory Array               
        Location: System Board Or Motherboard
        Use: System Memory                   
        Error Correction Type: None          
        Maximum Capacity: 3 GB               
        Error Information Handle: 0x001D     
        Number Of Devices: 2                 

Handle 0x001F, DMI type 19, 15 bytes
Memory Array Mapped Address         
        Starting Address: 0x00000000000
        Ending Address: 0x0FE000003FF  
        Range Size: 1065353217 kB      
        Physical Array Handle: 0x001E  
        Partition Width: 0             

Handle 0x0020, DMI type 17, 27 bytes
Memory Device                       
        Array Handle: 0x001E        
        Error Information Handle: 0x001D
        Total Width: 72 bits            
        Data Width: 64 bits             
        Size: 512 MB                    
        Form Factor: DIMM               
        Set: None                       
        Locator: DIMM1                  
        Bank Locator: BANK0             
        Type: SDRAM                     
        Type Detail: Synchronous        
        Speed: Unknown                  
        Manufacturer: Manufacturer1     
        Serial Number: SerNum1          
        Asset Tag: AssetTagNum1         
        Part Number: PartNum1           

Handle 0x0021, DMI type 20, 19 bytes
Memory Device Mapped Address        
        Starting Address: 0x00000000000
        Ending Address: 0x000200003FF  
        Range Size: 524289 kB          
        Physical Device Handle: 0x0020 
        Memory Array Mapped Address Handle: 0x001F
        Partition Row Position: 1                 
        Interleaved Data Depth: 1                 

Handle 0x0022, DMI type 17, 27 bytes
Memory Device                       
        Array Handle: 0x001E        
        Error Information Handle: 0x001D
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 512 MB
        Form Factor: DIMM
        Set: None
        Locator: DIMM2
        Bank Locator: BANK1
        Type: SDRAM
        Type Detail: Synchronous
        Speed: Unknown
        Manufacturer: Manufacturer2
        Serial Number: SerNum2
        Asset Tag: AssetTagNum2
        Part Number: PartNum2

Handle 0x0023, DMI type 20, 19 bytes
Memory Device Mapped Address
        Starting Address: 0x00020000000
        Ending Address: 0x000400003FF
        Range Size: 524289 kB
        Physical Device Handle: 0x0022
        Memory Array Mapped Address Handle: 0x001F
        Partition Row Position: 1
        Interleaved Data Depth: 1

Handle 0x0024, DMI type 127, 4 bytes
End Of Table

Some stuff that was in the syslog :

Oct 19 02:08:53 m3000n kernel: Linux version 2.6.27.1-pentium-m (tony@m3000n) (gcc version 4.3.2 (GCC) ) #1 SMP Fri Oct 17 03:54:18 BST 2008
Oct 19 02:08:53 m3000n kernel: PAT WC disabled due to known CPU erratum.
Oct 19 02:08:53 m3000n kernel: BIOS-provided physical RAM map:
Oct 19 02:08:53 m3000n kernel:  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
Oct 19 02:08:53 m3000n kernel:  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
Oct 19 02:08:53 m3000n kernel:  BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
Oct 19 02:08:53 m3000n kernel:  BIOS-e820: 0000000000100000 - 000000003f740000 (usable)
Oct 19 02:08:53 m3000n kernel:  BIOS-e820: 000000003f740000 - 000000003f750000 (ACPI data)
Oct 19 02:08:53 m3000n kernel:  BIOS-e820: 000000003f750000 - 000000003f800000 (ACPI NVS)
Oct 19 02:08:53 m3000n kernel: last_pfn = 0x3f740 max_arch_pfn = 0x100000
Oct 19 02:08:53 m3000n kernel: WARNING: BIOS bug: CPU MTRRs don't cover all of memory, losing 7MB of RAM.
Oct 19 02:08:53 m3000n kernel: ------------[ cut here ]------------
Oct 19 02:08:53 m3000n kernel: WARNING: at /opt/build/linux-2.6.27.1/arch/x86/kernel/cpu/mtrr/main.c:1558 mtrr_trim_uncached_memory+0x36e/0x389()
Oct 19 02:08:53 m3000n kernel: Modules linked in:
Oct 19 02:08:53 m3000n kernel: Pid: 0, comm: swapper Not tainted 2.6.27.1-pentium-m #1
Oct 19 02:08:53 m3000n kernel:  [<c0366dc6>] ? printk+0x18/0x1a
Oct 19 02:08:53 m3000n kernel:  [<c01300e4>] warn_on_slowpath+0x54/0x80
Oct 19 02:08:53 m3000n kernel:  [<c0369553>] ? _spin_unlock_irqrestore+0x23/0x40
Oct 19 02:08:53 m3000n kernel:  [<c0130979>] ? release_console_sem+0x1b9/0x1d0
Oct 19 02:08:53 m3000n kernel:  [<c0130d40>] ? vprintk+0x170/0x370
Oct 19 02:08:53 m3000n kernel:  [<c049d60a>] ? e820_update_range_map+0x1bb/0x236
Oct 19 02:08:53 m3000n kernel:  [<c04a0c65>] mtrr_trim_uncached_memory+0x36e/0x389
Oct 19 02:08:53 m3000n kernel:  [<c049d107>] ? e820_end_pfn+0xa0/0xbc
Oct 19 02:08:53 m3000n crond[2295]: (CRON) STARTUP (4.3)
Oct 19 02:08:54 m3000n kernel:  [<c049b686>] setup_arch+0x50c/0xaf6
Oct 19 02:08:54 m3000n kernel:  [<c0130979>] ? release_console_sem+0x1b9/0x1d0
Oct 19 02:08:54 m3000n kernel:  [<c014925a>] ? down_trylock+0x2a/0x40
Oct 19 02:08:54 m3000n kernel:  [<c0130d40>] ? vprintk+0x170/0x370
Oct 19 02:08:54 m3000n kernel:  [<c049df7c>] ? __reserve_early+0x95/0x138
Oct 19 02:08:54 m3000n kernel:  [<c049df7c>] ? __reserve_early+0x95/0x138
Oct 19 02:08:54 m3000n kernel:  [<c049463b>] start_kernel+0x63/0x349
Oct 19 02:08:54 m3000n kernel:  [<c049410a>] ? reserve_ebda_region+0x69/0x7f
Oct 19 02:08:54 m3000n kernel:  [<c0494099>] __init_begin+0x99/0xa1
Oct 19 02:08:54 m3000n kernel:  =======================
Oct 19 02:08:54 m3000n kernel: ---[ end trace 4eaa2a86a8e2da22 ]---
Oct 19 02:08:54 m3000n kernel: update e820 for mtrr
Oct 19 02:08:54 m3000n kernel: modified physical RAM map:
Oct 19 02:08:54 m3000n kernel:  modified: 0000000000000000 - 000000000009fc00 (usable)
Oct 19 02:08:54 m3000n kernel:  modified: 000000000009fc00 - 00000000000a0000 (reserved)
Oct 19 02:08:54 m3000n kernel:  modified: 00000000000e0000 - 0000000000100000 (reserved)
Oct 19 02:08:54 m3000n kernel:  modified: 0000000000100000 - 000000003f000000 (usable)
Oct 19 02:08:54 m3000n kernel:  modified: 000000003f000000 - 000000003f740000 (reserved)
Oct 19 02:08:54 m3000n kernel:  modified: 000000003f740000 - 000000003f750000 (ACPI data)
Oct 19 02:08:54 m3000n kernel:  modified: 000000003f750000 - 000000003f800000 (ACPI NVS)
Oct 19 02:08:54 m3000n kernel: last_pfn = 0x3f000 max_arch_pfn = 0x100000
Oct 19 02:08:54 m3000n kernel: kernel direct mapping tables up to 38000000 @ 7000-c000
Oct 19 02:08:54 m3000n kernel: RAMDISK: 37c37000 - 37fef95e
Oct 19 02:08:54 m3000n kernel: DMI 2.3 present.
Oct 19 02:08:54 m3000n kernel: ACPI: RSDP 000F4B70, 0014 (r0 ACPIAM)
Oct 19 02:08:54 m3000n kernel: ACPI: RSDT 3F740000, 002C (r1 A M I  OEMRSDT   4000318 MSFT       97)
Oct 19 02:08:54 m3000n kernel: ACPI: FACP 3F740200, 0081 (r2 A M I  OEMFACP   4000318 MSFT       97)
Oct 19 02:08:54 m3000n kernel: ACPI: DSDT 3F740300, 72E8 (r1  0ABBD 0ABBD001        1 MSFT  100000D)
Oct 19 02:08:54 m3000n kernel: ACPI: FACS 3F750000, 0040
Oct 19 02:08:54 m3000n kernel: ACPI: OEMB 3F750040, 004D (r1 A M I  OEMBIOS   4000318 MSFT       97)
Oct 19 02:08:54 m3000n kernel: 112MB HIGHMEM available.
Oct 19 02:08:54 m3000n kernel: 896MB LOWMEM available.
Oct 19 02:08:54 m3000n kernel:   mapped low ram: 0 - 38000000
Oct 19 02:08:54 m3000n kernel:   low ram: 00000000 - 38000000
Oct 19 02:08:54 m3000n kernel:   bootmap 00008000 - 0000f000
Oct 19 02:08:54 m3000n kernel: (9 early reservations) ==> bootmem [0000000000 - 0038000000]
Oct 19 02:08:54 m3000n kernel:   #0 [0000000000 - 0000001000]   BIOS data page ==> [0000000000 - 0000001000]
Oct 19 02:08:54 m3000n kernel:   #1 [0000001000 - 0000002000]    EX TRAMPOLINE ==> [0000001000 - 0000002000]
Oct 19 02:08:54 m3000n kernel:   #2 [0000006000 - 0000007000]       TRAMPOLINE ==> [0000006000 - 0000007000]
Oct 19 02:08:54 m3000n kernel:   #3 [0000100000 - 0000544b20]    TEXT DATA BSS ==> [0000100000 - 0000544b20]
Oct 19 02:08:54 m3000n kernel:   #4 [0037c37000 - 0037fef95e]          RAMDISK ==> [0037c37000 - 0037fef95e]
Oct 19 02:08:54 m3000n kernel:   #5 [0000545000 - 0000548000]    INIT_PG_TABLE ==> [0000545000 - 0000548000]
Oct 19 02:08:54 m3000n kernel:   #6 [000009fc00 - 0000100000]    BIOS reserved ==> [000009fc00 - 0000100000]
Oct 19 02:08:54 m3000n kernel:   #7 [0000007000 - 0000008000]          PGTABLE ==> [0000007000 - 0000008000]
Oct 19 02:08:54 m3000n kernel:   #8 [0000008000 - 000000f000]          BOOTMAP ==> [0000008000 - 000000f000]
Oct 19 02:08:54 m3000n kernel: Zone PFN ranges:
Oct 19 02:08:54 m3000n kernel:   DMA      0x00000000 -> 0x00001000
Oct 19 02:08:54 m3000n kernel:   Normal   0x00001000 -> 0x00038000
Oct 19 02:08:54 m3000n kernel:   HighMem  0x00038000 -> 0x0003f000
Oct 19 02:08:54 m3000n kernel: Movable zone start PFN for each node
Oct 19 02:08:54 m3000n kernel: early_node_map[2] active PFN ranges
Oct 19 02:08:54 m3000n kernel:     0: 0x00000000 -> 0x0000009f
Oct 19 02:08:54 m3000n kernel:     0: 0x00000100 -> 0x0003f000
Oct 19 02:08:54 m3000n kernel: On node 0 totalpages: 257951
Oct 19 02:08:54 m3000n kernel: free_area_init_node: node 0, pgdat c0476300, node_mem_map c1000000
Oct 19 02:08:54 m3000n kernel:   DMA zone: 3967 pages, LIFO batch:0
Oct 19 02:08:54 m3000n kernel:   Normal zone: 223520 pages, LIFO batch:31
Oct 19 02:08:54 m3000n kernel:   HighMem zone: 28448 pages, LIFO batch:7
Oct 19 02:08:54 m3000n kernel: ACPI: PM-Timer IO Port: 0xe408
Oct 19 02:08:54 m3000n kernel: SMP: Allowing 1 CPUs, 0 hotplug CPUs
Oct 19 02:08:54 m3000n kernel: mapped APIC to ffffb000 (017e4000)
Oct 19 02:08:54 m3000n kernel: PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
Oct 19 02:08:54 m3000n kernel: PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
Oct 19 02:08:54 m3000n kernel: PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
Oct 19 02:08:54 m3000n kernel: Allocating PCI resources starting at 40000000 (gap: 3f800000:c0800000)
Oct 19 02:08:54 m3000n kernel: PERCPU: Allocating 40988 bytes of per cpu data
Oct 19 02:08:54 m3000n kernel: NR_CPUS: 32, nr_cpu_ids: 1, nr_node_ids 1
Oct 19 02:08:54 m3000n kernel: Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 255935
Oct 19 02:08:54 m3000n kernel: Kernel command line: BOOT_IMAGE=2.6.27.1-pentium-m root=UUID=ea9115e4-8d53-468f-9319-e6ccf05af06b nolapic resume=UUID=60ab13c9-1e55-4a3b-91f1-91a767578d51 splash=silent vga=791
Oct 19 02:08:54 m3000n kernel: Enabling fast FPU save and restore... done.
Oct 19 02:08:54 m3000n kernel: Enabling unmasked SIMD FPU exception support... done.
Oct 19 02:08:54 m3000n kernel: Initializing CPU#0
Oct 19 02:08:54 m3000n kernel: PID hash table entries: 4096 (order: 12, 16384 bytes)
Oct 19 02:08:54 m3000n kernel: TSC: PIT calibration confirmed by PMTIMER.
Oct 19 02:08:54 m3000n kernel: TSC: using PMTIMER calibration value
Oct 19 02:08:54 m3000n kernel: Detected 1600.045 MHz processor.
Oct 19 02:08:54 m3000n kernel: Console: colour dummy device 80x25
Oct 19 02:08:54 m3000n kernel: console [tty0] enabled
Oct 19 02:08:54 m3000n kernel: Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Oct 19 02:08:54 m3000n kernel: Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Oct 19 02:08:54 m3000n kernel: Memory: 1014316k/1032192k available (2473k kernel code, 17148k reserved, 1158k data, 336k init, 114688k highmem)
Oct 19 02:08:54 m3000n kernel: virtual kernel memory layout:
Oct 19 02:08:54 m3000n kernel:     fixmap  : 0xffe18000 - 0xfffff000   (1948 kB)
Oct 19 02:08:54 m3000n kernel:     pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
Oct 19 02:08:54 m3000n kernel:     vmalloc : 0xf8800000 - 0xff7fe000   ( 111 MB)
Oct 19 02:08:54 m3000n kernel:     lowmem  : 0xc0000000 - 0xf8000000   ( 896 MB)
Oct 19 02:08:54 m3000n kernel:       .init : 0xc0494000 - 0xc04e8000   ( 336 kB)
Oct 19 02:08:54 m3000n kernel:       .data : 0xc036a696 - 0xc048c1a0   (1158 kB)
Oct 19 02:08:54 m3000n kernel:       .text : 0xc0100000 - 0xc036a696   (2473 kB)
Oct 19 02:08:54 m3000n kernel: Checking if this processor honours the WP bit even in supervisor mode...Ok.
Oct 19 02:08:54 m3000n kernel: CPA: page pool initialized 1 of 1 pages preallocated
Oct 19 02:08:54 m3000n kernel: SLUB: Genslabs=12, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Oct 19 02:08:54 m3000n kernel: Calibrating delay loop (skipped), value calculated using timer frequency.. 3200.09 BogoMIPS (lpj=1600045)
Oct 19 02:08:54 m3000n kernel: Security Framework initialized
Oct 19 02:08:54 m3000n kernel: Mount-cache hash table entries: 512
Oct 19 02:08:54 m3000n kernel: CPU: L1 I cache: 32K, L1 D cache: 32K
Oct 19 02:08:54 m3000n kernel: CPU: L2 cache: 1024K
Oct 19 02:08:54 m3000n kernel: Intel machine check architecture supported.
Oct 19 02:08:54 m3000n kernel: Intel machine check reporting enabled on CPU#0.
Oct 19 02:08:54 m3000n kernel: Checking 'hlt' instruction... OK.
Oct 19 02:08:54 m3000n kernel: SMP alternatives: switching to UP code
Oct 19 02:08:54 m3000n kernel: Freeing SMP alternatives: 12k freed
Oct 19 02:08:54 m3000n kernel: ACPI: Core revision 20080609
Oct 19 02:08:54 m3000n kernel: ACPI: setting ELCR to 0200 (from 0830)
Oct 19 02:08:54 m3000n kernel: weird, boot CPU (#0) not listedby the BIOS.
Oct 19 02:08:54 m3000n kernel: SMP motherboard not detected.
Oct 19 02:08:54 m3000n kernel: Local APIC not detected. Using dummy APIC emulation.
Oct 19 02:08:54 m3000n kernel: SMP disabled
Oct 19 02:08:54 m3000n kernel: Brought up 1 CPUs
Oct 19 02:08:54 m3000n kernel: Total of 1 processors activated (3200.09 BogoMIPS).
Oct 19 02:08:54 m3000n kernel: CPU0 attaching sched-domain:
Oct 19 02:08:54 m3000n kernel:  domain 0: span 0 level CPU
Oct 19 02:08:54 m3000n kernel:   groups: 0
Oct 19 02:08:54 m3000n kernel: net_namespace: 792 bytes
Oct 19 02:08:54 m3000n kernel: Booting paravirtualized kernel on bare hardware
Oct 19 02:08:54 m3000n kernel: NET: Registered protocol family 16
Oct 19 02:08:54 m3000n kernel: ACPI: bus type pci registered
Oct 19 02:08:54 m3000n kernel: PCI: Using configuration type 1 for base access
Oct 19 02:08:54 m3000n kernel: ACPI: EC: Look up EC in DSDT
Oct 19 02:08:54 m3000n kernel: ACPI: EC: non-query interrupt received, switching to interrupt mode
Oct 19 02:08:54 m3000n kernel: ACPI: Interpreter enabled
Oct 19 02:08:54 m3000n kernel: ACPI: (supports S0 S1 S3 S4 S5)
Oct 19 02:08:54 m3000n kernel: ACPI: Using PIC for interrupt routing
Oct 19 02:08:54 m3000n kernel: ACPI: EC: GPE = 0x1c, I/O: command/status = 0x66, data = 0x62
Oct 19 02:08:54 m3000n kernel: ACPI: EC: driver started in interrupt mode
Oct 19 02:08:54 m3000n kernel: ACPI: PCI Root Bridge [PCI0] (0000:00)
Comment 1 ykzhao 2008-10-20 01:13:01 UTC
Will you please attach the output of acpidump?
Will you please capture the screenshot when the system hangs without the "nolapic" boot option?

Thanks.
Comment 2 Tony White 2008-10-20 16:11:14 UTC
Created attachment 18388 [details]
Output from acpidump in a text file

As requested, Here's the output from acpidump in a text file.
Comment 3 Tony White 2008-10-20 17:30:05 UTC
Unforunately, I can't screenshot anything useful.
From grub I get a black screen with no text and the system hangs.
The system stays that way until the power button is held down to turn the system off.

I have attached the output of acpidump as requested.

If you can provide me with some sort of guide to the information you need, I can build a debug kernel and boot it if that would provide data that would enable you to fix this.

Please advise.
Thank you for responding to my bug report,
Tony.
Comment 4 Tony White 2008-10-20 17:31:33 UTC
I should also mention I have now compiled 2.6.27.2 and this problem is the same.
Comment 5 Shaohua 2008-10-21 23:34:14 UTC
Can you please try some old kernels, like 2.6.26/2.6.24...? We have a similar issue in Asus laptop several years ago, and the issue should already be fixed
Comment 6 Tony White 2008-10-23 20:33:17 UTC
I've been experiencing this problem for over a year on the same machine without actually knowing how to report it to you guys.

I have had the same problem with kernel-2.6.25.5 in OpenSuSe 11 and also kernel-2.6.23.1 in Fedora 8.

It's not something I have been checking for because once you set nolapic in grub, The option gets carried over when a new kernel is installed.
The system experiences this bug everytime I boot without nolapic without fail, With every kernel that I have booted on it and using every distribution I have tried (A few.)

Would you like anymore info?
I'd really like to help sort this, If possible, Please.
Comment 7 Len Brown 2008-10-27 23:45:02 UTC
please paste the output from
$ cat /proc/cpuinfo

(i expect it will show the apic bit set)

This is a uni-processor box that has no IOAPIC.
I'm curious why you're running a CONFIG_SMP kernel on it.
It is possible that during its day, only uni-processor
kernels would be installed on such a box (though today,
some distros run SMP on everything)

It used to be that Linux enabled the lapic by default,
even if the BIOS disabled it.  We fixed a lot of systems
when we simply did what the BIOS told us to do and
ignored a disabled LAPIC.  Maybe this system has a BIOS
that should disable the lapic, but doesn't?
Please attach the output from dmidecode.

detect_init_APIC() should be smart enough, and I see no evidence
of "Local APIC disabled by BIOS -- reenabling." in your dmesg...

btw. have you tried "nolapictimer"?
This would use the lapic, but w/o its timer capability.
apic=debug may also give us a clue
Comment 8 Tony White 2008-10-30 06:58:46 UTC
Thanks Len, I will do as you have requested but I have uncovered something pretty horrible in all this mess, Which is pretty frustrating because I want Linux running on this machine.

I went to the asus website and found that there were bios updates to be had.
Great I thought, Lets try that.

Flashed the bios with the most recent rom, Great.
Booted my copy of Mandriva 2009.
Massive slow down. It was about 5 minutes to get to x.
vanilla 2.6.27.3 and everything was slow.
Particularly udev.

Re-installed tried again, Same thing slow, Right from boot.
Both with and without nolapic resulted in a huge lag during anything.
Tried other distributions, Tried with and without nolapic.
Still the same.

I tried loading the bios' default settings also, Still the same.

Basically, The current version bios for this machine and it's previous revision all cause the kernel to run very low.
I tried the version before current and it performed in the same way.
The original bios version is not slow and just needs nolapic or will not boot.

I was prudent enough to dump the bios before hand and have now restored the original rom to the bios, Which works perfectly as before but needing nolapic.

So you guys need to know that this machine, m3n with it's latest bios version installed is not working properly at all.
It will boot without nolapic but it will run real slow.

I don't know what to do with it, If it wasn't such a useful tool, It would have gone out of the window.

Len you are right that this machine has one processor with one core.
If local apic is to do with smp then is it therefore correct that local apic is not required?
If so, Yes, The version of the bios that runs with nolapic would seem to need it switching off or not turned on by the kernel to avoid a crash.

As far as the CONFIG_SMP goes, It's a make oldconfig on the kernel that ships with Mandriva 2009, So I guess they turn lots of stuff on and I don't have a great idea what to turn on, So went for what was working already.

I'll add attachments and stick with the old version of the bios that needs nolapic for now.

Do you think that this is something I should talk to asus about?
It's an old(ish) Laptop so I doubt that they will be that interested because windows runs fine with all the bios revisions.

Could this possibly be anything to do with a certain mr gates and a rubbish secret acpi implementation that is deliberately designed to obstruct Linux, I wonder?

What would need to be done to attempt to fix the latest bios revision slowdown?
Comment 9 Tony White 2008-10-30 07:03:50 UTC
Created attachment 18521 [details]
cpuinfo

cat /proc/cpuinfo
Comment 10 Tony White 2008-10-30 07:06:45 UTC
Created attachment 18522 [details]
dmidecode output
Comment 11 Tony White 2008-10-30 07:28:33 UTC
nolapic timer resulted in same problem. No boot.
acpi=debug returned nothing, Screen still blank.

Should I create another bug report about the updated bios?
Comment 12 Tony White 2008-10-30 11:44:13 UTC
noapic lets the system boot but then freezes.
The last line it freezes is :

Initializing Device/Processor/Thermal objects by executing _INI methods...
Comment 13 ykzhao 2008-10-30 22:04:41 UTC
Will you please add the boot option of "apic=debug nolapic" and attach the output of dmesg?
Thanks.
Comment 14 Tony White 2008-11-02 16:06:24 UTC
OK, Quick(ish) update :

I have been able to build a kernel that will boot and run smoothly with both bios versions, The only thing I have yet to resolve is an alsa issue which is not relevant to this bug at all and I may be able to solve with an alsa recompile.

I have been testing with linux-2.6.27.4 and have had many failures with this machine but right now I am in a workable environment using a build that seems good.

Firstly, The first bios version, Which is the original bios version that came preloaded onto the machine, Which this bug is all about.
That bios version will only boot and not hang if I do not enable :
Local APIC Support on Uniprocessors in a build.
However, I do not think that this setting is required at all, The kernel runs very smoothly without it set and does not fail to boot.
I know the kernel should not fail to boot with this setting turned on but I would like to know if it is needed at all, I thought lapic was smp related?
It seems a strange default option to me but I know little more that it does not work on this m3n.

Now, Having created a working build, I then attempted to solve the problem with the massive speed slowdown with the latest bios revision installed.

With Local APIC Support on Uniprocessors support built into the build, The system boots and runs very slowly using this bios revision, So disabled.

When I turn on highmem support (4gb) The system hangs at udev a bit and then freezes at udev events.
That's maybe not acpi but we don't know yet.

I should not need to use highmem, The system has 1gb but the kernel spews out a message to turn it on in the dmseg.
It's not going on in it's current incarnation.
It does'nt play well here.

So to sum up so far, I have a working build without Local APIC Support on Uniprocessors and Highmem Support built into the kernel.
Please note that I have been using pure vanilla and not patch kludging anything.

To follow this bug up with some more useful and meaningful data, I will build two kernels with full debug support, Boot with all the debug turned on and attach the dmesg.log(s) here.
One that works and another one with both highmem (4gb) + Local APIC Support on Uniprocessors built in.
I will test both bios versions, So 4 dmesg.log attachments.

Maybe then it might be clear what's happening here.
Comment 15 Tony White 2008-11-04 15:30:35 UTC
OK. Here's, Hopefully, Some meaningfull output.
This data is against 2.6.27.4 now.
I still have the same problem.

The logs posted here are against the original bios that shipped with the machine not the updated bios version.
The latest bios version provides even more complications and I will add a new report for that against 2.6.27.4 because I believe it to be different slightly to this issue.

I hope that this information prooves useful in some way.

Please see attached.
Comment 16 Tony White 2008-11-04 15:32:23 UTC
Created attachment 18669 [details]
acpi=debug dmesg

acpi=debug dmesg
Comment 17 Tony White 2008-11-04 15:33:24 UTC
Created attachment 18670 [details]
info log

info log
Comment 18 Tony White 2008-11-04 15:34:01 UTC
Created attachment 18671 [details]
warnings log

warnings log
Comment 19 Len Brown 2008-11-12 00:47:23 UTC
These messages from comment #18
suggest your slow-down may be related to MTRR bogosity:

Nov  3 21:40:22 localhost kernel: WARNING: BIOS bug: CPU MTRRs don't cover all of memory, losing 7MB of RAM.
Nov  3 21:40:22 localhost kernel: ------------[ cut here ]------------
Nov  3 21:40:22 localhost kernel: WARNING: at arch/x86/kernel/cpu/mtrr/main.c:1558 mtrr_trim_uncached_memory+0x366/0x381()
Nov  3 21:40:22 localhost kernel: Modules linked in:
Nov  3 21:40:22 localhost kernel: Pid: 0, comm: swapper Not tainted 2.6.27-desktop586-0.rc8.2mnb #1
Nov  3 21:40:22 localhost kernel:  [<c0382b32>] ? printk+0x18/0x1e
Nov  3 21:40:22 localhost kernel:  [<c0131084>] warn_on_slowpath+0x54/0x80
Nov  3 21:40:22 localhost kernel:  [<c0385323>] ? _spin_unlock_irqrestore+0x23/0x40
Nov  3 21:40:22 localhost kernel:  [<c0131919>] ? release_console_sem+0x1b9/0x1d0
Nov  3 21:40:22 localhost kernel:  [<c0131cf8>] ? vprintk+0x188/0x3f0
Nov  3 21:40:22 localhost kernel:  [<c04c36f0>] ? e820_update_range_map+0x1bb/0x236
Nov  3 21:40:22 localhost kernel:  [<c04c6daf>] mtrr_trim_uncached_memory+0x366/0x381
Nov  3 21:40:22 localhost kernel:  [<c04c1746>] setup_arch+0x50c/0xaf6
Nov  3 21:40:22 localhost kernel:  [<c0131919>] ? release_console_sem+0x1b9/0x1d0
Nov  3 21:40:22 localhost kernel:  [<c014aa5a>] ? down_trylock+0x2a/0x40
Nov  3 21:40:22 localhost kernel:  [<c0131cf8>] ? vprintk+0x188/0x3f0
Nov  3 21:40:22 localhost kernel:  [<c04c405f>] ? __reserve_early+0x98/0x149
Nov  3 21:40:22 localhost kernel:  [<c04ba4d8>] start_kernel+0x63/0x354
Nov  3 21:40:22 localhost kernel:  [<c04ba10a>] ? reserve_ebda_region+0x69/0x7f
Nov  3 21:40:22 localhost kernel:  [<c04ba099>] __init_begin+0x99/0xa1

re: nolapic needed
at this point, it seems that adding a DMI entry
to diable the lapic on this box is the way to go.
We'll need the dmidecode from the 2nd BIOS as well as the one above.
Comment 20 Tony White 2008-11-15 07:20:51 UTC
"WARNING: BIOS bug: CPU MTRRs don't cover all
of memory, losing 7MB of RAM." Doesn't appear anymore with the bios update, So Asus' problem and not the kernel but for anyone with this old bios version, It might be nice if it did, Just work.

I'm a little more concerned about the new bugs found with the new bios though, As I have stopped using this old bios version because it is outdated by several years but it is the bios that the machine was shipped with.

dmidecode from the newer bios attached, As requested.
Comment 21 Tony White 2008-11-15 07:23:18 UTC
Created attachment 18874 [details]
Newest bios version dmidecode output
Comment 22 Mark Sandler 2009-02-08 19:06:27 UTC
I believe this bug goes back to up this one.... and is cauched by memory caching problem. 

http://bugzilla.kernel.org/show_bug.cgi?id=6139
Comment 23 Tony White 2009-02-09 02:03:08 UTC
Thanks Mark, Yes! That is exactly it. Exactly the same problem, Lagging at boot and needing highmem turned off in the kernel configuration.

So the memory caching problem is in the acpi bios and it's not the kernel's fault?

I will try specifying mem= to the kernel to see if that makes a difference.
Comment 24 Zhang Rui 2009-03-11 00:42:44 UTC
hi, tony, any update?
Comment 25 Tony White 2009-03-12 21:31:56 UTC
I can't test this old bios version any more, It's the old one but I assume it's the same memory problem.

Please see :

http://bugzilla.kernel.org/show_bug.cgi?id=11953
Comment 26 Zhang Rui 2009-03-12 22:13:26 UTC

*** This bug has been marked as a duplicate of bug 11953 ***
Comment 27 Len Brown 2009-03-15 12:41:27 UTC
Tony, to answer your question...

No, the Local APIC isn't extremely useful on a uni-processor.
It does provide an additional timer, and that timer is efficient,
but that timer tends to stop when the system is idle, making
its use somewhat problematic on the old uniprocessor laptops.

As you tested that the "nolapic_timer" wasn't able to replace "nolapic",
the issue with the original BIOS was not related to that.

One other thing that (would have) been useful to try on that
old BIOS also would be nmi_watchdog=0 -- just in case your
config had enabled it.

But I see from bug 11953 that you are now building and booting with
LAPIC support on the latest BIOS, so this bug can be closed.