Re: 3.0-rc+git OOPS losetup on cifs

From: Suresh Jayaraman
Date: Thu Jul 07 2011 - 03:25:27 EST


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