public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* bug: crash in adummy_init()
@ 2006-12-18 15:31 Ingo Molnar
  2006-12-18 16:40 ` Daniel Walker
  0 siblings, 1 reply; 2+ messages in thread
From: Ingo Molnar @ 2006-12-18 15:31 UTC (permalink / raw)
  To: linux-kernel; +Cc: Andrew Morton


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
 [<c06e33be>] class_device_add+0x52/0x45c
 [<c06e37e5>] class_device_register+0x1d/0x21
 [<c136b57c>] atm_register_sysfs+0x5a/0xbf
 [<c136b11d>] atm_dev_register+0x1e3/0x245
 [<c1eb1ff0>] adummy_init+0x72/0xb9
 [<c0100567>] init+0x178/0x451
 [<c0105feb>] kernel_thread_helper+0x7/0x10
 =======================
BUG: unable to handle kernel NULL pointer dereference at virtual address 00000064
 printing eip:
c01e318f
*pde = 01fd4001
stopped custom tracer.
Oops: 0000 [#1]
PREEMPT SMP 
Modules linked in:
CPU:    0
EIP:    0060:[<c01e318f>]    Not tainted VLI
EFLAGS: 00010246   (2.6.19.1-rt16 #495)
EIP is at create_dir+0x14/0x1e4
eax: f76d1374   ebx: f76d1374   ecx: 00000008   edx: 00000000
esi: f76d1440   edi: fffffffe   ebp: f7c1ae98   esp: f7c1ae78
ds: 007b   es: 007b   ss: 0068   preempt: 00000001
Process swapper (pid: 1, ti=f7c1a000 task=f7c2ec50 task.ti=f7c1a000)
Stack: 00000001 c13db5aa c1900e70 00000246 f7c1aea0 f76d1370 f76d1440 fffffffe 
       f7c1aeb8 c01e33da f76d1370 00000000 f76d1374 f7c1aeb0 00000000 f76d1370 
       f7c1aee0 c04f0611 f76d1370 c19bfb14 c1900e68 c1bfeb14 f7c1aef0 f76d1368 
Call Trace:
 [<c0106273>] show_trace_log_lvl+0x34/0x4a
 [<c0106332>] show_stack_log_lvl+0xa9/0xb9
 [<c010663e>] show_registers+0x1f5/0x290
 [<c0106a3b>] die+0x1de/0x2db
 [<c13df0fd>] do_page_fault+0x5a3/0x68c
 [<c13dd2a9>] error_code+0x39/0x40
 [<c01e33da>] sysfs_create_dir+0x7b/0x96
 [<c04f0611>] kobject_add+0xcd/0x187
 [<c06e3421>] class_device_add+0xb5/0x45c
 [<c06e37e5>] class_device_register+0x1d/0x21
 [<c136b57c>] atm_register_sysfs+0x5a/0xbf
 [<c136b11d>] atm_dev_register+0x1e3/0x245
 [<c1eb1ff0>] adummy_init+0x72/0xb9
 [<c0100567>] init+0x178/0x451
 [<c0105feb>] kernel_thread_helper+0x7/0x10
 =======================
Code: 9f ac 00 00 00 c7 87 a4 00 00 00 fc 2b 82 c1 83 c4 0c 5b 5e 5f 5d c3 55 89 e5 57 56 53 83 ec 14 e8 73 bc f3 ff 8b 55 0c 8b 5d 10 <8b> 42 64 89 df 05 cc 00 00 00 e8 ab 89 1f 01 31 c0 83 c9 ff f2 
EIP: [<c01e318f>] create_dir+0x14/0x1e4 SS:ESP 0068:f7c1ae78
 <0>Kernel panic - not syncing: Attempted to kill init!
 [<c0106273>] show_trace_log_lvl+0x34/0x4a
 [<c01063a9>] show_trace+0x2c/0x2e
 [<c01063d6>] dump_stack+0x2b/0x2d
 [<c0134c93>] panic+0x67/0x124
 [<c0137a0d>] do_exit+0xb8/0x9ed
 [<c0106b30>] die+0x2d3/0x2db
 [<c13df0fd>] do_page_fault+0x5a3/0x68c
 [<c13dd2a9>] error_code+0x39/0x40
 [<c01e33da>] sysfs_create_dir+0x7b/0x96
 [<c04f0611>] kobject_add+0xcd/0x187
 [<c06e3421>] class_device_add+0xb5/0x45c
 [<c06e37e5>] class_device_register+0x1d/0x21
 [<c136b57c>] atm_register_sysfs+0x5a/0xbf
 [<c136b11d>] atm_dev_register+0x1e3/0x245
 [<c1eb1ff0>] adummy_init+0x72/0xb9
 [<c0100567>] init+0x178/0x451
 [<c0105feb>] kernel_thread_helper+0x7/0x10
 =======================
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bug: crash in adummy_init()
  2006-12-18 15:31 bug: crash in adummy_init() Ingo Molnar
@ 2006-12-18 16:40 ` Daniel Walker
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Walker @ 2006-12-18 16:40 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: linux-kernel, Andrew Morton

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-12-18 16:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-18 15:31 bug: crash in adummy_init() Ingo Molnar
2006-12-18 16:40 ` Daniel Walker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox