smbmount on NT4 shares disconnecting randomly

Urban Widmark urban at svenskatest.se
Mon Sep 11 09:21:30 GMT 2000


On Mon, 11 Sep 2000, Matt Doyle wrote:

> Sep  7 18:06:08 muddy kernel: smb_retry: caught signal
> Sep  7 18:07:35 muddy kernel: smb_retry: signal failed, error=-3
> Sep  7 18:07:35 muddy last message repeated 3 times

That's the one ...

The current process has a signal pending while it is trying to wait in
smb_retry using interruptible_sleep_on_timeout. The signal causes
interruptible_sleep_on_timeout to return instantly, and smbmount will get
an error when trying to open the mountpoint (to which it responds by
terminating).

It should work better if you change that to sleep_on_timeout (and change
all wake_up_interruptible into wake_up in fs/smbfs/proc.c). Or use
2.2.18pre4/2.4.0-test8.

/Urban





More information about the samba mailing list