Bug 11346

Summary: kernel BUG at arch/x86/mm/pat.c:233!
Product: ACPI Reporter: Jean Delvare (jdelvare)
Component: Power-ProcessorAssignee: acpi_power-processor
Status: CLOSED CODE_FIX    
Severity: high CC: acpi-bugzilla, andi-bz, bunk, mingo, rjw, Robert.Moore
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.27-rc3-git2 Tree: Mainline
Regression: Yes
Bug Depends on:    
Bug Blocks: 11167    
Attachments: Stack trace
Kernel configuration
acpidump output
dmesg output for kernel 2.6.26.1
ioremap debug patch
dmesg output with debug patch
dmesg output for kernel 2.6.27-rc3-git2 with debug patch
Pass 64bit address to reserve_memtype

Description Jean Delvare 2008-08-15 02:10:46 UTC
Latest working kernel version: 2.6.26.1
Earliest failing kernel version: 2.6.27-rc3
Distribution: Slackware 11.0
Hardware Environment: Intel D865GSA
Software Environment:
Problem Description: Boot either fails, or succeeds but then ethernet network doesn't work. Stack trace in the kernel log, will be added as an attachement.

Steps to reproduce:
Boot Linux kernel 2.6.27-rc3 or 2.6.27-rc3-git2 on an Intel D865GSA motherboard.
Comment 1 Jean Delvare 2008-08-15 02:14:08 UTC
Created attachment 17261 [details]
Stack trace

With CONFIG_FRAME_POINTER=y.
Comment 2 Jean Delvare 2008-08-15 02:14:57 UTC
Created attachment 17262 [details]
Kernel configuration
Comment 3 Jean Delvare 2008-08-15 02:23:16 UTC
Created attachment 17263 [details]
acpidump output
Comment 4 Jean Delvare 2008-08-15 02:31:54 UTC
Created attachment 17264 [details]
dmesg output for kernel 2.6.26.1
Comment 5 Andi Kleen 2008-08-15 07:22:07 UTC
Created attachment 17266 [details]
ioremap debug patch

Can you add the dmesg output with this patch applied please?
Comment 6 Jean Delvare 2008-08-15 07:37:04 UTC
Created attachment 17268 [details]
dmesg output with debug patch

With debug patch from comment #5.
Comment 7 Andi Kleen 2008-08-15 07:45:50 UTC
What happened to the WARN_ON? Or does it not happen every boot?

I would like have wanted to see the WARN_ON in the log with the debug patch.
Comment 8 Andi Kleen 2008-08-15 07:47:19 UTC
s/WARN_ON/BUG/
Comment 9 Jean Delvare 2008-08-15 07:49:39 UTC
Oh, sorry. I patched kernel 2.6.26.1, not 2.6.27-rc3. I'll do it now, stay tuned.
Comment 10 Jean Delvare 2008-08-15 08:19:43 UTC
Created attachment 17269 [details]
dmesg output for kernel 2.6.27-rc3-git2 with debug patch
Comment 11 Andi Kleen 2008-08-15 09:20:31 UTC
Created attachment 17270 [details]
Pass 64bit address to reserve_memtype

Please test this patch.
Comment 12 Jean Delvare 2008-08-15 10:16:13 UTC
Yes, this patch solves the problem. My system boots again and things appear to work fine. Thanks Andi!
Comment 13 Rafael J. Wysocki 2008-08-15 10:38:48 UTC
Handled-By : Andi Kleen <andi@firstfloor.org>
Patch : http://bugzilla.kernel.org/attachment.cgi?id=17270&action=view
Comment 14 Ingo Molnar 2008-08-17 05:47:48 UTC
Upstream commit is e213e87785.