From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suresh Jayaraman Subject: Re: 3.0-rc+git OOPS losetup on cifs Date: Thu, 07 Jul 2011 12:55:35 +0530 Message-ID: <4E155F6F.6070506@suse.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Steve French , linux-cifs@vger.kernel.org, Linux-Kernel-Mailinglist To: Sven-Haegar Koch Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-cifs.vger.kernel.org On 07/05/2011 01:18 AM, Sven-Haegar Koch wrote: > hello, > > Since a short while (I know it worked with 3.0-rc1) loopback-mounting an > image on a samba server mounted with cifs oopses the kernel. > > Szenario: > - Client system: Thinkpad T60, 32bit, Debian Unstable > - Server system: Lacie edmini NAS device, exporting 500GB disk with > samba, 450GB crypto image file on it > - mount -t cifs -o username=backups,uid=1000,gid=0,file_mode=0664,dir_mode=0775,rw //192.168.10.98/backups /mnt/real-backups > - losetup /dev/loop7 /mnt/real-backups/loop.img > - cryptsetup luksOpen /dev/loop7 cifsloop > - mount -t ext4 -o rw,noatime,delalloc,barrier=0 /dev/mapper/cifsloop /mnt/backups > > This worked since ages, but since some time after 2.6.39 (last test > with 3.0-rc5+git ba466c74d99b91b2) this throws a kernel oops at the > "losetup" stage. I couldn't reproduce this with 3.0-rc6 with a smaller image file (1GB). But I see no relevant fixes between -rc5 and -rc6. Can you try to reproduce the same problem with a smaller non-encrypted file? Thanks, -- Suresh Jayaraman