From: Christophe Saout Subject: Re: Xen with dom0 pvops on ultra-recent "git tip" kernel on x86_64 Date: Sun, 11 Jan 2009 17:59:41 +0100 Message-ID: <1231693181.5668.4.camel@leto.intern.saout.de> References: <1231615355.19576.23.camel@leto.intern.saout.de> <49690103.5020706@wol.de> <1231619339.5616.15.camel@leto.intern.saout.de> <20090110203706.GW15052@edu.joroinen.fi> <1231622029.4778.1.camel@leto.intern.saout.de> <1231683478.4809.43.camel@leto.intern.saout.de> <1231685561.4809.50.camel@leto.intern.saout.de> <1231691732.5342.3.camel@leto.intern.saout.de> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1231691732.5342.3.camel@leto.intern.saout.de> 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 List-Id: xen-devel@lists.xenproject.org And hello once more, > > > However, after one page of output it then Oopses somewhere during > > > fsck.reiserfs in "grab_swap_tokens". > > Hmm, I found this patch in the SuSE kernel where they just return from > grab_swap_tokens if current->mm is NULL and claim that it can happen > (?). Urks, ok, that workaround is probably total BS. It is supposed to help when the current process is a kernel thread, and not reiserfsck. So the point really is how come that current->mm is NULL at that point. My workaround leaves me with the attached ugly messages in the log, which is possibly the cause for the lockup later. (*) So, my latest one is here: http://git.saout.de/gitweb/?p=linux-dom0-pvops.git;a=summary (and forget that very last patch) Cheers, Christophe (*) Jan 11 17:05:30 leto swap_dup: Bad swap file entry 80000000003ab1d0 Jan 11 17:05:30 leto swap_dup: Bad swap file entry 80000000003a19c0 Jan 11 17:05:30 leto swap_free: Bad swap file entry 80000000003ab1d0 Jan 11 17:05:30 leto BUG: Bad page map in process fsck.reiserfs pte:7563a020 pmd:7196f067 Jan 11 17:05:30 leto addr:00000030e3c04000 vm_flags:08000070 anon_vma:(null) mapping:ffff880073513950 index:4 Jan 11 17:05:30 leto vma->vm_ops->fault: filemap_fault+0x0/0x440 Jan 11 17:05:30 leto vma->vm_file->f_op->mmap: reiserfs_file_mmap+0x0/0x70 Jan 11 17:05:30 leto Pid: 3012, comm: fsck.reiserfs Not tainted 2.6.29-rc0-xen-cs1 #1 Jan 11 17:05:30 leto Call Trace: Jan 11 17:05:30 leto [] print_bad_pte+0x1e0/0x2c0 Jan 11 17:05:30 leto [] unmap_vmas+0x86d/0xaa0 Jan 11 17:05:30 leto [] ____pagevec_lru_add+0x151/0x170 Jan 11 17:05:30 leto [] exit_mmap+0xa2/0x170 Jan 11 17:05:30 leto [] mmput+0x30/0xd0 Jan 11 17:05:30 leto [] exit_mm+0x106/0x140 Jan 11 17:05:30 leto [] do_exit+0x114/0x8e0 Jan 11 17:05:30 leto [] vfs_fsync+0xbd/0x110 Jan 11 17:05:30 leto [] do_group_exit+0x37/0xb0 Jan 11 17:05:30 leto [] system_call_fastpath+0x16/0x1b Jan 11 17:05:30 leto swap_free: Bad swap file entry 80000000003a19c0 Jan 11 17:05:30 leto BUG: Bad page map in process fsck.reiserfs pte:74338020 pmd:731b6067 Jan 11 17:05:30 leto addr:0000003644348000 vm_flags:08000070 anon_vma:(null) mapping:ffff8800734f17f0 index:148 Jan 11 17:05:30 leto vma->vm_ops->fault: filemap_fault+0x0/0x440 Jan 11 17:05:30 leto vma->vm_file->f_op->mmap: reiserfs_file_mmap+0x0/0x70 Jan 11 17:05:30 leto Pid: 3012, comm: fsck.reiserfs Tainted: G B 2.6.29-rc0-xen-cs1 #1 Jan 11 17:05:30 leto Call Trace: Jan 11 17:05:30 leto [] print_bad_pte+0x1e0/0x2c0 Jan 11 17:05:30 leto [] unmap_vmas+0x86d/0xaa0 Jan 11 17:05:30 leto [] ____pagevec_lru_add+0x151/0x170 Jan 11 17:05:30 leto [] exit_mmap+0xa2/0x170 Jan 11 17:05:30 leto [] mmput+0x30/0xd0 Jan 11 17:05:30 leto [] exit_mm+0x106/0x140 Jan 11 17:05:30 leto [] do_exit+0x114/0x8e0 Jan 11 17:05:30 leto [] vfs_fsync+0xbd/0x110 Jan 11 17:05:30 leto [] do_group_exit+0x37/0xb0 Jan 11 17:05:30 leto [] system_call_fastpath+0x16/0x1b