From: Sakari Ailus <sakari.ailus@iki.fi>
To: Alex Gershgorin <alexg@meprolight.com>
Cc: "laurent.pinchart@ideasonboard.com"
<laurent.pinchart@ideasonboard.com>,
"Hiroshi.DOYU@nokia.com" <Hiroshi.DOYU@nokia.com>,
"linux-media@vger.kernel.org" <linux-media@vger.kernel.org>
Subject: Re: OMAP3ISP boot problem
Date: Sat, 10 Dec 2011 10:23:39 +0200 [thread overview]
Message-ID: <4EE3170B.7000807@iki.fi> (raw)
In-Reply-To: <4875438356E7CA4A8F2145FCD3E61C0B2C89899243@MEP-EXCH.meprolight.com>
Hi Alex,
Alex Gershgorin wrote:
> Hi All,
>
> I have problem in booting the Kernel.
> Here the problematic part of the boot message.
> As I understand it happens when isp_probe calling and it calls isp->iommu_dev = omap_find_iommu_device("isp");
>
> [ 1.976715] Linux media interface: v0.10
> [ 1.981781] Linux video capture interface: v2.00
> [ 1.989257] omap3isp omap3isp: Revision 2.0 found
> [ 1.998138] Unable to handle kernel NULL pointer dereference at virtual address 00000050
> [ 2.006683] pgd = c0004000
> [ 2.010009] [00000050] *pgd=00000000
> [ 2.013793] Internal error: Oops: 5 [#1]
> [ 2.017913] Modules linked in:
> [ 2.021148] CPU: 0 Tainted: G W (3.2.0-rc4-00002-g2d47fa7-dirty #1304)
> [ 2.029296] PC is at klist_next+0x10/0xc4
> [ 2.033508] LR is at next_device+0x8/0x14
> [ 2.037750] pc : [<c03c032c>] lr : [<c0251e5c>] psr: 60000013
> [ 2.037750] sp : c7425eb0 ip : c05e080c fp : 00000000
> [ 2.049804] r10: c04b2367 r9 : c058b4f8 r8 : 000003ff
> [ 2.055297] r7 : 0000000e r6 : 00000000 r5 : c031827c r4 : c7425ed0
> [ 2.062164] r3 : c031827c r2 : 00000000 r1 : c7425ed0 r0 : 00000024
> [ 2.069000] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
> [ 2.076690] Control: 10c5387d Table: 80004019 DAC: 00000015
> [ 2.082733] Process swapper (pid: 1, stack limit = 0xc74242f0)
> [ 2.088867] Stack: (0xc7425eb0 to 0xc7426000)
> [ 2.093444] 5ea0: c031827c c04ae343 c031827c c05d7650
> [ 2.102050] 5ec0: 0000000e c0251e5c c031827c c0251ec8 00000024 00000000 c76e8000 000074e0
> [ 2.110656] 5ee0: c058b4f0 c030462c 00000000 c01181e4 c058b4f8 c0055f04 00000000 c76e8508
> [ 2.119232] 5f00: c74976c0 00000000 c05d4fe4 c058b4f8 c058b52c c05d4fe4 c05d4fe4 00000000
> [ 2.127838] 5f20: 00000000 00000000 00000000 c0252784 c0252770 c02515e4 00000000 c058b4f8
> [ 2.136444] 5f40: c058b52c c05d4fe4 00000000 c0251708 c05d4fe4 c02516a0 00000000 c0250e20
> [ 2.145050] 5f60: c7420058 c7481490 c05d4fe4 c76c9140 c05c45d0 c0250768 c04ae33e 00000000
> [ 2.153656] 5f80: c7423340 c05d4fe4 c056e4cc c000dbfc 00000000 00000000 00000000 c0251d20
> [ 2.162231] 5fa0: c0583210 c056e4cc c000dbfc 00000000 00000000 c000857c c0582dd0 00003539
> [ 2.170837] 5fc0: 00000000 c0000000 00000013 c0583210 c0582dd0 c000dbfc 00000013 00000000
> [ 2.179443] 5fe0: 00000000 c0553204 c7423340 00000000 c0553194 c000dbfc bf0285ff fb000400
> [ 2.188049] [<c03c032c>] (klist_next+0x10/0xc4) from [<c0251e5c>] (next_device+0x8/0x14)
> [ 2.196563] [<c0251e5c>] (next_device+0x8/0x14) from [<c0251ec8>] (driver_find_device+0x60/0x78)
> [ 2.205841] [<c0251ec8>] (driver_find_device+0x60/0x78) from [<c030462c>] (isp_probe+0x238/0xa5c)
> [ 2.215179] [<c030462c>] (isp_probe+0x238/0xa5c) from [<c0252784>] (platform_drv_probe+0x14/0x18)
> [ 2.224517] [<c0252784>] (platform_drv_probe+0x14/0x18) from [<c02515e4>] (driver_probe_device+0xc8/0x184)
> [ 2.234680] [<c02515e4>] (driver_probe_device+0xc8/0x184) from [<c0251708>] (__driver_attach+0x68/0x8c)
> [ 2.244567] [<c0251708>] (__driver_attach+0x68/0x8c) from [<c0250e20>] (bus_for_each_dev+0x48/0x74)
> [ 2.254058] [<c0250e20>] (bus_for_each_dev+0x48/0x74) from [<c0250768>] (bus_add_driver+0xa0/0x21c)
> [ 2.263580] [<c0250768>] (bus_add_driver+0xa0/0x21c) from [<c0251d20>] (driver_register+0xa4/0x130)
> [ 2.273101] [<c0251d20>] (driver_register+0xa4/0x130) from [<c000857c>] (do_one_initcall+0x98/0x16c)
> [ 2.282714] [<c000857c>] (do_one_initcall+0x98/0x16c) from [<c0553204>] (kernel_init+0x70/0x118)
> [ 2.291992] [<c0553204>] (kernel_init+0x70/0x118) from [<c000dbfc>] (kernel_thread_exit+0x0/0x8)
> [ 2.301208] Code: e92d40f8 e1a04000 e5900000 e5946004 (e590702c)
> [ 2.307708] ---[ end trace 1b75b31a2719ed1e ]---
> [ 2.312652] Kernel panic - not syncing: Attempted to kill init!
>
> I will appreciate any help.
Just a stupid question... do you have CONFIG_OMAP_IOMMU and
CONFIG_OMAP_IOVMM enabled? This is a known problem; the real fix
involves using dmabuf instead of the IOMMU/IOVMM API.
Regards,
--
Sakari Ailus
sakari.ailus@iki.fi
next prev parent reply other threads:[~2011-12-10 8:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4875438356E7CA4A8F2145FCD3E61C0B2C8989923C@MEP-EXCH.meprolight.com>
2011-12-10 8:02 ` OMAP3ISP boot problem Alex Gershgorin
2011-12-10 8:23 ` Sakari Ailus [this message]
2011-12-10 8:53 ` Alex Gershgorin
2011-12-10 9:12 ` Sakari Ailus
2011-12-10 13:36 ` Alex Gershgorin
2011-12-10 14:45 ` Laurent Pinchart
2011-12-10 17:10 ` Alex Gershgorin
2011-12-11 10:56 ` Alex Gershgorin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EE3170B.7000807@iki.fi \
--to=sakari.ailus@iki.fi \
--cc=Hiroshi.DOYU@nokia.com \
--cc=alexg@meprolight.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.