Re: Oops: 2.6.11-mm3 -- NULL pointer -- EIP is ati2c_add_driver+0xa2/0xd0

From: Andrew Morton
Date: Mon Mar 21 2005 - 19:53:44 EST


Miles Lane <miles.lane@xxxxxxxxx> wrote:
>
> I2c /dev/ entries driver
> Unable to handle kernel NULL pointer dereference at virtual address 00000000

Miles, does 2.6.12-rc1-mm1 fix this?

Thanks.

> Printing eip:
> C028bbc2
> *pde = 00000000
> Oops: 0000 [#1]
> PREEMPT
> Modules linked in:
> CPU: 0
> EIP: 0060:[<c028bbc2>] Not tainted VLI
> EFLAGS: 00010282 (2.6.11-mm3)
> EIP is at i2c_add_driver+0xa2/0xd0
> Eax: 00000000 ebx: 00000000 ecx: 00000000 edx: f7e99504
> Esi: c03f5260 edi: 00000000 ebp: f7c21fa4 esp: f7c21f90
> Ds: 007b es: 007b ss: 0068
> Process swapper (pid: 1, threadinfo=f7c20000 task=c17fca40)
> Stack: f7c00540 c03f5264 00000000 00000000 00000000 f7c21fbc c0480695 c03f5260
> c03724f8 c03f5140 c048d204 f7c21fd8 c04668ab c01002d0 00000000 00000000
> c01002d0 00000000 f7c21fec c0100302 0000007b 0000007b ffffffff 00000000
> Call Trace:
> [<c010404f>] show_stack+0x7f/0xa0
> [<c01041ea>] show_registers+0x15a/0x1c0
> [<c01043e0>] die+0xf0/0x190
> [<c011450b>] do_page_fault+0x31b/0x670
> [<c0103c83>] error_code+0x2b/0x30
> [<c0480695>] i2c_dev_init+0x55/0xa0
> [<c04668ab>] do_initcalls+0x2b/0xc0
> [<c0100302>] init+0x32/0x130
> [<c0101351>] kernel_thread_helper+0x5/0x14
-
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/