[#3965] run lmbench ./lat_ctx -s 64 16 frequently has no results given out on bf548 sometime

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

[#3965] run lmbench ./lat_ctx -s 64 16 frequently has no results given out on bf548 sometime

Submitted By: Mingquan Pan

Open Date

2008-03-13 06:48:39    

Priority:

Medium     Assignee:

Sonic Zhang

Status:

Open     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

EZKIT Lite

Processor:

BF548     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Not reproducible

Uboot version or rev.:

    Toolchain version or rev.:

08r1-8

App binary format:

N/A     

Summary: run lmbench ./lat_ctx -s 64 16 frequently has no results given out on bf548 sometime

Details:

 

run lmbench ./lat_ctx -s 64 16 frequently has no results given out on bf548 ezkit.

 

Loading .text @ 0x00001000 (1523888 bytes)

Loading .rodata @ 0x00176000 (411160 bytes)

Loading __ksymtab @ 0x001da618 (16960 bytes)

Loading __ksymtab_gpl @ 0x001de858 (5336 bytes)

Loading __ksymtab_strings @ 0x001dfd30 (54780 bytes)

Loading __param @ 0x001ed32c (1000 bytes)

Loading .data @ 0x001ee000 (90112 bytes)

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

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

Loading .init.setup @ 0x00226868 (608 bytes)

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

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

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

Loading .text_l1 @ 0xffa00000 (5764 bytes)

sh_addr: FFA00000, p_paddr: 0085A6F0

Loading from: 0285B000 to 0085A6F0, size: 5764

Loading .data_l1 @ 0xff800000 (192 bytes)

sh_addr: FF800000, p_paddr: 0085BD74

Loading from: 0285D000 to 0085BD74, size: 192

Clearing .bss @ 0x0085c000 (70832 bytes)

## Starting application at 0x00204000 ...

Linux version 2.6.22.18-ADI-2008R1-svn4435 (test@linux) (gcc version 4.1.2 (ADI svn)) #188 Thu Mar 13 18:31:26 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-0x001750b0

  rodata    = 0x00176000-0x001ed714

  data      = 0x001ee000-0x00204000

    stack   = 0x001ee000-0x001f0000

  init      = 0x00204000-0x0085c000

  bss       = 0x0085c000-0x0086d4b0

  available = 0x0086d4b0-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: 54276k/65536k RAM, (6496k 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 @ 0x034cf000 - 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 01:01:53 (3713)

Freeing unused kernel memory: 6496k freed

eth0: SMSC911x/921x identified at 0x24000000, IRQ: 175

eth0: SMSC911x MAC Address: 00:e0:22:fe:b8:54

eth0: link down

                           _____________________________________

        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|            -   blackfin.uclinux.org/

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

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

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

 

Have a lot of fun...

 

 

BusyBox v1.4.1 (2008-03-13 11:50:23 CST) Built-in shell (msh)

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

 

root:/> successful boot attempt

 

*******************************************************************

STEP 3: Start testing.

 

 

cd lmbench3/bin/blackfin-Linux

root:/lmbench3/bin/blackfin-Linux> ./lat_ctx -seth0: link up, 100Mbps, full-duplex, lpa 0x45E1

0 2

 

"size=0k ovr=15.70

2 5.17

 

Case 1 ...PASS

root:/lmbench3/bin/blackfin-Linux> ./lat_ctx -s 16 2

 

"size=16k ovr=64.64

2 77.03

Case 2 ...PASS

 

root:/lmbench3/bin/blackfin-Linux> ./lat_ctx -s 64 2

 

"size=64k ovr=475.08

2 15.17

Case 3 ...PASS

 

root:/lmbench3/bin/blackfin-Linux> ./lat_ctx -s 16 8

 

"size=16k ovr=61.56

8 91.19

Case 4 ...PASS

 

root:/lmbench3/bin/blackfin-Linux> ./lat_ctx -s 64 8

 

"size=64k ovr=475.00

8 6.25

 

Case 5 ...PASS

root:/lmbench3/bin/blackfin-Linux> ./lat_ctx -s 16 16

 

"size=16k ovr=64.82

16 91.20

root:/

Case 6 ...PASS

lmbench3/bin/blackfin-Linux> ./lat_ctx -s 64 16

 

"size=64k ovr=476.50

 

root:/lmbench3/bin/blackfin-Linux>

root:/lmbench3/bin/blackfin-Linux> ./lat_ctx -s 64 16

 

"size=64k ovr=476.83

root:/lmbench3/bin/blackfin-Linux>

root:/lmbench3/bin/blackfin-Linux> ./lat_ctx -s 64 16

 

"size=64k ovr=475.67

root:/lmbench3/bin/blackfin-Linux> ./lat_ctx -s 64 16

 

"size=64k ovr=477.17

 

Follow-ups

 

--- Sonic Zhang                                              2008-04-15 00:27:30

Can't replicate on 2008R1 branch.

 

--- Mingquan Pan                                             2008-04-17 05:55:06

If you run the script that under testsuits/lmbench/lmbench_test.exp which

execute ./lat_ctx with 7 different params,it would be frequently see this issue.

 

--- Mingquan Pan                                             2008-12-03 04:10:26

It also happens frequently to bf527 ezkit board.

 

Loading .text @ 0x00001000 (1189104 bytes)

Loading .rodata @ 0x001234f0 (296948 bytes)

Loading .init.rodata @ 0x0016bce4 (156 bytes)

Loading __ksymtab @ 0x0016bd80 (16680 bytes)

Loading __ksymtab_gpl @ 0x0016fea8 (5752 bytes)

Loading __ksymtab_strings @ 0x00171520 (50400 bytes)

Loading __init_rodata @ 0x0017da00 (172 bytes)

Loading __param @ 0x0017daac (640 bytes)

Clearing .bss @ 0x0017dd30 (66476 bytes)

Loading .data @ 0x0018e0dc (73508 bytes)

Loading .init.text @ 0x001a0000 (101488 bytes)

Loading .init.data @ 0x001b8c70 (20648 bytes)

Loading .init.setup @ 0x001bdd18 (584 bytes)

Loading .initcall.init @ 0x001bdf60 (644 bytes)

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

Loading .init.ramfs @ 0x001be1e8 (5293832 bytes)

Loading .text_l1 @ 0xffa00000 (5500 bytes)

sh_addr: FFA00000, p_paddr: 006CA8F0

Loading from: 026BB000 to 006CA8F0, size: 5500

Loading .data_l1 @ 0xff800000 (192 bytes)

sh_addr: FF800000, p_paddr: 006CBE6C

Loading from: 026BD000 to 006CBE6C, size: 192

## Starting application at 0x001ad480 ...

Linux version 2.6.28-rc2-ADI-2009R1-pre-svn5790 (test@uclinux60-bf527-std) (gcc

version 4.1.2 (ADI svn)) #49 Wed Dec 3 14:58:15 CST 2008

console [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x001234f0

  rodata    = 0x001234f0-0x0017dd2c

  bss       = 0x0017dd30-0x0018e0dc

  data      = 0x0018e0dc-0x001a0000

    stack   = 0x0019e000-0x001a0000

  init      = 0x001a0000-0x006cc000

  available = 0x006cc000-0x03eff000

  DMA Zone  = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Reset caused by Software reset

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

Compiled for ADSP-BF527 Rev 0.0

ERROR: Not running on ADSP-BF527: unknown CPUID 0x27e0 Rev 0.0

Blackfin Linux support by   blackfin.uclinux.org/

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

NOMPU: setting up cplb tables for global access

Instruction Cache Enabled for CPU0

Data Cache Enabled for CPU0 (write-through)

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

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

ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf527-ezkit:eth0:off

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: 56968k/65536k RAM, (5296k init code, 1161k kernel code, 499k

data, 1024k dma, 584k reserved)

Calibrating delay loop... 1044.48 BogoMIPS (lpj=2088960)

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 (42 KB free)

PDA for CPU0 reserved at 0017ed68

net_namespace: 288 bytes

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

stamp_init(): registering device resources

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

musb_hdrc: version 6.0, pio, host, debug=0

musb_hdrc: USB Host mode controller at ffc03800 using PIO, IRQ 59

musb_hdrc musb_hdrc.0: MUSB HDRC host driver

musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1

usb usb1: configuration #1 chosen from 1 choice

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

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 111

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

bfin-t350mcqb: 320x240 24-bit RGB FrameBuffer initializing...

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

bfin-otp: initialized

Serial: Blackfin serial driver

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

brd: module loaded

bfin_mac_mdio: probed

bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:03, irq=-1,

mdc_clk=2500000Hz(mdc_div=25)@sclk=131MHz)

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

m25p80 spi0.1: m25p16 (2048 Kbytes)

Creating 2 MTD partitions on "m25p80":

0x00000000-0x00040000 : "bootloader(spi)"

0x00040000-0x00200000 : "linux kernel(spi)"

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)

hid_tmff: Unknown symbol _input_ff_create_memless

usbcore: registered new interface driver usbhid

usbhid: v2.6:USB HID core driver

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 2004-05-31 08:15:52 UTC

(1085991352)

usb 1-1: new high speed USB device using musb_hdrc and address 2

IP-Config: Complete:

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

     host=bf527-ezkit, domain=, nis-domain=(none),

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=

Freeing unused kernel memory: 5296k freed

usb 1-1: configuration #1 chosen from 1 choice

                           _____________________________________

        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|            -   blackfin.uclinux.org/

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

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

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

 

Have a lot of fun...

 

 

BusyBox v1.13.1 (2008-12-03 04:47:44 CST) built-in shell (msh)

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

 

root:/>

************** STEP 3: Start testing.

 

PHY: 0:03 - Link is Up - 100/Full

 

root:/> cd lmbench3/bin/blackfin-Linux

root:/lmbench3/bin/blackfin-Linux> ./lat_ctx -s 0 2

 

"size=0k ovr=17.05

2 34.99

root:/lmbench3/bin/blac

Case 1 ...PASS

 

Case 1 ...PASS

kfin-Linux> ./lat_ctx -s 16 2

 

"size=16k ovr=48.52

2 172.27

root:/lmbench3

Case 2 ...PASS

 

Case 2 ...PASS

/bin/blackfin-Linux> ./lat_ctx -s 64 2

 

"size=64k ovr=631.70

root:/lmbench3/bin/blackfin-Linux>

Case 3 ...FAIL

 

Case 3 ...FAIL

 

LMBENCH TEST FAIL

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes