From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755515Ab1HRKf3 (ORCPT ); Thu, 18 Aug 2011 06:35:29 -0400 Received: from lucidpixels.com ([72.73.18.11]:36342 "EHLO lucidpixels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755198Ab1HRKf1 (ORCPT ); Thu, 18 Aug 2011 06:35:27 -0400 Date: Thu, 18 Aug 2011 06:35:26 -0400 (EDT) From: Justin Piszcz To: "J. R. Okajima" cc: Jeff Layton , Jesper Juhl , linux-kernel@vger.kernel.org, Alan Piszcz , Steve French , linux-cifs@vger.kernel.org Subject: Re: Kernel 3.0: Instant kernel crash when mounting CIFS (also crashes with linux-3.1-rc2 In-Reply-To: <3300.1313637592@jrobl> Message-ID: References: <20110815064734.403b630f@corrin.poochiereds.net> <3300.1313637592@jrobl> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.