xfs
[Top] [All Lists]

Re: [xfs] Calltrace in 2.6.27 kernel]

To: hch@xxxxxxxxxxxxx
Subject: Re: [xfs] Calltrace in 2.6.27 kernel]
From: "aluno3@xxxxxxxxxxxxxx" <aluno3@xxxxxxxxxxxxxx>
Date: Fri, 14 Nov 2008 09:49:47 +0100
Cc: xfs@xxxxxxxxxxx
In-reply-to: <491C9687.6040305@xxxxxxxxxxxxxx>
References: <491C9687.6040305@xxxxxxxxxxxxxx>
User-agent: Thunderbird 2.0.0.16 (X11/20080707)
Hi

I ran addr2line for both vmlinux and for first call trace (2.6.27)
add2line returned:

addr2line -e ./vmlinux c029553d
fs/xfs/xfs_log.c:3528

in source:

        /*
         * If this happens during log recovery, don't worry about
         * locking; the log isn't open for business yet.
         */
        if (!log ||
            log->l_flags & XLOG_ACTIVE_RECOVERY) {
                mp->m_flags |= XFS_MOUNT_FS_SHUTDOWN;
                XFS_BUF_DONE(mp->m_sb_bp);                            
//3528 line
                return 0;
        }



and for second call trace (2.6.27.5 + patch for XFS from 2.6.28rc)
add2line returned:

addr2line -e ./vmlinux c029571d
fs/xfs/xfs_log.c:3561


in source:

         /*
         * If this happens during log recovery, don't worry about
         * locking; the log isn't open for business yet.
         */
        if (!log ||
            log->l_flags & XLOG_ACTIVE_RECOVERY) {
                mp->m_flags |= XFS_MOUNT_FS_SHUTDOWN;
                XFS_BUF_DONE(mp->m_sb_bp);                        //3561
line
                return 0;
        }


>
> On Thu, Nov 13, 2008 at 03:22:58PM +0100, aluno3@xxxxxxxxxxxxxx wrote:
>   
>> Hi
>>
>> I tested kernel 2.6.27 with stress test using fsstress,dd,LVM and
>> snapshots. After a few hours and overflow of snapshot I got call trace:
>>
>> device-mapper: snapshots: Invalidating snapshot: Unable to allocate
>> exception.
>>     
>
> This is a message from device mapper telling your that it got an EIO
> in pending_complete()
>
>   
>> I/O error in filesystem ("dm-49") meta-data dev dm-49 block
>> 0x1d4c3b0       ("xlog_recover_do..(read#2)")
>>  error 5 buf count 8192
>> XFS: log mount/recovery failed: error 5
>> XFS: log mount failed
>>     
>
> And now XFS complains that it got this error passed up, so far so good.
>
>   
>> BUG: unable to handle kernel NULL pointer dereference at 0000002c
>> IP: [<c029553d>] xfs_log_force_umount+0x3d/0x170
>> *pdpt = 00000000345cf001 *pde = 0000000000000000
>>     
>
> But ut should not crash.  Can you run 
>
>       addr2line -e /path/to/your/kernel xfs_log_force_umount+0x3d/0x170
>
> (you'll need a kernel with debuginfo for that)
>
>
>   

<Prev in Thread] Current Thread [Next in Thread>