Re: smbfs mount wedges



Hi,

On 29/04/07, Kostik Belousov <kostikbel@xxxxxxxxx> wrote:
On Sun, Apr 29, 2007 at 07:00:54PM +0200, Ivan Voras wrote:
> I have this line in my /etc/fstab:
>
> //ivoras@server/share /home/ivoras/mnt smbfs rw,noauto,-f640,-d750 0 0
>
> But the command
>
> # mount /home/ivoras/mnt
>
> doesn't exit. The file system is mounted, I can see it in output of
> "mount" on another console, and I can access the files in it without
> problems, but the "mount" command never returns. It's stuck in state
> "devdrn", and can't be killed by SIGINT or SIGKILL.
>
> This is a -CURRENT from few days ago.
>
> Does smbfs work for someone?
>

Take the
http://people.freebsd.org/~kib/misc/destroy_dev_sched.6.patch
In addition, replace calls to destroy_dev() in the smb cdev d_close()
method with destroy_dev_sched() (the precise location of that destroy_dev()
could be obtained by backtracing hung process in ddb).

This should fix "devdrn" hang. Please, report the results to me.



It seems that it works now, thanks!
(i,e, no mount_smbfs in devdrn state after mount)

current as of 26/04/2007

wbr,
pluknet
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • RE: Machine not Booting - Continued
    ... mkraid command and the mount command in the script as you suggested (in no ... Otherwise specify the same mkraid and mount command in /etc/rc.local. ... it has no proper file system to mount. ...
    (RedHat)
  • Re: smbfs mount wedges
    ... The file system is mounted, I can see it in output of ... "mount" on another console, and I can access the files in it without ... but the "mount" command never returns. ... This should fix "devdrn" hang. ...
    (freebsd-current)
  • Re: fstab
    ... > tried your command but it did not work...was asked to specify file system. ... > i actually don't have a backup of fstab in another place but i can edit the ... even without an fstab but the mount command wants to look in fstab to ...
    (RedHat)
  • Re: smbfs mount wedges
    ... The file system is mounted, I can see it in output of ... >"mount" on another console, and I can access the files in it without ... but the "mount" command never returns. ...
    (freebsd-current)
  • Re: smbfs mount wedges
    ... The file system is mounted, I can see it in output of ... "mount" on another console, and I can access the files in it without ... but the "mount" command never returns. ... I don't see devdrn hang around mount_smbfs/watch for the last 2 months. ...
    (freebsd-current)