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@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/beagleboard?hl=en.