[3854] in arla-drinkers
Re: nnpfs_readdir problem
daemon@ATHENA.MIT.EDU (Tomas Olsson)
Tue Apr 4 10:13:29 2006
From arla-drinkers-bounces@stacken.kth.se Tue Apr 04 14:13:29 2006
Return-Path: <arla-drinkers-bounces@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 24970 invoked from network); 4 Apr 2006 14:13:29 -0000
Received: from mx3.kth.se (130.237.48.97)
by charon.mit.edu with SMTP; 4 Apr 2006 14:13:29 -0000
Received: from localhost (localhost.localdomain [127.0.0.1])
by mx3.kth.se (Postfix) with ESMTP id 7C2BF140BA6;
Tue, 4 Apr 2006 16:13:11 +0200 (CEST)
Received: from mx3.kth.se ([127.0.0.1])
by localhost (mx3.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP
id 09467-01-67; Tue, 4 Apr 2006 16:13:08 +0200 (CEST)
Received: from tapas.stacken.kth.se (tapas.stacken.kth.se [130.237.234.140])
by mx3.kth.se (Postfix) with ESMTP id 7DD00140C71;
Tue, 4 Apr 2006 16:13:01 +0200 (CEST)
Received: from tapas.stacken.kth.se (localhost [127.0.0.1])
by tapas.stacken.kth.se (Postfix) with ESMTP id 05626534F3;
Tue, 4 Apr 2006 16:13:00 +0200 (CEST)
X-Original-To: arla-drinkers@tapas.stacken.kth.se
Delivered-To: arla-drinkers@tapas.stacken.kth.se
Received: from brev.stacken.kth.se (brev.stacken.kth.se [130.237.234.84])
by tapas.stacken.kth.se (Postfix) with ESMTP id D159D534F3
for <arla-drinkers@tapas.stacken.kth.se>;
Tue, 4 Apr 2006 16:12:56 +0200 (CEST)
Received: from mx2.kth.se (mx2.kth.se [130.237.48.98])
by brev.stacken.kth.se (8.12.10/8.12.10) with ESMTP id k34ECubB015289
for <arla-drinkers@stacken.kth.se>;
Tue, 4 Apr 2006 16:12:56 +0200 (MET DST)
Received: from localhost (localhost.localdomain [127.0.0.1])
by mx2.kth.se (Postfix) with ESMTP id 0F4BE141AA9
for <arla-drinkers@stacken.kth.se>;
Tue, 4 Apr 2006 16:12:56 +0200 (CEST)
Received: from mx2.kth.se ([127.0.0.1])
by localhost (mx2.kth.se [127.0.0.1]) (amavisd-new,
port 10024) with LMTP
id 30181-01-42; Tue, 4 Apr 2006 16:12:54 +0200 (CEST)
Received: from kashyyyk.ite.kth.se (kashyyyk.ite.kth.se [130.237.31.35])
by mx2.kth.se (Postfix) with ESMTP id 3F3EC141A94;
Tue, 4 Apr 2006 16:12:54 +0200 (CEST)
Received: by kashyyyk.ite.kth.se (Postfix, from userid 18404)
id 34ED27C861C; Tue, 4 Apr 2006 16:12:54 +0200 (CEST)
From: Tomas Olsson <tol@stacken.kth.se>
To: Jean-Damien Durand <Jean-Damien.Durand@cern.ch>
Subject: Re: nnpfs_readdir problem
References: <200604041234.32434.Jean-Damien.Durand@cern.ch>
Date: 04 Apr 2006 16:12:54 +0200
In-Reply-To: <200604041234.32434.Jean-Damien.Durand@cern.ch>
Message-ID: <lsrhd59tont.fsf@kashyyyk.ite.kth.se>
Lines: 23
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
X-Virus-Scanned: by amavisd-new at kth.se
X-Spam-Status: No, hits=-4.9 tagged_above=-200.0 required=5.0 tests=BAYES_00
X-Spam-Level:
Cc: arla-drinkers@stacken.kth.se
X-BeenThere: arla-drinkers@stacken.kth.se
X-Mailman-Version: 2.1.6
Precedence: list
List-Id: Arla discussions <arla-drinkers.stacken.kth.se>
List-Unsubscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>,
<mailto:arla-drinkers-request@stacken.kth.se?subject=unsubscribe>
List-Archive: <http://lists.stacken.kth.se/pipermail/arla-drinkers>
List-Post: <mailto:arla-drinkers@stacken.kth.se>
List-Help: <mailto:arla-drinkers-request@stacken.kth.se?subject=help>
List-Subscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>,
<mailto:arla-drinkers-request@stacken.kth.se?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: arla-drinkers-bounces@stacken.kth.se
Errors-To: arla-drinkers-bounces@stacken.kth.se
X-Virus-Scanned: by amavisd-new at kth.se
Jean-Damien Durand <Jean-Damien.Durand@cern.ch> writes:
> Apr 4 12:26:01 pcitds04 kernel: nnpfs_syscall returns error: 0
> Apr 4 12:26:01 pcitds04 kernel: BUG: using smp_processor_id() in preemptible [00000001] code: fs/20020
> Apr 4 12:26:01 pcitds04 kernel: caller is sys_afs_int+0x654/0x673 [nnpfs]
>
Oh my. How ironic. You do a pioctl to turn on the debug flags, and at the
end of that routine there's a debug print that now gets executed. Which
calls smp_processor_id(), causing the oops.
You probably want
http://cvsweb.stacken.kth.se/cvsweb.cgi/arla/nnpfs/linux/nnpfs_syscalls.c.diff?r1=1.117;r2=1.118
> Apr 4 12:26:01 pcitds04 kernel: nnpfs_readdir offset: 547 namlen: 0 offset2: 2595
> Apr 4 12:26:01 pcitds04 last message repeated 1341 times
>
I wonder how that happened. Hopefully
http://cvsweb.stacken.kth.se/cvsweb.cgi/arla/nnpfs/linux/nnpfs_inodeops.c.diff?r1=1.215;r2=1.216
helps to avoid the loop in case it happens again. If you can reproduce it
easily, the patch along with "fs nnpfsdeb vnops" should give some clue
about how to fix the cause.
thanks
/t
_______________________________________________
Arla-drinkers mailing list
Arla-drinkers@stacken.kth.se
https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers