lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.02.1108180807070.7903@p34.internal.lan>
Date:	Thu, 18 Aug 2011 08:14:01 -0400 (EDT)
From:	Justin Piszcz <jpiszcz@...idpixels.com>
To:	"J. R. Okajima" <hooanon05@...oo.co.jp>
cc:	Jeff Layton <jlayton@...ba.org>, Jesper Juhl <jj@...osbits.net>,
	linux-kernel@...r.kernel.org, Alan Piszcz <ap@...arrain.com>,
	Steve French <sfrench@...ba.org>, linux-cifs@...r.kernel.org
Subject: Re: Kernel 3.0: Instant kernel crash when mounting CIFS (also crashes
 with linux-3.1-rc2



On Thu, 18 Aug 2011, Justin Piszcz wrote:

>
>
> On Thu, 18 Aug 2011, J. R. Okajima wrote:
>
>> 
>> Justin Piszcz:
>>> Does anyone know if any kernel supports CIFS w/out crashing? I'd like to
>>> backup some CIFS shares, thanks.
>>> 
>>> 
>>> mount -t cifs //w2/x /mnt -o user=user,pass=pass
>>> 
>>> [  881.388836] CIFS VFS: cifs_mount failed w/return code = -22
>> 	:::
>> 
>> Since it failed mounting, this patch will help you. Although the patch
>> will fix one bug, there still may exist another problem.
>> 
>> http://marc.info/?l=linux-cifs&m=131345112022031&w=2
>
> Hi,
>
> Latest patch (this one) applied to linux-3.1-rc2 works, at least it mounted
> this time and did not instantly crash the kernel!
>
> I also tried the hostname again (and it did not crash the kernel, but it 
> failed to mount).
>
> Used the IP and it mounted successfully:
> //10.0.0.11/x          28T  5.0T   23T  19% /mnt
> //10.0.0.11/y          19T  1.2T   18T   7% /mnt2
>
> It has not crashed yet (which is good), I'll apply this patch to my
> production machine and test taking backups of this data and let you know
> if it crashes again, thanks!
>
> Justin.


Hello,

It is working but very slowly:

Device eth6 [10.0.1.2] (1/1):
================================================================================
Incoming:                               Outgoing:
Curr: 37.60 MByte/s                     Curr: 0.44 MByte/s
Avg: 4.98 MByte/s                       Avg: 0.09 MByte/s
Min: 0.00 MByte/s                       Min: 0.00 MByte/s
Max: 40.79 MByte/s                      Max: 0.48 MByte/s
Ttl: 1.45 GByte                         Ttl: 26.77 MByte

Over 10GbE the other direction (Linux -> Windows (via Samba)) I get 
500MiB/s, is CIFS slow?

I'll look into options to tweak the speed but this is very poor speed when 
you have to transfer 5-10TB.  However, it is not crashing anymore, so any 
speed is better than that :)

Justin.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ