From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Christopher S. Aker" Subject: Re: kernel BUG at mm/swapfile.c:2524 Date: Tue, 31 May 2011 10:43:11 -0400 Message-ID: <4DE4FE7F.2020208@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> <4DB85729.3050700@theshore.net> <20110427181617.GA1303@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: <20110427181617.GA1303@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: Konrad Rzeszutek Wilk Cc: xen-devel@lists.xensource.com, Peter Sandin List-Id: xen-devel@lists.xenproject.org On 4/27/11 2:16 PM, Konrad Rzeszutek Wilk wrote: > Ok, I need to be able to reproduce this. How do I do that? Yeah - if only we knew. We haven't been able to identify any patterns in the reports we've been getting. The problem still exists in 2.6.39: ------------[ cut here ]------------ kernel BUG at mm/swapfile.c:2527! invalid opcode: 0000 [#1] SMP last sysfs file: /sys/devices/vbd-51712/block/xvda/removable Modules linked in: Pid: 3701, comm: apache2 Not tainted 2.6.39-linode33 #5 EIP: 0061:[] EFLAGS: 00010246 CPU: 0 EIP is at swap_count_continued+0x176/0x180 EAX: f57ba2e3 EBX: ebacd820 ECX: f57ba000 EDX: 00000000 ESI: ebfd81a0 EDI: 00000080 EBP: 000002e3 ESP: cb4d1e1c DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0069 Process apache2 (pid: 3701, ti=cb4d0000 task=c2407030 task.ti=cb4d0000) Stack: e9c27ec0 000042e3 00000040 00000000 c01a90b1 ce9762d8 e9c27ec0 000042e3 00000000 c01ab367 ce9762d8 b825b000 cb4d1f04 c019b6b3 72d4e045 80000003 0229c063 c0103fc5 93563000 00000006 00085c60 ce0cfe40 eb3a9ba0 72d4e045 Call Trace: [] ? swap_entry_free+0xf1/0x120 [] ? free_swap_and_cache+0x27/0xd0 [] ? zap_pte_range+0x1b3/0x480 [] ? pte_pfn_to_mfn+0xb5/0xd0 [] ? unmap_page_range+0x111/0x190 [] ? unmap_vmas+0x12b/0x1e0 [] ? exit_mmap+0x91/0x140 [] ? mmput+0x2b/0xc0 [] ? exit_mm+0xef/0x120 [] ? _raw_spin_lock_irq+0x10/0x20 [] ? do_exit+0x125/0x350 [] ? remove_vma+0x37/0x50 [] ? do_group_exit+0x3c/0xa0 [] ? sys_exit_group+0x11/0x20 [] ? syscall_call+0x7/0xb [] ? sctp_icmp_proto_unreachable+0x20/0xc0 Code: ff 89 d8 e8 ed a7 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:cb4d1e1c ---[ end trace 39b6b8ea9add1a97 ]--- Fixing recursive fault but reboot is needed! BUG: scheduling while atomic: apache2/3701/0x00000001 Modules linked in: Pid: 3701, comm: apache2 Tainted: G D 2.6.39-linode33 #5 Call Trace: [] ? schedule+0x50e/0x6d0 [] ? vprintk+0x1af/0x3e0 [] ? xen_force_evtchn_callback+0x17/0x30 [] ? do_coprocessor_segment_overrun+0x80/0x80 [] ? do_coprocessor_segment_overrun+0x80/0x80 [] ? do_exit+0x2e7/0x350 [] ? do_coprocessor_segment_overrun+0x80/0x80 [] ? do_coprocessor_segment_overrun+0x80/0x80 [] ? oops_end+0x71/0xa0 [] ? do_invalid_op+0x7f/0x90 [] ? swap_count_continued+0x176/0x180 [] ? handle_percpu_irq+0x31/0x50 [] ? xen_force_evtchn_callback+0x17/0x30 [] ? __local_bh_enable+0x70/0x70 [] ? check_events+0x8/0xc [] ? xen_restore_fl_direct_reloc+0x4/0x4 [] ? do_softirq+0x42/0xb0 [] ? irq_exit+0x31/0x90 [] ? xen_evtchn_do_upcall+0x1d/0x30 [] ? pte_pfn_to_mfn+0xb5/0xd0 [] ? error_code+0x5a/0x60 [] ? try_preserve_large_page+0x7b/0x340 [] ? do_coprocessor_segment_overrun+0x80/0x80 [] ? swap_count_continued+0x176/0x180 [] ? swap_entry_free+0xf1/0x120 [] ? free_swap_and_cache+0x27/0xd0 [] ? zap_pte_range+0x1b3/0x480 [] ? pte_pfn_to_mfn+0xb5/0xd0 [] ? unmap_page_range+0x111/0x190 [] ? unmap_vmas+0x12b/0x1e0 [] ? exit_mmap+0x91/0x140 [] ? mmput+0x2b/0xc0 [] ? exit_mm+0xef/0x120 [] ? _raw_spin_lock_irq+0x10/0x20 [] ? do_exit+0x125/0x350 [] ? remove_vma+0x37/0x50 [] ? do_group_exit+0x3c/0xa0 [] ? sys_exit_group+0x11/0x20 [] ? syscall_call+0x7/0xb [] ? sctp_icmp_proto_unreachable+0x20/0xc0 -Chris