public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: yzhu1 <Yanjun.Zhu@windriver.com>
To: <cjb@laptop.org>, LKML <linux-kernel@vger.kernel.org>
Cc: "Wu, Kuaikuai" <Kuaikuai.Wu@windriver.com>, zhuyj <zyjzyj2000@gmail.com>
Subject: access nand flash and mmc card at the same time on xlp board, there will be many io errors and system will hung
Date: Fri, 19 Sep 2014 17:06:33 +0800	[thread overview]
Message-ID: <541BF219.4050307@windriver.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 4053 bytes --]

Hi, Chris

I run a tests on a xlp208 board. This kernel is 3.17-rc5.
The script are as below.
-------------Begin-------------------
mkfs.ext3 /dev/mmcblk1p1
mount /dev/mmcblk1p1 /mnt
cd /mnt
cp -Rf /root/nand_sd_test /mnt
cd /mnt/nand_sd_test
-------------End---------------------

After several minutes, the following errors will appear.
Would you like give me some advice about this error?

Thanks a lot.
Zhu Yanjun

-----------------------------ErrorMessage------------------------------
16777216 bytes (17 MB) copied, 34.5951 s, 485 kB/s
mmc1: Timeout waiting for hardware interrupt.
mmc1: Timeout waiting for hardware interrupt.
mmc1: Timeout waiting for hardware interrupt.
mmcblk1: error -145 sending status command, retrying
mmc1: Timeout waiting for hardware interrupt.
mmcblk1: error -145 sending status command, retrying
mmc1: Timeout waiting for hardware interrupt.
mmcblk1: error -145 sending status command, aborting
end_request: I/O error, dev mmcblk1, sector 3460800
Buffer I/O error on device mmcblk1p1, logical block 432598
lost page write due to I/O error on mmcblk1p1
end_request: I/O error, dev mmcblk1, sector 3460808
Buffer I/O error on device mmcblk1p1, logical block 432599
lost page write due to I/O error on mmcblk1p1
end_request: I/O error, dev mmcblk1, sector 3460816
Buffer I/O error on device mmcblk1p1, logical block 432600
lost page write due to I/O error on mmcblk1p1
end_request: I/O error, dev mmcblk1, sector 3460824
Buffer I/O error on device mmcblk1p1, logical block 432601
lost page write due to I/O error on mmcblk1p1
end_request: I/O error, dev mmcblk1, sector 3460832
Buffer I/O error on device mmcblk1p1, logical block 432602
lost page write due to I/O error on mmcblk1p1
end_request: I/O error, dev mmcblk1, sector 3460840
Buffer I/O error on device mmcblk1p1, logical block 432603
lost page write due to I/O error on mmcblk1p1
end_request: I/O error, dev mmcblk1, sector 3460848
Buffer I/O error on device mmcblk1p1, logical block 432604
lost page write due to I/O error on mmcblk1p1
end_request: I/O error, dev mmcblk1, sector 3460856
Buffer I/O error on device mmcblk1p1, logical block 432605
lost page write due to I/O error on mmcblk1p1
end_request: I/O error, dev mmcblk1, sector 3460864
Buffer I/O error on device mmcblk1p1, logical block 432606
lost page write due to I/O error on mmcblk1p1

mmc1: Timeout waiting for hardware interrupt.
------------[ cut here ]------------
WARNING: at /linux/drivers/mmc/host/sdhci.c:996 
sdhci_send_command+0xd78/0xe68()
Modules linked in:
CPU: 6 PID: 0 Comm: swapper/6 Not tainted 
3.10.38-ltsi-WR6.0.0.11_standard #1
Stack : c0000000f83ff820 ffffffffc02a290c 0000000000000001 0000000000000e1b
   ffffffffc0d00000 ffffffffc0e005a0 0000000000000004 0000000000000001
   c0000000f83ff860 ffffffffc02a270c 000000000000004d ffffffffc0d00000
   c0000000f83ff880 ffffffffc02a2d7c 0000000000000000 0000000000000000
   0000000000000000 ffffffffc1050000 ffffffffc104d008 ffffffffc1050000
   ffffffffc0b62fc0 ffffffffc0cfab37 ffffffffc104d008 c0000000f8217b28
           0000000000000000 0000000000000006 c0000000f92e2508 
c0000000f92e23c0
   c0000000f83ff900 c0000000f83ff810 c0000000f83ff928 ffffffffc02a008c
   c0000000f83ff960 ffffffffc02a48c8 c0000000f8217788 ffffffffc0b62fc0
   0000000000000006 ffffffffc0274c30 0000000000000000 0000000000000000
   ...
Call Trace:
[<ffffffffc0274c30>] show_stack+0xd8/0xf8
[<ffffffffc02a008c>] warn_slowpath_common+0x8c/0xc8
[<ffffffffc0880868>] sdhci_send_command+0xd78/0xe68
[<ffffffffc0881380>] sdhci_finish_data+0x180/0x3d0
[<ffffffffc08818f0>] sdhci_timeout_timer+0xb0/0x120
[<ffffffffc02b45c8>] call_timer_fn+0x58/0x1a0
[<ffffffffc02b4a00>] run_timer_softirq+0x1f8/0x2d0
[<ffffffffc02aa6a0>] __do_softirq+0x150/0x340
[<ffffffffc02aa9f0>] do_softirq+0xb8/0xc0
[<ffffffffc02aada4>] irq_exit+0xf4/0x110
[<ffffffffc026f160>] ret_from_irq+0x0/0x4
[<ffffffffc026f400>] __r4k_wait+0x20/0x40
[<ffffffffc02f85a8>] cpu_startup_entry+0x190/0x2f8
[<ffffffffc0a33438>] nlm_boot_secondary_cpus+0x44/0x54
---[ end trace 7070d5fae37308f2 ]---

[-- Attachment #2: nand_sd_test.zip --]
[-- Type: application/zip, Size: 2306 bytes --]

             reply	other threads:[~2014-09-19  9:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-19  9:06 yzhu1 [this message]
2014-09-25  8:53 ` access nand flash and mmc card at the same time on xlp board, there will be many io errors and system will hung zhuyj

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=541BF219.4050307@windriver.com \
    --to=yanjun.zhu@windriver.com \
    --cc=Kuaikuai.Wu@windriver.com \
    --cc=cjb@laptop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zyjzyj2000@gmail.com \
    /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