Re: bug: crash in adummy_init()

From: Daniel Walker
Date: Mon Dec 18 2006 - 11:41:19 EST


On Mon, 2006-12-18 at 16:31 +0100, Ingo Molnar wrote:
> crash in adummy_init() - allyesconfig bootup.
>
> Ingo
>
> ---------------->
> Calling initcall 0xc1eb1f7e: adummy_init+0x0/0xb9()
> adummy: version 1.0
> swapper/1[CPU#0]: BUG in kref_get at lib/kref.c:32
> [<c0106273>] show_trace_log_lvl+0x34/0x4a
> [<c01063a9>] show_trace+0x2c/0x2e
> [<c01063d6>] dump_stack+0x2b/0x2d
> [<c0135acb>] __WARN_ON+0x63/0x75
> [<c04f0fb9>] kref_get+0x31/0x3c
> [<c04f028c>] kobject_get+0x1c/0x22
> [<c06e296a>] class_get+0x1d/0x2d

Here, adummy_init() depends on atm_init() and they're both in the same
initcall level. I wonder if there's suppose to be a set ordering inside
any given initcall level, I don't think there is.

Daniel

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