xfs
[Top] [All Lists]

Re: Oops removing files on a full f/s

To: Juha Saarinen <juha@xxxxxxxxxxxx>
Subject: Re: Oops removing files on a full f/s
From: Russell Cattelan <cattelan@xxxxxxxxxxx>
Date: Tue, 19 Jun 2001 00:56:58 -0500
Cc: "'Keith Owens'" <kaos@xxxxxxxxxxxxxxxxx>, "'Steve Lord'" <lord@xxxxxxx>, "'XFS Mailing List'" <linux-xfs@xxxxxxxxxxx>
References: <022601c0f874$58e807b0$0a01a8c0@den2>
Sender: owner-linux-xfs@xxxxxxxxxxx
Juha Saarinen wrote:

> :: The address is not in kernel space.  Either you
> :: mis{copied,typed} it or
> :: it really was wrong.  In the latter case it would cause the oops.
>
> Bugger. 0s look very like 8s with ATI VGA... ;-). OK, here we are:
>
> md 0xca02da80
>
> 0xca02da80 00000000 00000000 00001000 00000307
> 0xca02da90 00000000 00000307 0000000c 00001ee8
> 0xca02daa0 ca0dec20 ca521980 ca02da80 00000000
> 0xca02dab0 00000000 cb836000 c130efbc c017d9d0
> 0xca02dac0 cbd86be0 00000000 00000001 ca02dacc
> 0xca02dad0 ca02dacc 00000000 cb269838 cb553c18
> 0xca02dae0 00000000 00008e53 00001000 00000308
> 0xca02daf0 00000000 00000308 00000019 00000000
>
> Make sense?

Well yup that's a buffer head  size 4k device (3,7)

but it may be helpful to find out what  make_request was doing
with that buffer head when it crashed.

take this script (odump)  run it with the line
odump kernel .text 0xc0100000 oxc020fc00 0xc02103ca
(the like right after __make_request in the kdb backtrace)

This should give you the disassembly of __make_request
if you have the kernel built with -g3  the source lines will
be intermixed with the assembly.


#!/bin/sh

set -x

if [ $1 = "kernel" ]; then
        objdump -S -j $2                \
                --start-address=$4      \
                --stop-address=$5       \
                linux/vmlinux
else
        objdump -S -j $2                \
                --adjust-vma=$3         \
                --start-address=$4      \
                --stop-address=$5       \
                linux/modules/$1.o
fi


--
Russell Cattelan
cattelan@xxxxxxxxxxx




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