Re: problems with soft-nfs when the server goes down

From: Oliver Lehmann <lehmann_at_ans-netz.de>
Date: Sat, 9 Jul 2005 08:28:01 +0200
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/
Received on Sat Jul 09 2005 - 04:28:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:38 UTC