Re: oom-killer: gfp_mask=0xd1 with 2.6.15.4 on EM64T [previously2.6.12]

From: Jun'ichi Nomura
Date: Mon Mar 06 2006 - 12:59:28 EST


Andrew Morton wrote:
J M Cerqueira Esteves <jmce@xxxxxxxxxxxxxxxx> wrote:
We have a candidate fix at
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc5/2.6.16-rc5-mm2/broken-out/x86_64-mm-blk-bounce.patch.
Could you test that? (and don't alter the Cc: list!). The patch is
against 2.6.16-rc5.

A new "feature": 36 of these kernel message pairs as boot time:
device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table

OK, there were some fairly large DM patches touching on
dm_get_device(). Cc added ;)

Thanks Andrew for Cc-ing.

Sorry but I don't think my bd_claim patches affect on this problem
as the patches are neither bug fixes nor included in
2.6.16-rc5-mm2 yet.

So if the problem persists, I would suggest to consult with
dm-devel@xxxxxxxxxx about the problem.

If it's possible to do some testings on the system,
I think the followings are worth trying:
- Checking if the problem occurs with plain 2.6.15
(not the one from distributor).
- Checking how the device-mapper devices are configured.
(e.g. comparing the output of "dmsetup table" command
with the one on the original kernel)
- Checking what lookup failed (printk below will show them).
[It's better if dm shows this information from the first time..]
Then checking whether the failed devices exist in the system
or initrds, whether they are mounted or used by md.

--- linux-2.6.16-rc5-mm2.tmp/drivers/md/dm-linear.c 2006-03-03 15:42:32.000000000 -0500
+++ linux-2.6.16-rc5-mm2/drivers/md/dm-linear.c 2006-03-06 10:17:16.000000000 -0500
@@ -47,6 +47,7 @@ static int linear_ctr(struct dm_target *

if (dm_get_device(ti, argv[0], lc->start, ti->len,
dm_table_get_mode(ti->table), &lc->dev)) {
+ printk("dm-linear: failed to lookup %s\n", argv[0]);
ti->error = "dm-linear: Device lookup failed";
goto bad;
}

Thanks,
--
Jun'ichi Nomura, NEC Solutions (America), Inc.
-
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/