[#3950] run lmbench test case on bf548-ezkit with 20% pagecache would have dump mem info

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

[#3950] run lmbench test case on bf548-ezkit with 20% pagecache would have dump mem info

Submitted By: Mingquan Pan

Open Date

2008-03-03 01:32:28     Close Date

2008-03-13 06:33:54

Priority:

Medium     Assignee:

Sonic Zhang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Duplicate

Uboot version or rev.:

    Toolchain version or rev.:

08r1-8

App binary format:

N/A     

Summary: run lmbench test case on bf548-ezkit with 20% pagecache would have dump mem info

Details:

 

run lmbench test case on bf548-ezkit with 20% pagecache would have dump mem info at the start of kernel booting up.

 

U-Boot 1.1.6-svn1095 (ADI-2008R1) (Jan 13 2008 - 04:49:34)

 

CPU:   ADSP bf548-0.0 (Detected Rev: 0.1)

Board: ADI BF548 EZ-Kit board

       Support:   blackfin.uclinux.org/

Clock: VCO: 525 MHz, Core: 525 MHz, System: 131 MHz

RAM:   64 MB

 

RAM size is 64 MB.

Flash: 16 MB

In:    serial

Out:   serial

Err:   serial

NAND:  256 MiB

Net:   LAN9x18 (0x118a0000) detected at 0x24000000

MAC:   00:E0:22:FE:B8:54

I2C:   ready

Hit any key to stop autoboot:  0

bfin> set bootargs root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

bfin> set serverip 10.100.4.174

bfin> set ipaddr 10.100.4.50

bfin> save

Saving Environment to EEPROM...

..done

bfin> tftpboot 0x2000000 linux

start Auto negotiation... (take ~2sec)

Auto negotiation complete, 100BaseTX, full duplex

TFTP from server 10.100.4.174; our IP address is 10.100.4.50

Filename 'linux'.

Load address: 0x2000000

Loading: #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         ############################################

done

Bytes transferred = 9540690 (919452 hex)Image size is 919452

 

bfin> bootelf

Loading .text @ 0x00001000 (1523824 bytes)

Loading .rodata @ 0x00176000 (411204 bytes)

Loading __ksymtab @ 0x001da644 (16952 bytes)

Loading __ksymtab_gpl @ 0x001de87c (5336 bytes)

Loading __ksymtab_strings @ 0x001dfd54 (54760 bytes)

Loading __param @ 0x001ed33c (1000 bytes)

Loading .data @ 0x001ee000 (90112 bytes)

Loading .init.text @ 0x00204000 (128340 bytes)

Loading .init.data @ 0x00223554 (13072 bytes)

Loading .init.setup @ 0x00226864 (612 bytes)

Loading .initcall.init @ 0x00226ac8 (552 bytes)

Loading .con_initcall.init @ 0x00226cf0 (4 bytes)

Loading .init.ramfs @ 0x00226cf4 (6580472 bytes)

Loading .text_l1 @ 0xffa00000 (5764 bytes)

sh_addr: FFA00000, p_paddr: 0086D5EC

Loading from: 0286E000 to 0086D5EC, size: 5764

Loading .data_l1 @ 0xff800000 (192 bytes)

sh_addr: FF800000, p_paddr: 0086EC70

Loading from: 02870000 to 0086EC70, size: 192

Clearing .bss @ 0x0086f000 (70832 bytes)

## Starting application at 0x00204000 ...

Linux version 2.6.22.18-ADI-2008R1-svn4388 (test@linux) (gcc version 4.1.2 (ADI svn)) #87 Mon Mar 3 14:27:32 CST 2008

early printk enabled on early_BFuart0

Hardware Trace Active and Enabled

Reset caused by Software reset

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

Compiled for ADSP-BF548 Rev 0.0

Warning: Compiled for Rev 0, but running on Rev 1

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 525 MHz core clock and 131 MHz System Clock

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  text      = 0x00001000-0x00175070

  rodata    = 0x00176000-0x001ed724

  data      = 0x001ee000-0x00204000

    stack   = 0x001ee000-0x001f0000

  init      = 0x00204000-0x0086f000

  bss       = 0x0086f000-0x008804b0

  available = 0x008804b0-0x03dff000

  DMA Zone  = 0x03e00000-0x04000000

Instruction Cache Enabled

Data Cache Enabled (write-through)

Built 1 zonelists.  Total pages: 15748

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600

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: 54200k/65536k RAM, (6572k init code, 1488k kernel code, 641k data, 2048k dma, 584k reserved)

Blackfin Scratchpad data SRAM: 4 KB

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

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

Blackfin Instruction SRAM: 48 KB (42 KB free)

Security Framework v1.0.0 initialized

Mount-cache hash table entries: 512

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

ezkit_init(): registering device resources

SCSI subsystem initialized

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

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

bf54x-lq043: FrameBuffer initializing...

dma_alloc_init: dma_page @ 0x032cc000 - 512 pages at 0x03e00000

bfin-otp: initialized

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

Serial: Blackfin serial driver

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

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize

smsc911x: Driver version 2007-07-13.

register bfin atapi driver

scsi0 : pata-bf54x

ata1: PATA max UDMA/66 cmd 0x00000000 ctl 0xffc03800 bmdma 0x00000000 irq 68

ata1.00: ATA-6: TOSHIBA MK4032GAX, AD101A, max UDMA/100

ata1.00: 78140160 sectors, multi 16: LBA48

ata1.00: configured for UDMA/66

blk_queue_max_hw_segments: set to minimum 1

scsi 0:0:0:0: Direct-Access     ATA      TOSHIBA MK4032GA AD10 PQ: 0 ANSI: 5

sd 0:0:0:0: [sda] 78140160 512-byte hardware sectors (40008 MB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

sd 0:0:0:0: [sda] 78140160 512-byte hardware sectors (40008 MB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

sda: sda1

sd 0:0:0:0: [sda] Attached SCSI disk

physmap platform flash device: 00400000 at 20000000

physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank

NOR chip too large to fit in mapping. Attempting to cope...

Intel/Sharp Extended Query Table at 0x010A

  Unknown Intel/Sharp Extended Query version 1.5.

gen_probe: No supported Vendor Command Set found

physmap-flash physmap-flash.0: map_probe failed

BF5xx on-chip NAND FLash Controller Driver, Version 1.2 (c) 2007 Analog Devices, Inc.

bf5xx-nand bf5xx-nand.0: page_size=256, data_width=8, wr_dly=3, rd_dly=3

NAND device: Manufacturer ID: 0x20, Chip ID: 0xda (ST Micro NAND 256MiB 3,3V 8-bit)

Creating 2 MTD partitions on "NAND 256MiB 3,3V 8-bit":

0x00000000-0x00400000 : "Linux Kernel"

0x00400000-0x10000000 : "File System"

bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Contoller Driver, Version 1.0, regs_base@ffc00500, dma channel@4

bfin-spi bfin-spi.1: Blackfin BF5xx on-chip SPI Contoller Driver, Version 1.0, regs_base@ffc02300, dma channel@5

input: bf54x-keys as /class/input/input0

bf54x-keys: Blackfin BF54x Keypad registered IRQ 76

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

i2c /dev entries driver

i2c-bfin-twi i2c-bfin-twi.1: Blackfin BF5xx on-chip I2C TWI Contoller Driver, Version 1.8, regs_base@ffc02200

Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).

ASoC version 0.13.1

AD1980 SoC Audio Codec

asoc: AC97 <-> bf5xx-ac97 mapping ok

ALSA device list:

  #0: bf5xx-board (AD1980)

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting the system clock to 1970-01-01 00:14:40 (880)

Freeing unused kernel memory: 6572k freed

                           _____________________________________

        a8888b.           / Welcome to the uClinux distribution \

       d888888b.         /       _     _                         \

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

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

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

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

      d/      `8b.       \      \____||syslogd: page allocation failure. order:0, mode:0xa00d2

Hardware Trace:

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

     Source : <0x0002cb52> { ___alloc_pages + 0x186 }

   1 Target : <0x0002cb52> { ___alloc_pages + 0x186 }

     Source : <0x0000ce12> { _printk + 0x16 }

   2 Target : <0x0000ce0e> { _printk + 0x12 }

     Source : <0x0000ccc4> { _vprintk + 0x1b8 }

   3 Target : <0x0000ccb8> { _vprintk + 0x1ac }

     Source : <0xffa00c82> { __common_int_entry + 0xca }

   4 Target : <0xffa00c20> { __common_int_entry + 0x68 }

     Source : <0xffa00a60> { _return_from_int + 0x58 }

   5 Target : <0xffa00a60> { _return_from_int + 0x58 }

     Source : <0xffa00a36> { _return_from_int + 0x2e }

   6 Target : <0xffa00a08> { _return_from_int + 0x0 }

     Source : <0xffa00c1c> { __common_int_entry + 0x64 }

   7 Target : <0xffa00c1a> { __common_int_entry + 0x62 }

     Source : <0xffa003a0> { _asm_do_IRQ + 0x68 }

   8 Target : <0xffa00398> { _asm_do_IRQ + 0x60 }

     Source : <0x00010f02> { __local_bh_enable + 0x3e }

   9 Target : <0x00010ec4> { __local_bh_enable + 0x0 }

     Source : <0x0001100c> { ___do_softirq + 0x94 }

  10 Target : <0x00011004> { ___do_softirq + 0x8c }

     Source : <0x00010fe4> { ___do_softirq + 0x6c }

  11 Target : <0x00010fd8> { ___do_softirq + 0x60 }

     Source : <0x000110f0> { _tasklet_action + 0x7c }

  12 Target : <0x000110ea> { _tasklet_action + 0x76 }

     Source : <0x000110c6> { _tasklet_action + 0x52 }

  13 Target : <0x000110c4> { _tasklet_action + 0x50 }

     Source : <0x0001ab1a> { ___rcu_process_callbacks + 0xb6 }

  14 Target : <0x0001ab14> { ___rcu_process_callbacks + 0xb0 }

     Source : <0x0001aaaa> { ___rcu_process_callbacks + 0x46 }

  15 Target : <0x0001aaa6> { ___rcu_process_callbacks + 0x42 }

     Source : <0x0001ab42> { ___rcu_process_callbacks + 0xde }

Stack from 00807c58:

        00080000 0002cb56 001f8668 00080000 000a00d2 03dd948c 00000000 000a00d2

        00807ca0 001f8664 003d0900 000a00d2 0000a178 00000000 00013d70 0036ecec

        0002a11c 033e98e0 00000000 00000000 00000000 00000000 00000045 000007ff

        0003c2f8 03c9c009 001f8660 0003c332 033e7914 00000001 00807d14 0321ba20

        0017da78 033e984c 00000000 0003d6e8 03c9c009 00807e9c 00000000 00000000

        00807e6c 00807d14 00000000 0087b398 00807d74 0003c2f8 03c9c008 89a21def

 

Call Trace:

[<00010b48>] _current_fs_time+0x38/0x40

[<0002a5ae>] ___generic_file_aio_write_nolock+0x1e2/0x3a0

[<00046e3c>] _new_inode+0xc/0x6c

[<0002a7c0>] _generic_file_aio_write+0x54/0xe4

[<000240d0>] _m_show+0x11c/0x148

[<00036234>] _do_sync_write+0xac/0xe4

[<00033a12>] _cache_alloc_refill+0x21a/0x484

[<0001caf0>] _autoremove_wake_function+0x0/0x30

[<00043d86>] _fcntl_setlk+0x2e/0x1e4

[<000369a6>] _vfs_write+0x82/0xfc

[<00036e2a>] _sys_write+0x32/0x64

[<00036df8>] _sys_write+0x0/0x64

[<00008000>] _bfin_demux_gpio_irq+0x54/0x94

[<00002000>] _get_sclk+0x4/0x58

 

Mem-info:

DMA per-cpu:

CPU    0: Hot: hi:   18, btch:   3 usd:   2   Cold: hi:    6, btch:   1 usd:   0

Active:554 inactive:3134 dirty:0 writeback:0 unstable:0

free:10476 slab:619 mapped:0 pagetables:0 bounce:0

DMA free:41904kB min:1000kB low:1248kB high:1500kB active:2216kB inactive:12536kB present:62992kB pages_scanned:0 all_unreclaimable? no

lowmem_reserve[]: 0 0

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

_|_| |_|\____|/_15871 pages of RAM

10505 free pages

678 reserved pages

0 pages shared

0 pages swap cached

/\_\       |

     dP   .    Y8b.       \   For embedded processors including   |

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

   d8"         'Y88b        \__________________syslogd: page allocation failure. order:0, mode:0xa00d2

Hardware Trace:

 

Follow-ups

 

--- Robin Getz                                               2008-03-12 16:15:09

Is this the same problem as before? that the filesystem (which _is_ the

pagecache) is full?

 

Hmmm ,...

 

Is there a way to tell?

 

-Robin

 

--- Mingquan Pan                                             2008-03-13 06:33:53

I try on the 08r1 branch head, this issue doesn't occur now. Fixed. Close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes