WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] kernel BUG at mm/swapfile.c:2524

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] kernel BUG at mm/swapfile.c:2524
From: "Christopher S. Aker" <caker@xxxxxxxxxxxx>
Date: Wed, 27 Apr 2011 13:49:29 -0400
Cc: Peter Sandin <psandin@xxxxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Delivery-date: Wed, 27 Apr 2011 10:51:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110421152442.GA19604@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <FEE62514-E221-4DDA-8E28-D0579AB582B8@xxxxxxxxxx> <20110407135009.GA7258@xxxxxxxxxxxx> <3FC940A3-FD29-40E9-8F09-E43D77B6E6F2@xxxxxxxxxx> <4DB045F6.9080301@xxxxxxxxxxxx> <20110421151453.GA25745@xxxxxxxxxxxx> <20110421152442.GA19604@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9
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:[<c01a3796>] 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:
 [<c01a3891>] ? swap_entry_free+0xf1/0x120
 [<c01a3af8>] ? swap_free+0x18/0x30
 [<c019569c>] ? handle_pte_fault+0x49c/0xac0
 [<c0106314>] ? check_events+0x8/0xc
 [<c0196f61>] ? handle_mm_fault+0x101/0x1a0
 [<c011e81b>] ? do_page_fault+0xfb/0x3e0
 [<c01b13ee>] ? sys_stat64+0x1e/0x30
 [<c01581a4>] ? tick_resume_broadcast+0x4/0x90
 [<c011e720>] ? do_page_fault+0x0/0x3e0
 [<c063fea6>] ? error_code+0x5a/0x60
 [<c0630000>] ? sctp_get_port_local+0x270/0x340
 [<c011e720>] ? 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: [<c01a3796>] swap_count_continued+0x176/0x180 SS:ESP 0069:c3bc5e80
---[ end trace 6a2c16b916f3591f ]---

:(

-Chris

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel