[#4909] Test spi/SD with exceptionally by framework way

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

[#4909] Test spi/SD with exceptionally by framework way

Submitted By: Bill Xie

Open Date

2009-02-16 04:31:58     Close Date

2009-02-16 19:07:52

Priority:

Medium     Assignee:

Nobody

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

uclinux-dist-trunk-7715

Category:

N/A     Board:

Custom

Processor:

BF527     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Rejected

Uboot version or rev.:

U-Boot 1.1.6     Toolchain version or rev.:

4.1.2

App binary format:

N/A     

Summary: Test spi/SD with exceptionally by framework way

Details:

 

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

root:/> bonnie++ -u root -d /mnt/

 

Using uid:0, gid:0.

Writing a byte at a time...done

Writing intelligently...bonnie++ invoked oom-killer: gfp_mask=0x1200d2, order=0, oomkilladj=0

Hardware Trace:

Stack info:

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

FP: (0x01eadaec)

Memory from 0x01eadaf0 to 01eae000

01eadaf0:<00039b8e>[00000000]<00031942> 01eeb040  00000000  0000ffff  01ed9548  001200d2

01eadb10: 00000000  00000000  01ede360  ffffff1c <00031afa> 001200d2  001b159c  0000000a

01eadb30: 01eac000 <00031ca0> 01eeb040  001f4f08  00000124  0000000a  01ede360  000000a0

01eadb50: 001f4f08  01eadb78  000001ad  01eac000  0000000a  00000000  001b159c  01eadb54

01eadb70: 000001ad  31d45902  00000000  00000002 <00033cc0> 01ed9360  0020c234  00000000

01eadb90: 00000000  001200d2  00000000  00000042  001200d2  001200d2  00000000  0020c234

01eadbb0: 00000002  00000048  01eac000  01eac000  00000000  001200d2  01eac000  00000010

01eadbd0: 00000000  00000000  00000000  00000000 <0076a148><0002f950> ffffffff  0076a080

01eadbf0: 01eadd34  00000000 <0076a148> 00000000  0000420a <00058dbc> 0084954c  00849e3c

01eadc10: 00000000 <00059fa6> 00000000  00000000  00000000  0420a000  00000000 <00728100>

01eadc30: 00000000 <00058fde> 0076a080  0076a080 <0005a240> 01eac000 <0076a148> 0000420a

01eadc50: 00000000  0420a000  0420a000  00000000  00001000 <00059048> 0420a000  00000000

01eadc70: 00001000  00000000  01eadd34  01eadd30  00086264  00000200  00001000  00001000

01eadc90:<00728100> 00000000 <00086dba> 01eac000 <0076a148> 018b4400  00001000  00000000

01eadcb0: 0420a000  00001000  018b4400  00000000  0420a000  00000000  00001000  00000000

01eadcd0: 01eadd34  01eadd30  00086264  0076a05c <0002fdb2><01eadd08><00009536> 0420a000

01eadcf0: 00000000  00001000  00000000  01eadd34  01eadd30 <0076a148> 00177f04  0076a080

01eadd10: 00000000  00000000  00177f04  00000000  01eade9c  00000001  00000000  00002000

01eadd30: 01eade9c  00000000 <0076a148><000302b2> 0076a080  00002000  018b4400  00000000

01eadd50: 01eade9c  00000000  0420a000  01eade18 <0016f7ec> 00772cc0  0420a000  00000000

01eadd70: 01eade60  00002000  00000000  041b4000  00000006  001f5c74  0000001f  01eaddcc

01eadd90:<0001fc92> 01ea3fb4  00000000  00000001  00002000 <0076a148><00030c34> 01eade18

01eaddb0: 0076a080  018b4400  0076a0fc  01eade9c  00000000  0420a000  01eade18  01eade9c

01eaddd0: 00000001  01eade60  01b13530  01b68300  00349924 <0003f298> 018b4400  01eadef0

01eaddf0: 00688004  01eade18  01eade9c  00002000  003499f0 <0016f7ec> 01eeed0c  00000001

01eade10: 0420a000  00000000 <0001cdb4> 00763920  00000000  00000001  ffffffff  018b4400

01eade30: 00000000  00000000  00000000  00000000  01ed9360  00000000  00000000 <0001d4ae>

01eade50: 01ed9360  0001fc80  01eade58  01eade58  0420a000  00000000  01eeec80  00000006

01eade70:<0001725c><0016f7cc> 00002000  01eadea8 <000093c6> 00000000  00000000  00000000

01eade90: 01eadeb4  00349924  00000000  00688004  00002000 <0003f97c> 018b4400  00000004

01eadeb0: 01eadef0  00688004  00688004  00349938  01eadef4  01eadef0  003499f0 <0003fce2>

01eaded0: 018b4400  00688004  00002000  00002000 <000134dc> 000134c4  00688004  01eadef0

01eadef0: 0420a000  00000000  00000000 <ffa0076c> 0003fcb0  00000000  ffffe000  00000000

01eadf10: 003498ec  0000fffe  00000000  003499f0  00002000  0031149a  00008000  00002000

01eadf30: 00000000  01eae000  0031149a  0031149a <0030e2b4><ffa00ca0> 02003025  00308a5f

01eadf50: 0030831d  00308a26  00308310  00000000  00000000  ffffb24f  ffffffff  d3847b4b

01eadf70: ffffffff  00000000  00000000  00000014  003498cc  00000000  00000000  00000000

01eadf90: 00000000  00000000  00000000  00000000  00000000  00000000  00000001  00000014

01eadfb0: 00000000  00349918  00349924  0034998c  00349a68  00688004  0032abc4  0034993c

01eadfd0: 00000004  00000003  00688004  00002000  003499f0  00000000  00002000  00688004

01eadff0: 00000003  00000003  00000004  00000006  614a0a64

Return addresses in stack:

    address : <0x00039b8e> { _congestion_wait + 0x62 }

    address : <0x00031942> { _oom_kill_process + 0xda }

    address : <0x00031afa> { _badness + 0xd2 }

    address : <0x00031ca0> { _out_of_memory + 0x128 }

    address : <0x00033cc0> { ___alloc_pages_internal + 0x234 }

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

    address : <0x0002f950> { _grab_cache_page_write_begin + 0x58 }

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

    address : <0x00058dbc> { ___block_commit_write + 0x54 }

    address : <0x00059fa6> { _block_write_begin + 0xfa }

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

    address : <0x00058fde> { _block_write_end + 0x36 }

    address : <0x0005a240> { _cont_write_begin + 0x288 }

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

    address : <0x00059048> { _generic_write_end + 0x3c }

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

    address : <0x00086dba> { _fat_write_begin + 0x3e }

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

    address : <0x0002fdb2> { _generic_file_buffered_write + 0xce }

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

    address : <0x00009536> { _place_entity + 0xba }

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

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

    address : <0x000302b2> { ___generic_file_aio_write_nolock + 0x1e6 }

    address : <0x0016f7ec> { __spin_unlock_irqrestore + 0xc }

    address : <0x0001fc92> { _autoremove_wake_function + 0x12 }

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

    address : <0x00030c34> { _generic_file_aio_write + 0x54 }

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

    address : <0x0016f7ec> { __spin_unlock_irqrestore + 0xc }

    address : <0x0001cdb4> { _insert_work + 0x38 }

    address : <0x0001d4ae> { _queue_work_on + 0x4e }

    address : <0x0001725c> { _run_timer_softirq + 0x104 }

    address : <0x0016f7cc> { __spin_unlock_irq + 0x8 }

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

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

    address : <0x0003fce2> { _sys_write + 0x32 }

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

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

    address : <0x0030e2b4> [ bonnie++ + 0xe274 ]

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

Mem-Info:

DMA per-cpu:

CPU    0: hi:    0, btch:   1 usd:   0

Active_anon:0 active_file:2834 inactive_anon:0

inactive_file:2881 dirty:0 writeback:0 unstable:0

free:257 slab:648 mapped:0 pagetables:0 bounce:0

DMA free:1028kB min:708kB low:884kB high:1060kB active_anon:0kB inactive_anon:0kB active_file:11336kB inactive_file:11524kB present:31492kB pages_scanned:1464 all_unreclaimable? no

lowmem_reserve[]: 0 0 0

DMA: 31*4kB 25*8kB 0*16kB 0*32kB 1*64kB 1*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB 0*8192kB 0*16384kB 0*32768kB = 1028kB

5724 total pagecache pages

7935 pages RAM

604 pages reserved

25 pages shared

7026 pages non-shared

Out of memory: kill process 279 (sh) score 10 or a child

Killed process 285 (bonnie++)

Killed

 

 

Follow-ups

 

--- Robin Getz                                               2009-02-16 19:07:52

Bill:

 

This is not a bug - this is bonnie++ consuming more memory that is avalible on

your platform, and the kernel's out of memory (OOM) killer starting up, and

killing a process.

 

Not a bug -- rejected.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes