Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2013 06:43:05 -0700
From:      Tim Kientzle <kientzle@freebsd.org>
To:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Cc:        Ian Lepore <ian@freebsd.org>
Subject:   Panic mounting root on BeagleBone Black
Message-ID:  <47E403AE-01A2-4AC8-8028-41F0298FAC3E@freebsd.org>

next in thread | raw e-mail | index | archive | help
Just built a new image for BBB from SVN r255438.

At the second boot, I got this:
=10=10
Mounting local file systems:.
mmcsd0: Error indicated: 1 Timeout
g_vfs_done():mmcsd0s2a[READ(offset=3D2016903168, length=3D4096)]error =3D =
5
vnode_pager_getpages: I/O read error
vm_fault: pager read error, pid 126 (ps)
mmcsd0: Error indicated: 1 Timeout
g_vfs_done():mmcsd0s2a[READ(offset=3D131072, length=3D32768)]error =3D 5
sdhci_ti0-slot0: Got data interrupt 0x00000010, but there is no active =
command.
sdhci_ti0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER =
DUMP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
sdhci_ti0-slot0: Sys addr: 0x00000000 | Version:  0x00003101
sdhci_ti0-slot0: Blk size: 0x00000200 | Blk cnt:  0x00000010
sdhci_ti0-slot0: Argument: 0x0024679e | Trn mode: 0x0000193a
sdhci_ti0-slot0: Present:  0x01f70000 | Host ctl: 0x00000006
sdhci_ti0-slot0: Power:    0x0000000d | Blk gap:  0x00000000
sdhci_ti0-slot0: Wake-up:  0x00000000 | Clock:    0x00000007
sdhci_ti0-slot0: Timeout:  0x0000000d | Int stat: 0x00000000
sdhci_ti0-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb
sdhci_ti0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci_ti0-slot0: Caps:     0x06e10080 | Max curr: 0x00000000
sdhci_ti0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

=85. few more similar messages, then =85.

mmcsd0: Error indicated: 1 Timeout
g_vfs_done():mmcsd0s2a[WRITE(offset=3D20808192, length=3D512)]error =3D =
5
g_vfs_done():mmcsd0s2a[WRITE(offset=3D1276346368, length=3D24576)]error =
=3D 5
panic: brelse: inappropriate B_PAGING or B_CLUSTER bp 0xcd148778
KDB: enter: panic
[ thread pid 126 tid 100063 ]
Stopped at      $d:     ldrb    r15, [r15, r15, ror r15]!
db> bt
Tracing pid 126 tid 100063 td 0xc2879c80
db_trace_self() at db_trace_self
db_stack_trace() at db_stack_trace+0xf4
db_command() at db_command+0x264
db_command_loop() at db_command_loop+0x60
db_trap() at db_trap+0xdc
kdb_trap() at kdb_trap+0xd4
         pc =3D 0xc038eb4c  lr =3D 0xc05408f0 =
(undefinedinstruction+0x2b0)
         sp =3D 0xdd71a3e0  fp =3D 0xdd71a450
         r4 =3D 0x00000000  r5 =3D 0xc054059c
         r6 =3D 0x00000000  r7 =3D 0xe7ffffff
         r8 =3D 0xc2879c80  r9 =3D 0xdd71a458
        r10 =3D 0xc038e440
undefinedinstruction() at undefinedinstruction+0x2b0
         pc =3D 0xc05408f0  lr =3D 0xc052ffb8 (exception_exit)
         sp =3D 0xdd71a458  fp =3D 0xdd71a4b0
         r4 =3D 0xc058b5b3  r5 =3D 0xdd71a504
         r6 =3D 0xc0598888  r7 =3D 0xc065d240
         r8 =3D 0xc2879c80  r9 =3D 0xc065d0a0
        r10 =3D 0xc07cf900
exception_exit() at exception_exit
         pc =3D 0xc052ffb8  lr =3D 0xc038e434 (kdb_enter+0x40)
         sp =3D 0xdd71a4ac  fp =3D 0xdd71a4b0
         r0 =3D 0xc066ad14  r1 =3D 0x00000000
         r2 =3D 0xc058f0d2  r3 =3D 0x000000ab
         r4 =3D 0xc058b5b3  r5 =3D 0xdd71a504
         r6 =3D 0xc0598888  r7 =3D 0xc065d240
         r8 =3D 0xc2879c80  r9 =3D 0xc065d0a0
        r10 =3D 0xc07cf900 r12 =3D 0x00000000
$a() at $a
         pc =3D 0xc038e444  lr =3D 0xc03584b0 (vpanic+0xb8)
         sp =3D 0xdd71a4b8  fp =3D 0xdd71a4d8
         r4 =3D 0x00000100
vpanic() at vpanic+0xb8
         pc =3D 0xc03584b0  lr =3D 0xc03583e8 ($d)
         sp =3D 0xdd71a4e0  fp =3D 0xdd71a4f8
         r4 =3D 0xc065d140  r5 =3D 0xc0598888
         r6 =3D 0xdd71a504  r7 =3D 0xc065d0a0
         r8 =3D 0x00000000  r9 =3D 0x05000040
        r10 =3D 0xc290e300
$d() at $d
         pc =3D 0xc03583e8  lr =3D 0xc03dfacc (brelse+0x1f8)
         sp =3D 0xdd71a510  fp =3D 0xdd71a578
         r4 =3D 0xcd148778  r5 =3D 0x00000005
         r6 =3D 0x00006000  r7 =3D 0xcd148778
brelse() at brelse+0x1f8
         pc =3D 0xc03dfacc  lr =3D 0xc03dda68 (bufwrite+0x2e4)
         sp =3D 0xdd71a580  fp =3D 0xdd71a5b8
         r4 =3D 0xcd148778  r5 =3D 0x00000005
         r6 =3D 0x00006000  r7 =3D 0xc07cfc78
         r8 =3D 0x00000000  r9 =3D 0x05000040
        r10 =3D 0xc290e300
bufwrite() at bufwrite+0x2e4
         pc =3D 0xc03dda68  lr =3D 0xc04e48d8 (ffs_bufwrite+0x14c)
         sp =3D 0xdd71a5c0  fp =3D 0xdd71a5e0
         r4 =3D 0xcd148778  r5 =3D 0xc290e300
         r6 =3D 0xc05ad52d  r7 =3D 0xcd148778
         r8 =3D 0x00000000  r9 =3D 0x00000001
        r10 =3D 0xc290e300
ffs_bufwrite() at ffs_bufwrite+0x14c
         pc =3D 0xc04e48d8  lr =3D 0xc04c5af4 ($a+0x288)
         sp =3D 0xdd71a5e8  fp =3D 0xdd71a670
         r4 =3D 0xc07ca380  r5 =3D 0xc290e300
         r6 =3D 0xc05ad52d
$a() at $a+0x288
         pc =3D 0xc04c5af4  lr =3D 0xc04d2ba4 ($a+0x7c)
         sp =3D 0xdd71a678  fp =3D 0xdd71a690
         r4 =3D 0xc05aad74  r5 =3D 0xc2abd500
         r6 =3D 0xc07ca43c  r7 =3D 0x0000088b
         r8 =3D 0x00021653  r9 =3D 0xc2ab0240
        r10 =3D 0xdd71a6a8
$a() at $a+0x7c
         pc =3D 0xc04d2ba4  lr =3D 0xc04d8f24 =
(softdep_sync_metadata+0x118)
         sp =3D 0xdd71a698  fp =3D 0xdd71a6c8
softdep_sync_metadata() at softdep_sync_metadata+0x118
         pc =3D 0xc04d8f24  lr =3D 0xc04e68f4 (ffs_syncvnode+0x54)
         sp =3D 0xdd71a6d0  fp =3D 0xdd71a720
         r4 =3D 0xc2ab4c00  r5 =3D 0xc2ab4c00
         r6 =3D 0x00005000  r7 =3D 0xc2ab0240
         r8 =3D 0xc2ab0240  r9 =3D 0x00000000
        r10 =3D 0x00000000
ffs_syncvnode() at ffs_syncvnode+0x54
         pc =3D 0xc04e68f4  lr =3D 0xc04bc008 (ffs_truncate+0x77c)
         sp =3D 0xdd71a728  fp =3D 0xdd71a8d8
         r4 =3D 0xc2ab4c00  r5 =3D 0xc2ab4c00
         r6 =3D 0x00005000  r7 =3D 0xc2ab0240
         r8 =3D 0xc2ab0240  r9 =3D 0x00000000
        r10 =3D 0x00000000
ffs_truncate() at ffs_truncate+0x77c
         pc =3D 0xc04bc008  lr =3D 0xc04e5b60 (ffs_write+0x750)
         sp =3D 0xdd71a8e0  fp =3D 0xdd71a978
         r4 =3D 0x00001000  r5 =3D 0xdd71aa78
         r6 =3D 0xdd71aa58  r7 =3D 0xc2ab4c00
         r8 =3D 0x0000000e  r9 =3D 0x00050000
        r10 =3D 0xc2a18000
ffs_write() at ffs_write+0x750
         pc =3D 0xc04e5b60  lr =3D 0xc0552574 (VOP_WRITE_APV+0x130)
         sp =3D 0xdd71a980  fp =3D 0xdd71aa38
         r4 =3D 0xdd71aa78  r5 =3D 0xc064ef40
         r6 =3D 0x00000000  r7 =3D 0x00000000
         r8 =3D 0x00000000  r9 =3D 0x00000000
        r10 =3D 0x00000101
VOP_WRITE_APV() at VOP_WRITE_APV+0x130
         pc =3D 0xc0552574  lr =3D 0xc0408760 (vn_rdwr+0x1e0)
         sp =3D 0xdd71aa40  fp =3D 0xdd71aaa8
         r4 =3D 0xc2ab0240  r5 =3D 0xc2a48ee0
         r6 =3D 0x00000001  r7 =3D 0x00000000
         r8 =3D 0x00000000  r9 =3D 0xc290e500
vn_rdwr() at vn_rdwr+0x1e0
         pc =3D 0xc0408760  lr =3D 0xc04088e0 (vn_rdwr_inchunks+0xa4)
         sp =3D 0xdd71aab0  fp =3D 0xdd71aaf8
         r4 =3D 0x20031000  r5 =3D 0x00001000
         r6 =3D 0x00000000  r7 =3D 0x00005000
         r8 =3D 0x00001000  r9 =3D 0x00005000
        r10 =3D 0x00000001
vn_rdwr_inchunks() at vn_rdwr_inchunks+0xa4
         pc =3D 0xc04088e0  lr =3D 0xc0305fcc (elf32_coredump+0x9b8)
         sp =3D 0xdd71ab00  fp =3D 0xdd71ab98
         r4 =3D 0x00000000  r5 =3D 0x00000002
         r6 =3D 0x00000000  r7 =3D 0x00005000
         r8 =3D 0xc2a93440  r9 =3D 0xc2a93400
        r10 =3D 0x00000000
elf32_coredump() at elf32_coredump+0x9b8
         pc =3D 0xc0305fcc  lr =3D 0xc035ba6c ($a+0x5f4)
         sp =3D 0xdd71aba0  fp =3D 0xdd71ad90
         r4 =3D 0x00000000  r5 =3D 0xc2abe640
         r6 =3D 0xc2ab0240  r7 =3D 0xc0305614
         r8 =3D 0x0000004e  r9 =3D 0xc058b625
        r10 =3D 0x00000020
$a() at $a+0x5f4
         pc =3D 0xc035ba6c  lr =3D 0xc035c364 ($d)
         sp =3D 0xdd71ad98  fp =3D 0xdd71ae30
         r4 =3D 0xc2aa8000  r5 =3D 0xc2879c80
         r6 =3D 0xc2abe640  r7 =3D 0xdd71adc0
         r8 =3D 0x0000000b  r9 =3D 0xc2aa8ab8
        r10 =3D 0x0000000a
$d() at $d
         pc =3D 0xc035c364  lr =3D 0xc039f164 (ast+0x2d8)
         sp =3D 0xdd71ae38  fp =3D 0xdd71ae58
         r4 =3D 0xc0591115  r5 =3D 0xc2879c80
         r6 =3D 0xc2abe640  r7 =3D 0xc2abe6e8
         r8 =3D 0xdd71ae60  r9 =3D 0x01020804
        r10 =3D 0x00000ab8
ast() at ast+0x2d8
         pc =3D 0xc039f164  lr =3D 0xc0530000 (exception_exit+0x48)
         sp =3D 0xdd71ae60  fp =3D 0xbfffdd20
         r4 =3D 0x60000013  r5 =3D 0xc2879c80
         r6 =3D 0x2003b080  r7 =3D 0x2003b080
         r8 =3D 0x00000000  r9 =3D 0x00008f33
        r10 =3D 0x20031000
exception_exit() at exception_exit+0x48
         pc =3D 0xc0530000  lr =3D 0x200270a0 (0x200270a0)
         sp =3D 0xdd71aeb4  fp =3D 0xbfffdd20
         r0 =3D 0x20031000  r1 =3D 0x00000000
         r2 =3D 0x00000001  r3 =3D 0x00040002
         r4 =3D 0x00000003  r5 =3D 0x00000004
         r6 =3D 0x2003b080  r7 =3D 0x2003b080
         r8 =3D 0x00000000  r9 =3D 0x00008f33
        r10 =3D 0x20031000 r12 =3D 0x00000000
Unable to unwind into user mode




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47E403AE-01A2-4AC8-8028-41F0298FAC3E>