Hi,
     I just tried the persistent inode feature and everything was
working fine untill I added a branch to the unionfs base. The
following is the error message from my arm board. Is it possible to
add branches when we use persistent inode feature ?
    /# mount -n -t unionfs -o
debug=18,noatime,delete=all,dirs=/var/original=rw,imap=/snapshots/imap/fwd:/snapshots/imap/rev
unionfs /var/base
/ # unionctl /var/base --add --mode rw /snapshots/snaps/00
/ # unionctl /var/base --list
       /snapshots/snaps/00 (rw-)
       /var/original (rw-)
/ # ls /var/base
Unable to handle kernel paging request at virtual address ff000107
pgd = c3d60000
[ff000107] *pgd=00000000
Internal error: Oops: 1 [#1]
Modules linked in:
CPU: 0
PC is at read_uin+0xc0/0x2b4
LR is at 0xc3d43d60
pc : [<c01cf788>]    lr : [<c3d43d60>]    Not tainted
sp : c3d43d38  ip : 00000001  fp : c3d43d9c
r10: c05d6600  r9 : 0000000b  r8 : 0000000a
r7 : 00000000  r6 : 00000040  r5 : 00000000  r4 : 00000000
r3 : c3d43db4  r2 : 00000000  r1 : 00000090  r0 : ff0000ff
Flags: nzcv  IRQs on  FIQs on  Mode SVC_32  Segment user
Control: A005317F  Table: 03D60000  DAC: 00000015
Process ls (pid: 271, stack limit = 0xc3d421a0)
Stack: (0xc3d43d38 to 0xc3d44000)
3d20:                                                       c0066de8 c032ec54
3d40: c004c1f0 c00680bc 0000021a c3d43d58 c01aeecc 0000000b 00000001 c3c22000
3d60: 00000088 00000000 000000f4 00000000 c01d7654 0030000a c3d43ef8 00000000
3d80: c05ac020 0000000a 0000000b 00000000 c3d43de4 c3d43da0 c01d6d04 c01cf6d8
3da0: c3d43db4 0000000a c05ac020 c3c19ea0 c3d43de4 00000000 c0121960 00000000
3dc0: c3cd41a8 c05ac018 c3cd4180 0000002c c3caa0c8 c3c3d930 c3d43e8c c3d43de8
3de0: c011e824 c01d6c30 00000018 00000000 0000000b 00000004 00000012 00000001
3e00: c3caa108 00000000 c3c22e00 00000002 00000000 c01d6c20 c3d43ef8 00000000
3e20: c0068550 000001a0 00000012 00000006 c3cd4ec8 c000c820 c3d43e9c c3d43e48
3e40: c01ae984 c0022f14 0000006a 00000003 c3d2eea8 c005dd24 c0068358 00000002
3e60: 00000001 c3cd4180 c3caa13c fffffffe c3caa0c8 c01d6c20 c3cd4180 c3c19ea0
3e80: c3d43eb4 c3d43e90 c00f4e78 c011e2dc c00e1a30 00000000 00000000 c3d43ec0
3ea0: 00000000 00000000 c3d43f44 c3d43eb8 c01d709c c00f4dfc c00683ac 00000001
3ec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000817 c3c19eb0
3ee0: 00000001 c3d2eea8 00000000 c00f5208 c3d43f70 c3cd4ea0 c3c19ea0 c3d43f70
3f00: 00000000 00000003 00000000 c00f5208 c3c22000 00000800 c0025e00 c3cd4ea0
3f20: c3d2ef1c fffffffe c3d2eea8 c00f5208 c3d42000 009000d9 c3d43f6c c3d43f48
3f40: c00f4e78 c01d6e10 c3d23228 000c4128 00000000 fffffff7 00001000 c3cd4ea0
3f60: c3d43fa4 c3d43f70 c00f53e8 c00f4dfc 000c4208 000c41f0 00000f20 ffffffea
3f80: c00895d8 000c40f8 bed61fd2 00000000 000000d9 c0042a0c 00000000 c3d43fa8
3fa0: c0042280 c00f5388 000c40f8 c00895a8 00000003 000c4128 00001000 00000000
3fc0: 000c40f8 bed61fd2 00000000 00000000 00000000 000c40e8 4021a000 bed61e7c
3fe0: bed61e80 bed61e60 40199e94 40199e10 60000010 00000003 00b7fd00 80ffff00
Backtrace:
[<c01cf6c8>] (read_uin+0x0/0x2b4) from [<c01d6d04>] (unionfs_filldir+0xe4/0x1e0)
[<c01d6c20>] (unionfs_filldir+0x0/0x1e0) from [<c011e824>]
(ext3_readdir+0x558/0x65c)
[<c011e2cc>] (ext3_readdir+0x0/0x65c) from [<c00f4e78>] (vfs_readdir+0x8c/0xd4)
[<c00f4dec>] (vfs_readdir+0x0/0xd4) from [<c01d709c>]
(unionfs_readdir+0x29c/0x4e8)
r8 = 00000000  r7 = 00000000  r6 = C3D43EC0  r5 = 00000000
r4 = 00000000
[<c01d6e00>] (unionfs_readdir+0x0/0x4e8) from [<c00f4e78>]
(vfs_readdir+0x8c/0xd4)
[<c00f4dec>] (vfs_readdir+0x0/0xd4) from [<c00f53e8>] (sys_getdents64+0x70/0xc8)
r8 = C3CD4EA0  r7 = 00001000  r6 = FFFFFFF7  r5 = 00000000
r4 = 000C4128
[<c00f5378>] (sys_getdents64+0x0/0xc8) from [<c0042280>]
(ret_fast_syscall+0x0/0x2c)
r8 = C0042A0C  r7 = 000000D9  r6 = 00000000  r5 = BED61FD2
r4 = 000C40F8
Code: e59b3004 e0a22004 e1a05007 e5837000 (e5903008)
<7>  IN:  unionfs_flush fs/unionfs/commonfops.c:665
  IN:  unionfs_file_revalidate fs/unionfs/commonfops.c:172  file = c3cd4ea0
   IN:  unionfs_d_revalidate fs/unionfs/dentry.c:44
    IN:  fist_copy_attr_all fs/unionfs/unionfs.h:549
    OUT: fist_copy_attr_all fs/unionfs/unionfs.h:567
PD:revalidate out: dentry = c3cd5668
PD:revalidate out: d_count=22
PD:revalidate out: d_flags=10
PD:revalidate out: d_name.name="/" (len = 1)
PD:revalidate out: d_sb=c3c22000 (unionfs)
PD:revalidate out: d_inode=c3d2eea8
PD:revalidate out: d_inode->i_ino=3 (unionfs)
PD:revalidate out: dentry->d_inode->i_mode: d40755
PD:revalidate out: d_parent=c3cd5668 (unionfs)
PD:revalidate out: d_parent->d_name.name="/"
PD:revalidate out: d_parent->d_count=22
PD:revalidate out: d_op=c032e920
PD:revalidate out: d_fsdata=c3d363e0
PD:revalidate out: hlist_unhashed(d_hash)=1
PD:revalidate out: dbstart=0, dbend=1, dbopaque=-1
PD:revalidate out: HD0: dentry = c3d781a0
PD:revalidate out: HD0: d_count=2
PD:revalidate out: HD0: d_flags=8
PD:revalidate out: HD0: d_name.name="00" (len = 2)
PD:revalidate out: HD0: d_sb=c05d5000 (ext3)
PD:revalidate out: HD0: d_inode=c3c1a0c8
PD:revalidate out: HD0: d_inode->i_ino=60930 (ext3)
PD:revalidate out: HD0: dentry->d_inode->i_mode: d40755
PD:revalidate out: HD0: d_parent=c3c16910 (ext3)
PD:revalidate out: HD0: d_parent->d_name.name="snaps"
PD:revalidate out: HD0: d_parent->d_count=1
PD:revalidate out: HD0: d_op=00000000
PD:revalidate out: HD0: d_fsdata=00000000
PD:revalidate out: HD0: hlist_unhashed(d_hash)=0
PD:revalidate out: HD1: dentry = c3c16338
PD:revalidate out: HD1: d_count=42
PD:revalidate out: HD1: d_flags=10
PD:revalidate out: HD1: d_name.name="/" (len = 1)
PD:revalidate out: HD1: d_sb=c3c22e00 (ext3)
PD:revalidate out: HD1: d_inode=c3caa0c8
PD:revalidate out: HD1: d_inode->i_ino=2 (ext3)
PD:revalidate out: HD1: dentry->d_inode->i_mode: d40777
PD:revalidate out: HD1: d_parent=c3c16338 (ext3)
PD:revalidate out: HD1: d_parent->d_name.name="/"
PD:revalidate out: HD1: d_parent->d_count=42
PD:revalidate out: HD1: d_op=00000000
PD:revalidate out: HD1: d_fsdata=00000000
PD:revalidate out: HD1: hlist_unhashed(d_hash)=1
   OUT: unionfs_d_revalidate fs/unionfs/dentry.c:176, STATUS: 1
PD:file revalidate in: dentry = c3cd5668
PD:file revalidate in: d_count=22
PD:file revalidate in: d_flags=10
PD:file revalidate in: d_name.name="/" (len = 1)
PD:file revalidate in: d_sb=c3c22000 (unionfs)
PD:file revalidate in: d_inode=c3d2eea8
PD:file revalidate in: d_inode->i_ino=3 (unionfs)
PD:file revalidate in: dentry->d_inode->i_mode: d40755
PD:file revalidate in: d_parent=c3cd5668 (unionfs)
PD:file revalidate in: d_parent->d_name.name="/"
PD:file revalidate in: d_parent->d_count=22
PD:file revalidate in: d_op=c032e920
PD:file revalidate in: d_fsdata=c3d363e0
PD:file revalidate in: hlist_unhashed(d_hash)=1
PD:file revalidate in: dbstart=0, dbend=1, dbopaque=-1
PD:file revalidate in: HD0: dentry = c3d781a0
PD:file revalidate in: HD0: d_count=2
PD:file revalidate in: HD0: d_flags=8
PD:file revalidate in: HD0: d_name.name="00" (len = 2)
PD:file revalidate in: HD0: d_sb=c05d5000 (ext3)
PD:file revalidate in: HD0: d_inode=c3c1a0c8
PD:file revalidate in: HD0: d_inode->i_ino=60930 (ext3)
PD:file revalidate in: HD0: dentry->d_inode->i_mode: d40755
PD:file revalidate in: HD0: d_parent=c3c16910 (ext3)
PD:file revalidate in: HD0: d_parent->d_name.name="snaps"
PD:file revalidate in: HD0: d_parent->d_count=1
PD:file revalidate in: HD0: d_op=00000000
PD:file revalidate in: HD0: d_fsdata=00000000
PD:file revalidate in: HD0: hlist_unhashed(d_hash)=0
PD:file revalidate in: HD1: dentry = c3c16338
PD:file revalidate in: HD1: d_count=42
PD:file revalidate in: HD1: d_flags=10
PD:file revalidate in: HD1: d_name.name="/" (len = 1)
PD:file revalidate in: HD1: d_sb=c3c22e00 (ext3)
PD:file revalidate in: HD1: d_inode=c3caa0c8
PD:file revalidate in: HD1: d_inode->i_ino=2 (ext3)
PD:file revalidate in: HD1: dentry->d_inode->i_mode: d40777
PD:file revalidate in: HD1: d_parent=c3c16338 (ext3)
PD:file revalidate in: HD1: d_parent->d_name.name="/"
PD:file revalidate in: HD1: d_parent->d_count=42
PD:file revalidate in: HD1: d_op=00000000
PD:file revalidate in: HD1: d_fsdata=00000000
PD:file revalidate in: HD1: hlist_unhashed(d_hash)=1
PD:file revalidate out: dentry = c3cd5668
PD:file revalidate out: d_count=22
PD:file revalidate out: d_flags=10
PD:file revalidate out: d_name.name="/" (len = 1)
PD:file revalidate out: d_sb=c3c22000 (unionfs)
PD:file revalidate out: d_inode=c3d2eea8
PD:file revalidate out: d_inode->i_ino=3 (unionfs)
PD:file revalidate out: dentry->d_inode->i_mode: d40755
PD:file revalidate out: d_parent=c3cd5668 (unionfs)
PD:file revalidate out: d_parent->d_name.name="/"
PD:file revalidate out: d_parent->d_count=22
PD:file revalidate out: d_op=c032e920
PD:file revalidate out: d_fsdata=c3d363e0
PD:file revalidate out: hlist_unhashed(d_hash)=1
PD:file revalidate out: dbstart=0, dbend=1, dbopaque=-1
PD:file revalidate out: HD0: dentry = c3d781a0
PD:file revalidate out: HD0: d_count=2
PD:file revalidate out: HD0: d_flags=8
PD:file revalidate out: HD0: d_name.name="00" (len = 2)
PD:file revalidate out: HD0: d_sb=c05d5000 (ext3)
PD:file revalidate out: HD0: d_inode=c3c1a0c8
PD:file revalidate out: HD0: d_inode->i_ino=60930 (ext3)
PD:file revalidate out: HD0: dentry->d_inode->i_mode: d40755
PD:file revalidate out: HD0: d_parent=c3c16910 (ext3)
PD:file revalidate out: HD0: d_parent->d_name.name="snaps"
PD:file revalidate out: HD0: d_parent->d_count=1
PD:file revalidate out: HD0: d_op=00000000
PD:file revalidate out: HD0: d_fsdata=00000000
PD:file revalidate out: HD0: hlist_unhashed(d_hash)=0
PD:file revalidate out: HD1: dentry = c3c16338
PD:file revalidate out: HD1: d_count=42
PD:file revalidate out: HD1: d_flags=10
PD:file revalidate out: HD1: d_name.name="/" (len = 1)
PD:file revalidate out: HD1: d_sb=c3c22e00 (ext3)
PD:file revalidate out: HD1: d_inode=c3caa0c8
PD:file revalidate out: HD1: d_inode->i_ino=2 (ext3)
PD:file revalidate out: HD1: dentry->d_inode->i_mode: d40777
PD:file revalidate out: HD1: d_parent=c3c16338 (ext3)
PD:file revalidate out: HD1: d_parent->d_name.name="/"
PD:file revalidate out: HD1: d_parent->d_count=42
PD:file revalidate out: HD1: d_op=00000000
PD:file revalidate out: HD1: d_fsdata=00000000
PD:file revalidate out: HD1: hlist_unhashed(d_hash)=1
  OUT: unionfs_file_revalidate fs/unionfs/commonfops.c:344, STATUS: 0
 OUT: unionfs_flush fs/unionfs/commonfops.c:698, STATUS: 0
Segmentation fault
_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to