linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: udev causes kernel oops when migrating from 2.6.30.4 to
Date: Wed, 07 Oct 2009 15:25:08 +0000	[thread overview]
Message-ID: <20091007152508.GA27394@kroah.com> (raw)
In-Reply-To: <1254923826.26123.42.camel@wks02-lin.nanotronic.local>

On Wed, Oct 07, 2009 at 04:32:38PM +0200, Kay Sievers wrote:
> On Wed, Oct 7, 2009 at 15:57, hoefle marco <marco.hoefle@nanotronic.ch> wrote:
> > on your arm board (pxa270) we need to migrate to Kernel 2.6.31.x due to
> > block device driver api changes.
> > When compiling the new kernel with the same .config as with 2.6.30.4 we
> > get a kernel oops (attached later).
> > The udevd version is 125 which is that one used in debian. This version
> > works well for kernel 2.6.30.1, 2.6.30.4 but not for 2.6.31.0, 2.6.31.1
> > and 2.6.31.2.
> > Do we need to change something in the kernel config?
> > Has the according userspace API changed?
> > Any ideas on how to debug this?
> 
> No, there was no change. It should work fine.
> 
> I would expect a kernel device driver problem. You use any drivers
> which are not in the upstream git repo? If yes, any pointers to it?

It's a huge diff, will not fit on this list I think :(

Anyway, I just looked at it again.  Marco, there are numerous bugs in
that driver code.  NEVER have an empty release function for a device,
that is completly wrong, and is one reason why this is now failing.

Your driver also has devices in the __initdata section, which is being
thrown away by the kernel.  That's probably the biggest problem and I'm
amazed it even worked at all here.

thanks,

greg k-h

  parent reply	other threads:[~2009-10-07 15:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-07 13:57 udev causes kernel oops when migrating from 2.6.30.4 to 2.6.31.2 hoefle marco
2009-10-07 14:32 ` Kay Sievers
2009-10-07 14:59 ` udev causes kernel oops when migrating from 2.6.30.4 to hoefle marco
2009-10-07 15:05 ` udev causes kernel oops when migrating from 2.6.30.4 to 2.6.31.2 Kay Sievers
2009-10-07 15:25 ` Greg KH [this message]
2009-10-15  8:07 ` udev causes kernel oops when migrating from 2.6.30.4 to hoefle marco

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=20091007152508.GA27394@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-hotplug@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).