PBX AS ROUTER CRASH

Our product have two 8139 netcards, some customers use it as router. After about one hour the product will crash when playing video. There is no output in the serial port. After i turn on the option CONFIG_DEBUG_BFIN_HWTRACE_EXPAND,

the product is very stable, but the performance is very bad. Can you tell me how to trace the crash problem for no output?

The kernel version is:

uname -a

Linux  2.6.34.7-ADI-2010R1 #18 Fri Aug 5 07:37:12 UTC 2016 blackfin GNU/Linux

  • Hi Yijun, do you mean it hangs after playing video for 1 hour, or it woks as PBX device for 1 hour, then play video and hangs? Is it possible that:

    1) Do "cat /proc/meminfo" after a long time working before crash and share the output?

    2) Reproduce this issue in someway on the ADI ezkit so we can try on our side too?

    Assume this product is based on BF609?

  • Hi Aaronwu,

           Thanks for your reply, it hangs after playing video for 1 hour, the data traffic is PC<--->LAN PORT<--->WAN PORT<--->INTERNET. it is based on bf533, the part of boot message see the following:

       Image Name:   bf533-2.6.34.7-ADI-2010R1

       Image Type:   Blackfin Linux Kernel Image (gzip compressed)

       Data Size:    6819105 Bytes = 6.5 MiB

       Load Address: 00001000

       Entry Point:  00233cf0

       Verifying Checksum ... OK

       Uncompressing Kernel Image ... OK

      Starting Kernel at = 00233cf0

       Linux version 2.6.34.7-ADI-2010R1 (root@ubuntu) (gcc version 4.3.5 (ADI) ) #18 Fri Aug 5 07:37:12 UTC 2016

      register early platform devices

      Board Memory: 128MB

      Kernel Managed Memory: 128MB

           

           During the test, i had been watching the changes of the system information by top command,  both memory and cpu usage

    are normal. I don't know why no any exception information output?

    cat /proc/meminfo

    MemTotal:         126680 kB

    MemFree:           70744 kB

    Buffers:               0 kB

    Cached:            17776 kB

    SwapCached:            0 kB

    Active:             6360 kB

    Inactive:          11424 kB

    Active(anon):          0 kB

    Inactive(anon):        0 kB

    Active(file):       6360 kB

    Inactive(file):    11424 kB

    Unevictable:           0 kB

    Mlocked:               0 kB

    MmapCopy:          33304 kB

    SwapTotal:             0 kB

    SwapFree:              0 kB

    Dirty:                 0 kB

    Writeback:             0 kB

    AnonPages:             0 kB

    Mapped:                0 kB

    Shmem:                 0 kB

    Slab:               4228 kB

    SReclaimable:        708 kB

    SUnreclaim:         3520 kB

    KernelStack:         512 kB

    PageTables:            0 kB

    NFS_Unstable:          0 kB

    Bounce:                0 kB

    WritebackTmp:          0 kB

    CommitLimit:       63340 kB

    Committed_AS:          0 kB

    VmallocTotal:          0 kB

    VmallocUsed:           0 kB

    VmallocChunk:          0 kB