From owner-freebsd-stable@FreeBSD.ORG Wed May 25 23:03:29 2005 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7243E16A41C for ; Wed, 25 May 2005 23:03:29 +0000 (GMT) (envelope-from lehmann@ans-netz.de) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [83.136.81.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA84343D53 for ; Wed, 25 May 2005 23:03:28 +0000 (GMT) (envelope-from lehmann@ans-netz.de) Received: (qmail 32547 invoked by uid 89); 25 May 2005 23:02:42 -0000 Received: from unknown (HELO kartoffel.salatschuessel.net) (83.136.81.185) by avocado.salatschuessel.net with SMTP; 25 May 2005 23:02:42 -0000 Date: Thu, 26 May 2005 01:03:25 +0200 From: Oliver Lehmann To: Mohan Srinivasan Message-Id: <20050526010325.02415410.lehmann@ans-netz.de> In-Reply-To: <20050525223355.56551.qmail@web80601.mail.yahoo.com> References: <20050525223355.56551.qmail@web80601.mail.yahoo.com> X-Mailer: Sylpheed version 1.9.11 (GTK+ 2.6.7; amd64-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org, current@freebsd.org Subject: Re: problems with nfs+TCP - Resource temporarily unavailable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 May 2005 23:03:29 -0000 Hi Mohan, Mohan Srinivasan wrote: > Is this consistently reproducible ? it is - everytime > I tried reproducing this with this morning's > current, it also happens with STABLE > How big was your file that you tried to dd ? I need to reproduce this here > in order to track it down. dd if=/dev/urandom of=/usr/tmp.data bs=512k count=200 > Also, can you try the test without using the soft mount option ? I don't see > soft causing this, but just to eliminate those code paths. I removed soft and bb, but still the same results: root@kartoffel olivleh1> dd if=/usr/tmp.data of=/mnt/files/temp bs=32k dd: /mnt/files/temp: Resource temporarily unavailable 1797+0 records in 1796+0 records out 58851328 bytes transferred in 33.651500 secs (1748847 bytes/sec) ###### I tried the same with an other nfs server (using dill as nfs server this time - system description is in my 1st mail, same mount options like / mnt/files). And guess what? dill rebooted immediate... dd came never back, gave no output dill's dmesg shows me: fatal kernel trap: trap entry = 0x4 (unaligned access fault) faulting va = 0xfffffc0006b6f44d opcode = 0x28 register = 0x5 pc = 0xfffffc0000541e08 ra = 0xfffffc0000541df4 sp = 0xfffffe000a0f9b70 usp = 0x11ffea80 curthread = 0xfffffc000f91ee10 pid = 343, comm = nfsd panic: trap Uptime: 3d14h15m51s Dumping 253 MB 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 Dump complete unfortunately... root@dill tmp> kgdb vmcore.1 /usr/obj/alpha-5.4/usr/src/sys/DILL/ kernel.debug kgdb: bad namelist Exit 1 and.... damn! yes that panic is reproduceable! 2nd try writing on dill: root@kartoffel olivleh1> dd if=/usr/tmp.data of=/mnt/www/temp bs=32k dd: /mnt/www/temp: Resource temporarily unavailable 387+0 records in 386+0 records out 12648448 bytes transferred in 11.766768 secs (1074930 bytes/sec) So.. using i386 as an tcp nfs-server - the only thing which happens is that dd gets interruped, using alpha as an tcp nfs-server makes the alpha panic. And now it looks I should at first unmount the tcp mount, and then let my alpha system come back online ;) (which is of course not possible w/o the nfsd available of course....) May 26 00:59:44 dill rpcbind: cannot create socket for udp6 Starting mountd. NFS on reserved port only=YES Starting nfsd. Starting local daemons: fatal kernel trap: trap entry = 0x4 (unaligned access fault) faulting va = 0xfffffc000f908929 opcode = 0x28 register = 0x5 pc = 0xfffffc0000532164 ra = 0xfffffc0000532138 sp = 0xfffffe000a1118c0 usp = 0x11ffea80 curthread = 0xfffffc000f91f950 pid = 409, comm = nfsd panic: trap Uptime: 8m17s Dumping 253 MB 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 Dump complete Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... *** keyboard not plugged in... halted CPU 0 halt code = 5 HALT instruction executed PC = fffffc00005bfac0 *** no timer interrupts on CPU 0 *** CPU 0 booting If someone want me to test sth.. let me know Systems available are 6.0/ i386, 6.0/amd64, 5.4-SMP/i386, 5.4/i386, 5.4/alpha, 4.11/i386 -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/