Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2014 12:46:38 +0800
From:      Jia-Shiun Li <jiashiun@gmail.com>
To:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   BB panic a lot more
Message-ID:  <CAHNYxxPNGCmcbN5eyA0j_VnPHGqK%2B=-yqVg73H9ccYdT5%2BygMQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

recently Beaglebone black seems to be more likely to panic than rpi.
Wondering if anyone sees the same.

bbb was powered by a 2A USB power adapter, but it happens too with
PMIC tweaked, attached 1"x1" heat sink, and MPU clocked at 320MHz.

Both are running r267607, built with crochet-build


login: panic: Bad link elm 0xc0b7cf70 next->prev != elm
KDB: enter: panic
[ thread pid 49036 tid 100097 ]
Stopped at      $d:     ldrb    r15, [r15, r15, ror r15]!
db> bt
Tracing pid 49036 tid 100097 td 0xc2f57960
db_trace_self() at db_trace_self
         pc = 0xc0544458  lr = 0xc0230648 (db_stack_trace+0xf4)
         sp = 0xde6ec670  fp = 0xde6ec688
        r10 = 0xc092cb1c
db_stack_trace() at db_stack_trace+0xf4
         pc = 0xc0230648  lr = 0xc022ffb8 (db_command+0x270)
         sp = 0xde6ec690  fp = 0xde6ec730
         r4 = 0x00000000  r5 = 0x00000000
         r6 = 0x00000000
db_command() at db_command+0x270
         pc = 0xc022ffb8  lr = 0xc022fd1c (db_command_loop+0x60)
         sp = 0xde6ec738  fp = 0xde6ec748
         r4 = 0xc058bcbf  r5 = 0xc05a6989
         r6 = 0xc092cb08  r7 = 0xc0645760
         r8 = 0xc0688a94  r9 = 0xc0688a90
        r10 = 0xde6ec918
db_command_loop() at db_command_loop+0x60
         pc = 0xc022fd1c  lr = 0xc02326e4 (db_trap+0xd8)
         sp = 0xde6ec750  fp = 0xde6ec870
         r4 = 0x00000000  r5 = 0xc092cb14
         r6 = 0xc0688ac0
db_trap() at db_trap+0xd8
         pc = 0xc02326e4  lr = 0xc039c1b0 (kdb_trap+0xbc)
         sp = 0xde6ec878  fp = 0xde6ec898
         r4 = 0x00000000  r5 = 0x00000001
         r6 = 0xc0688ac0  r7 = 0xc0645760
kdb_trap() at kdb_trap+0xbc
         pc = 0xc039c1b0  lr = 0xc055a800 (undefinedinstruction+0x298)
         sp = 0xde6ec8a0  fp = 0xde6ec910
         r4 = 0x00000000  r5 = 0x00000000
         r6 = 0xc055a4b8  r7 = 0xe7ffffff
         r8 = 0xc2f57960  r9 = 0xc039ba80
        r10 = 0xde6ec918
undefinedinstruction() at undefinedinstruction+0x298
         pc = 0xc055a800  lr = 0xc0545fd4 (exception_exit)
         sp = 0xde6ec918  fp = 0xde6ec970
         r4 = 0xc05a69e3  r5 = 0xde6ec9ac
         r6 = 0xc057fd1e  r7 = 0xc067afd0
         r8 = 0xc2f57960  r9 = 0xc092e55c
        r10 = 0xc067ae30
exception_exit() at exception_exit
         pc = 0xc0545fd4  lr = 0xc039ba74 (kdb_enter+0x40)
         sp = 0xde6ec968  fp = 0xde6ec970
         r0 = 0xc0688aa4  r1 = 0x00000000
         r2 = 0xc05aa380  r3 = 0x000000ab
         r4 = 0xc05a69e3  r5 = 0xde6ec9ac
         r6 = 0xc057fd1e  r7 = 0xc067afd0
         r8 = 0xc2f57960  r9 = 0xc092e55c
        r10 = 0xc067ae30 r12 = 0x00000000
$a() at $a
         pc = 0xc039ba84  lr = 0xc03650bc (vpanic+0xb4)
         sp = 0xde6ec978  fp = 0xde6ec998
         r4 = 0x00000100
vpanic() at vpanic+0xb4
         pc = 0xc03650bc  lr = 0xc0365120 (kproc_shutdown)
         sp = 0xde6ec9a0  fp = 0xde6ec9a4
         r4 = 0xc0b8a5a0  r5 = 0x00000000
         r6 = 0xc0b8a65c  r7 = 0xc0b7cf70
         r8 = 0x00000000  r9 = 0xc0b8a658
        r10 = 0xc05cace3
kproc_shutdown() at kproc_shutdown
         pc = 0xc0365120  lr = 0x00000000 (0)
         sp = 0xde6ec9ac  fp = 0xde6ec9f8
         r4 = 0xc0365120  r5 = 0xde6ec9ac
Unable to unwind into user mode
db> ps
  pid  ppid  pgrp   uid   state   wmesg     wchan    cmd
49036   696   669     0  R+      CPU 0               mkdir
33298 13528 33298  1001  S+      select   0xc313aea4 systat
13528   631 13528  1001  Ss+     pause    0xc2f4bce8 tcsh
  696   669   669     0  S+      wait     0xc2f4b640 sh
  695   669   669     0  S+      pipewr   0xc2b6d558 cat
  669   662   669     0  S+      wait     0xc2b01000 sh
  662   661   662     0  S+      pause    0xc2d6f9c8 tcsh
  661   632   661  1001  S+      wait     0xc2d6e320 su
  632   631   632  1001  Ss+     pause    0xc2b02388 tcsh
  631     1   631  1001  Ss      select   0xc29d91e4 tmux
  629   626   629  1001  S+      select   0xc29da224 tmux
  626   625   626  1001  Ss+     pause    0xc2b026a8 tcsh
  625   622   622  1001  S       select   0xc29d9324 sshd
  622   572   622     0  Ss      select   0xc29d90e4 sshd
  615     1   615     0  Ss+     ttyin    0xc28e0670 getty
  576     1   576     0  Ss      nanslp   0xc067c360 cron
  572     1   572     0  Ss      select   0xc29d9124 sshd
  484     1   484     0  Ss      select   0xc29dabe4 casperd
  483     1   483     0  Ss      select   0xc29db124 casperd
  377     1   377     0  Ss      select   0xc29d9da4 syslogd
  302     1   302     0  Ss      select   0xc29d94e4 devd
   81     0     0     0  DL      mdwait   0xc2aff800 [md2]
   76     0     0     0  DL      mdwait   0xc2b43800 [md1]
   71     0     0     0  DL      mdwait   0xc2c0a000 [md0]
   17     0     0     0  DL      -        0xc067b240 [schedcpu]
   16     0     0     0  DL      sdflush  0xc0928bac [softdepflush]
   15     0     0     0  DL      syncer   0xc092698c [syncer]
    9     0     0     0  DL      vlruwt   0xc2b02000 [vnlru]
    8     0     0     0  DL      psleep   0xc0926710 [bufdaemon]
    7     0     0     0  DL      pgzero   0xc09294c4 [pagezero]
    6     0     0     0  DL      psleep   0xc09292ec [vmdaemon]
    5     0     0     0  DL      psleep   0xc0930f44 [pagedaemon]
    4     0     0     0  DL      jobqueue 0xc29d2e80 [mmcsd1: mmc/sd card]
    3     0     0     0  DL      mmcreq   0xdd490ca8 [mmcsd0: mmc/sd card]
   14     0     0     0  DL      (threaded)          [usb]
100048                   D       -        0xc29c92a4 [usbus1]
100047                   D       -        0xc29c9274 [usbus1]
100046                   D       -        0xc29c9244 [usbus1]
100045                   D       -        0xc29c9214 [usbus1]
100043                   D       -        0xc29c80bc [usbus0]
100042                   D       -        0xc29c808c [usbus0]
100041                   D       -        0xc29c805c [usbus0]
100040                   D       -        0xc29c802c [usbus0]
    2     0     0     0  DL      (threaded)          [cam]
100058                   D       -        0xc0676128 [scanner]
100014                   D       -        0xc06760c0 [doneq0]
   13     0     0     0  DL      -        0xc0678f70 [rand_harvestq]
   12     0     0     0  DL      (threaded)          [geom]
100008                   D       -        0xc092d73c [g_down]
100007                   D       -        0xc092d738 [g_up]
100006                   D       -        0xc092d734 [g_event]
   11     0     0     0  WL      (threaded)          [intr]
100056                   I                           [intr27: ti_pruss0]
100055                   I                           [intr26: ti_pruss0]
100054                   I                           [intr25: ti_pruss0]
100053                   I                           [intr24: ti_pruss0]
100052                   I                           [intr23: ti_pruss0]
100051                   I                           [intr22: ti_pruss0]
100050                   I                           [intr21: ti_pruss0]
100049                   I                           [intr20: ti_pruss0]
100044                   I                           [intr19: musbotg0]
100039                   I                           [intr18: musbotg0]
100038                   I                           [intr17: musbotg0]
100037                   I                           [intr30: iichb2]
100036                   I                           [intr71: iichb1]
100035                   I                           [intr70: iichb0]
100034                   I                           [intr43: cpsw0]
100033                   I                           [intr41: cpsw0]
100032                   I                           [intr40: cpsw0]
100031                   I                           [intr28: sdhci_ti1]
100030                   I                           [intr64: sdhci_ti0]
100029                   I                           [intr14: ti_edma30]
100028                   I                           [intr13: ti_edma30]
100027                   I                           [intr12: ti_edma30]
100026                   I                           [swi0: uart]
100025                   I                           [intr63: gpio0]
100024                   I                           [intr62: gpio0]
100023                   I                           [intr33: gpio0]
100022                   I                           [intr32: gpio0]
100021                   I                           [intr99: gpio0]
100020                   I                           [intr98: gpio0]
100019                   I                           [intr97: gpio0]
100018                   I                           [intr96: gpio0]
100017                   I                           [intr16: ti_adc0]
100016                   I                           [swi6: task queue]
100013                   I                           [swi5: fast taskq]
100010                   I                           [swi6: Giant taskq]
100005                   I                           [swi3: vm]
100004                   I                           [swi4: clock (0)]
100003                   I                           [swi1: netisr 0]
   10     0     0     0  RL                          [idle]
    1     0     1     0  SLs     wait     0xc2865640 [init]
    0     0     0     0  DLs     (threaded)          [kernel]
100057                   D       -        0xc2896780 [CAM taskq]
100015                   D       -        0xc2895d00 [kqueue taskq]
100012                   D       -        0xc2896880 [thread taskq]
100011                   D       -        0xc2896900 [ffs_trim taskq]
100000                   D       swapin   0xc092d758 [swapper]
db>

-Jia-Shiun.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHNYxxPNGCmcbN5eyA0j_VnPHGqK%2B=-yqVg73H9ccYdT5%2BygMQ>