[#4596] rsh frequently get stuck on trunk head kernel

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

[#4596] rsh frequently get stuck on trunk head kernel

Submitted By: Mingquan Pan

Open Date

2008-11-03 04:56:21     Close Date

2009-03-02 05:39:10

Priority:

Medium     Assignee:

Bryan Wu

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Duplicate

Uboot version or rev.:

    Toolchain version or rev.:

svn head

App binary format:

N/A     

Summary: rsh frequently get stuck on trunk head kernel

Details:

 

rsh frequently get stuck on trunk head kernel these days when testing toolchain. In the testing, it always need run commands like : rsh -l root 10.100.4.50 ps, and this command frequently got stuck,and didn't return, which holds on the whole toolchain testing and doesn't get results.

This happens on the platforms.

 

When ps on host when this happens, the running processes are like:

 

test      4017  0.0  0.1 223116 564 pts/7    Sl   Nov01   0:00 /usr/lib/jvm/java/bin/java -classpath /home/test/work/cruise/apache-ant-1.6.0/lib/ant-launcher.jar -Dant.home=/home/test/work/cruise/apache-ant-1.6.0 org.apache.tools.ant.launch.Launcher -lib  -logger org.apache.tools.ant.XmlLogger -logfile log.xml -Dcclastbuildtimestamp=20081031224748 -Dlabel=build.17 -Dcclastgoodbuildtimestamp=20081031224748 -Dlastbuildsuccessful=true -Dcvstimestamp=2008-11-01 03:10:04 GMT -Dcctimestamp=20081101111004 -buildfile build-toolchain.xml build

test      4032  0.0  0.0  3752  220 pts/7    S    Nov01   0:00 /bin/sh ../../test_scripts/toolchain/toolchain_test

test     20877  0.0  0.0  4024  232 pts/7    S    Nov01   0:00 /bin/sh /home/test/work/cruise/test_scripts/toolchain/toolchain-regtest -s /home/test/work/cruise/checkouts/toolchain -o /home/test/work/cruise/temp/bfin -b /home/test/work/cruise/temp/regtest_build4.1 -t uclinux -T 10.100.4.50 -a -L -f

test     22878  0.0  0.0  3756  220 pts/7    S    Nov01   0:00 sh

test     22882  0.0  0.0  5580  252 pts/7    S    Nov01   0:07 /usr/bin/expect -- /usr/share/dejagnu/runtest.exp --tool gdb -all

test     24693  0.0  0.0  7028  256 pts/5    Ss+  Nov01   0:00 bfin-uclinux-gdb -nw -nx

root     24696  0.0  0.0  1848  208 pts/7    S    Nov01   0:00 rsh -l root 10.100.4.50 rm -f /tmp/cvexpr.22882

test     24697  0.0  0.0  2512  132 pts/7    S    Nov01   0:00 cat

test     24702  0.0  0.0  4028  232 pts/7    S    Nov01   0:00 /bin/sh /home/test/work/cruise/test_scripts/toolchain/toolchain-regtest -s /home/test/work/cruise/checkouts/toolchain -o /home/test/work/cruise/temp/bfin -b /home/test/work/cruise/temp/regtest_build4.1 -t uclinux -T 10.100.4.50 -a -L -f

root     24703  0.0  0.0  1848  208 pts/7    S    Nov01   0:00 rsh -l root 10.100.4.50 ps

test     24704  0.0  0.0  2600  160 pts/7    S    Nov01   0:00 grep -v  ps

test     24705  0.0  0.0  2600  160 pts/7    S    Nov01   0:00 grep -v /rshd

test     24706  0.0  0.0  2600  160 pts/7    S    Nov01   0:00 grep -v \[

test     24707  0.0  0.0  2600  160 pts/7    S    Nov01   0:00 grep -v telnetd

test     24708  0.0  0.0  2600  160 pts/7    S    Nov01   0:00 grep -v /init

test     24709  0.0  0.0  2600  160 pts/7    S    Nov01   0:00 grep -v  inetd

test     24710  0.0  0.0  2600  160 pts/7    S    Nov01   0:00 grep -v  PID

test     24711  0.0  0.0  2600  160 pts/7    S    Nov01   0:00 grep -v [ /]sh

test     24712  0.0  0.0  2600  160 pts/7    S    Nov01   0:00 grep -v  /s*bin/.*d

test     24713  0.0  0.0  2616  136 pts/7    S    Nov01   0:00 sed /^[[:space:]]*$/d

postfix  30130  0.0  0.2  4692 1492 ?        S    18:25   0:00 pickup -l -t fifo -u

test     30221  0.0  0.1  2372  708 pts/9    R+   19:11   0:00 ps aux

 

the kernel version is:

root:/> version

kernel:    Linux release 2.6.28-rc2-ADI-2009R1-pre-svn5545, build #11 Sat Nov 1 09:36:25 CST 2008

toolchain: bfin-uclinux-gcc release gcc version 4.1.2 (ADI svn)

user-dist: release svn-7289, build #4 Sat Nov 1 09:34:13 CST 2008

root:/>

 

And if input this command later separately, this command just could run ok:

test@40-bf537-toolchain:~/work/cruise/checkouts/uclinux-dist> rsh -l root 10.100.4.50 ps

  PID USER       VSZ STAT COMMAND

    1 root       108 S    /init

    2 root         0 SW<  [kthreadd]

    3 root         0 SW<  [ksoftirqd/0]

    4 root         0 SW<  [events/0]

    5 root         0 SW<  [khelper]

   36 root         0 SW<  [kblockd/0]

   59 root         0 SW   [pdflush]

   60 root         0 SW   [pdflush]

   61 root         0 SW<  [kswapd0]

   62 root         0 SW<  [aio/0]

  107 root         0 SW<  [mtdblockd]

  108 root         0 SW<  [bfin-spi.0]

  118 root         0 SW<  [hid_compat/0]

  150 root       528 S    -/bin/sh

  151 root        40 S    /sbin/inetd

  152 root       424 S    /sbin/syslogd -n

  153 root       420 S    /sbin/klogd -n

  154 root        32 S    /bin/watchdogd -f -s

  164 root        72 R    /bin/rshd

  165 root       520 S    sh -c ps

  166 root       424 R    ps

test@40-bf537-toolchain:~/work/cruise/checkouts/uclinux-dist>

 

 

Follow-ups

 

--- Robin Getz                                               2008-11-03 15:37:03

Hmm...

 

Do you only see this during toolchain testing?

 

 

--- Mingquan Pan                                             2008-11-03 22:10:45

Yeah, so far only toolchain testing use rsh a lot. And other network related

test looks ok.

 

--- Robin Getz                                               2008-11-03 23:04:02

Is it on one platform or all?

 

 

--- Mingquan Pan                                             2008-11-04 21:36:40

It happens on all the platforms,BF537-STAMP,BF561-EZKIT,BF527-EZKIT,BF548-EZKIT.

 

--- Mingquan Pan                                             2008-11-25 02:05:04

It looks this problem is also related to bug [4618]. rsh trigger the kernel

panic, and then board reboot. This is often happening at the end of gdb testing

on hardware fdpic.

 

ps on the host:

test     10557  0.0  0.2  4044 1344 pts/4    S+   04:15   0:00 /bin/sh

/home/test/work/cruise/test_scripts/toolchain/toolchain-regtest -s

/home/test/work/c

test     21019  0.0  0.2  4044 1348 pts/4    S+   05:04   0:00 /bin/sh

/home/test/work/cruise/test_scripts/toolchain/toolchain-regtest -s

/home/test/work/c

root     21020  0.0  0.1  1860  596 pts/4    S+   05:04   0:00 rsh -l root

10.100.4.50 ps

test     21021  0.0  0.1  2620  704 pts/4    S+   05:04   0:00 grep -v  ps

test     21022  0.0  0.1  2620  704 pts/4    S+   05:04   0:00 grep -v /rshd

test     21023  0.0  0.1  2620  704 pts/4    S+   05:04   0:00 grep -v \[

test     21024  0.0  0.1  2620  704 pts/4    S+   05:04   0:00 grep -v telnetd

test     21025  0.0  0.1  2620  704 pts/4    S+   05:04   0:00 grep -v /init

test     21026  0.0  0.1  2620  704 pts/4    S+   05:04   0:00 grep -v  inetd

test     21027  0.0  0.1  2620  704 pts/4    S+   05:04   0:00 grep -v  PID

test     21028  0.0  0.1  2620  708 pts/4    S+   05:04   0:00 grep -v [ /]sh

test     21029  0.0  0.1  2620  704 pts/4    S+   05:04   0:00 grep -v

/s*bin/.*d

test     21030  0.0  0.1  2636  684 pts/4    S+   05:04   0:00 sed

/^[[:space:]]*$/d

postfix  22485  0.0  0.2  4696 1460 ?        S    10:15   0:00 pickup -l -t

fifo -u

test     22626  0.0  0.1  2392  724 pts/6    R+   11:47   0:00 ps aux

You have new mail in /var/mail/test

test@40-bf537-toolchain:~/work/cruise/test_scripts/toolchain/toolchain-build>

date

Tue Nov 25 11:47:59 CST 2008

 

It is about 6 and half an hour since kernel panic.

 

And on the target console,run update:

 

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 1970-01-01 21:12:19 UTC (76339)

IP-Config: Complete:

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

     host=BF537, domain=, nis-domain=(none),

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=

Freeing unused kernel memory: 3224k freed

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

21:12:21 up 0 min, load average: 0.00, 0.00, 0.00

                           _____________________________________

        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.12.2 (2008-11-24 17:15:02 CST) built-in shell (msh)

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

 

root:/> PHY: 0:01 - Link is Up - 100/Full

uptime

03:52:11 up  6:39, load average: 0.00, 0.00, 0.00

root:/> uptime

03:52:33 up  6:40, load average: 0.00, 0.00, 0.00

root:/> date

Fri Jan  2 03:52:49 UTC 1970

 

And there are a lot of reboots right before this booting up. These reboots are

in short interval, about one reboot every miniute.

 

The panic info is like:

 

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 1970-01-01 21:11:53 UTC (76313)

IP-Config: Complete:

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

     host=BF537, domain=, nis-domain=(none),

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=

Freeing unused kernel memory: 3224k freed

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

21:11:55 up 0 min, load average: 0.00, 0.00, 0.00

                           _____________________________________

        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.12.2 (2008-11-24 17:15:02 CST) built-in shell (msh)

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

 

root:/> PHY: 0:01 - Link is Up - 100/Full

NULL pointer access

Kernel OOPS in progress

Deferred Exception context

 

No Valid process in current context

return address: [0x000e82cc]; contents of:

0x000e82a0:  0600  0c45  5079  030c  1002  5041  5059  030c

0x000e82b0:  1002  5041  5051  030c  1002  5041  0000  6040

0x000e82c0:  b1f1  b230  184b  0000  0000  0000 [e4a8] 015f

0x000e82d0:  4928  0200  e14d  0016  e10d  8ba4  a171  3056

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00062027  IPEND: c030  SYSCFG: 0006

  EXCAUSE   : 0x27

  physical IVG14 asserted : <0xffa00a70> { _evt14_softirq + 0x0 }

  physical IVG15 asserted : <0xffa00dd0> { _evt_system_call + 0x0 }

  logical irq   6 mapped  : <0xffa00390> { _timer_interrupt + 0x0 }

  logical irq  10 mapped  : <0x000b0290> { _bfin_rtc_interrupt + 0x0 }

  logical irq  18 mapped  : <0x0009dec4> { _bfin_serial_dma_rx_int + 0x0

}

  logical irq  19 mapped  : <0x0009dc34> { _bfin_serial_dma_tx_int + 0x0

}

  logical irq  24 mapped  : <0x000a7034> { _bfin_mac_interrupt + 0x0 }

RETE: <0x00000000> { _do_one_initcall + 0xfffff000 }

RETN: <0x0017bce8> /* kernel dynamic memory */

RETX: <0x00000480> /* Maybe fixed code section */

RETS: <0x000ea45e> { _tcp_v4_rcv + 0x262 }

PC  : <0x000e82cc> { _tcp_v4_send_reset + 0xcc }

DCPLB_FAULT_ADDR: <0x0000015f> /* Maybe null pointer? */

ICPLB_FAULT_ADDR: <0x000e82cc> { _tcp_v4_send_reset + 0xcc }

 

PROCESSOR STATE:

R0 : 00000008    R1 : f408ce14    R2 : 14000600    R3 : 3204640a

R4 : 00000000    R5 : 037a4820    R6 : 00000002    R7 : ae04640a

P0 : 037d0940    P1 : 037a4834    P2 : 037a4820    P3 : 3204640a

P4 : 037a4834    P5 : 00000000    FP : 00000000    SP : 0017bc0c

LB0: ffa0188c    LT0: ffa0188c    LC0: 00000000

LB1: 00008b86    LT1: 00008b86    LC1: 00000000

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 3204640a

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : ae04640a

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 00000000

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000

A0.w: 00000000   A0.x: 00000000   A1.w: 00000000   A1.x: 00000000

USP : 0017c000  ASTAT: 02002002

 

Hardware Trace:

   0 Target : <0x00004998> { _trap_c + 0x0 }

     Source : <0xffa006fa> { _exception_to_level5 + 0x9e } CALL pcrel

   1 Target : <0xffa0065c> { _exception_to_level5 + 0x0 }

     Source : <0xffa004ee> { _bfin_return_from_exception + 0xe } RTX

   2 Target : <0xffa004e0> { _bfin_return_from_exception + 0x0 }

     Source : <0xffa005b2> { _ex_trap_c + 0x66 } JUMP.S

   3 Target : <0xffa0054c> { _ex_trap_c + 0x0 }

     Source : <0xffa003ca> { _ex_workaround_261 + 0x22 } JUMP.S

   4 Target : <0xffa003a8> { _ex_workaround_261 + 0x0 }

     Source : <0xffa00794> { _trap + 0x38 } JUMP (P4)

   5 Target : <0xffa0077a> { _trap + 0x1e }

     Source : <0xffa00776> { _trap + 0x1a } IF !CC JUMP

   6 Target : <0xffa0075c> { _trap + 0x0 }

     Source : <0xffa004ee> { _bfin_return_from_exception + 0xe } RTX

   7 Target : <0xffa004e0> { _bfin_return_from_exception + 0x0 }

     Source : <0xffa003ba> { _ex_workaround_261 + 0x12 } IF !CC JUMP

   8 Target : <0xffa003a8> { _ex_workaround_261 + 0x0 }

     Source : <0xffa00794> { _trap + 0x38 } JUMP (P4)

   9 Target : <0xffa0077a> { _trap + 0x1e }

     Source : <0xffa00776> { _trap + 0x1a } IF !CC JUMP

  10 Target : <0xffa0075c> { _trap + 0x0 }

     Source : <0x000e82ca> { _tcp_v4_send_reset + 0xca } 0x0000

  11 Target : <0x000e82bc> { _tcp_v4_send_reset + 0xbc }

     Source : <0x000e82b8> { _tcp_v4_send_reset + 0xb8 } IF !CC JUMP

  12 Target : <0x000e82b4> { _tcp_v4_send_reset + 0xb4 }

     Source : <0x000e82b0> { _tcp_v4_send_reset + 0xb0 } IF !CC JUMP

  13 Target : <0x000e82ac> { _tcp_v4_send_reset + 0xac }

     Source : <0x000e82a8> { _tcp_v4_send_reset + 0xa8 } IF !CC JUMP

  14 Target : <0x000e8232> { _tcp_v4_send_reset + 0x32 }

     Source : <0x000e8228> { _tcp_v4_send_reset + 0x28 } IF !CC JUMP

  15 Target : <0x000e8200> { _tcp_v4_send_reset + 0x0 }

     Source : <0x000ea45a> { _tcp_v4_rcv + 0x25e } CALL pcrel

 

Kernel Stack

Stack info:

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

Memory from 0x0017bf50 to 0017c000

0017bf50: 00000000  00000000 [00000000] 00000000  00000000  000f4240  0017c000

0016c320

0017bf70: ffa0025c  0017a000  0015b664  0016c320  0017a000  ffa00990  0015adc4

00000000

0017bf90: 00000000  00000000  00000065  00000002  0000ffff  0000ffff  0000ffff

ffa00990

0017bfb0: 00000006  00000000  00000000  00000000  0017c6de  00166120  00194d74

0015add0

0017bfd0: 00000000  00194d74  0015ac44  00000013  0017c0a8  00196dc0  0017c000

0018a46a

0017bff0: 00000000  00000000  00000000  ffb00000  000028c8

Return addresses in stack:

Modules linked in:

Kernel panic - not syncing: Kernel exception

Rebooting in 3 seconds..

 

U-Boot 1.1.6-svn1273 (ADI-2008R1.5) (Jul 21 2008 - 00:33:04)

 

CPU:   ADSP bf537-0.2 (Detected Rev: 0.2)

Board: ADI BF537 stamp board

       Support:   blackfin.uclinux.org/

Clock: VCO: 500 MHz, Core: 500 MHz, System: 100 MHz

RAM:   64 MB

Flash:  4 MB

In:    serial

Out:   serial

Err:   serial

Net:   Blackfin EMAC

MAC:   FF:FF:FF:FF:FF:FF

Hit any key to stop autoboot:  0

Using Blackfin EMAC device

TFTP from server 10.100.4.174; our IP address is 10.100.4.50

Filename 'linux'.                                                             

                                                                          

...

...## Starting application at 0x0018a310 ...

Linux version 2.6.28-rc2-ADI-2009R1-pre-svn5746 (test@40-bf537-toolchain) (gcc

version 4.1.2 (ADI svn)) #27 Mon Nov 24 17:18:58 CST 2008

console [early_BFuart0] enabled

early printk enabled on early_BFuart0

Warning: limiting memory to 56MB due to hardware anomaly 05000263

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0010a340

  rodata    = 0x0010a340-0x0015adc0

  bss       = 0x0015adc0-0x0016adb4

  data      = 0x0016adb4-0x0017c000

    stack   = 0x0017a000-0x0017c000

  init      = 0x0017c000-0x004a2000

  available = 0x004a2000-0x037ff000

  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-BF537 Rev 0.2

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 500 MHz core clock and 100 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: 14223

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

panic=3 ip=10.100.4.50

ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:Bf

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: 52016k/65536k RAM, (3224k init code, 1060k kernel code, 456k

data, 1024k dma, 7756k reserved)

Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)

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

PDA for CPU0 reserved at 0015c144

net_namespace: 288 bytes

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

stamp_init(): registering device resources

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 101

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

Serial: Blackfin serial driver

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

brd: module loaded

bfin_mac_mdio: probed

bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1,

mdc_clk=2500000Hz(mdc_div=19)@sclk=100MHz)

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

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)

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 1970-01-01 21:12:19 UTC (76339)

IP-Config: Complete:

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

     host=BF537, domain=, nis-domain=(none),

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=

Freeing unused kernel memory: 3224k freed

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

21:12:21 up 0 min, load average: 0.00, 0.00, 0.00

   

 

--- Mingquan Pan                                             2008-11-27 04:49:01

There are also times that rcp stuck but kernel doesn't get panic and only print

dump info during gdb on hardware-fdpic is still under testing.

 

Loading .text @ 0x00001000 (1086272 bytes)

Loading .rodata @ 0x0010a340 (262024 bytes)

Loading .init.rodata @ 0x0014a2c8 (80 bytes)

Loading __ksymtab @ 0x0014a318 (15872 bytes)

Loading __ksymtab_gpl @ 0x0014e118 (5064 bytes)

Loading __ksymtab_strings @ 0x0014f4e0 (46774 bytes)

Loading __init_rodata @ 0x0015ab98 (172 bytes)

Loading __param @ 0x0015ac44 (380 bytes)

Clearing .bss @ 0x0015adc0 (65524 bytes)

Loading .data @ 0x0016adb4 (70220 bytes)

Loading .init.text @ 0x0017c000 (101224 bytes)

Loading .init.data @ 0x00194b68 (13656 bytes)

Loading .init.setup @ 0x001980c0 (588 bytes)

Loading .initcall.init @ 0x0019830c (548 bytes)

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

Loading .init.ramfs @ 0x00198534 (3177779 bytes)

Loading .text_l1 @ 0xffa00000 (6944 bytes)

sh_addr: FFA00000, p_paddr: 004A0267

Loading from: 02492000 to 004A0267, size: 6944

Loading .data_l1 @ 0xff800000 (192 bytes)

sh_addr: FF800000, p_paddr: 004A1D87

Loading from: 02494000 to 004A1D87, size: 192

## Starting application at 0x0018a310 ...

Linux version 2.6.28-rc2-ADI-2009R1-pre-svn5746 (test@40-bf537-toolchain) (gcc

version 4.1.2 (ADI svn)) #27 Mon Nov 24 17:18:58 CST 2008

console [early_BFuart0] enabled

early printk enabled on early_BFuart0

Warning: limiting memory to 56MB due to hardware anomaly 05000263

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0010a340

  rodata    = 0x0010a340-0x0015adc0

  bss       = 0x0015adc0-0x0016adb4

  data      = 0x0016adb4-0x0017c000

    stack   = 0x0017a000-0x0017c000

  init      = 0x0017c000-0x004a2000

  available = 0x004a2000-0x037ff000

  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-BF537 Rev 0.2

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 500 MHz core clock and 100 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: 14223

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

panic=3 ip=10.100.4.50

ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:Bf

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: 52016k/65536k RAM, (3224k init code, 1060k kernel code, 456k

data, 1024k dma, 7756k reserved)

Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)

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

PDA for CPU0 reserved at 0015c144

net_namespace: 288 bytes

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

stamp_init(): registering device resources

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 101

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

Serial: Blackfin serial driver

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

brd: module loaded

bfin_mac_mdio: probed

bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1,

mdc_clk=2500000Hz(mdc_div=19)@sclk=100MHz)

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

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)

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 1970-01-03 00:45:09 UTC (175509)

IP-Config: Complete:

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

     host=BF537, domain=, nis-domain=(none),

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=

Freeing unused kernel memory: 3224k freed

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

00:45:11 up 0 min, load average: 0.00, 0.00, 0.00

                           _____________________________________

        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.12.2 (2008-11-24 17:15:02 CST) built-in shell (msh)

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

 

root:/> PHY: 0:01 - Link is Up - 100/Full

NULL pointer access

Deferred Exception context

CURRENT PROCESS:

COMM=signull.20011 PID=167

CPU = 0

TEXT = 0x003ba000-0x003bbca4        DATA = 0x003b7ca4-0x003b7f94

BSS = 0x003b7f94-0x032a0000  USER-STACK = 0x032bfea0

 

return address: [0x003ba9a4]; contents of:

0x003ba980:  9152  bbfa  2020  b9ca  e410  0016  3210  9152

0x003ba990:  6008  9310  6008  bbf0  2016  b9ca  e410  0005

0x003ba9a0:  3210  9152 [9151] ac53  0061  bbf0  200c  b9ca

0x003ba9b0:  e410  0014  3210  9152  9151  ac53  0061  bbf0

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00062027  IPEND: 0030  SYSCFG: 0006

  EXCAUSE   : 0x27

RETE: <0x00000000> { _do_one_initcall + 0xfffff000 }

RETN: <0x003ba000> [ /tmp/signull.20011 + 0x0 ]

RETX: <0x00000480> /* Maybe fixed code section */

RETS: <0x003baa4e> [ /tmp/signull.20011 + 0xa4e ]

PC  : <0x003ba9a4> [ /tmp/signull.20011 + 0x9a4 ]

DCPLB_FAULT_ADDR: <0x00000000> { _do_one_initcall + 0xfffff000 }

ICPLB_FAULT_ADDR: <0x003ba9a4> [ /tmp/signull.20011 + 0x9a4 ]

 

PROCESSOR STATE:

R0 : 003b7f90    R1 : 00000000    R2 : 003b7ee4    R3 : 00000008

R4 : 032bfea4    R5 : 0047cdf8    R6 : 032bff50    R7 : 032bff97

P0 : 000000af    P1 : 032cbf4c    P2 : 00000000    P3 : 003b7dc0

P4 : 0047efdc    P5 : 032bff3c    FP : 032bfd34    SP : 003b9f24

LB0: 032863d1    LT0: 032863c4    LC0: 00000000

LB1: 03285853    LT1: 03285852    LC1: 00000000

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 032bfdd0

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 003bbca0

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 00000000

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000

A0.w: 00000000   A0.x: 00000000   A1.w: 00000000   A1.x: 00000000

USP : 032bfd18  ASTAT: 02002022

 

Hardware Trace:

   0 Target : <0x00004998> { _trap_c + 0x0 }

     Source : <0xffa006fa> { _exception_to_level5 + 0x9e } CALL pcrel

   1 Target : <0xffa0065c> { _exception_to_level5 + 0x0 }

     Source : <0xffa004ee> { _bfin_return_from_exception + 0xe } RTX

   2 Target : <0xffa004e0> { _bfin_return_from_exception + 0x0 }

     Source : <0xffa005b2> { _ex_trap_c + 0x66 } JUMP.S

   3 Target : <0xffa0054c> { _ex_trap_c + 0x0 }

     Source : <0xffa003ca> { _ex_workaround_261 + 0x22 } JUMP.S

   4 Target : <0xffa003a8> { _ex_workaround_261 + 0x0 }

     Source : <0xffa00794> { _trap + 0x38 } JUMP (P4)

   5 Target : <0xffa0077a> { _trap + 0x1e }

     Source : <0xffa00776> { _trap + 0x1a } IF !CC JUMP

   6 Target : <0xffa0075c> { _trap + 0x0 }

     Source : <0xffa004ee> { _bfin_return_from_exception + 0xe } RTX

   7 Target : <0xffa004e0> { _bfin_return_from_exception + 0x0 }

     Source : <0xffa003ba> { _ex_workaround_261 + 0x12 } IF !CC JUMP

   8 Target : <0xffa003a8> { _ex_workaround_261 + 0x0 }

     Source : <0xffa00794> { _trap + 0x38 } JUMP (P4)

   9 Target : <0xffa0077a> { _trap + 0x1e }

     Source : <0xffa00776> { _trap + 0x1a } IF !CC JUMP

  10 Target : <0xffa0075c> { _trap + 0x0 }

     Source : <0x003ba9a2> [ /tmp/signull.20011 + 0x9a2 ] 0x9152

  11 Target : <0x003ba99a> [ /tmp/signull.20011 + 0x99a ]

     Source : <0x003ba966> [ /tmp/signull.20011 + 0x966 ] IF !CC JUMP

  12 Target : <0x003ba94a> [ /tmp/signull.20011 + 0x94a ]

     Source : <0x003ba946> [ /tmp/signull.20011 + 0x946 ] IF CC JUMP

  13 Target : <0x003ba938> [ /tmp/signull.20011 + 0x938 ]

     Source : <0x003baa4a> [ /tmp/signull.20011 + 0xa4a ] CALL pcrel

  14 Target : <0x003baa46> [ /tmp/signull.20011 + 0xa46 ]

     Source : <0x032ef290> [ /lib/libuClibc-0.9.29.so + 0x2f290 ] RTS

  15 Target : <0x032ef27e> [ /lib/libuClibc-0.9.29.so + 0x2f27e ]

     Source : <0x032ce480> [ /lib/libuClibc-0.9.29.so + 0xe480 ] RTS

Userspace Stack

Stack info:

SP: [0x032bfd18] <0x032bfd18> [ signull.20011 + 0x1fd18 ]

FP: (0x032bfd18)

Memory from 0x032bfd10 to 032c0000

032bfd10: 032bff50  0047cdf8 [032bfd30]<032ef27e> 032bff97  003b7dc0

00000000  00000000

032bfd30: 032bfdd8  032bfdd8 <003baa4e> 03286f6c  03286924  003bc1b4

003b7dc0  00349720

032bfd50: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

032bfd70: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

032bfd90: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

032bfdb0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

032bfdd0: 00000000  00000000  032bfe64 <032f3b34> 03286f6c  03286924

003bc1b4  00000000

032bfdf0: 00000000  00000000  00000000  00000000  00000000  00000003  003ba034

00000004

032bfe10: 00000020  00000005  00000006  00000006  00001000  00000007  03280000

00000008

032bfe30: 00000000  00000009  003ba648  00000000  00000000  0000000b  00000000

0000000c

032bfe50: 00000000  0000000d  00000000  0000000e  00000000  00000000

<003ba676> 003bc1e8

032bfe70: 003ba648  003bc1e0  032bff50  032bff70 <003ba64c> 003496fc

00000001  003bc1e0

032bfe90: 003496f4  003496ec  003bc1e0  032bff7c  00000001  032bff97  00000000

032bffaa

032bfeb0:<032bffb4> 032bffbd  032bffd0  032bffde  00000000  00000010

00000000  00000006

032bfed0: 00001000  00000011  00000064  00000003  003ba034  00000004  00000020

00000005

032bfef0: 00000006  00000007  03280000  00000008  00000000  00000009  003ba648

0000000b

032bff10: 00000000  0000000c  00000000  0000000d  00000000  0000000e  00000000

00000017

032bff30: 00000000  0000001f  0001ffe9  00000000  00000000  00000000  00000000

00000000

032bff50: 00020000  03280000  00000000  0000708c  003bc08c  0000b08c  0000044c

00000000

032bff70: 00020000  003ba000  00000000  00001ca4  003b7ca4 <00005ca4>

000002f0  00000000

032bff90: 00000000  2f000000  2f706d74  6e676973  2e6c6c75  31303032  53550031

723d5245

032bffb0: 00746f6f  4e474f4c  3d454d41  54415000  752f3d48  622f7273  2f3a6e69

006e6962

032bffd0: 4c454853  622f3d4c  732f6e69  4f480068  2f3d454d  746f6f72  6d742f00

69732f70

032bfff0: 6c756e67  30322e6c  00313130  00000000  464c457f

Return addresses in stack:

   frame  1 : <0x032ef27e> [ /lib/libuClibc-0.9.29.so + 0x2f27e ]

    address : <0x003baa4e> [ /tmp/signull.20011 + 0xa4e ]

   frame  3 : <0x032f3b34> [ /lib/libuClibc-0.9.29.so + 0x33b34 ]

   frame  4 : <0x003ba676> [ /tmp/signull.20011 + 0x676 ]

    address : <0x003ba64c> [ /tmp/signull.20011 + 0x64c ]

    address : <0x032bffb4> [ signull.20011 + 0x1ffb4 ]

    address : <0x00005ca4> { _bfin_gpio_get_value + 0x18 }

NULL pointer access

Deferred Exception context

CURRENT PROCESS:

COMM=signull.20011 PID=171

CPU = 0

TEXT = 0x00354000-0x00355ca4        DATA = 0x003bfca4-0x003bff94

BSS = 0x003bff94-0x03300000  USER-STACK = 0x0331fea0

 

return address: [0x00354980]; contents of:

0x00354960:  1827  b9e0  0d88  181a  b9e0  0c10  1805  b9e0

0x00354970:  0c18  180a  2027  b9ca  e410  0016  3210  9152

0x00354980: [9152] bbfa  2020  b9ca  e410  0016  3210  9152

0x00354990:  6008  9310  6008  bbf0  2016  b9ca  e410  0005

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00062027  IPEND: 0030  SYSCFG: 0006

  EXCAUSE   : 0x27

RETE: <0x00000000> { _do_one_initcall + 0xfffff000 }

RETN: <0x0034c000> /* kernel dynamic memory */

RETX: <0x00000480> /* Maybe fixed code section */

RETS: <0x00354a4e> [ /tmp/signull.20011 + 0xa4e ]

PC  : <0x00354980> [ /tmp/signull.20011 + 0x980 ]

DCPLB_FAULT_ADDR: <0x00000000> { _do_one_initcall + 0xfffff000 }

ICPLB_FAULT_ADDR: <0x00354980> [ /tmp/signull.20011 + 0x980 ]

 

PROCESSOR STATE:

R0 : 003bff8c    R1 : 00000000    R2 : 003bfee4    R3 : 00000008

R4 : 0331fea4    R5 : 003b8df8    R6 : 0331ff50    R7 : 0331ff97

P0 : 000000af    P1 : 003cbf4c    P2 : 00000000    P3 : 003bfdc0

P4 : 003bafdc    P5 : 0331ff3c    FP : 0331fd34    SP : 0034bf24

LB0: 0328e3d1    LT0: 0328e3c4    LC0: 00000000

LB1: 0328d853    LT1: 0328d852    LC1: 00000000

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 0331fdd0

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 00355ca0

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 00000000

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000

A0.w: 00000000   A0.x: 00000000   A1.w: 00000000   A1.x: 00000000

USP : 0331fd18  ASTAT: 02003025

 

Hardware Trace:

   0 Target : <0x00004998> { _trap_c + 0x0 }

     Source : <0xffa006fa> { _exception_to_level5 + 0x9e } CALL pcrel

   1 Target : <0xffa0065c> { _exception_to_level5 + 0x0 }

     Source : <0xffa004ee> { _bfin_return_from_exception + 0xe } RTX

   2 Target : <0xffa004e0> { _bfin_return_from_exception + 0x0 }

     Source : <0xffa005b2> { _ex_trap_c + 0x66 } JUMP.S

   3 Target : <0xffa0054c> { _ex_trap_c + 0x0 }

     Source : <0xffa003ca> { _ex_workaround_261 + 0x22 } JUMP.S

   4 Target : <0xffa003a8> { _ex_workaround_261 + 0x0 }

     Source : <0xffa00794> { _trap + 0x38 } JUMP (P4)

   5 Target : <0xffa0077a> { _trap + 0x1e }

     Source : <0xffa00776> { _trap + 0x1a } IF !CC JUMP

   6 Target : <0xffa0075c> { _trap + 0x0 }

     Source : <0xffa004ee> { _bfin_return_from_exception + 0xe } RTX

   7 Target : <0xffa004e0> { _bfin_return_from_exception + 0x0 }

     Source : <0xffa003ba> { _ex_workaround_261 + 0x12 } IF !CC JUMP

   8 Target : <0xffa003a8> { _ex_workaround_261 + 0x0 }

     Source : <0xffa00794> { _trap + 0x38 } JUMP (P4)

   9 Target : <0xffa0077a> { _trap + 0x1e }

     Source : <0xffa00776> { _trap + 0x1a } IF !CC JUMP

  10 Target : <0xffa0075c> { _trap + 0x0 }

     Source : <0x0035497e> [ /tmp/signull.20011 + 0x97e ] 0x9152

  11 Target : <0x00354976> [ /tmp/signull.20011 + 0x976 ]

     Source : <0x0035496c> [ /tmp/signull.20011 + 0x96c ] IF !CC JUMP

  12 Target : <0x00354952> [ /tmp/signull.20011 + 0x952 ]

     Source : <0xffa00b92> { _schedule_and_signal + 0xe4 } RTI

  13 Target : <0xffa00b30> { _schedule_and_signal + 0x82 }

     Source : <0xffa0091c> { _system_call + 0xb8 } RTS

  14 Target : <0xffa00916> { _system_call + 0xb2 }

     Source : <0x000035ba> { _do_signal + 0x9c6 } RTS

  15 Target : <0x000035ae> { _do_signal + 0x9ba }

     Source : <0x0000357a> { _do_signal + 0x986 } IF !CC JUMP

Userspace Stack

Stack info:

SP: [0x0331fd18] <0x0331fd18> [ signull.20011 + 0x1fd18 ]

FP: (0x0331fd18)

Memory from 0x0331fd10 to 03320000

0331fd10: 0331ff50  003b8df8 [0331fd30]<003ef27e> 0331ff97  003bfdc0

00000000  00000002

0331fd30: 0331fdd8  0331fdd8 <00354a4e> 0328ef6c  0328e924  003561b4

003bfdc0  003bd720

0331fd50: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

0331fd70: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

0331fd90: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

0331fdb0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

0331fdd0: 00000000  00000000  0331fe64 <003f3b34> 0328ef6c  0328e924

003561b4  00000000

0331fdf0: 00000000  00000000  00000000  00000000  00000000  00000003  00354034

00000004

0331fe10: 00000020  00000005  00000006  00000006  00001000  00000007  03288000

00000008

0331fe30: 00000000  00000009  00354648  00000000  00000000  0000000b  00000000

0000000c

0331fe50: 00000000  0000000d  00000000  0000000e  00000000  00000000

<00354676> 003561e8

0331fe70: 00354648  003561e0  0331ff50  0331ff70 <0035464c> 003bd6fc

00000001  003561e0

0331fe90: 003bd6f4  003bd6ec  003561e0  0331ff7c  00000001  0331ff97  00000000

0331ffaa

0331feb0:<0331ffb4> 0331ffbd  0331ffd0  0331ffde  00000000  00000010

00000000  00000006

0331fed0: 00001000  00000011  00000064  00000003  00354034  00000004  00000020

00000005

0331fef0: 00000006  00000007  03288000  00000008  00000000  00000009  00354648

0000000b

0331ff10: 00000000  0000000c  00000000  0000000d  00000000  0000000e  00000000

00000017

0331ff30: 00000000  0000001f  0001ffe9  00000000  00000000  00000000  00000000

00000000

0331ff50: 00020000  03288000  00000000  0000708c  0035608c  0000b08c  0000044c

00000000

0331ff70: 00020000  00354000  00000000  00001ca4  003bfca4 <00005ca4>

000002f0  00000000

0331ff90: 00000000  2f000000  2f706d74  6e676973  2e6c6c75  31303032  53550031

723d5245

0331ffb0: 00746f6f  4e474f4c  3d454d41  54415000  752f3d48  622f7273  2f3a6e69

006e6962

0331ffd0: 4c454853  622f3d4c  732f6e69  4f480068  2f3d454d  746f6f72  6d742f00

69732f70

0331fff0: 6c756e67  30322e6c  00313130  00000000  91285f55

Return addresses in stack:

   frame  1 : <0x003ef27e> [ /lib/libuClibc-0.9.29.so + 0x2f27e ]

    address : <0x00354a4e> [ /tmp/signull.20011 + 0xa4e ]

   frame  3 : <0x003f3b34> [ /lib/libuClibc-0.9.29.so + 0x33b34 ]

   frame  4 : <0x00354676> [ /tmp/signull.20011 + 0x676 ]

    address : <0x0035464c> [ /tmp/signull.20011 + 0x64c ]

    address : <0x0331ffb4> [ signull.20011 + 0x1ffb4 ]

    address : <0x00005ca4> { _bfin_gpio_get_value + 0x18 }

NULL pointer access

Deferred Exception context

CURRENT PROCESS:

COMM=signull.20011 PID=171

CPU = 0

TEXT = 0x00354000-0x00355ca4        DATA = 0x003bfca4-0x003bff94

BSS = 0x003bff94-0x03300000  USER-STACK = 0x0331fea0

 

return address: [0x00354992]; contents of:

0x00354970:  0c18  180a  2027  b9ca  e410  0016  3210  9152

0x00354980:  9152  bbfa  2020  b9ca  e410  0016  3210  9152

0x00354990:  6008 [9310] 6008  bbf0  2016  b9ca  e410  0005

0x003549a0:  3210  9152  9151  ac53  0061  bbf0  200c  b9ca

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00062027  IPEND: 0030  SYSCFG: 0006

  EXCAUSE   : 0x27

RETE: <0x00000000> { _do_one_initcall + 0xfffff000 }

RETN: <0x0034c000> /* kernel dynamic memory */

RETX: <0x00000480> /* Maybe fixed code section */

RETS: <0x00354a4e> [ /tmp/signull.20011 + 0xa4e ]

PC  : <0x00354992> [ /tmp/signull.20011 + 0x992 ]

DCPLB_FAULT_ADDR: <0x00000000> { _do_one_initcall + 0xfffff000 }

ICPLB_FAULT_ADDR: <0x00354992> [ /tmp/signull.20011 + 0x992 ]

 

PROCESSOR STATE:

R0 : 00000001    R1 : 00000001    R2 : 00000000    R3 : 00000002

R4 : 0331fea4    R5 : 003b8df8    R6 : 0331ff50    R7 : 0331ff97

P0 : 000000ae    P1 : 003cbf4c    P2 : 00000000    P3 : 003bfdc0

P4 : 003bafdc    P5 : 0331ff3c    FP : 0331fd34    SP : 0034bf24

LB0: 0328e3d1    LT0: 0328e3c4    LC0: 00000000

LB1: 0328d853    LT1: 0328d852    LC1: 00000000

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 0331fdd0

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 00355ca0

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 00000000

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000

A0.w: 00000000   A0.x: 00000000   A1.w: 00000000   A1.x: 00000000

USP : 0331fd18  ASTAT: 02003025

 

Hardware Trace:

   0 Target : <0x00004998> { _trap_c + 0x0 }

     Source : <0xffa006fa> { _exception_to_level5 + 0x9e } CALL pcrel

   1 Target : <0xffa0065c> { _exception_to_level5 + 0x0 }

     Source : <0xffa004ee> { _bfin_return_from_exception + 0xe } RTX

   2 Target : <0xffa004e0> { _bfin_return_from_exception + 0x0 }

     Source : <0xffa005b2> { _ex_trap_c + 0x66 } JUMP.S

   3 Target : <0xffa0054c> { _ex_trap_c + 0x0 }

     Source : <0xffa003ca> { _ex_workaround_261 + 0x22 } JUMP.S

   4 Target : <0xffa003a8> { _ex_workaround_261 + 0x0 }

     Source : <0xffa00794> { _trap + 0x38 } JUMP (P4)

   5 Target : <0xffa0077a> { _trap + 0x1e }

     Source : <0xffa00776> { _trap + 0x1a } IF !CC JUMP

   6 Target : <0xffa0075c> { _trap + 0x0 }

     Source : <0xffa004ee> { _bfin_return_from_exception + 0xe } RTX

   7 Target : <0xffa004e0> { _bfin_return_from_exception + 0x0 }

     Source : <0xffa003ba> { _ex_workaround_261 + 0x12 } IF !CC JUMP

   8 Target : <0xffa003a8> { _ex_workaround_261 + 0x0 }

     Source : <0xffa00794> { _trap + 0x38 } JUMP (P4)

   9 Target : <0xffa0077a> { _trap + 0x1e }

     Source : <0xffa00776> { _trap + 0x1a } IF !CC JUMP

  10 Target : <0xffa0075c> { _trap + 0x0 }

     Source : <0x00354990> [ /tmp/signull.20011 + 0x990 ] 0x6008

  11 Target : <0x00354986> [ /tmp/signull.20011 + 0x986 ]

     Source : <0x00354972> [ /tmp/signull.20011 + 0x972 ] IF !CC JUMP

  12 Target : <0x00354952> [ /tmp/signull.20011 + 0x952 ]

     Source : <0xffa00b92> { _schedule_and_signal + 0xe4 } RTI

  13 Target : <0xffa00b30> { _schedule_and_signal + 0x82 }

     Source : <0xffa0091c> { _system_call + 0xb8 } RTS

  14 Target : <0xffa00916> { _system_call + 0xb2 }

     Source : <0x000035ba> { _do_signal + 0x9c6 } RTS

  15 Target : <0x000035ae> { _do_signal + 0x9ba }

     Source : <0x0000357a> { _do_signal + 0x986 } IF !CC JUMP

Userspace Stack

Stack info:

SP: [0x0331fd18] <0x0331fd18> [ signull.20011 + 0x1fd18 ]

FP: (0x0331fd18)

Memory from 0x0331fd10 to 03320000

0331fd10: 00000000  003b8df8 [0331fd30]<003ef27e> 0331ff97  003bfdc0

00000000  00000003

0331fd30: 0331fdd8  0331fdd8 <00354a4e> 0328ef6c  0328e924  003561b4

003bfdc0  003bd720

0331fd50: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

0331fd70: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

0331fd90: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

0331fdb0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

0331fdd0: 00000000  00000000  0331fe64 <003f3b34> 0328ef6c  0328e924

003561b4  00000000

0331fdf0: 00000000  00000000  00000000  00000000  00000000  00000003  00354034

00000004

0331fe10: 00000020  00000005  00000006  00000006  00001000  00000007  03288000

00000008

0331fe30: 00000000  00000009  00354648  00000000  00000000  0000000b  00000000

0000000c

0331fe50: 00000000  0000000d  00000000  0000000e  00000000  00000000

<00354676> 003561e8

0331fe70: 00354648  003561e0  0331ff50  0331ff70 <0035464c> 003bd6fc

00000001  003561e0

0331fe90: 003bd6f4  003bd6ec  003561e0  0331ff7c  00000001  0331ff97  00000000

0331ffaa

0331feb0:<0331ffb4> 0331ffbd  0331ffd0  0331ffde  00000000  00000010

00000000  00000006

0331fed0: 00001000  00000011  00000064  00000003  00354034  00000004  00000020

00000005

0331fef0: 00000006  00000007  03288000  00000008  00000000  00000009  00354648

0000000b

0331ff10: 00000000  0000000c  00000000  0000000d  00000000  0000000e  00000000

00000017

0331ff30: 00000000  0000001f  0001ffe9  00000000  00000000  00000000  00000000

00000000

0331ff50: 00020000  03288000  00000000  0000708c  0035608c  0000b08c  0000044c

00000000

0331ff70: 00020000  00354000  00000000  00001ca4  003bfca4 <00005ca4>

000002f0  00000000

0331ff90: 00000000  2f000000  2f706d74  6e676973  2e6c6c75  31303032  53550031

723d5245

0331ffb0: 00746f6f  4e474f4c  3d454d41  54415000  752f3d48  622f7273  2f3a6e69

006e6962

0331ffd0: 4c454853  622f3d4c  732f6e69  4f480068  2f3d454d  746f6f72  6d742f00

69732f70

0331fff0: 6c756e67  30322e6c  00313130  00000000  91285f55

Return addresses in stack:

   frame  1 : <0x003ef27e> [ /lib/libuClibc-0.9.29.so + 0x2f27e ]

    address : <0x00354a4e> [ /tmp/signull.20011 + 0xa4e ]

   frame  3 : <0x003f3b34> [ /lib/libuClibc-0.9.29.so + 0x33b34 ]

   frame  4 : <0x00354676> [ /tmp/signull.20011 + 0x676 ]

    address : <0x0035464c> [ /tmp/signull.20011 + 0x64c ]

    address : <0x0331ffb4> [ signull.20011 + 0x1ffb4 ]

    address : <0x00005ca4> { _bfin_gpio_get_value + 0x18 }

Jump to NULL address

Deferred Exception context

CURRENT PROCESS:

COMM=signull.20011 PID=171

CPU = 0

TEXT = 0x00354000-0x00355ca4        DATA = 0x003bfca4-0x003bff94

BSS = 0x003bff94-0x03300000  USER-STACK = 0x0331fea0

 

return address: [0x00000000]; contents of:

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 0006202d  IPEND: 0030  SYSCFG: 0006

  EXCAUSE   : 0x2d

RETE: <0x00000000> { _do_one_initcall + 0xfffff000 }

RETN: <0x0034c000> /* kernel dynamic memory */

RETX: <0x00000480> /* Maybe fixed code section */

RETS: <0x003549be> [ /tmp/signull.20011 + 0x9be ]

PC  : <0x00000000> { _do_one_initcall + 0xfffff000 }

DCPLB_FAULT_ADDR: <0x003bff68> [ /tmp/signull.20011 + 0x1f68 ]

ICPLB_FAULT_ADDR: <0x00000000> { _do_one_initcall + 0xfffff000 }

 

PROCESSOR STATE:

R0 : 003bfd90    R1 : 00000001    R2 : 00000000    R3 : 00000002

R4 : 0331fea4    R5 : 003b8df8    R6 : 0331ff50    R7 : 0331ff97

P0 : 000000ae    P1 : 00000000    P2 : 003bff64    P3 : 00000000

P4 : 003bafdc    P5 : 0331ff3c    FP : 0331fd34    SP : 0034bf24

LB0: 0328e3d1    LT0: 0328e3c4    LC0: 00000000

LB1: 0328d853    LT1: 0328d852    LC1: 00000000

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 0331fdd0

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 00355ca0

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 00000000

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000

A0.w: 00000000   A0.x: 00000000   A1.w: 00000000   A1.x: 00000000

USP : 0331fd18  ASTAT: 02003025

 

Hardware Trace:

   0 Target : <0x00004998> { _trap_c + 0x0 }

     Source : <0xffa006fa> { _exception_to_level5 + 0x9e } CALL pcrel

   1 Target : <0xffa0065c> { _exception_to_level5 + 0x0 }

     Source : <0xffa004ee> { _bfin_return_from_exception + 0xe } RTX

   2 Target : <0xffa004e0> { _bfin_return_from_exception + 0x0 }

     Source : <0xffa005b2> { _ex_trap_c + 0x66 } JUMP.S

   3 Target : <0xffa0054c> { _ex_trap_c + 0x0 }

     Source : <0xffa00794> { _trap + 0x38 } JUMP (P4)

   4 Target : <0xffa0077a> { _trap + 0x1e }

     Source : <0xffa00776> { _trap + 0x1a } IF !CC JUMP

   5 Target : <0xffa0075c> { _trap + 0x0 }

     Source : <0x003549bc> [ /tmp/signull.20011 + 0x9bc ] CALL (P1)

   6 Target : <0x003549ae> [ /tmp/signull.20011 + 0x9ae ]

     Source : <0x00354960> [ /tmp/signull.20011 + 0x960 ] IF !CC JUMP

   7 Target : <0x00354952> [ /tmp/signull.20011 + 0x952 ]

     Source : <0xffa00b92> { _schedule_and_signal + 0xe4 } RTI

   8 Target : <0xffa00b30> { _schedule_and_signal + 0x82 }

     Source : <0xffa0091c> { _system_call + 0xb8 } RTS

   9 Target : <0xffa00916> { _system_call + 0xb2 }

     Source : <0x000035ba> { _do_signal + 0x9c6 } RTS

  10 Target : <0x000035ae> { _do_signal + 0x9ba }

     Source : <0x0000357a> { _do_signal + 0x986 } IF !CC JUMP

  11 Target : <0x0000356c> { _do_signal + 0x978 }

     Source : <0x00003568> { _do_signal + 0x974 } IF !CC JUMP

  12 Target : <0x00003550> { _do_signal + 0x95c }

     Source : <0x00002c56> { _do_signal + 0x62 } JUMP.S

  13 Target : <0x00002c4e> { _do_signal + 0x5a }

     Source : <0x00018ba8> { _get_signal_to_deliver + 0x210 } RTS

  14 Target : <0x00018b98> { _get_signal_to_deliver + 0x200 }

     Source : <0x00018a0a> { _get_signal_to_deliver + 0x72 } IF !CC JUMP

  15 Target : <0x00018a06> { _get_signal_to_deliver + 0x6e }

     Source : <0x00018196> { _dequeue_signal + 0x6a } RTS

Userspace Stack

Stack info:

SP: [0x0331fd18] <0x0331fd18> [ signull.20011 + 0x1fd18 ]

FP: (0x0331fd18)

Memory from 0x0331fd10 to 03320000

0331fd10: 00000000  003b8df8 [0331fd30]<003ef27e> 0331ff97  003bfdc0

00000000  00000001

0331fd30: 0331fdd8  0331fdd8 <00354a4e> 0328ef6c  0328e924  003561b4

003bfdc0  003bd720

0331fd50: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

0331fd70: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

0331fd90: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

0331fdb0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000

00000000

0331fdd0: 00000000  00000000  0331fe64 <003f3b34> 0328ef6c  0328e924

003561b4  00000000

0331fdf0: 00000000  00000000  00000000  00000000  00000000  00000003  00354034

00000004

0331fe10: 00000020  00000005  00000006  00000006  00001000  00000007  03288000

00000008

0331fe30: 00000000  00000009  00354648  00000000  00000000  0000000b  00000000

0000000c

0331fe50: 00000000  0000000d  00000000  0000000e  00000000  00000000

<00354676> 003561e8

0331fe70: 00354648  003561e0  0331ff50  0331ff70 <0035464c> 003bd6fc

00000001  003561e0

0331fe90: 003bd6f4  003bd6ec  003561e0  0331ff7c  00000001  0331ff97  00000000

0331ffaa

0331feb0:<0331ffb4> 0331ffbd  0331ffd0  0331ffde  00000000  00000010

00000000  00000006

0331fed0: 00001000  00000011  00000064  00000003  00354034  00000004  00000020

00000005

0331fef0: 00000006  00000007  03288000  00000008  00000000  00000009  00354648

0000000b

0331ff10: 00000000  0000000c  00000000  0000000d  00000000  0000000e  00000000

00000017

0331ff30: 00000000  0000001f  0001ffe9  00000000  00000000  00000000  00000000

00000000

0331ff50: 00020000  03288000  00000000  0000708c  0035608c  0000b08c  0000044c

00000000

0331ff70: 00020000  00354000  00000000  00001ca4  003bfca4 <00005ca4>

000002f0  00000000

0331ff90: 00000000  2f000000  2f706d74  6e676973  2e6c6c75  31303032  53550031

723d5245

0331ffb0: 00746f6f  4e474f4c  3d454d41  54415000  752f3d48  622f7273  2f3a6e69

006e6962

0331ffd0: 4c454853  622f3d4c  732f6e69  4f480068  2f3d454d  746f6f72  6d742f00

69732f70

0331fff0: 6c756e67  30322e6c  00313130  00000000  91285f55

Return addresses in stack:

   frame  1 : <0x003ef27e> [ /lib/libuClibc-0.9.29.so + 0x2f27e ]

    address : <0x00354a4e> [ /tmp/signull.20011 + 0xa4e ]

   frame  3 : <0x003f3b34> [ /lib/libuClibc-0.9.29.so + 0x33b34 ]

   frame  4 : <0x00354676> [ /tmp/signull.20011 + 0x676 ]

    address : <0x0035464c> [ /tmp/signull.20011 + 0x64c ]

    address : <0x0331ffb4> [ signull.20011 + 0x1ffb4 ]

    address : <0x00005ca4> { _bfin_gpio_get_value + 0x18 }

NULL pointer access

Deferred Exception context

CURRENT PROCESS:

COMM=bs15503.20011 PID=742

CPU = 0

TEXT = 0x0324c000-0x0324d5ec        DATA = 0x032425ec-0x03242944

BSS = 0x03242944-0x00920000  USER-STACK = 0x0093fea0

 

return address: [0x008ddef4]; contents of:

0x008dded0:  0793  0691  e51b  0266  3071  5a91  5016  305a

0x008ddee0:  e6b0  000c  505a  3057  9159  67fa  ac5b  0061

0x008ddef0:  e801  0000 [9328] 05b5  0010  e418  0152  e3fe

0x008ddf00:  a0d2  321f  e3fe  a0f2  3208  0578  e800  0004

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00062027  IPEND: 0030  SYSCFG: 0006

  EXCAUSE   : 0x27

RETE: <0x00000000> { _do_one_initcall + 0xfffff000 }

RETN: <0x0324c000> [ /tmp/bs15503.20011 + 0x0 ]

RETX: <0x00000480> /* Maybe fixed code section */

RETS: <0x008ddf30> [ /lib/libstdc++.so.6.0.8 + 0x5df30 ]

PC  : <0x008ddef4> [ /lib/libstdc++.so.6.0.8 + 0x5def4 ]

DCPLB_FAULT_ADDR: <0x00000004> /* Maybe null pointer? */

ICPLB_FAULT_ADDR: <0x008ddef4> [ /lib/libstdc++.so.6.0.8 + 0x5def4 ]

 

PROCESSOR STATE:

R0 : 00878644    R1 : 0000006d    R2 : 00000004    R3 : 00878684

R4 : 0093fea4    R5 : 00878df8    R6 : 008786a0    R7 : 033d26e0

P0 : 00878648    P1 : 0095f934    P2 : 00878648    P3 : 00878df8

P4 : 0087afdc    P5 : 00000004    FP : 0093fd5c    SP : 0324bf24

LB0: 0095f979    LT0: 0095f976    LC0: 00000000

LB1: 008c3af3    LT1: 008c3aea    LC1: 00000000

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 008786c8

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 00878df8

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 00000000

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000

A0.w: 00000000   A0.x: 00000000   A1.w: 00000000   A1.x: 00000000

USP : 0093fd40  ASTAT: 02002000

 

Hardware Trace:

   0 Target : <0x00004998> { _trap_c + 0x0 }

     Source : <0xffa006fa> { _exception_to_level5 + 0x9e } CALL pcrel

   1 Target : <0xffa0065c> { _exception_to_level5 + 0x0 }

     Source : <0xffa004ee> { _bfin_return_from_exception + 0xe } RTX

   2 Target : <0xffa004e0> { _bfin_return_from_exception + 0x0 }

     Source : <0xffa005b2> { _ex_trap_c + 0x66 } JUMP.S

   3 Target : <0xffa0054c> { _ex_trap_c + 0x0 }

     Source : <0xffa003ca> { _ex_workaround_261 + 0x22 } JUMP.S

   4 Target : <0xffa003a8> { _ex_workaround_261 + 0x0 }

     Source : <0xffa00794> { _trap + 0x38 } JUMP (P4)

   5 Target : <0xffa0077a> { _trap + 0x1e }

     Source : <0xffa00776> { _trap + 0x1a } IF !CC JUMP

   6 Target : <0xffa0075c> { _trap + 0x0 }

     Source : <0xffa004ee> { _bfin_return_from_exception + 0xe } RTX

   7 Target : <0xffa004e0> { _bfin_return_from_exception + 0x0 }

     Source : <0xffa003ba> { _ex_workaround_261 + 0x12 } IF !CC JUMP

   8 Target : <0xffa003a8> { _ex_workaround_261 + 0x0 }

     Source : <0xffa00794> { _trap + 0x38 } JUMP (P4)

   9 Target : <0xffa0077a> { _trap + 0x1e }

     Source : <0xffa00776> { _trap + 0x1a } IF !CC JUMP

  10 Target : <0xffa0075c> { _trap + 0x0 }

     Source : <0x008ddef0> [ /lib/libstdc++.so.6.0.8 + 0x5def0 ] 0xe801

  11 Target : <0x008ddef0> [ /lib/libstdc++.so.6.0.8 + 0x5def0 ]

     Source : <0x008dde0e> [ /lib/libstdc++.so.6.0.8 + 0x5de0e ] RTS

  12 Target : <0x008dddfa> [ /lib/libstdc++.so.6.0.8 + 0x5ddfa ]

     Source : <0x0095f97c> [ /lib/libuClibc-0.9.29.so + 0x1f97c ] RTS

  13 Target : <0x0095f96e> [ /lib/libuClibc-0.9.29.so + 0x1f96e ]

     Source : <0x0095f93e> [ /lib/libuClibc-0.9.29.so + 0x1f93e ] IF !CC

JUMP

  14 Target : <0x0095f934> [ /lib/libuClibc-0.9.29.so + 0x1f934 ]

     Source : <0x008b175e> [ /lib/libstdc++.so.6.0.8 + 0x3175e ] JUMP

(P1)

  15 Target : <0x008b1756> [ /lib/libstdc++.so.6.0.8 + 0x31756 ]

     Source : <0x008dddf6> [ /lib/libstdc++.so.6.0.8 + 0x5ddf6 ] CALL

pcrel

Userspace Stack

Stack info:

SP: [0x0093fd40] <0x0093fd40> [ bs15503.20011 + 0x1fd40 ]

FP: (0x0093fda4)

Memory from 0x0093fd40 to 00940000

0093fd40:[0093ff3c] 00000004  0093ff50  0093ff50  00878df8  0093fea4  00000004

0093fda4

0093fd60: 0324cbfc  032428a8  0093fd90  00000000  00000004  0093ff50  0093fd98

0093fd9c

0093fd80:<009498d2> 033e7730  032428a8  033d3818  008786a0  0093fda8

00878644  0000000a

0093fda0: 0093fe64 (0093fdbc)<0324d242> 032428a8  0093fdd0  0093ff3c

0087afdc (0093fdd4)

0093fdc0:<0324cfae> 0093fdd0 <03253ef6> 00000050  0324271c

(0093fe64)<00973b34> 0093ff97

0093fde0: 03256f6c  03256924  032431b4  00000000  00000000  00000000  00000000

00000000

0093fe00: 00000000  00000003  0324c034  00000004  00000020  00000005  00000007

00000006

0093fe20: 00001000  00000007  03250000  00000008  00000000  00000009  0324cbfc

00000000

0093fe40: 00000000  0000000b  00000000  0000000c  00000000  0000000d  00000000

0000000e

0093fe60: 00000000 (00000000)<0324cc2a> 032431e8  0324cbfc  032431e0

0093ff50  0093ff70

0093fe80: 0324cc00  033e9220  00000001  032431e0  033e924c  033e9298  032431e0

0093ff7c

0093fea0: 00000001  0093ff97  00000000  0093ffaa <0093ffb4> 0093ffbd

0093ffd0  0093ffde

0093fec0: 00000000  00000010  00000000  00000006  00001000  00000011  00000064

00000003

0093fee0: 0324c034  00000004  00000020  00000005  00000007  00000007  03250000

00000008

0093ff00: 00000000  00000009  0324cbfc  0000000b  00000000  0000000c  00000000

0000000d

0093ff20: 00000000  0000000e  00000000  00000017  00000000  0000001f  0001ffe9

00000000

0093ff40: 00000000  00000000  00000000  00000000  00020000  03250000  00000000

0000708c

0093ff60: 0324308c  0000b08c  0000044c  00000000  00020000  0324c000  00000000

000015ec

0093ff80: 032425ec  000055ec  00000358  00000000  00000000  2f000000  2f706d74

35317362

0093ffa0: 2e333035  31303032  53550031  723d5245  00746f6f  4e474f4c  3d454d41

54415000

0093ffc0: 752f3d48  622f7273  2f3a6e69  006e6962  4c454853  622f3d4c  732f6e69

4f480068

0093ffe0: 2f3d454d  746f6f72  6d742f00  73622f70  30353531  30322e33  00313130

00000000

00940000: 464c457f

Return addresses in stack:

    address : <0x009498d2> [ /lib/libuClibc-0.9.29.so + 0x98d2 ]

   frame  1 : <0x0324d242> [ /tmp/bs15503.20011 + 0x1242 ]

   frame  2 : <0x0324cfae> [ /tmp/bs15503.20011 + 0xfae ]

    address : <0x03253ef6> [ /lib/ld-uClibc-0.9.29.so + 0x3ef6 ]

   frame  3 : <0x00973b34> [ /lib/libuClibc-0.9.29.so + 0x33b34 ]

   frame  4 : <0x0324cc2a> [ /tmp/bs15503.20011 + 0xc2a ]

    address : <0x0093ffb4> [ bs15503.20011 + 0x1ffb4 ]

 

root:/>

root:/> uptime

10:57:59 up 1 day, 10:12, load average: 0.00, 0.00, 0.00

root:/> date

Sun Jan  4 10:58:36 UTC 1970

root:/> uptime

10:58:43 up 1 day, 10:13, load average: 0.14, 0.03, 0.01

root:/> ls /lib/

ld-uClibc-0.9.29.so     libm.so.0               librt-0.9.29.so

ld-uClibc.so.0          libmudflap.so.0         librt.so.0

libc.so.0               libmudflap.so.0.0.0     libstdc++.so.6

libcrypt-0.9.29.so      libmudflapth.so.0       libstdc++.so.6.0.8

libcrypt.so.0           libmudflapth.so.0.0.0   libthread_db-0.9.29.so

libdl-0.9.29.so         libnsl-0.9.29.so        libthread_db.so.1

libdl.so.0              libnsl.so.0             libuClibc-0.9.29.so

libgcc_s.so.1           libpthread-0.9.29.so    libutil-0.9.29.so

libgfortran.so.1        libpthread.so.0         libutil.so.0

libgfortran.so.1.0.0    libresolv-0.9.29.so     modules

libm-0.9.29.so          libresolv.so.0

root:/> ping 10.100.4.174

PING 10.100.4.174 (10.100.4.174): 56 data bytes

64 bytes from 10.100.4.174: seq=0 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=1 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=2 ttl=64 time=0.000 ms

^C

--- 10.100.4.174 ping statistics ---

 

 

On host:

...

test     18174  0.0  0.0  4044  216 pts/4    S+   Nov26   0:00 /bin/sh

/home/test/work/cruise/test_scripts/toolchain/toolchain-regtest -s

/home/test/work/c

test     20007  0.0  0.0  3768  212 pts/4    S+   Nov26   0:00 sh

test     20011  0.0  0.0  9088  212 pts/4    S+   Nov26   0:52 /usr/bin/expect

-- /usr/share/dejagnu/runtest.exp --tool gdb -all

test     23424  0.0  0.0  1856  180 pts/9    Ss+  Nov26   0:00 rsh -lroot

10.100.4.50 gdbserver :2572 /tmp/signals.20011

test     23427  0.0  0.0  1856  180 pts/9    S+   Nov26   0:00 rsh -lroot

10.100.4.50 gdbserver :2572 /tmp/signals.20011

test     23434  0.0  0.0  4044  216 pts/4    S+   Nov26   0:00 /bin/sh

/home/test/work/cruise/test_scripts/toolchain/toolchain-regtest -s

/home/test/work/c

root     23435  0.0  0.0  1856  172 pts/4    S+   Nov26   0:00 rsh -l root

10.100.4.50 ps

test     23436  0.0  0.0  2616  168 pts/4    S+   Nov26   0:00 grep -v  ps

test     23437  0.0  0.0  2616  168 pts/4    S+   Nov26   0:00 grep -v /rshd

test     23438  0.0  0.0  2616  168 pts/4    S+   Nov26   0:00 grep -v \[

test     23439  0.0  0.0  2616  168 pts/4    S+   Nov26   0:00 grep -v telnetd

test     23440  0.0  0.0  2616  168 pts/4    S+   Nov26   0:00 grep -v /init

test     23441  0.0  0.0  2620  168 pts/4    S+   Nov26   0:00 grep -v  inetd

test     23442  0.0  0.0  2620  168 pts/4    S+   Nov26   0:00 grep -v  PID

test     23443  0.0  0.0  2620  168 pts/4    S+   Nov26   0:00 grep -v [ /]sh

test     23444  0.0  0.0  2620  168 pts/4    S+   Nov26   0:00 grep -v

/s*bin/.*d

test     23445  0.0  0.0  2632  140 pts/4    S+   Nov26   0:00 sed

/^[[:space:]]*$/d

test     26186  0.0  0.0  8940  300 pts/8    Ss+  Nov26   0:00 Xvfb :20011 -ac

test     26197  0.0  0.0 11824  388 pts/4    S+   Nov26   0:00

bfin-linux-uclibc-insight -nx -q

--tclcommand=/home/test/work/cruise/checkouts/toolchain/bin

postfix  29759  0.0  0.2  4700 1464 ?        S    18:52   0:00 pickup -l -t

fifo -u

test     29793  0.0  0.1  2392  724 pts/6    R+   19:03   0:00 ps aux

test@40-bf537-toolchain:~/work/cruise/test_scripts/toolchain/toolchain-build>

rsh -l root 10.100.4.50 ps

  PID USER       VSZ STAT COMMAND

    1 root       108 S    /init

    2 root         0 SW<  [kthreadd]

    3 root         0 SW<  [ksoftirqd/0]

    4 root         0 SW<  [events/0]

    5 root         0 SW<  [khelper]

   37 root         0 SW<  [kblockd/0]

   59 root         0 SW   [pdflush]

   60 root         0 SW   [pdflush]

   61 root         0 SW<  [kswapd0]

   62 root         0 SW<  [aio/0]

  107 root         0 SW<  [mtdblockd]

  108 root         0 SW<  [bfin-spi.0]

  118 root         0 SW<  [hid_compat/0]

  150 root       540 S    -/bin/sh

  151 root        40 S    /sbin/inetd

  152 root       428 S    /sbin/syslogd -n

  153 root       424 S    /sbin/klogd -n

  154 root        32 S    /bin/watchdogd -f -s

1303 root        72 S    /bin/rshd

1304 root       524 S    sh -c ps

1305 root       428 R    ps

 

--- Bernd Schmidt                                            2008-12-10 18:53:36

Did this get fixed by the checksum fix I commited?

 

--- Mingquan Pan                                             2008-12-16 05:06:46

It looks still happening on kernel svn 5854 during g++ testing on hardware-flat

testing.

 

************** Testing is done on target with kernel config (normal).

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

************** Testing 4.1 toolchain on BF527-EZKIT. ************

************** Host SUSE 10.99.29.45. ***********

Testing is running on target with following versios:

kernel:    Linux release 2.6.28-rc2-ADI-2009R1-pre-svn5854, build #23 Fri Dec

12 16:52:01 CST 2008

toolchain: bfin-uclinux-gcc release gcc version 4.1.2 (ADI svn)

user-dist: release svn-7457, build #8 Fri Dec 12 16:50:28 CST 2008

...

*** Running tests on gcc 4.1                        Fri Dec 12 22:48:09 CST

2008

** Testing gcc seems stuck, trying to kill some processes

** This should never happen - board seems OK, but rsh process is stuck?

** I think I just caused the board to crash/reboot? This needs investigation.

** killing process 17380, seemed to fix things

** 17380 pts/3    S      0:00 rsh -l root 10.100.4.50 sh -c

'/tmp/strcpy.x4.10781 ; echo XYZ${?}ZYX'

** Testing gcc seems stuck, trying to kill some processes

** This should never happen - board seems OK, but rsh process is stuck?

** I think I just caused the board to crash/reboot? This needs investigation.

** killing process 2636, seemed to fix things

**  2636 pts/3    S      0:00 rsh -l root 10.100.4.50 sh -c 'rm -f

/tmp/20000715-1.x2.10781 ; echo XYZ${?}ZYX'

** Testing gcc seems stuck, trying to kill some processes

** This should never happen - board seems OK, but rsh process is stuck?

** I think I just caused the board to crash/reboot? This needs investigation.

** killing process 11981, seemed to fix things

** 11981 pts/3    S      0:00 rsh -l root 10.100.4.50 sh -c 'rm -f

/tmp/20001027-1.x3.10781 ; echo XYZ${?}ZYX'

** Testing gcc seems stuck, trying to kill some processes

** This should never happen - board seems OK, but rsh process is stuck?

** I think I just caused the board to crash/reboot? This needs investigation.

** killing process 24073, seemed to fix things

 

--- Bernd Schmidt                                            2008-12-16 05:28:02

Reopening and assigning to Bryan.  Grace, it would help if we had an idea at

which kernel revision this started happening.

 

--- Mingquan Pan                                             2008-12-18 03:02:59

At least the kernel of 2.6.26 (svn 5401) of Oct 11 still works for toolchain

testing, through occasionlly would see this stuck issue, most of the time, the

testing results can be produced. But after the kernel is upgraded to

2.6.28(about Oct 29), I build a new kernel, then it is always seeing the testing

stop at the rcp process. I can try with a version that is right before the

upgrade to see if there is a problem.

 

--- Mingquan Pan                                             2008-12-23 04:52:51

I try with the kernel right before the kernel update:

************** Testing is done on target with kernel config (normal).

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

************** Testing 4.1 toolchain on BF527-EZKIT. ************

************** Host SUSE 10.99.29.45. ***********

Testing is running on target with following versios:

kernel:    Linux release 2.6.26.5-ADI-2009R1-pre-svn5497, build #5 Tue Oct 28

22:02:40 CST 2008

toolchain: bfin-uclinux-gcc release gcc version 4.1.2 (ADI svn)

user-dist: release svn-7273, build #7 Tue Oct 28 22:02:07 CST 2008

 

The toolchain testing could make through serveral times and wouldn't hang by

rsh processes.

 

--- Jie Zhang                                                2009-01-13 01:56:40

I suspect that this bug is because some bad gdbserver processes are still

running on the board, which makes the connection number reach the max limit set

in inetd. The current limit is hard coded as 8. At least the case I analyzed

today was like such.

 

--- Mingquan Pan                                             2009-01-14 22:19:50

This issue is still seen by running on svn head kernel:

 

test@45-bf527-toolchain:~/work/cruise/test_scripts/toolchain/toolchain-build>

rsh -l root 10.100.4.50 version

kernel:    Linux release 2.6.28-ADI-2009R1-pre-svn6014, build #2 Wed Jan 14

10:36:41 CST 2009

toolchain: bfin-uclinux-gcc release gcc version 4.1.2 (ADI svn)

user-dist: release svn-7592, build #1 Wed Jan 14 10:35:01 CST 2009

 

the host still stucks like:

test     14492  0.0  0.1   4652  1712 pts/4    S    Jan14   0:02 /bin/sh

./BuildToolChain -t -T 10.100.4.50 -j 1 -w -s

/home/test/work/cruise/checkouts/too

root     17692  0.0  0.0   9252   292 ?        Ss    2008   0:00 sshd: test

[priv]

test     17695  0.0  0.0   9412   452 ?        S     2008   0:02 sshd:

test@pts/4

test     17696  0.0  0.1   4992  1296 pts/4    Ss+   2008   0:01 -bash

test     18184  2.4  4.3 106024 44416 ?        SNl  04:41   9:46 beagled-helper

/usr/lib/beagle/IndexHelper.exe

root     21653  0.0  0.0   9252   292 ?        Ss    2008   0:00 sshd: test

[priv]

test     21656  0.0  0.0   9412   484 ?        S     2008   0:08 sshd:

test@pts/3

test     21657  0.0  0.1   5048  1412 pts/3    Ss    2008   0:04 -bash

test     22540  0.0  0.1   4256  1352 pts/4    S    05:31   0:00 sh

test     22544  0.0  0.1   3900  1580 pts/4    S    05:31   0:00 make -k -j 1

check-target

test     28386  0.0  0.0      0     0 pts/4    Z    08:41   0:00 [cat]

<defunct>

root     28387  0.0  0.0   2996   744 pts/4    S    08:41   0:00 rsh -l root

10.100.4.50 sh -c '/tmp/pass37-frag.exe.2961 ; echo XYZ${?}ZYX'

test     28388  0.0  0.0   2904   572 pts/4    S    08:41   0:00 cat

test     28588  0.0  0.0   4652   776 pts/4    S    08:51   0:00 /bin/sh

./BuildToolChain -t -T 10.100.4.50 -j 1 -w -s

/home/test/work/cruise/checkouts/too

root     28589  0.0  0.0   2092   736 pts/4    S    08:51   0:00 rsh -l root

10.100.4.50 ps

test     28590  0.0  0.0   3064   716 pts/4    S    08:51   0:00 grep -v  ps

test     28591  0.0  0.0   3064   712 pts/4    S    08:51   0:00 grep -v /rshd

test     28592  0.0  0.0   3064   716 pts/4    S    08:51   0:00 grep -v \[

test     28593  0.0  0.0   3064   716 pts/4    S    08:51   0:00 grep -v

telnetd

test     28594  0.0  0.0   3064   712 pts/4    S    08:51   0:00 grep -v /init

test     28595  0.0  0.0   3064   716 pts/4    S    08:51   0:00 grep -v

inetd

test     28596  0.0  0.0   3064   716 pts/4    S    08:51   0:00 grep -v  PID

test     28597  0.0  0.0   3064   724 pts/4    S    08:51   0:00 grep -v [

/]sh

test     28598  0.0  0.0   3064   716 pts/4    S    08:51   0:00 grep -v

/s*bin/.*d

test     28599  0.0  0.0   2952   696 pts/4    S    08:51   0:00 sed

/^[[:space:]]*$/d

postfix  29018  0.0  0.1   5836  1808 ?        S    09:44   0:00 pickup -l -t

fifo -u

test     29850  0.0  0.0   2580  1000 pts/3    R+   11:14   0:00 ps aux

test@45-bf527-toolchain:~/work/cruise/test_scripts/toolchain/toolchain-build>

date

Thu Jan 15 11:15:14 CST 2009

 

 

--- Pavel Frolov                                             2009-01-30 08:47:26

We have the same problem on our bf537-based board - randomly kernel crashed

(tested on revisions 5620 and 6039). For some old revisions (with 2.6.26 kernel)

it works ok.

 

NULL pointer access

Kernel OOPS in progress

Deferred Exception context

 

No Valid process in current context

return address: [0x0011ab78]; contents of:

0x0011ab50:  0c45  5079  030c  1002  5041  5059  030c  1002

0x0011ab60:  5041  5051  030c  1002  5041  0000  6040  b1f1

0x0011ab70:  b230  184a  0000  0000 [e4a8] 015f  4928  0200

0x0011ab80:  e14d  001d  e10d  63e8  a171  3056  b1b0  6482

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00060027  IPEND: c030  SYSCFG: 0006

  EXCAUSE   : 0x27

  physical IVG14 asserted : <0xffa00adc> { _evt14_softirq + 0x0 }

  physical IVG15 asserted : <0xffa00e1c> { _evt_system_call + 0x0 }

  logical irq   6 mapped  : <0xffa00388> { _timer_interrupt + 0x0 }

  logical irq  10 mapped  : <0x000ccd78> { _bfin_rtc_interrupt + 0x0

}

  logical irq  12 mapped  : <0x000e7400> { _rx_handler + 0x0 }

  logical irq  13 mapped  : <0x000e73a0> { _tx_handler + 0x0 }

  logical irq  18 mapped  : <0x000b9c88> { _bfin_serial_dma_rx_int +

0x0 }

  logical irq  19 mapped  : <0x000b9a0c> { _bfin_serial_dma_tx_int +

0x0 }

  logical irq  20 mapped  : <0x000b9c88> { _bfin_serial_dma_rx_int +

0x0 }

  logical irq  21 mapped  : <0x000b9a0c> { _bfin_serial_dma_tx_int +

0x0 }

  logical irq  24 mapped  : <0x000c1e84> { _bfin_mac_interrupt + 0x0

}

  logical irq  45 mapped  : <0x000e855c> { _err_handler + 0x0 }

RETE: <0x00000000> { _do_one_initcall + 0xfffff000 }

RETN: <0x001efcec> /* kernel dynamic memory */

RETX: <0x00000480> /* Maybe fixed code section */

RETS: <0x0011cc2c> { _tcp_v4_rcv + 0x218 }

PC  : <0x0011ab78> { _tcp_v4_send_reset + 0xc4 }

DCPLB_FAULT_ADDR: <0x0000015f> /* Maybe null pointer? */

ICPLB_FAULT_ADDR: <0x0011ab78> { _tcp_v4_send_reset + 0xc4 }

 

PROCESSOR STATE:

R0 : 00000008    R1 : 9b71f291    R2 : 14000600    R3 : 710aa8c0

R4 : 00000000    R5 : 00815020    R6 : 00000002    R7 : 166743d1

P0 : 01b720a0    P1 : 00815034    P2 : 00815020    P3 : 00000000

P4 : 00815034    P5 : 00000000    FP : 710aa8c0    SP : 001efc10

LB0: ffa016f4    LT0: ffa016f4    LC0: 00000000

LB1: 000088f6    LT1: 000088f6    LC1: 00000000

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 710aa8c0

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 166743d1

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : ffff3dc9

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000

A0.w: 0292f340   A0.x: 00000000   A1.w: 00000dd0   A1.x: 00000000

USP : 001f0000  ASTAT: 02002042

 

Hardware Trace:

   0 Target : <0x0000492c> { _trap_c + 0x0 }

     Source : <0xffa0078a> { _exception_to_level5 + 0x9e } CALL pcrel

   1 Target : <0xffa006ec> { _exception_to_level5 + 0x0 }

     Source : <0xffa00582> { _bfin_return_from_exception + 0x6 } RTX

   2 Target : <0xffa0057c> { _bfin_return_from_exception + 0x0 }

     Source : <0xffa00646> { _ex_trap_c + 0x66 } 0x0046

   3 Target : <0xffa005e0> { _ex_trap_c + 0x0 }

     Source : <0xffa00816> { _trap + 0x2a } 0x5f65

   4 Target : <0xffa007ec> { _trap + 0x0 }

     Source : <0x0011ab76> { _tcp_v4_send_reset + 0xc2 } 0x0000

   5 Target : <0x0011ab6a> { _tcp_v4_send_reset + 0xb6 }

     Source : <0x0011ab66> { _tcp_v4_send_reset + 0xb2 } IF !CC JUMP

   6 Target : <0x0011ab62> { _tcp_v4_send_reset + 0xae }

     Source : <0x0011ab5e> { _tcp_v4_send_reset + 0xaa } IF !CC JUMP

   7 Target : <0x0011ab5a> { _tcp_v4_send_reset + 0xa6 }

     Source : <0x0011ab56> { _tcp_v4_send_reset + 0xa2 } IF !CC JUMP

   8 Target : <0x0011aae2> { _tcp_v4_send_reset + 0x2e }

     Source : <0x0011aad8> { _tcp_v4_send_reset + 0x24 } IF !CC JUMP

   9 Target : <0x0011aab4> { _tcp_v4_send_reset + 0x0 }

     Source : <0x0011cc28> { _tcp_v4_rcv + 0x214 } CALL pcrel

  10 Target : <0x0011cc1e> { _tcp_v4_rcv + 0x20a }

     Source : <0x000f0500> { ___skb_checksum_complete + 0x14 } RTS

  11 Target : <0x000f04fa> { ___skb_checksum_complete + 0xe }

     Source : <0x000f04dc> { ___skb_checksum_complete_head + 0x58 }

RTS

  12 Target : <0x000f04b0> { ___skb_checksum_complete_head + 0x2c }

     Source : <0x000f04a2> { ___skb_checksum_complete_head + 0x1e } IF

!CC

JUMP

  13 Target : <0x000f049c> { ___skb_checksum_complete_head + 0x18 }

     Source : <0x000ee17e> { _skb_checksum + 0x196 } RTS

  14 Target : <0x000ee174> { _skb_checksum + 0x18c }

     Source : <0x000ee024> { _skb_checksum + 0x3c } IF !CC JUMP

  15 Target : <0x000ee020> { _skb_checksum + 0x38 }

     Source : <0x0014ff64> { _csum_partial + 0x20 } RTS

 

Kernel Stack

Stack info:

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

FP: (0x001effe8)

Memory from 0x001eff50 to 001f0000

001eff50: 00000000  00000000 [00000000] ffff3dc9  00000000  0000c350

001f0000 

001d993c

001eff70: ffa0025c  001ee000  001c39a4  001d993c  001ee000  ffa00a10

001c3104 

00000000

001eff90: 00000000  00000000  00000065  00000008  004e80a0  0000ffff

0000ffff 

ffa00a10

001effb0: 00000006  00000000  00000000  00000000  001f06be  001ce2a4

00209594 

001c3110

001effd0: 00000000  00209594  001c2e64  00000021  001f00a8

<0020b5e0>(001f0000)<001fe1b6>

001efff0: 00000000  00000000  00000000  ffb00000 (464c457f)

Return addresses in stack:

    address : <0x0020b5e0> [ /lib/libm-0.9.29.so + 0xb5e0 ]

   frame  1 : <0x001fe1b6> { _real_start + 0x6e }

Modules linked in: gpio_keys

Kernel panic - not syncing: Kernel exception                     

                                           

 

--- Robin Getz                                               2009-01-30 14:57:02

Pavel -- please do not post the same thing in multiple bugs -- it just annoys

people, and will get you ignored.

 

 

--- Sonic Zhang                                              2009-02-10 04:35:58

Duplicated bug of 4836

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes