Re: BUG at drivers/md/kcopyd.c:146 (was: [PATCH 1/9] device-mapper snapshot: load metadata on creation)

From: Alasdair G Kergon
Date: Thu Apr 20 2006 - 13:05:33 EST


On Sat, Apr 15, 2006 at 01:19:51PM +0200, Juergen Kreileder wrote:
> I'm using devmapper 1.02.03 and lvm2 2.02.02 with 2.6.16.2,
> nevertheless my logical volumes locked up three time when removing
> snapshots so far. Twice I got BUG at drivers/md/kcopyd.c:146, the
> third time logging stopped at the first lvremove.

> 2.6.15 and earlier kernels in combination with older tools worked fine
> over the last year.

I found several bugs in the snapshot code when I reviewed it,
including (thankfully hard-to-trigger) silent data corruption.

Patches went into 2.6.17-rc1. [There's one unfinished patch
outstanding for a theoretical race that I've only been able to
reproduce under artificial conditions.]

> kernel BUG at drivers/md/kcopyd.c:146!

Probably needs this patch (12th March):

dm snapshot: fix kcopyd destructor

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/