Re: udev causes kernel oops when migrating from 2.6.30.4 to 2.6.31.2

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

 



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@xxxxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux