From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Christopher S. Aker" Subject: Re: kernel BUG at mm/swapfile.c:2524 Date: Wed, 27 Apr 2011 13:49:29 -0400 Message-ID: <4DB85729.3050700@theshore.net> References: <20110407135009.GA7258@dumpdata.com> <3FC940A3-FD29-40E9-8F09-E43D77B6E6F2@linode.com> <4DB045F6.9080301@theshore.net> <20110421151453.GA25745@dumpdata.com> <20110421152442.GA19604@dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20110421152442.GA19604@dumpdata.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Peter Sandin , Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org On 4/21/11 11:24 AM, Konrad Rzeszutek Wilk wrote: >> So back to unmap_vmas. I wonder if we are missing the lazy_unmap flag >> in 2.6.38. > Try the attached patch Patched and deployed last week, got this report last night: ------------[ cut here ]------------ kernel BUG at mm/swapfile.c:2529! invalid opcode: 0000 [#1] SMP last sysfs file: /sys/devices/vbd-51712/block/xvda/removable Modules linked in: Pid: 17319, comm: apache2 Not tainted 2.6.38.3-linode32 #1 EIP: 0061:[] EFLAGS: 00010246 CPU: 3 EIP is at swap_count_continued+0x176/0x180 EAX: f577ed93 EBX: ecf60600 ECX: f577e000 EDX: 00000000 ESI: ed3d82e0 EDI: 00000080 EBP: 00000d93 ESP: c3bc5e80 DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0069 Process apache2 (pid: 17319, ti=c3bc4000 task=eb5af7d0 task.ti=c3bc4000) Stack: eb732cc0 0000ed93 00000040 00000000 c01a3891 0000ed93 ea3d9e28 ec521b00 00000000 c01a3af8 00000000 c019569c 00000000 80000004 00000000 c0106314 000000b1 ec60114c 0000ed93 d46d5d58 00000000 ffffffe8 b8b32018 00000000 Call Trace: [] ? swap_entry_free+0xf1/0x120 [] ? swap_free+0x18/0x30 [] ? handle_pte_fault+0x49c/0xac0 [] ? check_events+0x8/0xc [] ? handle_mm_fault+0x101/0x1a0 [] ? do_page_fault+0xfb/0x3e0 [] ? sys_stat64+0x1e/0x30 [] ? tick_resume_broadcast+0x4/0x90 [] ? do_page_fault+0x0/0x3e0 [] ? error_code+0x5a/0x60 [] ? sctp_get_port_local+0x270/0x340 [] ? do_page_fault+0x0/0x3e0 Code: ff 89 d8 e8 cd f6 f7 ff 01 e8 8d 76 00 c6 00 00 ba 01 00 00 00 eb b2 89 f8 3c 80 0f 94 c0 e9 b9 fe ff ff 0f 0b eb fe 0f 0b eb fe <0f> 0b eb fe 0f 0b eb fe 66 90 83 ec 10 89 1c 24 89 c3 89 74 24 EIP: [] swap_count_continued+0x176/0x180 SS:ESP 0069:c3bc5e80 ---[ end trace 6a2c16b916f3591f ]--- :( -Chris