[Bug 629908] New: BUG: Bad page state in process XY pfn:3ed00
http://bugzilla.novell.com/show_bug.cgi?id=629908 http://bugzilla.novell.com/show_bug.cgi?id=629908#c0 Summary: BUG: Bad page state in process XY pfn:3ed00 Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86-64 OS/Version: Linux Status: NEW Severity: Major Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: ohering@novell.com QAContact: qa@suse.de Found By: Outsourced Testing Blocker: --- Created an attachment (id=381909) --> (http://bugzilla.novell.com/attachment.cgi?id=381909) hwinfo-20100810.txt fresh 11.3-x86_64 on a new HP ProBook 6555b with AMD N830 cpu and 8GB ram. I get sometimes, probably during high diskio, a BUG: BUG: Bad page state in process md5sum pfn:3ed00 page:ffffea0000dbd800 count:0 mapcount:0 mapping:(null) index:0x0 page flags: 0x20000001000000(uncached) Pid: 7956, comm: md5sum Not tainted 2.6.34-12-desktop #1 Call Trace: [<ffffffff81005ca9>] dump_trace+0x79/0x340 [<ffffffff8149e612>] dump_stack+0x69/0x6f [<ffffffff810df851>] bad_page+0xb1/0x100 [<ffffffff810dfa45>] prep_new_page+0x1a5/0x1c0 [<ffffffff810dfe01>] get_page_from_freelist+0x3a1/0x640 [<ffffffff810e01af>] __alloc_pages_nodemask+0x10f/0x6b0 [<ffffffff810e35a4>] __do_page_cache_readahead+0x114/0x290 [<ffffffff810e389c>] ra_submit+0x1c/0x30 [<ffffffff810e3c38>] page_cache_async_readahead+0x98/0xe0 [<ffffffff810d95bb>] do_generic_file_read.clone.0+0x25b/0x440 [<ffffffff810daf94>] generic_file_aio_read+0xb4/0x1c0 [<ffffffff8112426f>] do_sync_read+0xbf/0x100 [<ffffffff81124a53>] vfs_read+0xb3/0x190 [<ffffffff81124b7e>] sys_read+0x4e/0x90 [<ffffffff81002ffb>] system_call_fastpath+0x16/0x1b [<00007f51336f03e0>] 0x7f51336f03e0 Disabling lock debugging due to kernel taint It was always the same page: Aug 3 BUG: Bad page state in process s2disk pfn:3ed00 Aug 3 page:ffffea0000dbd800 count:0 mapcount:0 mapping:(null) index:0x0 Aug 3 page flags: 0x20000001000000(uncached) Aug 3 Pid: 8706, comm: s2disk Not tainted 2.6.34-12-desktop #1 -- Aug 8 BUG: Bad page state in process rsync pfn:3ed00 Aug 8 page:ffffea0000dbd800 count:0 mapcount:0 mapping:(null) index:0x0 Aug 8 page flags: 0x20000001000000(uncached) Aug 8 Pid: 5523, comm: rsync Not tainted 2.6.34-12-desktop #1 -- Aug 8 BUG: Bad page state in process rsync pfn:3ed00 Aug 8 page:ffffea0000dbd800 count:0 mapcount:0 mapping:(null) index:0x0 Aug 8 page flags: 0x20000001000000(uncached) Aug 8 Pid: 8010, comm: rsync Not tainted 2.6.34-12-desktop #1 -- Aug 10 BUG: Bad page state in process md5sum pfn:3ed00 Aug 10 page:ffffea0000dbd800 count:0 mapcount:0 mapping:(null) index:0x0 Aug 10 page flags: 0x20000001000000(uncached) Aug 10 Pid: 7956, comm: md5sum Not tainted 2.6.34-12-desktop #1 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=629908
http://bugzilla.novell.com/show_bug.cgi?id=629908#c1
--- Comment #1 from Olaf Hering
http://bugzilla.novell.com/show_bug.cgi?id=629908
http://bugzilla.novell.com/show_bug.cgi?id=629908#c2
--- Comment #2 from Olaf Hering
http://bugzilla.novell.com/show_bug.cgi?id=629908
http://bugzilla.novell.com/show_bug.cgi?id=629908#c3
--- Comment #3 from Olaf Hering
http://bugzilla.novell.com/show_bug.cgi?id=629908
http://bugzilla.novell.com/show_bug.cgi?id=629908#c4
Jiri Slaby
http://bugzilla.novell.com/show_bug.cgi?id=629908
http://bugzilla.novell.com/show_bug.cgi?id=629908#c5
Olaf Hering
http://bugzilla.novell.com/show_bug.cgi?id=629908
http://bugzilla.novell.com/show_bug.cgi?id=629908#c6
Jiri Slaby
http://bugzilla.novell.com/show_bug.cgi?id=629908
http://bugzilla.novell.com/show_bug.cgi?id=629908#c7
Olaf Hering
http://bugzilla.novell.com/show_bug.cgi?id=629908
http://bugzilla.novell.com/show_bug.cgi?id=629908#c8
Jiri Slaby
http://bugzilla.novell.com/show_bug.cgi?id=629908
http://bugzilla.novell.com/show_bug.cgi?id=629908#c9
Olaf Hering
http://bugzilla.novell.com/show_bug.cgi?id=629908
http://bugzilla.novell.com/show_bug.cgi?id=629908#c10
Jiri Slaby
http://bugzilla.novell.com/show_bug.cgi?id=629908
http://bugzilla.novell.com/show_bug.cgi?id=629908#c11
Olaf Hering
http://bugzilla.novell.com/show_bug.cgi?id=629908
http://bugzilla.novell.com/show_bug.cgi?id=629908#c12
Jiri Slaby
[0.934971] set_page_memtype: setting UC (0000000000000010) pg=ffffea0000dbd800 pfn=0003ed00 .. [0.935017] [<ffffffff812ed8ef>] hpet_resources+0x5f/0x170 .. [0.935123] hpet_acpi_add: no address or irqs in _CRS
Thanks for the info, it was helpful. Could you install the kernel again, I don't understand how the flag is not unset. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c13
--- Comment #13 from Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c14
--- Comment #14 from Jiri Slaby
should there be any change in dmesg? I see nothing except that set_page_memtype dbg is gone.
Yes, I removed the trace, but some lines should be printed still. With some more one-line info. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c15
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c16
Jiri Slaby
Created an attachment (id=383352) --> (http://bugzilla.novell.com/attachment.cgi?id=383352) [details] dmesg-2.6.34.4-0.1-desktop.txt
Sorry, my bad, I forgot to add the patch to series.conf. Please retry. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c17
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c18
Jiri Slaby
Created an attachment (id=383540) --> (http://bugzilla.novell.com/attachment.cgi?id=383540) [details] dmesg-2.6.34.4-0.1-desktop.2.txt
Hmm, thanks. I don't see how this can happen: hpet_resources: remap 2 000000003ed00000-000000003ed003ff hpet_acpi_add: no address or irqs in _CRS ioremap returns NULL, but doesn't notice it? Then get_vm_area_caller has to insert the vm area wrong or something like that, but I do not see how. Could you retest the kernel at labs with some more debug info? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c19
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c20
Jiri Slaby
dmesg-2.6.34.4-0.1-desktop.3.txt
Ok, thanks. I see two problems: 1) when an address is in _CRS table and irq not, the address is not unmapped 2) ioremap doesn't reserve page at 0x3ed00000 I will investigate further. Could you attach acpidump (acpica package) output in the meantime? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c21
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c22
Jiri Slaby
acpidump -b > acpidump.bin
Binary dump of all tables is useless. The tools can't work with that. Attach the hexdump output (without -b) instead. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c23
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c24
--- Comment #24 from Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c25
Jiri Slaby
'Internal error: Maps lock 123 < unlock 234' from lvm, which does not happen with the original 11.3 kernel. Either its something from .4 or an enabled debug option.
Maybe introduced by Linus's mm changes. I backported one more mm fix which should fix that from the url you mention. Re. this bug, there is a missing interrupt resource in the resource status returned by the BIOS. It is not necessarily wrong according to specs, but the code doesn't count with that and in your particular case is wrong anyway. Could you check whether the kernel at labs fixes both problems? At least there should be few lines mentioning that unmap of hpet (0x3ed00000 address) is called. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c26
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c27
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c28
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c29
--- Comment #29 from Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c30
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c31
--- Comment #31 from Jiri Slaby
Jiri, you fix patch seems not merged to SUSE kernel nor upstream yet. How is the current status?
It's sitting in the -mm tree, so it's not merged yet. As this causes no harm, I'm waiting for it to be merged first. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c32
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c33
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c34
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c35
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c36
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c37
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c38
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c39
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c40
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c41
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c42
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c43
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c44
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c45
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c46
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=629908
https://bugzilla.novell.com/show_bug.cgi?id=629908#c47
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=629908
http://bugzilla.novell.com/show_bug.cgi?id=629908#c48
--- Comment #48 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com