Re: Crash in Kernel 2.6.22.1 after calling mmc_register_card

From: Pierre Ossman
Date: Tue Jan 08 2008 - 14:44:37 EST


On Mon, 7 Jan 2008 15:31:32 -0800
"raki john" <raki4652@xxxxxxxxx> wrote:

> Hi All,
>
> Please CC me on responses.
>
> I am working on a SD/MMC Host driver .
>
> I am getting kerenl oops after mmc_register_card () is called.
> i working on LINUX 2.6.22.1 kerenl.
>
> What might be the reason for this.
>

That's a rather central place for it to crash, so I'm doubtful it's a bug there. I'd guess some kind of memory corruption (an all to easy mistake to make when writing a new driver). Are you using DMA for the controller? If so, try using PIO and see if it stops oopsing.

Rgds
Pierre

Attachment: signature.asc
Description: PGP signature