[#5348] Bonnie++ test failed in spi mmc bf537-stamp

Document created by Aaronwu Employee on Sep 4, 2013
Version 1Show Document
  • View in full screen mode

[#5348] Bonnie++ test failed in spi mmc bf537-stamp

Submitted By: Vivi Li

Open Date

2009-07-13 07:07:20     Close Date

2009-07-15 21:56:35

Priority:

Medium High     Assignee:

Yi Li

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

Drivers     Board:

N/A

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.1_09r1-rc9

App binary format:

N/A     

Summary: Bonnie++ test failed in spi mmc bf537-stamp

Details:

 

Bonnie++ test failed in spi mmc bf537-stamp.

It failed between kernel revision 6234 and 6246.

 

--

Linux version 2.6.28.9-ADI-2009R1-pre-svn6246 (test@uboot34-bf537stamp) (gcc version 4.1.2 (ADI svn)) #79 Mon Jul 13 18:46:24 CS9

console [early_BFuart0] enabled

early printk enabled on early_BFuart0

Warning: limiting memory to 56MB due to hardware anomaly 05000263

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0011b530

  rodata    = 0x0011b530-0x00175ac4

  bss       = 0x00175ad0-0x00183590

  data      = 0x00183590-0x00194000

    stack   = 0x00192000-0x00194000

  init      = 0x00194000-0x00743000

  available = 0x00743000-0x037ff000

  DMA Zone  = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 0

Reset caused by Software reset

Blackfin support (C) 2004-2009 Analog Devices, Inc.

Compiled for ADSP-BF537 Rev 0.2

Blackfin Linux support by http://blackfin.uclinux.org/

Processor Speed: 500 MHz core clock and 125 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

Data Cache Enabled for CPU0 (write-back)

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 14223

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50f

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 256 (order: 8, 1024 bytes)

console handover: boot [early_BFuart0] -> real [ttyBF0]

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory available: 49324k/65536k RAM, (5820k init code, 1129k kernel code, 483k data, 1024k dma, 7756k reserved)

Calibrating delay loop... 997.37 BogoMIPS (lpj=1994752)

Security Framework initialized

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

Blackfin L1 Data A SRAM: 16 KB (15 KB free)

Blackfin L1 Data B SRAM: 16 KB (16 KB free)

Blackfin L1 Instruction SRAM: 48 KB (37 KB free)

PDA for CPU0 reserved at 00176bb8

net_namespace: 288 bytes

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

stamp_init(): registering device resources

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 2048 (order: 2, 16384 bytes)

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

TCP: Hash tables configured (established 2048 bind 2048)

TCP reno registered

NET: Registered protocol family 1

msgmni has been set to 96

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

Serial: Blackfin serial driver

bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART

brd: module loaded

bfin_mii_bus: probed

bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=24)@sclk=125MHz)

bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1

bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@7

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

mmc_spi spi0.4: ASSUMING 3.2-3.4 V slot power

mmc_spi spi0.4: SD/MMC host mmc0, no DMA, no WP, no poweroff

mmc_spi spi0.4: requested mode not fully supported

mmc_spi spi0.4: can't change chip-select polarity

TCP cubic registered

NET: Registered protocol family 17

mmc0: host does not support reading read-only switch. assuming write-enable.

mmc0: new SD card on SPI

rtc-bfin rtc-bfin: setting system clock to 2019-10-15 22:26:02 UTC (1571178362)

mmcblk0: mmc0:0000 SD256 241 MiB

mmcblk0: p1

IP-Config: Complete:

     device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,

     host=bf537-stamp, domain=, nis-domain=(none),

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=

Freeing unused kernel memory: 5820k freed

dma_alloc_init: dma_page @ 0x00740000 - 256 pages at 0x03f00000

                           _____________________________________

        a8888b.           / Welcome to the uClinux distribution \

       d888888b.         /       _     _                         \

       8P"YP"Y88        /       | |   |_|            __  __ (TM)  |

       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /       |

       8'    .88       \        | |   | |  _ \| | | | \  /        |

       8`._.' Y8.       \       | |__ | | | | | |_| | /  \        |

      d/      `8b.       \      \____||_|_| |_|\____|/_/\_\       |

     dP   .    Y8b.       \   For embedded processors including   |

    d8:'  "  `::88b        \    the Analog Devices Blackfin      /

   d8"         'Y88b        \___________________________________/

  :8P    '      :888

   8a.   :     _a88P         For further information, check out:

._/"Yaa_:   .| 88P|            - http://blackfin.uclinux.org/

\    YP"    `| 8P  `.          - http://docs.blackfin.uclinux.org/

/     \.___.d|    .'           - http://www.uclinux.org/

`--..__)8888P`._.'  jgs/a:f    - http://www.analog.com/blackfin

 

Have a lot of fun...

 

 

BusyBox v1.13.4 (2009-07-13 18:44:07 CST) built-in shell (msh)

Enter 'help' for a list of built-in commands.

 

root:/> PHY: 0:01 - Link is Up - 100/Full

 

root:/>

root:/> fdisk /dev/mmcblk0

 

The number of cylinders for this disk is set to 7720.

There is nothing wrong with that, but this is larger than 1024,

and could in certain setups cause problems with:

1) software that runs at boot time (e.g., old versions of LILO)

2) booting and partitioning software from other OSs

   (e.g., DOS FDISK, OS/2 FDISK)

 

Command (m for help): p

 

Disk /dev/mmcblk0: 4 heads, 16 sectors, 7720 cylinders

Units = cylinders of 64 * 512 bytes

 

        Device Boot    Start       End    Blocks   Id  System

/dev/mmcblk0p1             1      7720    247032   83  Linux

 

Command (m for help): d

Partition number (1-4): q

Partition number (1-4): 1

 

Command (m for help): p

 

Disk /dev/mmcblk0: 4 heads, 16 sectors, 7720 cylinders

Units = cylinders of 64 * 512 bytes

 

        Device Boot    Start       End    Blocks   Id  System

 

Command (m for help): n

Command action

   e   extended

   p   primary partition (1-4)

p

Partition number (1-4): 1

First cylinder (1-7720, default 1):

Using default value 1

Last cylinder or +size or +sizeM or +sizeK (1-7720, default 7720):

Using default value 7720

 

Command (m for help): p

 

Disk /dev/mmcblk0: 4 heads, 16 sectors, 7720 cylinders

Units = cylinders of 64 * 512 bytes

 

        Device Boot    Start       End    Blocks   Id  System

/dev/mmcblk0p1             1      7720    247032   83  Linux

 

Command (m for help): w

The partition table has been altered!

 

Calling ioctl() to re-read partition table.

mmcblk0: p1

mmcblk0: p1

 

WARNING: If you have created or modified any DOS 6.x

partitions, please see the fdisk manual page for additional

information.

Syncing disks.

root:/> mke2fs /dev/mmcblk0p1

mke2fs 1.41.4 (27-Jan-2009)

ext2fs_check_if_mount: No such file or directory while determining whether /dev/mmcblk0p1 is mounted.

Filesystem label=

OS type: Linux

Block size=1024 (log=0)

Fragment size=1024 (log=0)

62000 inodes, 247032 blocks

12351 blocks (5.00%) reserved for the super user

First data block=1

Maximum filesystem blocks=67371008

31 block groups

8192 blocks per group, 8192 fragments per group

2000 inodes per group

Superblock backups stored on blocks:

        8193, 24577, 40961, 57345, 73729, 204801, 221185

 

Writing inode tables: done

Writing superblocks and filesystem accounting information: done

 

This filesystem will be automatically checked every 31 mounts or

180 days, whichever comes first.  Use tune2fs -c or -i to override.

root:/>

root:/>

root:/> badblocks -h

badblocks: option requires an argument -- h

Usage: badblocks [-b block_size] [-i input_file] [-o output_file] [-svwnf]

       [-c blocks_at_once] [-d delay_factor_between_reads] [-e max_bad_blocks]

       [-p num_passes] [-t test_pattern [-t test_pattern [...]]]

       device [last_block [first_block]]

root:/> badblocks /dev/mmcblk0p1

root:/> e2fsck /dev/mmcblk0p1

e2fsck 1.41.4 (27-Jan-2009)

ext2fs_check_if_mount: No such file or directory while determining whether /dev/mmcblk0p1 is mounted.

/dev/mmcblk0p1: clean, 11/62000 files, 9891/247032 blocks

root:/> mount -t ext2 /dev/mmcblk0p1 /mnt

root:/> bonnie++ -u root -d /mnt -s 200M

Using uid:0, gid:0.

Writing a byte at a time...

Writing intelligently...mmcblk0: error -84 transferring data

end_request: I/O error, dev mmcblk0, sector 65554

Buffer I/O error on device mmcblk0p1, logical block 32769

lost page write due to I/O error on mmcblk0p1

mmcblk0: error -110 sending read/write command

end_request: I/O error, dev mmcblk0, sector 72960

Buffer I/O error on device mmcblk0p1, logical block 36472

lost page write due to I/O error on mmcblk0p1

mmcblk0: error -110 sending read/write command

end_request: I/O error, dev mmcblk0, sector 9772

Buffer I/O error on device mmcblk0p1, logical block 4878

lost page write due to I/O error on mmcblk0p1

mmcblk0: error -110 sending read/write command

end_request: I/O error, dev mmcblk0, sector 540

Buffer I/O error on device mmcblk0p1, logical block 262

lost page write due to I/O error on mmcblk0p1

mmcblk0: error -110 sending read/write command

end_request: I/O error, dev mmcblk0, sector 18

Buffer I/O error on device mmcblk0p1, logical block 1

lost page write due to I/O error on mmcblk0p1

end_request: I/O error, dev mmcblk0, sector 20

Buffer I/O error on device mmcblk0p1, logical block 2

lost page write due to I/O error on mmcblk0p1

mmcblk0: error -110 sending read/write command

end_request: I/O error, dev mmcblk0, sector 9772

mmcblk0: error -110 sending read/write command

end_request: I/O error, dev mmcblk0, sector 9772

mmcblk0: error -110 sending read/write command

end_request: I/O error, dev mmcblk0, sector 9772

------------[ cut here ]------------

WARNING: at fs/buffer.c:1186 _mark_buffer_dirty+0x7e/0x88()

Modules linked in:

Hardware Trace:

   0 Target : <0x00004928> { _dump_stack + 0x0 }

     Source : <0x0000f724> { _warn_on_slowpath + 0x44 } CALL pcrel

   1 Target : <0x0000f724> { _warn_on_slowpath + 0x44 }

     Source : <0x0002850a> { _print_modules + 0x7a } RTS

   2 Target : <0x00028504> { _print_modules + 0x74 }

     Source : <0x0000fd12> { _printk + 0x16 } RTS

   3 Target : <0x0000fd0e> { _printk + 0x12 }

     Source : <0x00010514> { _vprintk + 0x12c } RTS

   4 Target : <0x000104f4> { _vprintk + 0x10c }

     Source : <0x00010638> { _vprintk + 0x250 } JUMP.S

   5 Target : <0x00010638> { _vprintk + 0x250 }

     Source : <0x0000fb86> { _wake_up_klogd + 0x1a } RTS

   6 Target : <0x0000fb86> { _wake_up_klogd + 0x1a }

     Source : <0x0000fb78> { _wake_up_klogd + 0xc } IF !CC JUMP

   7 Target : <0x0000fb6c> { _wake_up_klogd + 0x0 }

     Source : <0x0000ff8e> { _release_console_sem + 0x1a2 } JUMP.L

   8 Target : <0x0000ff86> { _release_console_sem + 0x19a }

     Source : <0x0000ff7a> { _release_console_sem + 0x18e } IF !CC JUMP

   9 Target : <0x0000ff78> { _release_console_sem + 0x18c }

     Source : <0x0000ff6a> { _release_console_sem + 0x17e } IF !CC JUMP

  10 Target : <0x0000ff64> { _release_console_sem + 0x178 }

     Source : <0x00022d48> { _up + 0x38 } RTS

  11 Target : <0x00022d42> { _up + 0x32 }

     Source : <0x00022d34> { _up + 0x24 } IF !CC JUMP

  12 Target : <0x00022d10> { _up + 0x0 }

     Source : <0x0000ff60> { _release_console_sem + 0x174 } CALL pcrel

  13 Target : <0x0000ff4c> { _release_console_sem + 0x160 }

     Source : <0x0000fe36> { _release_console_sem + 0x4a } IF !CC JUMP

  14 Target : <0x0000fe0e> { _release_console_sem + 0x22 }

     Source : <0x0000ff2e> { _release_console_sem + 0x142 } IF !CC JUMP

  15 Target : <0x0000ff28> { _release_console_sem + 0x13c }

     Source : <0x0000fade> { __call_console_drivers + 0x7a } RTS

Stack info:

SP: [0x0379da44] <0x0379da44> /* kernel dynamic memory */

FP: (0x0379da54)

Memory from 0x0379da40 to 0379e000

0379da40: 0000007e [0000f724]<0000f728> 0379da64 <0015718c>(0379da80)<0015718c> 000004a2

0379da60: 0379da64  72616d5f  75625f6b  72656666  7269645f  302b7974  2f653778  38387830

0379da80:(00000000) 0338772c  0017813c  00000000  007f1c80  03387700  03380060  0379dac4

0379daa0:<ffa019bc> 00000000  007f1c80  03380060  00b6a254  0379dad8 <0000b016> 0379c000

0379dac0: 0379c000  0379daf4 <ffa01d64> 00178510  007c8090  00000002  00000000  0379db58

0379dae0: 00000001  0000001f  00000000  0379db58  0000001f  00056dd0 <00056e00> 0379db50

0379db00:<0005a39a><0008a73c> 0378b5a0 <ffa01ee2> 00000000  0000130e  0379dc40  00c76bb8

0379db20:<ffa0206a> 00c78c34  00c76bb8  00000400  00c78c34  00000002  00056dd0  00000001

0379db40: 00000002 <0005679a> 0338c3e0 <00159390> 001593a4  00000002  00000000 <00075002>

0379db60:<00075014> 0379f400  03390800 <00056d40> 00000003  0000130e <00075484> 03390800

0379db80: 00c76bb8  00c78c34  00000002 <00058a24> 00c78c34 <00073698> 0379dc3c  00000000

0379dba0: 0000130e  00000000 <0007349e> 0379dbf8  0000000c  0000130e <000738b6> 0379dbf8

0379dbc0: 00000003  0379dbf8  00000003  ffffffea  00000000  00000400 <00056042><00056028>

0379dbe0: 00001fdd  00000002  0379dc38  00000400  00c76bac  00c76b4c  00c76b80  0000130e

0379dc00: 00000000  fffffffb  016d720c <00057806> 00000000  fffffffb  00000400  00000400

0379dc20: 00000400  00001000  0000000d  0000007e  00000068  0379dd34  fffffffb  00000000

0379dc40: 00001000 <0003a142> 00c76bb8  00c76bb8  0379dd34  fffffffb  00000000  01fdd000

0379dc60: 00000000  00c76bb8  0379dd34  00000000 <0005796c> 00000000  00775ce0  00c76bb8

0379dc80: 00775ce0  00000000  00001000  00073c08  0375cac0 <00073bac> 0379c000  00001000

0379dca0: 00c76c50  00000000  00000000  01fdd000  00000000  00000000  0379dcd8  01fdd000

0379dcc0: 00000000  00001000  00000000  0379dd34  0379dd30  00073c08 <0002f050> 00001000

0379dce0:<ffa0032e> 007dd634  01fdd000  00000000  00001000  00000000  0379dd34  0379dd30

0379dd00: 00000000  00c76c50  00122908  00c76bb8  00000000  00000000  00122908  00001000

0379dd20: 0379de9c  00000001  00001000  00001000  03380060  00000000  00c76c50 <0002f5b4>

0379dd40: 00c76bb8  00002000  0375cac0  00000000  0379de9c  00000000  01fdc000  0379de18

0379dd60:<0000d120> 0379c000  01fdc000  00000000  0379de60  00002000  00000000  01f86000

0379dd80: 00000000  00000000  00000000  0379ddac <ffa01b44> 00c76c24  00c76c24  0379de9c

0379dda0: 00002000  00c76c50 <0002ff5e> 0379de18  00c76bb8  0375cac0  00c76c24  0379de9c

0379ddc0: 00000000  01fdc000  0379de18  0379de9c  00000001  0379de60  007f1c80  00900004

0379dde0: 004c9914 <0003e3b8> 0375cac0  0379def0  00900004  0379de18  0379de9c  00002000

0379de00: 004c99e0 <00009838> 0017813c  00000001  01fdc000  00000000  0017813c  03387700

0379de20: 00000000  00000001  ffffffff  0375cac0  00000000  00000000  00000000  00000000

0379de40: 007f1c80  00000000  00000000  0338635c  007f1c80  0001f85c  0379de58  0379de58

0379de60: 01fdc000  00000000  00184aec  0017ce80  0000ffff  00000014  00002000  0379dea8

0379de80:<0000a1c6> 00000000  00000000  00000000 <0000a9c6> 004c9914  00000000  00900004

0379dea0: 00002000 <0003ea80> 0375cac0  00000004  0379def0  00900004  00900004  004c9928

0379dec0: 0379def4  0379def0  004c99e0 <0003ede0> 0375cac0  00900004  00002000  00002000

0379dee0:<000136e8> 000136d0  00900004  0379def0  01fdc000  00000000  00000000 <ffa007fc>

0379df00: 0003edb0  00000000  ffffe000  004c98f0  0fffffff  0000fffe  00000000  004c99e0

0379df20: 00002000  0049174a <00008000> 00002000  00000000  0379e000  0049174a  0049174a

0379df40:<0048e468><ffa00d64> 02003025  00488ba9  004884c1  00488b74  004884b4  00000000

0379df60: 00000000  ffff9700  ffffffff  c402187e  ffffffff  00000000  00000000  00000000

0379df80: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

0379dfa0: 0000001f  0000001e  00000000  00000001  0000001f  004c9908  004c9914  004c997c

0379dfc0: 004c9a58  00900004  004a6a40  004c992c  00000004  00000003  00900004  00002000

0379dfe0: 004c99e0  00000000  00002000  00900004  00000003  00000003  00000004  00000006

0379e000: 00000002

Return addresses in stack:

    address : <0x0000f724> { _warn_on_slowpath + 0x44 }

    address : <0x0000f728> { _warn_on_slowpath + 0x48 }

------------[ cut here ]------------

WARNING: at fs/buffer.c:1186 _mark_buffer_dirty+0x7e/0x88()

Modules linked in:

Hardware Trace:

Stack info:

SP: [0x0333dde8] <0x0333dde8> /* kernel dynamic memory */

FP: (0x0333dfc0)

Memory from 0x0333dde0 to 0333e000

0333dde0: 0333dde8  0000007e [0000f724]<0000f728> 0333de08 <0015718c> 0000000e <0015718c>

0333de00: 000004a2  0333de08  72616d5f  75625f6b  72656666  7269645f  302b7974  2f653778

0333de20: 38387830  00000000  0333c000  037d7c94  0076ad20  0333de60  00000000  0333de60

0333de40:<0000a9c6> 007f1cac  0017816c  0018931c  0333de7c <0000abd0> 007f1c80  037e7900

0333de60: 0018931c  007f1cac  0017813c  03380060  037e7900  007f1c80  03380060  0333dea4

0333de80:<ffa019bc> 00380060  037e7900  03380060  03390800  00000003  007d81ac  0333c000

0333dea0: 0333c000  0333df08 <ffa01dea> 00186ca8  00186ca8  0333dee0 <0000a1c6> 00000000

0333dec0: 00000000  00000000  0333c000  0333deec <00052e62> 00000000  9016c500  003d08ee

0333dee0: 0333df0c <0000d59a><0005679a> 0338c3e0  0339083c  0017e6d8  00000001  0333c000

0333df00:<0007505e><0007505e> 0379f400  03390800 <ffa02118><0000a9c6><0003f9f6><0003fa1c>

0333df20: 03390800  0018962c <0000abd0> 037d7c60  037e7900 <0003443c> 00189358  00184aec

0333df40: 0333dfb4  037e7900  037d7c60  03380960  00000000  00000000  0333df78  00000000

0333df60: 00000000  00000000  00000000  00000000  00000000  00000025  0017e6d4 <00034a52>

0333df80: 00189358  00184aec  00186ca8  0333dfb4  0017e6d8  00000000  00000000  037e7900

0333dfa0: 001835a0  00000000  037e7900  00034408  00000000  0333dfb4  0333dfb4  ffffb6dd

0333dfc0:(00000000)<0001f480> 0003497c  00000000  00000000  00000000  00000000  00000000

0333dfe0: 00000000  00000000 <0000145e> 00000000  00000000  00000000  ffffffff  00000006

0333e000: 0379a040

Return addresses in stack:

    address : <0x0000f724> { _warn_on_slowpath + 0x44 }

    address : <0x0000f728> { _warn_on_slowpath + 0x48 }

    address : <0x0015718c> /* kernel dynamic memory */

    address : <0x0015718c> /* kernel dynamic memory */

    address : <0x0000a9c6> { _set_next_entity + 0x16 }

    address : <0x0000abd0> { _pick_next_task_fair + 0x54 }

    address : <0xffa019bc> { _schedule + 0x190 }

    address : <0xffa01dea> { _schedule_timeout + 0x4e }

    address : <0x0000a1c6> { _update_curr + 0x62 }

    address : <0x00052e62> { _generic_sync_sb_inodes + 0x196 }

    address : <0x0000d59a> { _dequeue_task_fair + 0x22 }

    address : <0x0005679a> { _mark_buffer_dirty + 0x7e }

    address : <0x0007505e> { _ext2_write_super + 0x32 }

    address : <0x0007505e> { _ext2_write_super + 0x32 }

    address : <0xffa02118> { _mutex_lock + 0xc }

    address : <0x0000a9c6> { _set_next_entity + 0x16 }

    address : <0x0003f9f6> { _sync_supers + 0x4a }

    address : <0x0003fa1c> { _sync_supers + 0x70 }

    address : <0x0000abd0> { _pick_next_task_fair + 0x54 }

    address : <0x0003443c> { _wb_kupdate + 0x34 }

    address : <0x00034a52> { _pdflush + 0xd6 }

   frame  1 : <0x0001f480> { _kthread + 0x50 }

    address : <0x0000145e> { _kernel_thread_helper + 0x6 }

---[ end trace 72f425052d1230f6 ]---

    address : <0x0015718c> /* kernel dynamic memory */

   frame  1 : <0x0015718c> /* kernel dynamic memory */

    address : <0xffa019bc> { _schedule + 0x190 }

    address : <0x0000b016> { _try_to_wake_up + 0x8a }

    address : <0xffa01d64> { _io_schedule + 0x2c }

    address : <0x00056e00> { _sync_buffer + 0x30 }

    address : <0x0005a39a> { _bvec_alloc_bs + 0x3a }

    address : <0x0008a73c> { _submit_bio + 0x44 }

    address : <0xffa01ee2> { ___wait_on_bit + 0x62 }

    address : <0xffa0206a> { _out_of_line_wait_on_bit + 0x52 }

    address : <0x0005679a> { _mark_buffer_dirty + 0x7e }

    address : <0x00159390> /* kernel dynamic memory */

    address : <0x00075002> { _ext2_sync_super + 0x16 }

    address : <0x00075014> { _ext2_sync_super + 0x28 }

    address : <0x00056d40> { ___wait_on_buffer + 0x20 }

    address : <0x00075484> { _ext2_error + 0x8c }

    address : <0x00058a24> { ___bread + 0xac }

    address : <0x00073698> { _ext2_free_branches + 0xb4 }

    address : <0x0007349e> { _ext2_get_branch + 0x5e }

    address : <0x000738b6> { _ext2_truncate + 0x1ae }

    address : <0x00056042> { _alloc_page_buffers + 0x62 }

    address : <0x00056028> { _alloc_page_buffers + 0x48 }

    address : <0x00057806> { ___block_prepare_write + 0x44e }

    address : <0x0003a142> { _vmtruncate + 0x3a }

    address : <0x0005796c> { _block_write_begin + 0xe4 }

    address : <0x00073bac> { ___ext2_write_begin + 0x38 }

    address : <0x0002f050> { _generic_file_buffered_write + 0xdc }

    address : <0xffa0032e> { _asm_do_IRQ + 0x62 }

    address : <0x0002f5b4> { ___generic_file_aio_write_nolock + 0x1f0 }

    address : <0x0000d120> { ___cond_resched + 0x1c }

    address : <0xffa01b44> { __cond_resched + 0x34 }

    address : <0x0002ff5e> { _generic_file_aio_write + 0x56 }

    address : <0x0003e3b8> { _do_sync_write + 0xac }

    address : <0x00009838> { _activate_task + 0x28 }

    address : <0x0000a1c6> { _update_curr + 0x62 }

    address : <0x0000a9c6> { _set_next_entity + 0x16 }

    address : <0x0003ea80> { _vfs_write + 0x6c }

    address : <0x0003ede0> { _sys_write + 0x30 }

    address : <0x000136e8> { _sys_gettimeofday + 0x18 }

    address : <0xffa007fc> { _system_call + 0x68 }

    address : <0x00008000> { _l1_data_sram_free + 0xc }

    address : <0x0048e468> [ bonnie++ + 0xe428 ]

    address : <0xffa00d64> { _evt_system_call + 0x64 }

---[ end trace 72f425052d1230f6 ]---

mmcblk0: error -110 sending read/write command

end_request: I/O error, dev mmcblk0, sector 18

Buffer I/O error on device mmcblk0p1, logical block 1

lost page write due to I/O error on mmcblk0p1

EXT2-fs error (device mmcblk0p1): ext2_free_branches: Read failure, inode=12, block=4878

Can't wrmte block.mcblk0: error -110 sending read/write command

: No euch file or directory

Can't write block 4078.

nd_request: I/O error, dev mmcblk0, sector 76624

end_request: I/O error, dev mmcblk0, sector 76632

end_request: I/O error, dev mmcblk0, sector 76640

end_request: I/O error, dev mmcblk0, sector 76648

end_request: I/O error, dev mmcblk0, sector 76656

end_request: I/O error, dev mmcblk0, sector 76664

end_request: I/O error, dev mmcblk0, sector 76672

end_request: I/O error, dev mmcblk0, sector 76680

(...)

--

 

Follow-ups

 

--- Yi Li                                                    2009-07-14 05:18:24

Not only bonnie++ failed, if we do:

 

# mount /dev/mmcblk0p1 /mnt

# cp /bin/* /mnt

 

There would also be write error on MMC/SD card.

 

I sync the mmc_spi driver with that driver in linux-2.6.30.1, and discard

Wolfgang's patches not accepted into mainline. Bonnie++ works well again.

 

root:/> bonnie\+\+ -u root -d /mnt/  -s 200M

Using uid:0, gid:0.

Writing a byte at a time...done

Writing intelligently...done

Rewriting...done

Reading a byte at a time...done

Reading intelligently...done

start 'em...done...done...done...done...done...

Create files in sequential order...done.

Stat files in sequential order...done.

Delete files in sequential order...done.

Create files in random order...done.

Stat files in random order...done.

Delete files in random order...done.

Version  1.94       ------Sequential Output------ --Sequential Input-

--Random-

Concurrency   1     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block--

--Seeks--

Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec

%CP

blackfin       200M    48  92   698   4   400   3   146  82   908   3  67.2 

3

Latency               759ms    5099ms    3875ms     188ms     176ms     431ms

Version  1.94       ------Sequential Create------ --------Random

Create--------

blackfin            -Create-- --Read--- -Delete-- -Create-- --Read---

-Delete--

              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec

%CP

                 16   199  87  8410 100  2227  46   210  90  8714 100   697

83

Latency             76000us    4000us    4000us   87999us    4000us    4000us

1.93c,1.94,blackfin,1,2056794606,200M,,48,92,698,4,400,3,146,82,908,3,67.2,3,16,,,,,199,87,8410,100,2227,46,210,90,8714,100,697,83,759ms,5099ms,3875ms,188ms,176ms,431ms,76000us,4000us,4000us,87999us,4000us,4000us

 

 

--- Vivi Li                                                  2009-07-15 21:56:35

OK now. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.spimmc    application/octet-stream    31501    Vivi Li

Attachments

Outcomes