Andrew Morton wrote:
J M Cerqueira Esteves <[email protected]> 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
[email protected] 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]