Re: 2.6.9-mm1: LVM stopped working (dio-handle-eof.patch)

From: Alasdair G Kergon
Date: Thu Oct 28 2004 - 10:55:26 EST


On Thu, Oct 28, 2004 at 12:52:20PM +0800, Jeff Chua wrote:
> I'm using 2.6.10-rc1 and got the following error ...
> # lvcreate -L 100M -n lv01 vg01
> device-mapper ioctl cmd 0 failed: Inappropriate ioctl for device
> striped: Required device-mapper target(s) not detected in your kernel
> lvcreate: Create a logical volume

But that's *not* the dio problem we're discussing in this thread.
It's saying userspace communication with device-mapper isn't working,
most likely because there's something wrong with the way your
system creates /dev/mapper/control when booting or the ioctl
compatibility code (what architecture?).

Alasdair
--
agk@xxxxxxxxxx

Subject: Re: 2.6.9-mm1: LVM stopped working
Reply-To:
In-Reply-To: <20041026140925.GO16193@xxxxxxxxxxxxxxxxxxxxx>

On Tue, Oct 26, 2004 at 03:09:25PM +0100, Alasdair G Kergon wrote:
> On Tue, Oct 26, 2004 at 09:55:38PM +0800, Jeff Chua wrote:
> > It doesn't work on 2.6.10-rc1 either. Works fine on 2.6.9 and 2.4.8-rc1.
> > device-mapper ioctl cmd 0 failed: Inappropriate ioctl for device
>
> Do you get any corresponding kernel messages?
> Check /dev/mapper/control corresponds to /proc/devices & /proc/misc.
> (See device-mapper scripts/devmap_mknod.sh)
> Use 'dmsetup version' and 'dmsetup targets' to test.
>
> Alasdair
> --
> agk@xxxxxxxxxx
-
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/