Re: -bk regression against -test9

From: David S. Miller
Date: Tue Nov 04 2003 - 17:10:53 EST


On Tue, 4 Nov 2003 12:07:03 +0100
Pavel Machek <pavel@xxxxxx> wrote:

> Current -bk does not boot (where -test9 works okay):
>
> Null pointer dereference
> EIP=dev_add_pack+0x3d
> Called from irda_init, do_initcalls.
>
> Any ideas?

The change that causes this has been reverted from
Linus's tree already, as follows below. Another workaround
is to disable IRDA or build it as a module.

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1396.1.7 -> 1.1396.1.8
# net/core/dev.c 1.122 -> 1.123
# drivers/pnp/isapnp/core.c 1.44 -> 1.45
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/11/01 davem@xxxxxxxxxxxxxx 1.1396.1.8
# Cset exclude: akpm@xxxxxxxx|ChangeSet|20031029192849|64746
# --------------------------------------------
#
diff -Nru a/drivers/pnp/isapnp/core.c b/drivers/pnp/isapnp/core.c
--- a/drivers/pnp/isapnp/core.c Tue Nov 4 14:06:01 2003
+++ b/drivers/pnp/isapnp/core.c Tue Nov 4 14:06:01 2003
@@ -1160,7 +1160,7 @@
return 0;
}

-fs_initcall(isapnp_init);
+device_initcall(isapnp_init);

/* format is: noisapnp */

diff -Nru a/net/core/dev.c b/net/core/dev.c
--- a/net/core/dev.c Tue Nov 4 14:06:01 2003
+++ b/net/core/dev.c Tue Nov 4 14:06:01 2003
@@ -3049,7 +3049,7 @@
return rc;
}

-fs_initcall(net_dev_init);
+subsys_initcall(net_dev_init);

EXPORT_SYMBOL(__dev_get);
EXPORT_SYMBOL(__dev_get_by_flags);


-
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/