From: Robert Jarzmik <robert.jarzmik@free.fr>
To: Antonio Ospite <ospite@studenti.unina.it>
Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>,
Linux Media Mailing List <linux-media@vger.kernel.org>,
rsc@pengutronix.de
Subject: Re: pxa_camera: Oops in pxa_camera_probe.
Date: Sat, 04 Jul 2009 21:35:22 +0200 [thread overview]
Message-ID: <87skhcfdhh.fsf@free.fr> (raw)
In-Reply-To: <20090703234148.b5aad4da.ospite@studenti.unina.it> (Antonio Ospite's message of "Fri\, 3 Jul 2009 23\:41\:48 +0200")
Antonio Ospite <ospite@studenti.unina.it> writes:
> On Fri, 3 Jul 2009 22:03:27 +0200 (CEST)
> Guennadi Liakhovetski <g.liakhovetski@gmx.de> wrote:
>
>> On Fri, 3 Jul 2009, Antonio Ospite wrote:
>>
>> > > Linux video capture interface: v2.00
>> > > Unable to handle kernel NULL pointer dereference at virtual address 00000060
>> > > pgd = c0004000
>> > > [00000060] *pgd=00000000
>> > > Internal error: Oops: f5 [#1] PREEMPT
>> > > Modules linked in:
>> > > CPU: 0 Tainted: G W (2.6.31-rc1-ezxdev #1)
>> > > PC is at dev_driver_string+0x0/0x38
>> > > LR is at pxa_camera_probe+0x144/0x428
>> >
>> > The offending dev_driver_str() here is the one in the dev_warn() call in
>> > mclk_get_divisor().
>> >
>> > This is what is happening: in struct pxacamera_platform_data I have:
>> > .mclk_10khz = 5000,
>> >
>> > which makes the > test in mclk_get_divisor() succeed calling dev_warn
>> > to report that the clock has been limited, but pcdev->soc_host.dev is
>> > still uninitialized at this time.
Antonio,
Would you check [1] and see if your stack does correspond to the one I reported
some time ago ? As this is fresh in your memory, you'll be far quicker that me.
Ah, and by the way, I like your patch too, agree that mioa701 is touched, and I
think it should go upstream.
Cheers.
--
Robert
[1] http://osdir.com/ml/linux-media/2009-04/msg00874.html
next prev parent reply other threads:[~2009-07-04 19:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-01 18:43 pxa_camera: Oops in pxa_camera_probe Antonio Ospite
2009-07-03 14:11 ` Antonio Ospite
2009-07-03 20:03 ` Guennadi Liakhovetski
2009-07-03 21:41 ` Antonio Ospite
2009-07-04 19:35 ` Robert Jarzmik [this message]
2009-07-04 20:07 ` Antonio Ospite
-- strict thread matches above, loose matches on Subject: below --
2009-07-01 9:25 Antonio Ospite
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=87skhcfdhh.fsf@free.fr \
--to=robert.jarzmik@free.fr \
--cc=g.liakhovetski@gmx.de \
--cc=linux-media@vger.kernel.org \
--cc=ospite@studenti.unina.it \
--cc=rsc@pengutronix.de \
/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.