From owner-freebsd-current@FreeBSD.ORG Tue Jul 12 03:50:27 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 172F816A41C for ; Tue, 12 Jul 2005 03:50:27 +0000 (GMT) (envelope-from mohan_srinivasan@yahoo.com) Received: from web31802.mail.mud.yahoo.com (web31802.mail.mud.yahoo.com [68.142.207.65]) by mx1.FreeBSD.org (Postfix) with SMTP id ADB6143D45 for ; Tue, 12 Jul 2005 03:50:26 +0000 (GMT) (envelope-from mohan_srinivasan@yahoo.com) Received: (qmail 26409 invoked by uid 60001); 12 Jul 2005 03:50:26 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=KNzG9a/9aNio0RcEU2d40vdbKw8drjoGF5rzEB6PSbwZzQ4hA2gjkoVJThTQHXr7orXt7ndYUPaBlb1V8nJxfSS0/K1ZVIOQ6CU9mQQvyVcrt41y+y8VrOLgRS1MUAGiEvaWKRqS0sNm8Dr7AlAvRsrg2FQ5KTByQz0hGzMEFuQ= ; Message-ID: <20050712035026.26407.qmail@web31802.mail.mud.yahoo.com> Received: from [64.168.22.169] by web31802.mail.mud.yahoo.com via HTTP; Mon, 11 Jul 2005 20:50:25 PDT Date: Mon, 11 Jul 2005 20:50:25 -0700 (PDT) From: Mohan Srinivasan To: Oliver Lehmann In-Reply-To: <20050709082801.18f15374.lehmann@ans-netz.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-current@freebsd.org Subject: Re: problems with soft-nfs when the server goes down X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 12 Jul 2005 03:50:27 -0000 If you can't get a core, can you save the tcpump output to a file and send me the file ? Make sure you specify -s1500 (so the entire NFS header gets captured). thanks mohan --- Oliver Lehmann wrote: > Mohan Srinivasan wrote: > > > FYI - > > > > I am not able to reproduce the problem in my setup (at least > > not easily). So a tcpdump and core would be very helpful. > > > 08:09:01.610027 IP curry.salatschuessel.net.1660761846 > 10.0.1.251.nfs: 112 read [|nfs] > 08:09:16.978803 IP curry.salatschuessel.net.1660761846 > 10.0.1.251.nfs: 112 read [|nfs] > 08:09:32.357595 IP curry.salatschuessel.net.1660761847 > 10.0.1.251.nfs: 112 read [|nfs] > 08:09:47.726377 IP curry.salatschuessel.net.1660761847 > 10.0.1.251.nfs: 112 read [|nfs] > 08:10:03.105170 IP curry.salatschuessel.net.1660761847 > 10.0.1.251.nfs: 112 read [|nfs] > 08:10:03.184644 IP 10.0.1.251.nfs > curry.salatschuessel.net.1660761847: reply ok 1472 read > 08:10:03.184752 IP 10.0.1.251 > curry.salatschuessel.net: udp > 08:10:03.184988 IP 10.0.1.251 > curry.salatschuessel.net: udp > 08:10:03.185112 IP 10.0.1.251 > curry.salatschuessel.net: udp > 08:10:03.185239 IP 10.0.1.251 > curry.salatschuessel.net: udp > 08:10:03.185312 IP 10.0.1.251 > curry.salatschuessel.net: udp > > > on 08:10 the server was back online. But beep-media-player was still stucked. > I ran a ktrace then on the pid of beep-media-player: > > 1781 beep-media-player CALL ioctl(0x9,SNDCTL_DSP_GETOSPACE,0xbf1f6ee0) > 1781 beep-media-player RET ioctl 0 > 1781 beep-media-player CALL kse_release(0x80c1f4c) > 1781 beep-media-player RET kse_release 0 > 1781 beep-media-player CALL ioctl(0x9,SNDCTL_DSP_GETOSPACE,0xbf1f6ee0) > 1781 beep-media-player RET ioctl 0 > 1781 beep-media-player CALL kse_release(0x80c1f4c) > 1781 beep-media-player RET kse_release 0 > 1781 beep-media-player CALL ioctl(0x9,SNDCTL_DSP_GETOSPACE,0xbf1f6ee0) > 1781 beep-media-player RET ioctl 0 > 1781 beep-media-player CALL kse_release(0x80c1f4c) > 1781 beep-media-player RET kse_release 0 > 1781 beep-media-player CALL ioctl(0x9,SNDCTL_DSP_GETOSPACE,0xbf1f6ee0) > 1781 beep-media-player RET ioctl 0 > 1781 beep-media-player CALL kse_release(0x80c1f4c) > 1781 beep-media-player RET kse_release 0 > 1781 beep-media-player CALL select(0x8,0xbf8fdef0,0,0,0xbf8fde38) > 1781 beep-media-player RET fork 0 > 1781 beep-media-player CALL kse_release(0x80c1f44) > 1781 beep-media-player RET kse_release 0 > 1781 beep-media-player CALL kse_release(0x80c1f4c) > 1781 beep-media-player RET kse_release 0 > 1781 beep-media-player CALL ioctl(0x9,SNDCTL_DSP_GETOSPACE,0xbf1f6ee0) > 1781 beep-media-player RET ioctl 0 > 1781 beep-media-player CALL kse_release(0x80c1f4c) > 1781 beep-media-player RET kse_release 0 > > all the time repeating that. The nfs mount itself is working I can > ls /mnt/tmp for example > > When I try mpg123, > > 08:20:18.339812 IP curry.salatschuessel.net.596824881 > 10.0.1.251.nfs: 112 read [|nfs] > 08:20:22.189524 IP curry.salatschuessel.net.596824881 > 10.0.1.251.nfs: 112 read [|nfs] > 08:20:29.878921 IP curry.salatschuessel.net.596824881 > 10.0.1.251.nfs: 112 read [|nfs] > 08:20:45.247753 IP curry.salatschuessel.net.596824881 > 10.0.1.251.nfs: 112 read [|nfs] > 08:21:00.616563 IP curry.salatschuessel.net.596824881 > 10.0.1.251.nfs: 112 read [|nfs] > 08:23:09.367970 IP curry.salatschuessel.net.596824882 > 10.0.1.251.nfs: 104 access [|nfs] > 08:23:09.368508 IP 10.0.1.251.nfs > curry.salatschuessel.net.596824882: reply ok 120 access c > 001c > > And all I get with ktrace out is > > 569 mpg123 RET write 16384/0x4000 > > as the last line, and after that nothing more. > > I'm not sure how to get a coredump out of these locked processes. > > -- > Oliver Lehmann > http://www.pofo.de/ > http://wishlist.ans-netz.de/ > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >