NetBSD Problem Report #46180

From martin@aprisoft.de  Mon Mar 12 09:43:26 2012
Return-Path: <martin@aprisoft.de>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 52C0063B8C0
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 12 Mar 2012 09:43:26 +0000 (UTC)
Message-Id: <20120312094325.DC97EAF5812@emmas.aprisoft.de>
Date: Mon, 12 Mar 2012 10:43:25 +0100 (CET)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: NFS problem
X-Send-Pr-Version: 3.95

>Number:         46180
>Category:       kern
>Synopsis:       stale NFS file handles during create/write operations
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 12 09:45:00 +0000 2012
>Last-Modified:  Mon Mar 12 11:20:02 +0000 2012
>Originator:     Martin Husemann
>Release:        NetBSD 6.99.3
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD after-hours.aprisoft.de 6.99.3 NetBSD 6.99.3 (MODULAR) #149: Mon Feb 27 16:07:37 CET 2012 martin@after-hours.aprisoft.de:/usr/src/sys/arch/sparc64/compile/MODULAR sparc64
Architecture: sparc64
Machine: sparc64
>Description:

With a NFS mounted /usr/src (server: NetBSD 5.1) I see random messages like:

{standard input}: Assembler messages:
{standard input}: Fatal error: can't close ah.o: Stale NFS file handle

while trying to build a kernel. This is new, server is unchanged, only the
local kernel has been updated two weeks ago.

>How-To-Repeat:
Dunno, happens "sometimes".

>Fix:
n/a

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/46180: NFS problem
Date: Mon, 12 Mar 2012 12:15:51 +0100

 It seems I had turned on tcp4csum-tx on the gem0 interface (and I am
 using NFS with option -T). Turning that off again, seems to fix the
 issue.

 So looks more like a gem driver bug. Hardware is:

 gem0 at pci0 dev 5 function 1: Sun Microsystems ERI Ethernet (rev. 0x01)
 gem0: interrupting at ivec 321d
 ukphy0 at gem0 phy 1: OUI 0x0006b8, model 0x000c, rev. 1
 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 gem0: Ethernet address 00:03:ba:12:67:05, 2KB RX fifo, 2KB TX fifo

 Ifconfig output (now again without tcp4csum-tx):

 gem0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         capabilities=800<TCP4CSUM_Tx>
         enabled=0
         address: 00:03:ba:12:67:05
         media: Ethernet autoselect (100baseTX full-duplex)
         status: active
         inet 192.168.111.155 netmask 0xffffff00 broadcast 192.168.111.255
         inet6 fe80::203:baff:fe12:6705%gem0 prefixlen 64 scopeid 0x1


 Martin

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.