Hello

I think I have found a bug in the copyup-procedure.

I had a segmentation fault, after doing the following:

mount branch read-writable:
host # mount -o remount,rw /mnt/rootfs

update rootfs branch:
installer # rsync -avz-rltz --temp-dir=/tmp --numeric-ids --progress --delete 
new_rootfs/ [EMAIL PROTECTED]:/mnt/rootfs/

mount branch read-only:
host # mount -o remount,ro /mnt/rootfs

copy some files manually from rootfs to the Union, because there some files 
changed in the Union:
host # cp /mnt/rootfs/<path-to-file> /<path-to-file> # some files were not 
up-to-date

This was the log output:
2008-11-11 08:30:35 chgut2fw01 aufs au_cpup_single:556:cp[19106]: I/O Error, 
i74 exists on a upper branch but plink is broken
2008-11-11 08:30:35 chgut2fw01 ------------[ cut here ]------------
2008-11-11 08:30:35 chgut2fw01 kernel BUG at 
/usr/src/aufs-cvs/aufs-20081027/fs/aufs/i_op.c:351!
2008-11-11 08:30:35 chgut2fw01 invalid opcode: 0000 [#1]
2008-11-11 08:30:35 chgut2fw01
2008-11-11 08:30:35 chgut2fw01 Pid: 19118, comm: cp Not tainted 
(2.6.24-gentoo-r8 #1)
2008-11-11 08:30:35 chgut2fw01 EIP: 0060:[<d08a6f10>] EFLAGS: 00010286 CPU: 0
2008-11-11 08:30:35 chgut2fw01 EIP is at au_wr_dir+0x5e0/0x2760 [aufs]
2008-11-11 08:30:35 chgut2fw01 EAX: ffffffe2 EBX: c8f9fe34 ECX: ffff0001 EDX: 
cfbb5a80
2008-11-11 08:30:35 chgut2fw01 ESI: cb794114 EDI: cf5646e4 EBP: 00000002 ESP: 
c8f9fd80
2008-11-11 08:30:36 chgut2fw01 DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068
2008-11-11 08:30:36 chgut2fw01 Process cp (pid: 19118, ti=c8f9e000 
task=cc236560 task.ti=c8f9e000)
2008-11-11 08:30:36 chgut2fw01 Stack: 00000001 00000000 00000003 00000000 
00000004 0000001c 00000004 cfc0db60
2008-11-11 08:30:36 chgut2fw01 cf5646e4 d089b256 00000000 cfbb658c 0002b331 
cf989c00 00000000 cfbb6580
2008-11-11 08:30:36 chgut2fw01 c33a2c24 00000000 cc054140 c8f9fe34 d08a72b9 
00000000 c3d5d760 00000002
2008-11-11 08:30:36 chgut2fw01 Call Trace:
2008-11-11 08:30:36 chgut2fw01 [<d089b256>] di_write_lock+0x36/0xa0 [aufs]
2008-11-11 08:30:36 chgut2fw01 [<d08a72b9>] au_wr_dir+0x989/0x2760 [aufs]
2008-11-11 08:30:36 chgut2fw01 [<d08a6019>] au_pin_init+0x1f9/0x3f0 [aufs]
2008-11-11 08:30:36 chgut2fw01 [<d088395f>] aufs_read_lock+0x7f/0xf0 [aufs]
2008-11-11 08:30:36 chgut2fw01 [<c0150002>] shmem_file_read+0xb2/0x260
2008-11-11 08:30:36 chgut2fw01 [<c0167c3c>] notify_change+0xdc/0x2c0
2008-11-11 08:30:36 chgut2fw01 [<c01540fa>] do_truncate+0x6a/0x90
2008-11-11 08:30:36 chgut2fw01 [<c015b9ea>] permission+0x6a/0x110
2008-11-11 08:30:36 chgut2fw01 [<c015cd27>] may_open+0x177/0x1d0
2008-11-11 08:30:36 chgut2fw01 [<c015eb73>] open_namei+0x73/0x590
2008-11-11 08:30:36 chgut2fw01 [<c01537d3>] do_filp_open+0x33/0x60
2008-11-11 08:30:36 chgut2fw01 [<c015348e>] get_unused_fd_flags+0x4e/0xd0
2008-11-11 08:30:36 chgut2fw01 [<c015384c>] do_sys_open+0x4c/0xf0
2008-11-11 08:30:36 chgut2fw01 [<c015392c>] sys_open+0x1c/0x20
2008-11-11 08:30:36 chgut2fw01 [<c0104012>] syscall_call+0x7/0xb
2008-11-11 08:30:36 chgut2fw01 =======================
2008-11-11 08:30:36 chgut2fw01 Code: 89 5c 24 04 89 44 24 0c 89 54 24 10 c7 04 
24 6d aa 8b d0 e8 c3 f1 86 ef e9 74 fc ff ff 0f 0b eb fe 0f 0b eb fe 8d b6 00 
00 00 00 <0f> 0b eb fe 0f 0b eb fe 0f 0b eb fe 0f 0b eb fe 0f 0b eb fe 0f
2008-11-11 08:30:36 chgut2fw01 EIP: [<d08a6f10>] au_wr_dir+0x5e0/0x2760 [aufs] 
SS:ESP 0068:c8f9fd80
2008-11-11 08:30:36 chgut2fw01 ---[ end trace 7df778b31809ddb9 ]---

In the attached tarball you will find some information about the system.
Please, let me know if I have missed something.

Thanks.

Best regards
Elmar

Attachment: aufs_related_infos.tar.gz
Description: aufs_related_infos.tar.gz

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Reply via email to