Skip to contentSkip to conversation

-bk regression against -test9

DISCUSSION Pavel Machek 2 participants 2 messages Nov 4, 2003

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi!

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?
Pavel

Signature · 2 lines
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
#1 lore raw
Quoted 7 lines · On Tue, 4 Nov 2003 12:07:03 +0100 Pavel Machek <[email protected]> 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 [email protected] 1.1396.1.8
# Cset exclude: [email protected]|ChangeSet|20031029192849|64746
# --------------------------------------------
#

drivers/pnp/isapnp/core.c +1 -1
diff -Nru a/drivers/pnp/isapnp/core.c b/drivers/pnp/isapnp/core.c
@@ -1160,7 +1160,7 @@
 	return 0;
 }
 
-fs_initcall(isapnp_init);
+device_initcall(isapnp_init);
 
 /* format is: noisapnp */
 
net/core/dev.c +1 -1
diff -Nru a/net/core/dev.c b/net/core/dev.c
@@ -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);