Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2013 12:30:58 +0200
From:      "Ronald Klop" <ronald-freebsd8@klop.yi.org>
To:        freebsd-fs@freebsd.org, freebsd-arm@freebsd.org
Subject:   nandfs panic (bmap_truncate_mapping)
Message-ID:  <op.w3pgtwqb8527sy@212-182-167-131.ip.telfort.nl>

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

I am using FreeBSD 10-CURRENT of 15 september on a SHEEVAPLUG ARMv5  
machine.

I did these steps:
newfs_nandfs /dev/gnand0s.root
mount -t nandfs /dev/gnand0s.root /mnt
cd /; tar cf - / | tar -C /mnt -x -f -
I did ctrl-c because I found it was tar-ing /mnt into /mnt/mnt.
rm -r /mnt/mnt/*
tar --one-file-system -c -f - / | tar -C /mnt -x -f -

That gave the panic below. What information can I provide to solve this?

Ronald.


root@sh10:/ # panic: bmap_truncate_mapping: error 28 when truncate at  
level 0

KDB: enter: panic
[ thread pid 755 tid 100066 ]
Stopped at      kdb_enter+0x4c: ldrb    r15, [r15, r15, ror r15]!
db> bt
Tracing pid 755 tid 100066 td 0xc4e6e640
db_trace_self() at db_trace_self
          pc = 0xc0bb8b48  lr = 0xc093260c (db_hex2dec+0x494)
          sp = 0xde03a6b0  fp = 0xde03a6c8
         r10 = 0xc0c99330
db_hex2dec() at db_hex2dec+0x494
          pc = 0xc093260c  lr = 0xc0931fc0 (db_command_loop+0x2f4)
          sp = 0xde03a6d0  fp = 0xde03a770
          r4 = 0x00000000  r5 = 0x00000000
          r6 = 0xc0c2d91e
db_command_loop() at db_command_loop+0x2f4
          pc = 0xc0931fc0  lr = 0xc0931d1c (db_command_loop+0x50)
          sp = 0xde03a778  fp = 0xde03a788
          r4 = 0xc0c0143d  r5 = 0xc0c1767f
          r6 = 0xc0ce74dc  r7 = 0xde03a958
          r8 = 0xc4e6e640  r9 = 0xc0cdca94
         r10 = 0xc0c995a0
db_command_loop() at db_command_loop+0x50
          pc = 0xc0931d1c  lr = 0xc093466c (X_db_symbol_values+0x254)
          sp = 0xde03a790  fp = 0xde03a8b0
          r4 = 0x00000000  r5 = 0xde03a798
          r6 = 0xc0cdcac0
X_db_symbol_values() at X_db_symbol_values+0x254
          pc = 0xc093466c  lr = 0xc0a84b30 (kdb_trap+0xd4)
          sp = 0xde03a8b8  fp = 0xde03a8d8
          r4 = 0x00000000  r5 = 0x00000001
          r6 = 0xc0cdcac0  r7 = 0xde03a958
kdb_trap() at kdb_trap+0xd4
          pc = 0xc0a84b30  lr = 0xc0bc9458 (undefinedinstruction+0x1fc)
          sp = 0xde03a8e0  fp = 0xde03a950
          r4 = 0x00000000  r5 = 0x00000000
          r6 = 0xc0bc91ac  r7 = 0xe7ffffff
          r8 = 0xc4e6e640  r9 = 0xc0a8441c
         r10 = 0xde03a958
undefinedinstruction() at undefinedinstruction+0x1fc
          pc = 0xc0bc9458  lr = 0xc0bba3fc (exception_exit)
          sp = 0xde03a958  fp = 0xde03a9b0
          r4 = 0xffffffff  r5 = 0xffff1004
          r6 = 0xc0cedecc  r7 = 0xc0ccf088
          r8 = 0xc4e6e640  r9 = 0xc0ccf010
         r10 = 0xde03a9e4
exception_exit() at exception_exit
          pc = 0xc0bba3fc  lr = 0xc0a84410 (kdb_enter+0x40)
          sp = 0xde03a9ac  fp = 0xde03a9b0
          r0 = 0xc0cdcaa4  r1 = 0x00000000
          r2 = 0x00000000  r3 = 0x00000000
          r4 = 0xc0c176d9  r5 = 0xc0c0a63a
          r6 = 0xc0cedecc  r7 = 0xc0ccf088
          r8 = 0xc4e6e640  r9 = 0xc0ccf010
         r10 = 0xde03a9e4 r12 = 0x00000000
kdb_enter() at kdb_enter+0x50
          pc = 0xc0a84420  lr = 0xc0a544d4 (panic+0xcc)
          sp = 0xde03a9b8  fp = 0xde03a9d8
          r4 = 0x00000100
panic() at panic+0xcc
          pc = 0xc0a544d4  lr = 0xc098cea0 (bmap_truncate_mapping+0x408)
          sp = 0xde03a9f0  fp = 0xde03aae8
          r4 = 0xc414f430  r5 = 0x00000000
          r6 = 0x00000000  r7 = 0x00000000
          r8 = 0xc414f378  r9 = 0xde03aa88
         r10 = 0x00000098
bmap_truncate_mapping() at bmap_truncate_mapping+0x408
          pc = 0xc098cea0  lr = 0xc098e374  
(nandfs_bmap_truncate_mapping+0x78)
          sp = 0xde03aaf0  fp = 0xde03ab20
          r4 = 0x00000000  r5 = 0x00000097
          r6 = 0x00000000  r7 = 0x00000098
          r8 = 0xc414f378  r9 = 0x00000000
         r10 = 0x00000098
nandfs_bmap_truncate_mapping() at nandfs_bmap_truncate_mapping+0x78
          pc = 0xc098e374  lr = 0xc09a0fb4 (nandfs_vinit+0x2b8)
          sp = 0xde03ab28  fp = 0xde03ab80
          r4 = 0x00000000  r5 = 0x00000000
          r6 = 0xc4509360  r7 = 0x00000000
          r8 = 0x00000000
nandfs_vinit() at nandfs_vinit+0x2b8
          pc = 0xc09a0fb4  lr = 0xc09a03c0 (nandfs_itimes+0x3404)
          sp = 0xde03ab88  fp = 0xde03ab98
          r4 = 0xc414f378  r5 = 0xc4509360
          r6 = 0x00000000  r7 = 0xc4333d20
          r8 = 0xc4e6e640  r9 = 0xc45093c4
         r10 = 0xc4509360
nandfs_itimes() at nandfs_itimes+0x3404
          pc = 0xc09a03c0  lr = 0xc0be21b8 (VOP_INACTIVE_APV+0x9c)
          sp = 0xde03aba0  fp = 0xde03abb0
          r4 = 0x00000000  r5 = 0xde03abc8
          r6 = 0xc0ca0560
VOP_INACTIVE_APV() at VOP_INACTIVE_APV+0x9c
          pc = 0xc0be21b8  lr = 0xc0adc2e4 (vinactive+0xb0)
          sp = 0xde03abb8  fp = 0xde03abf0
          r4 = 0xc4509360  r5 = 0x00000002
          r6 = 0xc45093c4
vinactive() at vinactive+0xb0
          pc = 0xc0adc2e4  lr = 0xc0adc5e4 (vrele+0x210)
          sp = 0xde03abf8  fp = 0xde03ac20
          r4 = 0xc4509360  r5 = 0x00000002
          r6 = 0xc45093c4  r7 = 0x00000000
          r8 = 0x00000000  r9 = 0xde03ad74
vrele() at vrele+0x210
          pc = 0xc0adc5e4  lr = 0xc0adc660 (vput+0x10)
          sp = 0xde03ac28  fp = 0xde03ac28
          r4 = 0xde03acd8  r5 = 0xc4e6e640
          r6 = 0x00000000  r7 = 0x00000000
vput() at vput+0x10
          pc = 0xc0adc660  lr = 0xc0ae4bec (kern_unlinkat+0x1e4)
          sp = 0xde03ac30  fp = 0xde03ada8
kern_unlinkat() at kern_unlinkat+0x1e4
          pc = 0xc0ae4bec  lr = 0xc0ae47d8 (sys_unlink+0x24)
          sp = 0xde03adb0  fp = 0xde03adb8
          r4 = 0xc4e6e640  r5 = 0xc498e000
          r6 = 0x00000000  r7 = 0x00000000
          r8 = 0xde03ae10  r9 = 0x00000001
         r10 = 0x00000000
sys_unlink() at sys_unlink+0x24
          pc = 0xc0ae47d8  lr = 0xc0bc8b6c (swi_handler+0x224)
          sp = 0xde03adc0  fp = 0xde03ae58
swi_handler() at swi_handler+0x224
          pc = 0xc0bc8b6c  lr = 0xc0bba1c8 (swi_entry+0x40)
          sp = 0xde03ae60  fp = 0xbfffea58
          r4 = 0x20c0a364  r5 = 0x20c0a2a0
          r6 = 0x20c9f114  r7 = 0x0000000a
          r8 = 0x20c0a200
swi_entry() at swi_entry+0x40
          pc = 0xc0bba1c8  lr = 0xc0bba1c8 (swi_entry+0x40)
          sp = 0xde03ae60  fp = 0xbfffea58
Unable to unwind further
db>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.w3pgtwqb8527sy>