need help how to debug xfs crash issue xfs_iunlink_remove: xfs_inotobp() returned error 22

符永涛 yongtaofu at gmail.com
Fri Apr 12 09:48:47 CDT 2013


Hi Brian,

Your scripts works for me now after I installed all the rpm built out from
kernel srpm. I'll try it. Thank you.


2013/4/12 Brian Foster <bfoster at redhat.com>

> On 04/12/2013 04:32 AM, 符永涛 wrote:
> > Dear xfs experts,
> > Can I just call xfs_stack_trace(); in the second line of
> > xfs_do_force_shutdown() to print stack and rebuild kernel to check
> > what's the error?
> >
>
> I suppose that's a start. If you're willing/able to create and run a
> modified kernel for the purpose of collecting more debug info, perhaps
> we can get a bit more creative in collecting more data on the problem
> (but a stack trace there is a good start).
>
> BTW- you might want to place the call after the XFS_FORCED_SHUTDOWN(mp)
> check almost halfway into the function to avoid duplicate messages.
>
> Brian
>
> >
> > 2013/4/12 符永涛 <yongtaofu at gmail.com <mailto:yongtaofu at gmail.com>>
> >
> >     Hi Brian,
> >     What else I'm missing? Thank you.
> >     stap -e 'probe module("xfs").function("xfs_iunlink"){}'
> >
> >     WARNING: cannot find module xfs debuginfo: No DWARF information found
> >     semantic error: no match while resolving probe point
> >     module("xfs").function("xfs_iunlink")
> >     Pass 2: analysis failed.  Try again with another '--vp 01' option.
> >
> >
> >     2013/4/12 符永涛 <yongtaofu at gmail.com <mailto:yongtaofu at gmail.com>>
> >
> >         ls -l
> >
> /usr/lib/debug/lib/modules/2.6.32-279.el6.x86_64/kernel/fs/xfs/xfs.ko.debug
> >         -r--r--r-- 1 root root 21393024 Apr 12 12:08
> >
> /usr/lib/debug/lib/modules/2.6.32-279.el6.x86_64/kernel/fs/xfs/xfs.ko.debug
> >
> >         rpm -qa|grep  kernel
> >         kernel-headers-2.6.32-279.el6.x86_64
> >         kernel-devel-2.6.32-279.el6.x86_64
> >         kernel-2.6.32-358.el6.x86_64
> >         kernel-debuginfo-common-x86_64-2.6.32-279.el6.x86_64
> >         abrt-addon-kerneloops-2.0.8-6.el6.x86_64
> >         kernel-firmware-2.6.32-358.el6.noarch
> >         kernel-debug-2.6.32-358.el6.x86_64
> >         kernel-debuginfo-2.6.32-279.el6.x86_64
> >         dracut-kernel-004-283.el6.noarch
> >         libreport-plugin-kerneloops-2.0.9-5.el6.x86_64
> >         kernel-devel-2.6.32-358.el6.x86_64
> >         kernel-2.6.32-279.el6.x86_64
> >
> >         rpm -q kernel-debuginfo
> >         kernel-debuginfo-2.6.32-279.el6.x86_64
> >
> >         rpm -q kernel
> >         kernel-2.6.32-279.el6.x86_64
> >         kernel-2.6.32-358.el6.x86_64
> >
> >         do I need to re probe it?
> >
> >
> >         2013/4/12 Eric Sandeen <sandeen at sandeen.net
> >         <mailto:sandeen at sandeen.net>>
> >
> >             On 4/11/13 11:32 PM, 符永涛 wrote:
> >             > Hi Brian,
> >             > Sorry but when I execute the script it says:
> >             > WARNING: cannot find module xfs debuginfo: No DWARF
> >             information found
> >             > semantic error: no match while resolving probe point
> >             module("xfs").function("xfs_iunlink")
> >             >
> >             > uname -a
> >             > 2.6.32-279.el6.x86_64
> >             > kernel debuginfo has been installed.
> >             >
> >             > Where can I find the correct xfs debuginfo?
> >
> >             it should be in the kernel-debuginfo rpm (of the same
> >             version/release as the kernel rpm you're running)
> >
> >             You should have:
> >
> >
> /usr/lib/debug/lib/modules/2.6.32-279.el6.x86_64/kernel/fs/xfs/xfs.ko.debug
> >
> >             If not, can you show:
> >
> >             # uname -a
> >             # rpm -q kernel
> >             # rpm -q kernel-debuginfo
> >
> >             -Eric
> >
> >
> >
> >
> >
> >         --
> >         符永涛
> >
> >
> >
> >
> >     --
> >     符永涛
> >
> >
> >
> >
> > --
> > 符永涛
> >
> >
> > _______________________________________________
> > xfs mailing list
> > xfs at oss.sgi.com
> > http://oss.sgi.com/mailman/listinfo/xfs
> >
>
>


-- 
符永涛
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20130412/cc1ea952/attachment.html>


More information about the xfs mailing list