[#3842] ethernet has error info under stress test on bf548

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

[#3842] ethernet has error info under stress test on bf548

Submitted By: Mingquan Pan

Open Date

2008-01-18 02:36:22     Close Date

2008-02-02 01:39:28

Priority:

Medium     Assignee:

Nobody

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:

N/A

Uboot version or rev.:

    Toolchain version or rev.:

Jan 1

App binary format:

N/A     

Summary: ethernet has error info under stress test on bf548

Details:

 

ethernet has error info under stress test on bf548 from about Jan 5.

 

Firstly it is :

root:~> eth0: link up, 100Mbps, full-duplex, lpa 0x41E1^M

munmap of non-mmaped memory by process 155 (telnetd)^M

NULL pointer access (probably)^M

Kernel OOPS in progress^M

Defered Exception context^M

CURRENT PROCESS:^M

COMM=telnetd PID=155^M

TEXT = 0x00430040-0x00437280  DATA = 0x00437284-0x00438d04^M

BSS = 0x00438d04-0x00439ea4   USER-STACK = 0x0043bf34^M

^M

return address: [0x000b676e]; contents of:^M

0x000b6740:  0000  0000  9950  0c00  180e  4312  0810  1408 ^M

0x000b6750:  200c  6c0a  9950  0c00  1806  0810  1806  67f9 ^M

0x000b6760:  0c39  17f8  6000  0010  3042  0010  3208 [9948]^M

0x000b6770:  0c00  1809  3251  6c0a  9950  0c00  17fd  440a ^M

^M

SEQUENCER STATUS:^M

SEQSTAT: 00002027  IPEND: 8030  SYSCFG: 0006^M

  HWERRCAUSE: 0x0^M

  EXCAUSE   : 0x27^M

  physical IVG15 asserted : <0xffa01134> { _evt_system_call + 0x0 }^M

  logical irq   6 mapped  : <0xffa00250> { _timer_interrupt + 0x0 }^M

  logical irq   9 mapped  : <0x000bf714> { _bfin_bf54x_irq_error + 0x0 }^M

  logical irq  10 mapped  : <0x00122580> { _err_handler + 0x0 }^M

  logical irq  16 mapped  : <0x001224c4> { _rx_handler + 0x0 }^M

  logical irq  17 mapped  : <0x00122520> { _tx_handler + 0x0 }^M

  logical irq  48 mapped  : <0x000cae2c> { _bfin_serial_dma_rx_int + 0x0 }^M

  logical irq  49 mapped  : <0x000cac2c> { _bfin_serial_dma_tx_int + 0x0 }^M

  logical irq  53 mapped  : <0x00106f70> { _bfin_twi_interrupt_entry + 0x0 }^M

  logical irq  68 mapped  : <0x000e6a08> { _ata_interrupt + 0x0 }^M

  logical irq  74 mapped  : <0x000fe50c> { _bf5xx_nand_dma_irq + 0x0 }^M

  logical irq 175 mapped  : <0x000d3e30> { _smsc911x_irqhandler + 0x0 }^M

RETE: <0x00000000> /* Maybe null pointer? */^M

RETN: <0x00425e88> /* unknown address */^M

RETX: <0x000b676e> { _strlen + 0x2 }^M

RETS: <0x00039530> { _copy_strings + 0x38 }^M

PC  : <0x000b676e> { _strlen + 0x2 }^M

DCPLB_FAULT_ADDR: <0x00000000> /* Maybe null pointer? */^M

ICPLB_FAULT_ADDR: <0x000b676e> { _strlen + 0x2 }^M

PROCESSOR STATE:^M

R0 : 00000000    R1 : 00420000    R2 : 00254a00    R3 : 00420004^M

R4 : 00000000    R5 : 00000000    R6 : 00000000    R7 : 0001ff48^M

P0 : 00420f52    P1 : 00000000    P2 : 005a28bc    P3 : 005add54^M

P4 : 00000000    P5 : 00420000    FP : 00425ea0    SP : 00425dac^M

LB0: 000b7d24    LT0: 000b7d22    LC0: 00000000^M

LB1: 0002976e    LT1: 0002976e    LC1: 00000000^M

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 00000001^M

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 03add080^M

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 00000000^M

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000^M

A0.w: 00000000   A0.x: 00000000   A1.w: 00000000   A1.x: 00000000^M

USP : 0043baf0  ASTAT: 02003004^M

^M

Hardware Trace:^M

   0 Target : <0x00004a30> { _trap_c + 0x0 }^M

     Source : <0xffa00a5c> { _exception_to_level5 + 0xb4 }^M

   1 Target : <0xffa009a8> { _exception_to_level5 + 0x0 }^M

     Source : <0xffa00900> { _ex_trap_c + 0x5c }^M

   2 Target : <0xffa008a4> { _ex_trap_c + 0x0 }^M

     Source : <0xffa00afc> { _trap + 0x28 }^M

   3 Target : <0xffa00ad4> { _trap + 0x0 }^M

     Source : <0x000b676c> { _strlen + 0x0 }^M

   4 Target : <0x000b676c> { _strlen + 0x0 }^M

     Source : <0x0003952c> { _copy_strings + 0x34 }^M

   5 Target : <0x0003951a> { _copy_strings + 0x22 }^M

     Source : <0xffa001cc> { __access_ok + 0xb4 }^M

   6 Target : <0xffa001ca> { __access_ok + 0xb2 }^M

     Source : <0xffa001dc> { __access_ok + 0xc4 }^M

   7 Target : <0xffa001d2> { __access_ok + 0xba }^M

     Source : <0xffa00150> { __access_ok + 0x38 }^M

   8 Target : <0xffa00118> { __access_ok + 0x0 }^M

     Source : <0x00039516> { _copy_strings + 0x1e }^M

   9 Target : <0x000394f8> { _copy_strings + 0x0 }^M

     Source : <0x0003aaf8> { _do_execve + 0x1a0 }^M

  10 Target : <0x0003aae6> { _do_execve + 0x18e }^M

     Source : <0x00039558> { _copy_strings + 0x60 }^M

  11 Target : <0x0003954a> { _copy_strings + 0x52 }^M

     Source : <0x000395da> { _copy_strings + 0xe2 }^M

  12 Target : <0x000395cc> { _copy_strings + 0xd4 }^M

     Source : <0x000b7d26> { _memcpy + 0x5a }^M

  13 Target : <0x000b7d1e> { _memcpy + 0x52 }^M

     Source : <0x000b7ce8> { _memcpy + 0x1c }^M

  14 Target : <0x000b7ce0> { _memcpy + 0x14 }^M

     Source : <0x000b7cd8> { _memcpy + 0xc }^M

  15 Target : <0x000b7ccc> { _memcpy + 0x0 }^M

     Source : <0x000395c8> { _copy_strings + 0xd0 }^M

Stack from 00425d8c:^M

        00425db0 ffa00a60 001f2784 001f2784 001f2780 00242720 00000001 00000000^M

        000b676e 00008030 00002027 00000000 00425e88 000b676e 000b676e 00039530^M

        00000000 02003004 0002976e 000b7d24 0002976e 000b7d22 00000000 00000000^M

        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000^M

        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000^M

        00000000 00000000 03add080 00000001 0043baf0 00425ea0 00420000 00000000^M

^M

Call Trace:^M

[<0001ff48>] _update_wall_time+0x298/0x73c^M

[<000396a0>] _copy_strings_kernel+0x18/0x24^M

[<0003aafc>] _do_execve+0x1a4/0x1f0^M

[<00001ad6>] _sys_execve+0x2e/0x54^M

[<00001aa8>] _sys_execve+0x0/0x54^M

[<00003be4>] _sys_mmap2+0x0/0x80^M

[<00008000>] _blackfin_icache_dcache_flush_range+0x14/0x2c^M

[<00002000>] _arch_ptrace+0x398/0x488^M

^M

Kernel panic - not syncing: Kernel exception^M

 

Now it :

cat /proc/slabinfo^M

exit^M

test@uclinux84-bf548-kernel:~/work/cruise/checkouts/uclinux-dist/testsuites/stress> 0.100.4.50^M

sh: 0.100.4.50: command not found^M

^[]2;/home/test/work/cruise@uclinux84-bf548-kernel:.../testsuites/stress^G^[]1;uclinux84-bf548-kernel^Gtest@uclinux84-bf548-kernel:~/work/cruise/checkouts/uclinux-dist/testsuites/stress> ^M

^[]2;/home/test/work/cruise@uclinux84-bf548-kernel:.../testsuites/stress^G^[]1;uclinux84-bf548-kernel^Gtest@uclinux84-bf548-kernel:~/work/cruise/checkouts/uclinux-dist/testsuites/stress> ls^M

^[[00m^[[00;32mbuild_stress_kernel.exp^[[00m  ^[[00mftp_load^[[00m   ^[[00;32mftp_test.exp^[[00m  ^[[00;32mstress_test.exp^[[00m  ^[[00;32mtelnet_test.exp^[[00m^M

^[[00;32mbuild_stress_kernel_log^[[00m  ^[[00mftp_load1^[[00m  ^[[00;32mftp_test_log^[[00m  ^[[00;32mstress_test_log^[[00m  ^[[00;32mtelnet_test_log^[[00m^M

^[[m^[]2;/home/test/work/cruise@uclinux84-bf548-kernel:.../testsuites/stress^G^[]1;uclinux84-bf548-kernel^Gtest@uclinux84-bf548-kernel:~/work/cruise/checkouts/uclinux-dist/testsuites/stress> dmesg^M

00Mbps, full-duplex, lpa 0x45E1^M

eth1: link down^M

eth1: link up, 100Mbps, full-duplex, lpa 0x45E1^M

eth1: link down^M

eth1: link up, 100Mbps, full-duplex, lpa 0x45E1^M

eth1: link down^M

eth1: link up, 100Mbps, full-duplex, lpa 0x45E1^M

eth1: link down^M

eth1: link up, 100Mbps, half-duplex, lpa 0x4081^M

eth1: link down^M

eth1: link up, 100Mbps, full-duplex, lpa 0x45E1^M

eth1: link down^M

eth1: link up, 100Mbps, full-duplex, lpa 0x45E1^M

eth1: link down^M

eth1: link up, 100Mbps, full-duplex, lpa 0x45E1^M

eth1: link down^M

 

 

Follow-ups

 

--- Robin Getz                                               2008-01-18 15:09:56

I know this happened with the Ethernet test, but it looks like a generic DMA

error issue... I have seen the same thing with Audio.

 

Actually - looking at things - this looks like a problem Mike fixed in uClibc -

did you upgrade your toolchain to the 2008R1 branch head?

 

-Robin

 

--- Mingquan Pan                                             2008-02-02 03:45:08

Yeah, this isn't happening now by running on kernel built by 08r1- 6.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes