From: Jason Kridner <jkridner-hcmAuCOw+vXj4SYmN/TMmA@public.gmane.org>
To: beagleboard-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Debugging LCD and encountering NULL pointer in omap_vout_probe
Date: Thu, 8 Sep 2011 04:19:36 -0700 (PDT) [thread overview]
Message-ID: <10651908.679.1315480776490.JavaMail.geo-discussion-forums@yqap15> (raw)
In-Reply-To: <4E689FCB.30008-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 4031 bytes --]
On Thursday, September 8, 2011 6:58:19 AM UTC-4, vladimir wrote:
>
> Jason Kridner wrote:
> > Any ideas on debugging this crash in omap_vout_probe? This is a 3.0.4
> kernel with PM patches applied from Kevin's tree.
I tried against the latest copy of the mainline I could get (commit
9e79e3e9dd9672b37ac9412e9a926714306551fe) to see what that would do (without
applying any of my patches) and got a linker error in the same function in
question.
CC drivers/media/video/omap/omap_vout.o
drivers/media/video/omap/omap_vout.c: In function 'omap_vout_probe':
drivers/media/video/omap/omap_vout.c:2202:15: error: 'struct
omap_dss_driver' has no member named 'set_update_mode'
drivers/media/video/omap/omap_vout.c:2203:12: error: 'struct
omap_dss_driver' has no member named 'set_update_mode'
drivers/media/video/omap/omap_vout.c:2204:8: error: 'OMAP_DSS_UPDATE_MANUAL'
undeclared (first use in this function)
drivers/media/video/omap/omap_vout.c:2204:8: note: each undeclared
identifier is reported only once for each function it appears in
drivers/media/video/omap/omap_vout.c:2206:15: error: 'struct
omap_dss_driver' has no member named 'set_update_mode'
drivers/media/video/omap/omap_vout.c:2207:12: error: 'struct
omap_dss_driver' has no member named 'set_update_mode'
drivers/media/video/omap/omap_vout.c:2208:8: error: 'OMAP_DSS_UPDATE_AUTO'
undeclared (first use in this function)
make[4]: *** [drivers/media/video/omap/omap_vout.o] Error 1
make[3]: *** [drivers/media/video/omap] Error 2
make[2]: *** [drivers/media/video] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2
http://paste.ubuntu.com/685168/
it crashed where in omap_vout_probe?
>
At offset 0x6b8, per the paste below...
> >
> > Built using:
> https://gitorious.org/beagleboard-validation/linux/commits/ulcd-20110907
> >
>
> [ 3.676513] Unable to handle kernel NULL pointer dereference at virtual
address 0000005c
> > [ 3.685058] pgd = c0004000
> > [ 3.687896] [0000005c] *pgd=00000000
> > [ 3.691680] Internal error: Oops: 5 [#1]
> > [ 3.695831] Modules linked in:
> > [ 3.699066] CPU: 0 Not tainted (3.0.4+ #2)
> > [ 3.703735] PC is at omap_vout_probe+0x6b8/0x7e0
> > [ 3.708618] LR is at omap_vout_probe+0x684/0x7e0
>
.
.
.
> > [ 3.855529] [<c00297bc>] (omap_vout_probe+0x6b8/0x7e0) from [<c02a79b4>]
> (platform_drv_probe+0x14/0x18)
> > [ 3.865447] [<c02a79b4>] (platform_drv_probe+0x14/0x18) from [<c02a6944>]
> (driver_probe_device+0xc8/0x184)
> > [ 3.875610] [<c02a6944>] (driver_probe_device+0xc8/0x184) from
> [<c02a6a60>] (__driver_attach+0x60/0x84)
> > [ 3.885528] [<c02a6a60>] (__driver_attach+0x60/0x84) from [<c02a5bf4>]
> (bus_for_each_dev+0x4c/0x78)
> > [ 3.895050] [<c02a5bf4>] (bus_for_each_dev+0x4c/0x78) from [<c02a6264>]
> (bus_add_driver+0x98/0x210)
> > [ 3.904602] [<c02a6264>] (bus_add_driver+0x98/0x210) from [<c02a6f6c>]
> (driver_register+0xa0/0x120)
> > [ 3.914154] [<c02a6f6c>] (driver_register+0xa0/0x120) from [<c00290e4>]
> (omap_vout_init+0xc/0x2c)
> > [ 3.923492] [<c00290e4>] (omap_vout_init+0xc/0x2c) from [<c003d45c>]
> (do_one_initcall+0x90/0x160)
> > [ 3.932861] [<c003d45c>] (do_one_initcall+0x90/0x160) from [<c000894c>]
> (kernel_init+0x88/0x130)
> > [ 3.942138] [<c000894c>] (kernel_init+0x88/0x130) from [<c0042cd4>]
> (kernel_thread_exit+0x0/0x8)
> > [ 3.951416] Code: e3e05012 ea000016 e59a0094 e5903200 (e593c05c)
> > [ 3.957885] ---[ end trace cbb5c332507f77c9 ]---
> > [ 3.962890] Kernel panic - not syncing: Attempted to kill init!
>
>
>
--
You received this message because you are subscribed to the Google Groups "Beagle Board" group.
To view this discussion on the web visit https://groups.google.com/d/msg/beagleboard/-/BUAXSWVTewgJ.
To post to this group, send email to beagleboard-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to beagleboard+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at http://groups.google.com/group/beagleboard?hl=en.
[-- Attachment #2: Type: text/html, Size: 5452 bytes --]
prev parent reply other threads:[~2011-09-08 11:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-08 10:37 Debugging LCD and encountering NULL pointer in omap_vout_probe Jason Kridner
[not found] ` <4E689FCB.30008@gmail.com>
[not found] ` <4E689FCB.30008-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-09-08 11:19 ` Jason Kridner [this message]
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=10651908.679.1315480776490.JavaMail.geo-discussion-forums@yqap15 \
--to=jkridner-hcmaucow+vxj4symn/tmma@public.gmane.org \
--cc=beagleboard-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
--cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox