From: Jaehoon Chung <jh80.chung@samsung.com>
To: Tuomas Tynkkynen <ttynkkynen@nvidia.com>
Cc: linux-mmc@vger.kernel.org, Ulf Hansson <ulf.hansson@linaro.org>
Subject: Re: Oops on linux-next during reboot, possibly related to "mmc: core: Handle card shutdown from mmc_bus"
Date: Tue, 02 Jul 2013 15:59:52 +0900 [thread overview]
Message-ID: <51D27A68.1050009@samsung.com> (raw)
In-Reply-To: <51D16AA9.3090003@nvidia.com>
Hi Tuomas,
It seems to produce this problem when wifi is enabled.
In case of WiFi, used the sdio_bus_register in sdio_bus.c.
Then i think right that "shutdown callback function" is existed in WiFi driver.
And need to use the sdio_bus_shutdown, not mmc_bus_shutdown.
sdio is used sdio_driver and mmc/sd is used mmc_driver.
I think that didnt consider this point.
Maybe need to check whether drv is NULL or not.
If i misunderstood something, let me know.
Best Regards,
Jaehoon Chung
On 07/01/2013 08:40 PM, Tuomas Tynkkynen wrote:
> Hi,
>
> On next-20130628 I get the following Oops during reboot:
> [ 89.814921] Unable to handle kernel NULL pointer dereference at virtual address 0000004c
> [ 89.824208] pgd = ecd54000
> [ 89.827276] [0000004c] *pgd=00000000
> [ 89.831340] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
>
> [<c040b244>] (mmc_bus_shutdown+0x24/0x70) from [<c032aa6c>] (device_shutdown+0x44/0x19c)
> [<c032aa6c>] (device_shutdown+0x44/0x19c) from [<c0054508>] (kernel_restart_prepare+0x44/0x48)
> [<c0054508>] (kernel_restart_prepare+0x44/0x48) from [<c0054528>] (kernel_restart+0x1c/0x70)
> [<c0054528>] (kernel_restart+0x1c/0x70) from [<c0054704>] (SyS_reboot+0x168/0x1f0)
> [<c0054704>] (SyS_reboot+0x168/0x1f0) from [<c000ed00>] (ret_fast_syscall+0x0/0x30)
>
> The corresponding line in mmc_bus_shutdown is "drv->shutdown(card);"
> and 'drv' seems indeed to be NULL.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2013-07-02 6:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-01 11:40 Oops on linux-next during reboot, possibly related to "mmc: core: Handle card shutdown from mmc_bus" Tuomas Tynkkynen
2013-07-02 6:59 ` Jaehoon Chung [this message]
2013-07-02 10:56 ` Ulf Hansson
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=51D27A68.1050009@samsung.com \
--to=jh80.chung@samsung.com \
--cc=linux-mmc@vger.kernel.org \
--cc=ttynkkynen@nvidia.com \
--cc=ulf.hansson@linaro.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