All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] Kernel NULL pointer dereference for mmc
@ 2011-07-12  4:23 Jaehoon Chung
  2011-07-12  5:24 ` Philip Rakity
  2011-07-12 11:40 ` Per Forlin
  0 siblings, 2 replies; 4+ messages in thread
From: Jaehoon Chung @ 2011-07-12  4:23 UTC (permalink / raw)
  To: linux-mmc; +Cc: Chris Ball, Per Forlin, Philip Rakity, Kyungmin Park

Hi

When I tested MMC card with IOzone, i found this message..
I tried to find what problem..but i didn't find yet..

So i want to get mailing's help..Have ever seen the below message?
(using SDHCI controller, eMMC 4.41 card, 8-bit buswidth)

I didn't applied about post_req/pre_req in sdhci.c.
(using latest kernel in mmc-tree)

Also i will try to debug for this problem.

Plz let me know what is problem.. 

[  103.605000] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[  103.605000] pgd = c0004000
[  103.605000] [00000000] *pgd=00000000
[  103.605000] Internal error: Oops: 805 [#1] PREEMPT SMP
[  103.605000] last sysfs file: /sys/devices/virtual/vc/vcsa1/dev
[  103.605000] Modules linked in:
[  103.605000] CPU: 0    Not tainted  (2.6.39-rc7-00350-g0510951 #78)
[  103.605000] PC is at wait_for_common+0x8c/0x174
[  103.605000] LR is at wait_for_common+0x64/0x174
[  103.605000] pc : [<c0290104>]    lr : [<c02900dc>]    psr: 40000093
[  103.605000] sp : ed9efee0  ip : 00000000  fp : ed9eff1c
[  103.605000] r10: ed9efef0  r9 : ed928000  r8 : 00000002
[  103.605000] r7 : ed9f9868  r6 : ed9ee000  r5 : 7fffffff  r4 : ed9f9864
[  103.605000] r3 : 00000000  r2 : 00000001  r1 : ed9f987c  r0 : ed9efef8
[  103.605000] Flags: nZcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[  103.605000] Control: 10c5387d  Table: 6dbc004a  DAC: 00000015
[  103.605000] Process mmcqd/0 (pid: 856, stack limit = 0xed9ee2f0)
[  103.605000] Stack: (0xed9efee0 to 0xed9f0000)
[  103.605000] fee0: 00000000 00000001 ed928000 c004a5d0 ed9f987c 00000000 edbb4438 ed9f8800
[  103.605000] ff00: ed9f9958 ed9f9958 ed9eff44 ed9f9800 00000000 edbb4438 edbb4438 c027b060
[  103.605000] ff20: ed9f9800 ed9f9818 ed9f9400 00000000 ed9f9800 c0283614 edb3ee68 00000000
[  103.605000] ff40: ed9f9800 ed9f9818 00000000 edbb4438 ed9f9400 ed9f9818 00000000 ed9f9800
[  103.605000] ff60: 00000000 edbb4438 00000000 c0283af8 ed9f9818 edbb4438 ed9f9818 ed9ee000
[  103.605000] ff80: ed9f9820 edb3eb20 edbb4a20 00000000 edbb4438 c0284558 00000000 ed855d8c
[  103.605000] ffa0: ed9f9818 ed9effc0 c02844b8 00000000 00000000 c006ae6c 00000000 ed9f9818
[  103.605000] ffc0: 00000000 00000000 c002eb20 dead4ead ffffffff ffffffff ed9effd8 ed9effd8
[  103.605000] ffe0: 00000000 ed855d8c c006adec c002eb20 00000013 c002eb20 fcfcfcfc fcfcfcfc
[  103.605000] [<c0290104>] (wait_for_common+0x8c/0x174) from [<c027b060>] (mmc_start_req+0x50/0xec)
[  103.605000] [<c027b060>] (mmc_start_req+0x50/0xec) from [<c0283614>] (mmc_blk_issue_rw_rq+0x68/0x288)
[  103.605000] [<c0283614>] (mmc_blk_issue_rw_rq+0x68/0x288) from [<c0283af8>] (mmc_blk_issue_rq+0x2c4/0x2e4)
[  103.605000] [<c0283af8>] (mmc_blk_issue_rq+0x2c4/0x2e4) from [<c0284558>] (mmc_queue_thread+0xa0/0x110)
[  103.605000] [<c0284558>] (mmc_queue_thread+0xa0/0x110) from [<c006ae6c>] (kthread+0x80/0x88)
[  103.605000] [<c006ae6c>] (kthread+0x80/0x88) from [<c002eb20>] (kernel_thread_exit+0x0/0x8)
[  103.605000] Code: e50b9034 e3822001 e50b2038 e584a01c (e583a000)
[  103.830000] ---[ end trace 06e246d2b7931d3a ]---
[  103.835000] note: mmcqd/0[856] exited with preempt_count 1

Regards,
Jaehoon Chung

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC] Kernel NULL pointer dereference for mmc
  2011-07-12  4:23 [RFC] Kernel NULL pointer dereference for mmc Jaehoon Chung
@ 2011-07-12  5:24 ` Philip Rakity
  2011-07-12 11:40 ` Per Forlin
  1 sibling, 0 replies; 4+ messages in thread
From: Philip Rakity @ 2011-07-12  5:24 UTC (permalink / raw)
  To: Jaehoon Chung; +Cc: linux-mmc, Chris Ball, Per Forlin, Kyungmin Park


Hi Jaehoon,

We have seen this before.  see if the code in memory makes sense.  We saw it was overwritten.

Philip

PS -- Did not find root cause.

On Jul 11, 2011, at 9:23 PM, Jaehoon Chung wrote:

> Hi
> 
> When I tested MMC card with IOzone, i found this message..
> I tried to find what problem..but i didn't find yet..
> 
> So i want to get mailing's help..Have ever seen the below message?
> (using SDHCI controller, eMMC 4.41 card, 8-bit buswidth)
> 
> I didn't applied about post_req/pre_req in sdhci.c.
> (using latest kernel in mmc-tree)
> 
> Also i will try to debug for this problem.
> 
> Plz let me know what is problem.. 
> 
> [  103.605000] Unable to handle kernel NULL pointer dereference at virtual address 00000000
> [  103.605000] pgd = c0004000
> [  103.605000] [00000000] *pgd=00000000
> [  103.605000] Internal error: Oops: 805 [#1] PREEMPT SMP
> [  103.605000] last sysfs file: /sys/devices/virtual/vc/vcsa1/dev
> [  103.605000] Modules linked in:
> [  103.605000] CPU: 0    Not tainted  (2.6.39-rc7-00350-g0510951 #78)
> [  103.605000] PC is at wait_for_common+0x8c/0x174
> [  103.605000] LR is at wait_for_common+0x64/0x174
> [  103.605000] pc : [<c0290104>]    lr : [<c02900dc>]    psr: 40000093
> [  103.605000] sp : ed9efee0  ip : 00000000  fp : ed9eff1c
> [  103.605000] r10: ed9efef0  r9 : ed928000  r8 : 00000002
> [  103.605000] r7 : ed9f9868  r6 : ed9ee000  r5 : 7fffffff  r4 : ed9f9864
> [  103.605000] r3 : 00000000  r2 : 00000001  r1 : ed9f987c  r0 : ed9efef8
> [  103.605000] Flags: nZcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
> [  103.605000] Control: 10c5387d  Table: 6dbc004a  DAC: 00000015
> [  103.605000] Process mmcqd/0 (pid: 856, stack limit = 0xed9ee2f0)
> [  103.605000] Stack: (0xed9efee0 to 0xed9f0000)
> [  103.605000] fee0: 00000000 00000001 ed928000 c004a5d0 ed9f987c 00000000 edbb4438 ed9f8800
> [  103.605000] ff00: ed9f9958 ed9f9958 ed9eff44 ed9f9800 00000000 edbb4438 edbb4438 c027b060
> [  103.605000] ff20: ed9f9800 ed9f9818 ed9f9400 00000000 ed9f9800 c0283614 edb3ee68 00000000
> [  103.605000] ff40: ed9f9800 ed9f9818 00000000 edbb4438 ed9f9400 ed9f9818 00000000 ed9f9800
> [  103.605000] ff60: 00000000 edbb4438 00000000 c0283af8 ed9f9818 edbb4438 ed9f9818 ed9ee000
> [  103.605000] ff80: ed9f9820 edb3eb20 edbb4a20 00000000 edbb4438 c0284558 00000000 ed855d8c
> [  103.605000] ffa0: ed9f9818 ed9effc0 c02844b8 00000000 00000000 c006ae6c 00000000 ed9f9818
> [  103.605000] ffc0: 00000000 00000000 c002eb20 dead4ead ffffffff ffffffff ed9effd8 ed9effd8
> [  103.605000] ffe0: 00000000 ed855d8c c006adec c002eb20 00000013 c002eb20 fcfcfcfc fcfcfcfc
> [  103.605000] [<c0290104>] (wait_for_common+0x8c/0x174) from [<c027b060>] (mmc_start_req+0x50/0xec)
> [  103.605000] [<c027b060>] (mmc_start_req+0x50/0xec) from [<c0283614>] (mmc_blk_issue_rw_rq+0x68/0x288)
> [  103.605000] [<c0283614>] (mmc_blk_issue_rw_rq+0x68/0x288) from [<c0283af8>] (mmc_blk_issue_rq+0x2c4/0x2e4)
> [  103.605000] [<c0283af8>] (mmc_blk_issue_rq+0x2c4/0x2e4) from [<c0284558>] (mmc_queue_thread+0xa0/0x110)
> [  103.605000] [<c0284558>] (mmc_queue_thread+0xa0/0x110) from [<c006ae6c>] (kthread+0x80/0x88)
> [  103.605000] [<c006ae6c>] (kthread+0x80/0x88) from [<c002eb20>] (kernel_thread_exit+0x0/0x8)
> [  103.605000] Code: e50b9034 e3822001 e50b2038 e584a01c (e583a000)
> [  103.830000] ---[ end trace 06e246d2b7931d3a ]---
> [  103.835000] note: mmcqd/0[856] exited with preempt_count 1
> 
> Regards,
> Jaehoon Chung


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC] Kernel NULL pointer dereference for mmc
  2011-07-12  4:23 [RFC] Kernel NULL pointer dereference for mmc Jaehoon Chung
  2011-07-12  5:24 ` Philip Rakity
@ 2011-07-12 11:40 ` Per Forlin
  2011-07-13  2:13   ` Jaehoon Chung
  1 sibling, 1 reply; 4+ messages in thread
From: Per Forlin @ 2011-07-12 11:40 UTC (permalink / raw)
  To: Jaehoon Chung; +Cc: linux-mmc, Chris Ball, Philip Rakity, Kyungmin Park

On 12 July 2011 06:23, Jaehoon Chung <jh80.chung@samsung.com> wrote:
> Hi
>
> When I tested MMC card with IOzone, i found this message..
> I tried to find what problem..but i didn't find yet..
>
> So i want to get mailing's help..Have ever seen the below message?
> (using SDHCI controller, eMMC 4.41 card, 8-bit buswidth)
>
> I didn't applied about post_req/pre_req in sdhci.c.
> (using latest kernel in mmc-tree)
>
It's fine to set post_req and pre_req to NULL (default value is NULL)
Can you post the IOzone command line?
I want to run the same IOzone command on Snowball and Pandaboard.

Thanks,
Per

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFC] Kernel NULL pointer dereference for mmc
  2011-07-12 11:40 ` Per Forlin
@ 2011-07-13  2:13   ` Jaehoon Chung
  0 siblings, 0 replies; 4+ messages in thread
From: Jaehoon Chung @ 2011-07-13  2:13 UTC (permalink / raw)
  To: Per Forlin
  Cc: Jaehoon Chung, linux-mmc, Chris Ball, Philip Rakity, Kyungmin Park

Hi Per.

#iozone -az -i 0 -i 1 -i 2 -s 200m -U /mnt/mmc -f /mnt/mmc/test -e

/mnt/mmc is mounted /dev/mmcblk0p6 for EXT4 filesystem.

It's my command..i tested with both SDHCI and DW_MMC controller.
DW_MMC controller didn't find that error message.
But SDHCI controller always occurred that error.
I'm debugging for this issue..

If you have any doubts, plz let me know..

Regards,
Jaehoon Chung

Per Forlin wrote:
> On 12 July 2011 06:23, Jaehoon Chung <jh80.chung@samsung.com> wrote:
>> Hi
>>
>> When I tested MMC card with IOzone, i found this message..
>> I tried to find what problem..but i didn't find yet..
>>
>> So i want to get mailing's help..Have ever seen the below message?
>> (using SDHCI controller, eMMC 4.41 card, 8-bit buswidth)
>>
>> I didn't applied about post_req/pre_req in sdhci.c.
>> (using latest kernel in mmc-tree)
>>
> It's fine to set post_req and pre_req to NULL (default value is NULL)
> Can you post the IOzone command line?
> I want to run the same IOzone command on Snowball and Pandaboard.
> 
> Thanks,
> Per
> --
> 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
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-07-13  2:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-12  4:23 [RFC] Kernel NULL pointer dereference for mmc Jaehoon Chung
2011-07-12  5:24 ` Philip Rakity
2011-07-12 11:40 ` Per Forlin
2011-07-13  2:13   ` Jaehoon Chung

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.