public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Luca Olivetti <luca@ventoso.org>
Cc: Daniel Walker <dwalker@fifo99.com>, Greg KH <gregkh@suse.de>,
	Mauro Carvalho Chehab <mchehab@infradead.org>,
	linux-kernel@vger.kernel.org, Hans Verkuil <hverkuil@xs4all.nl>,
	Janne Grunau <janne-dvb@grunau.be>
Subject: Re: [crash] af9005_usb_module_init(): BUG: unable to handle kernel paging request at ff100000
Date: Tue, 3 Feb 2009 22:32:45 +0100	[thread overview]
Message-ID: <20090203213245.GD20527@elte.hu> (raw)
In-Reply-To: <4988ABEE.6020703@ventoso.org>


* Luca Olivetti <luca@ventoso.org> wrote:

> En/na Ingo Molnar ha escrit:
>> * Daniel Walker <dwalker@fifo99.com> wrote:
>>
>>> On Tue, 2009-02-03 at 18:28 +0100, Ingo Molnar wrote:
>>>> FYI, -tip qa keeps triggering this bootup crash occasionally, ever 
>>>> since June 2008 when a DVB merge brought in this new driver:
>>> It looks like it could be a config problem.. The crash happens around 
>>> these two symbol "af9005_rc_keys", and "af9005_rc_keys_size" , and 
>>> they are both defined inside af9005-remote.c different from where the 
>>> init functions is lcoated .. af9005-remote.c needs a special config  
>>> CONFIG_DVB_USB_AF9005_REMOTE to get compiled which you have 
>>> disabled..
>>
>> ok - but it shouldnt crash, obviously.
>
> Did you try my suggestion I sent the past December 26th?
> Quote:
>
> El Fri, 26 Dec 2008 11:08:33 -0200
> Mauro Carvalho Chehab <mchehab@infradead.org> escribió:
> > > Luca,
> > >
> > > Could you please verify this issue?
>
> No, I don't have 2.6.28, but I guess that maybe once usb_register is
> called the dvb-usb subsystem asynchronously (is that an smp system?)
> starts polling the remote before the rc_decode function pointer has been
> initialized.

Correct, and the bug triggered on a 'very SMP' system: a hyperthreading 
system that triggers SMP races much sooner than other (multi-core) SMP 
systems. It also triggered spuriously - i.e. not in a reproducible way.

> Could you try to initialize it to NULL before calling usb_register?

Sorry - there was no patch i think for me to try so i didnt try it. I'll try 
the patch in your next mail. Please queue your fix up for upstream and 
consider the bug fixed, unless i re-report it in a few days. Since it's a 
spurious crash there's no clear reproducer i can test.

	Ingo

  parent reply	other threads:[~2009-02-03 21:33 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-03 17:28 [crash] af9005_usb_module_init(): BUG: unable to handle kernel paging request at ff100000 Ingo Molnar
2009-02-03 17:45 ` Arjan van de Ven
2009-02-03 18:22 ` Daniel Walker
2009-02-03 19:30   ` Ingo Molnar
2009-02-03 20:41     ` Luca Olivetti
2009-02-03 21:18       ` Luca Olivetti
2009-02-03 21:32       ` Ingo Molnar [this message]
2009-02-04  1:14       ` Daniel Walker
2009-02-04 14:52         ` Luca Olivetti
2009-02-04 15:16           ` Daniel Walker
2009-02-04 15:49             ` Luca Olivetti
2009-02-04 16:12               ` Daniel Walker
2009-02-04 18:12                 ` Luca Olivetti
2009-02-04 18:30 ` Daniel Walker
2009-02-04 18:41   ` Luca Olivetti
2009-02-04 19:27     ` Daniel Walker

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=20090203213245.GD20527@elte.hu \
    --to=mingo@elte.hu \
    --cc=dwalker@fifo99.com \
    --cc=gregkh@suse.de \
    --cc=hverkuil@xs4all.nl \
    --cc=janne-dvb@grunau.be \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luca@ventoso.org \
    --cc=mchehab@infradead.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