Linux CIFS filesystem development
 help / color / mirror / Atom feed
From: "Frédéric L. W. Meunier" <fredlwm-fLz7/M+a0ZzR7s880joybQ@public.gmane.org>
To: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: CIFS shares keep hanging with VirtualBox
Date: Thu, 19 Apr 2012 14:36:27 -0300	[thread overview]
Message-ID: <20120419173627.GA4337@pervalidus> (raw)

[-- Attachment #1: Type: text/plain, Size: 1193 bytes --]

I use VirtualBox (4.1.12) on Windows 7 Ultimate SP1. The guest is Linux 
(kernel 3.3.2, cifs-utils 5.3), which I boot directly from a partition.

If I use CIFS to access the Windows partitions, the connections 
constantly hang and the applications to access it deadlock until killed.

For example:

$ cd /mnt
$ ls

It hangs (the share in question is mounted under /mnt/ntfs2).

'ps' returns "3174 pts/0 D+ 0:00 ls --color=auto" and the load average 
increases until I 'kill -9' the process.

The only message I get in the logs is "CIFS VFS: Server 192.168.1.64 has 
not responded in 300 seconds. Reconnecting..."

After that, the share only works if remounted.

I don't know what's causing it, but it works perfectly from VMware 
Player using the same setup, so it looks like a bug in VirtualBox, not 
in CIFS ?

This isn't a new issue, as I started using VMware Player in July 2011 
after giving up getting CIFS to work reliably with VirtualBox.

I'm attaching a log created with 'echo 7 > /proc/fs/cifs/cifsFYI', just 
in case it helps, and am willing to do other things to, it not solve it, 
at least know what to blame. At 14:26, I killed both 'ls' processes and 
unmounted the partition.

[-- Attachment #2: cifs.txt.gz --]
[-- Type: application/octet-stream, Size: 5054 bytes --]

             reply	other threads:[~2012-04-19 17:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-19 17:36 Frédéric L. W. Meunier [this message]
     [not found] ` <20120419135151.6745d624@corrin.poochiereds.net>
     [not found]   ` <20120419135151.6745d624-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2012-04-19 19:43     ` CIFS shares keep hanging with VirtualBox Frédéric L. W. Meunier
2012-04-19 20:19       ` Steve French
     [not found]         ` <CAH2r5muAnRf-cNbE2WH6a1fZmX+diti+bbtCK-iju7wdKm7L8g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-19 23:39           ` Frédéric L. W. Meunier
2012-04-20  2:10             ` Steve French

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120419173627.GA4337@pervalidus \
    --to=fredlwm-flz7/m+a0zzr7s880joybq@public.gmane.org \
    --cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox