Hallo,
I'm trying to create a flash-based linux-system based on SLES9 - unionfs is
used with these layers: tmpfs=rw,ext2=ro,squashfs=ro
kernel is 2.6.14.3 - unionfs latest snapshot (20051130)
I always get a kernel oops when i try to start postfix on this machine:
Oops: 0002 [#1]
Modules linked in: edd evdev joydev sg st sd_mod sr_mod scsi_mod ide_cd
cdrom nvram eeprom i2c_viapro af_packet 8139too mii via686a i2c_isa
i2c_core uhcis
CPU: 0
EIP: 0060:[<e0e03538>] Not tainted VLI
EFLAGS: 00010292 (2.6.14.3)
EIP is at __fist_print_dentry+0x3c38/0x3fe0 [unionfs]
eax: 000000d7 ebx: 00000002 ecx: d6afdcbc edx: e0e09b68
esi: d6b3b888 edi: 00000000 ebp: d6b4a1a0 esp: d6afdcb8
ds: 007b es: 007b ss: 0068
Process postsuper (pid: 9678, threadinfo=d6afd000 task=dd9b2a30)
Stack: e0e09b68 e0e09e3c e0e09b2c 000001a0 e0e055c7 e0e09a24 00000132
e0e0557e
ffffffff 00000001 e0e0a28a e0e11fa0 e0e04e41 e0e079b0 000002ce
d6b3b888
d6b731e0 00000011 00000002 d6b4a090 00000000 00000002 00000000
d6bb6338
Call Trace:
[<c015b67f>] cached_lookup+0xf/0x70
[<c0127990>] in_group_p+0x30/0x70
[<c01b63a5>] capable+0x15/0x30
[<c015b4ea>] generic_permission+0xda/0x110
[<c015b594>] permission+0x74/0xb0
[<c015d93e>] vfs_mkdir+0x7e/0xd0
[<e0cd0845>] create_whiteout_parent+0x2035/0x2fe0 [unionfs]
[<e0d96722>] unionfs_rename_all+0xa7a2/0x12bc0 [unionfs]
[<c0139068>] prep_new_page+0x38/0x70
[<c0139550>] buffered_rmqueue+0xe0/0x1c0
[<e0da2696>] unionfs_rename+0x11c6/0x1240 [unionfs]
[<c015e4f2>] vfs_rename_other+0xb2/0x100
[<c015e7c3>] vfs_rename+0x283/0x410
[<c015ead2>] sys_rename+0x182/0x1b0
[<c010711b>] do_syscall_trace+0x9b/0x116
[<c0102ce9>] syscall_call+0x7/0xb
Code: 55 e0 e0 68 32 01 00 00 68 24 9a e0 e0 68 c7 55 e0 e0 68 a0 01 00 00
68 2c 9b e0 e0 68 3c 9e e0 e0 68 68 9b e0 e0 e8 b8 81 31 df <c6> 05 00 00
00 0
an strace of postfix ends with these lines:
[pid 9678] chdir("/var/spool/postfix") = 0
[pid 9678] geteuid32() = 0
[pid 9678] setgid32(51) = 0
[pid 9678] open("/proc/sys/kernel/ngroups_max", O_RDONLY) = 4
[pid 9678] read(4, "65536\n", 31) = 6
[pid 9678] close(4) = 0
[pid 9678] setgroups32(1, [51]) = 0
[pid 9678] setuid32(51) = 0
[pid 9678] rt_sigaction(SIGHUP, {0x804a609, [HUP], SA_RESTART}, {SIG_IGN},
8) = 0
[pid 9678] rt_sigaction(SIGINT, {0x804a609, [INT], SA_RESTART}, {SIG_DFL},
8) = 0
[pid 9678] rt_sigaction(SIGQUIT, {0x804a609, [QUIT], SA_RESTART},
{SIG_DFL}, 8) = 0
[pid 9678] rt_sigaction(SIGTERM, {0x804a609, [TERM], SA_RESTART},
{SIG_DFL}, 8) = 0
[pid 9678] open("/dev/null", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOTDIR
(Not a directory)
[pid 9678] open("defer", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
[pid 9678] fstat64(4, {st_mode=S_IFDIR|0700, st_size=0, ...}) = 0
[pid 9678] fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
[pid 9678] getdents64(4, /* 0 entries */, 8192) = 0
[pid 9678] close(4) = 0
[pid 9678] open("bounce", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
[pid 9678] fstat64(4, {st_mode=S_IFDIR|0700, st_size=0, ...}) = 0
[pid 9678] fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
[pid 9678] getdents64(4, /* 0 entries */, 8192) = 0
[pid 9678] close(4) = 0
[pid 9678] open("maildrop", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) =
4
[pid 9678] fstat64(4, {st_mode=S_IFDIR|0730, st_size=17, ...}) = 0
[pid 9678] fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
[pid 9678] getdents64(4, /* 1 entries */, 8192) = 32
[pid 9678] stat64("maildrop/E16C882BB2", {st_mode=S_IFREG|0744,
st_size=5766, ...}) = 0
[pid 9678] rename("bounce/E/E16C882BB2", "bounce/E/E16C838E0#FIX") = -1
ENOENT (No such file or directory)
[pid 9678] stat64("bounce/E/E16C882BB2", 0xbf8e5cbc) = -1 ENOENT (No such
file or directory)
[pid 9678] stat64("bounce/E/E16C838E0#FIX", 0xbf8e5cbc) = -1 ENOENT (No
such file or directory)
[pid 9678] stat64("bounce", {st_mode=S_IFDIR|0700, st_size=0, ...}) = 0
[pid 9678] stat64("bounce/E", 0xbf8e5c9c) = -1 ENOENT (No such file or
directory)
[pid 9678] mkdir("bounce/E", 0700) = 0
[pid 9678] rename("bounce/E/E16C882BB2", "bounce/E/E16C838E0#FIX") = -1
ENOENT (No such file or directory)
[pid 9678] stat64("bounce/E/E16C882BB2", 0xbf8e5cbc) = -1 ENOENT (No such
file or directory)
[pid 9678] stat64("bounce/E/E16C838E0#FIX", 0xbf8e5cbc) = -1 ENOENT (No
such file or directory)
[pid 9678] rename("defer/E/E16C882BB2", "defer/E/E16C838E0#FIX") = -1
ENOENT (No such file or directory)
[pid 9678] stat64("defer/E/E16C882BB2", 0xbf8e5cbc) = -1 ENOENT (No such
file or directory)
[pid 9678] stat64("defer/E/E16C838E0#FIX", 0xbf8e5cbc) = -1 ENOENT (No
such file or directory)
[pid 9678] stat64("defer", {st_mode=S_IFDIR|0700, st_size=0, ...}) = 0
[pid 9678] stat64("defer/E", 0xbf8e5c9c) = -1 ENOENT (No such file or
directory)
[pid 9678] mkdir("defer/E", 0700) = 0
[pid 9678] rename("defer/E/E16C882BB2", "defer/E/E16C838E0#FIX") = -1
ENOENT (No such file or directory)
[pid 9678] stat64("defer/E/E16C882BB2", 0xbf8e5cbc) = -1 ENOENT (No such
file or directory)
[pid 9678] stat64("defer/E/E16C838E0#FIX", 0xbf8e5cbc) = -1 ENOENT (No
such file or directory)
[pid 9678] rename("trace/E/E16C882BB2", "trace/E/E16C838E0#FIX") = -1
ENOENT (No such file or directory)
[pid 9678] stat64("trace/E/E16C882BB2", 0xbf8e5cbc) = -1 ENOENT (No such
file or directory)
[pid 9678] stat64("trace/E/E16C838E0#FIX", 0xbf8e5cbc) = -1 ENOENT (No
such file or directory)
[pid 9678] stat64("trace", {st_mode=S_IFDIR|0700, st_size=0, ...}) = 0
[pid 9678] stat64("trace/E", 0xbf8e5c9c) = -1 ENOENT (No such file or
directory)
[pid 9678] mkdir("trace/E", 0700) = 0
[pid 9678] rename("trace/E/E16C882BB2", "trace/E/E16C838E0#FIX") = -1
ENOENT (No such file or directory)
[pid 9678] stat64("trace/E/E16C882BB2", 0xbf8e5cbc) = -1 ENOENT (No such
file or directory)
[pid 9678] stat64("trace/E/E16C838E0#FIX", 0xbf8e5cbc) = -1 ENOENT (No
such file or directory)
[pid 9678] rename("maildrop/E16C882BB2", "maildrop/E16C838E0#FIX"
it looks like postfix tries to rename some non-existing files during
bootup, but i don't know why it eventually oopses on this.
the file in /var/spool/postfix/maildrop is the only file in that directory
structure that actually exists and i can rename that one with 'mv' without
problems. only postfix seems to cause problems doing that.
Mit freundlichem Gruß/ with kind regards
Heiko Helmle
_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs