From owner-freebsd-current@FreeBSD.ORG Tue Nov 25 10:45:41 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E590516A4DC; Tue, 25 Nov 2003 10:45:41 -0800 (PST) Received: from kai.xtaz.net (82-32-25-111.cable.ubr04.azte.blueyonder.co.uk [82.32.25.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3414343FAF; Tue, 25 Nov 2003 10:45:37 -0800 (PST) (envelope-from matt@xtaz.net) Received: from xtaz.net (xai.xtaz.net [10.0.0.2]) by kai.xtaz.net (Postfix) with ESMTP id 9A1588FD52; Tue, 25 Nov 2003 18:45:31 +0000 (GMT) Message-ID: <3FC3A34B.8060005@xtaz.net> Date: Tue, 25 Nov 2003 18:45:31 +0000 From: Matt Smith User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031101 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matt Smith References: <3FC1F7E6.40608@xtaz.net> <200311240930.14810.sam@errno.com> <3FC2978A.4020901@xtaz.net> In-Reply-To: <3FC2978A.4020901@xtaz.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Sam Leffler cc: silby@silby.com cc: Robert Watson cc: current@freebsd.org cc: sos@deepcore.dk Subject: Re: NFS lockup issues & xl0 timeouts X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Nov 2003 18:45:42 -0000 Update on xl0 issues and NFS issues: I unfortunatly left my realtek network card in work so I'll do this tomorrow night instead of tonight. But I've now installed the absolute latest world/kernel on both server and client again to see if the hang has gone. I have noticed the NFS transfer hangs at the same point always. If I cp mysql-4.0.16.tar.gz to /usr/src it hangs instantly and always with this filesize: -rw-r--r-- 1 root wheel 122880 Nov 25 18:30 mysql-4.0.16.tar.gz Is that significant in any way? Another test I just did is swap the roles of the client and server around. So I've ran a server on the client and mounted the directory on the server. Doing this and NFS works perfectly writing to the server but not reading. It hangs whilst reading. Left for 5 minutes so far: -rw-r--r-- 1 root wheel 65536 Nov 25 18:39 mysql-4.0.16.tar.gz This filesize looks significant to me. Like a buffer is full or something. So this suggests I have a problem only in the one direction. And this is also the direction I have the xl0 transfer problems with. I would suggest my problems are totally down to the xl0 card/driver and not NFS related at all. I will find this out once and for all when I test with the realtek card tomorrow night (when I remember to bring it home from work). The affected card is: xl0@pci5:7:0: class=0x020000 card=0x100010b7 chip=0x920010b7 rev=0x74 hdr=0x00 vendor = '3COM Corp, Networking Division' device = '3C905C-TX Fast EtherLink for PC Management NIC' class = network subclass = ethernet xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x1000-0x107f mem 0xfc304800-0xfc30487f irq 10 at device 7.0 on pci5 xl0: Ethernet address: 00:04:76:8d:c5:fd miibus0: on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Regards, Matt.