Re: 2.6.6-rc2-bk3 (and earlier?) mount problem (?)

From: viro
Date: Mon Apr 26 2004 - 19:27:09 EST


On Tue, Apr 27, 2004 at 02:04:40AM +0200, Grzegorz Kulewski wrote:
> Apr 27 01:49:23 polb01 claim: 22:68 c0407320 -> 0
> Apr 27 01:49:23 polb01 release: 22:68

grabbed and released hdd4

> Apr 27 01:49:23 polb01 claim: 22:68 c0407aa0 -> 0

grabbed hdd4

> Apr 27 01:49:23 polb01 kjournald starting. Commit interval 5 seconds
> Apr 27 01:49:23 polb01 EXT3-fs: mounted filesystem with ordered data mode.
> Apr 27 01:49:23 polb01 VFS: Mounted root (ext3 filesystem) readonly.
> Apr 27 01:49:23 polb01 Freeing unused kernel memory: 132k freed
> Apr 27 01:49:23 polb01 NET: Registered protocol family 1
> Apr 27 01:49:23 polb01 EXT3 FS on hdd4, internal journal

... and that was apparently done by mount()

> Apr 27 01:49:23 polb01 claim: 3:0 e08e223e -> 0
> Apr 27 01:49:23 polb01 claim: 3:0 e08e223e -> 0
> Apr 27 01:49:23 polb01 claim: 3:0 e08e223e -> 0
> Apr 27 01:49:23 polb01 claim: 3:0 e08e223e -> 0
> Apr 27 01:49:23 polb01 claim: 3:0 e08e223e -> 0
> Apr 27 01:49:23 polb01 claim: 3:0 e08e223e -> 0

whee... 6 claims of hda - all by the same owner.

> Apr 27 01:49:23 polb01 claim: 22:64 e08e223e -> -16
> Apr 27 01:49:23 polb01 device-mapper: : dm-linear: Device lookup failed
> Apr 27 01:49:23 polb01
> Apr 27 01:49:23 polb01 device-mapper: error adding target to table
> Apr 27 01:49:23 polb01 claim: 22:64 e08e223e -> -16

[several times]

a bunch of attempts to claim hdd for the same guy - failed since hdd4 is
claimed already.

> Apr 27 01:49:23 polb01 claim: 3:5 c0407aa0 -> -16
> Apr 27 01:49:23 polb01 claim: 3:2 e0947800 -> -16

... and failing attempts to claim hda5 and hda2, since hda had been claimed and
never released.


IOW, dm.c doesn't release what it'd claimed, even after it gives up on probing.
-
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/