Re: zfs: Fatal trap 12: page fault while in kernel mode

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Tue, 4 Aug 2009 21:51:12 +0200
On Tue, Aug 04, 2009 at 11:56:48AM +0200, Juergen Unger wrote:
> On Tue, Aug 04, 2009 at 11:49:50AM +0200, Pawel Jakub Dawidek wrote:
> > > testbox# sysctl debug.kdb.enter=1
> > > KDB: enter: sysctl debug.kdb.enter
> > > [thread pid 11635 tid 100472 ]
> > > Stopped at      kdb_enter+0x3a: movl    $0,kdb_why
> > > db> show lock 0x87aac290
> > >  class: sx
> > >  name: dp->dp_config_rwlock
> > >  state: XLOCK: 0x879e8480 (tid 100130, pid 172, "txg_thread_enter")
> > >  waiters: shared
> > > db> 
> > 
> > Could you also try something like the following from DDB:
> > 
> > 	x/bx 0x879ad8a0,52
> 
> db> x/bx 0x879ad8a0,52
> 0x879ad8a0:     82  1a  4b  87  0   0   71  2   0   0   0   0   0   0   0   0
> 0x879ad8b0:     1   0   0   0   91  1a  4b  87  4   0   0   0   40  92  cb  87
> 0x879ad8c0:     0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
> 0x879ad8d0:     0   0   0   0   9   1f  4b  87  0   0   71  2   0   0   0   0
> 0x879ad8e0:     0   0   0   0   40  92  cb  87  e8  0   0   0   c8  0   0   0
> 0x879ad8f0:     a8  bb
> db>

This is dump of ZFS-specific rrwlock that some threads are waiting for.
We can see here that thread owning the lock is 0x87cb9240, which is pid
86397 (zfs recv process). I don't think we will be able to gather more
info from here. I'm builing HEAD at the moment and hopefully will be
able to reproduce it. Thanks for all the info.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd_at_FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

Received on Tue Aug 04 2009 - 17:50:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:53 UTC