On Wed, 16 Feb 2011 16:57:06 +0000 "Wojcik, Krzysztof" <krzysztof.wojcik@xxxxxxxxx> wrote: > > > > It looks like the 'bdev' passed to md_open keeps changing, which it > > shouldn't. > > > > If the above doesn't help, please add: > > > > printk("bdev=%p, mddev=%p, disk=%p dev=%x\n", bdev, mddev, mddev- > > >gendisk, bdev->bd_dev); > > > > at the top of 'md_open', and see what it produces. > > I tried this also but I can't see any useful information that can make me some idea. > Could you look at logs in attachment? > Thanks. That at-least confirms that the bdev is often changing while the mddev and disk stay unchanged. Having that confirmation is useful.. I didn't think that could happen - the bdev should remain pinned while the mddev exists. Obviously it doesn't. I'll see what I can find out. NeilBrown -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html