Re: OMAP 3530 ISP driver segfaults

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Bastian,

On Monday 18 October 2010 10:58:02 Bastian Hecht wrote:
> 2010/10/15 Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>:
> > Hi Bastian,
> > 
> > On Friday 15 October 2010 13:59:24 Bastian Hecht wrote:
> >> Hello ISP driver developers,
> >> 
> >> after the lastest pull of branch 'devel' of
> >> git://gitorious.org/maemo-multimedia/omap3isp-rx51 I get a segfault
> >> when I register my ISP_device.
> >> The segfault happens in isp.c in line
> >>      isp->iommu = iommu_get("isp");
> >> 
> >> I noticed that with the new kernel the module iommu is loaded
> >> automatically after booting while it wasn't in before my pull (my old
> >> pull is about 3 days old).
> >> Tell me what kind of further info you need. Btw, I run an Igepv2.
> > 
> > Can you make sure that both the omap-iommu and iommu2 modules are loaded
> > before omap3-isp.ko ?
> 
> Hello Laurent,
> 
> that did the trick! Don't get dependencies checked at load time? I mean
> undefined functions lead to load errors. I just want to learn to be prepared
> next time. So was it some data structure that gets properly initilized by
> iommu2 so that insmod cannot see the error?

Direct dependencies are handled at load time, but the IOMMU seems to need 
runtime dependencies as well. I haven't checked what happens in details yet. 
That's somewhere in my todo list :-)

> Thanks for enlightenment,

You're welcome.

-- 
Regards,

Laurent Pinchart
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux