Re: Problems with 2.6.8.1, loop-AES and ext3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sonntag 29 August 2004 13:33, Jari Ruusu wrote:
> David Gümbel wrote:
> > OK, no problem, I will test the second patch you sent. Shall I test it
> > with or without preempt enabled?
>
> Please disregard earlier patches and try attached patch.
>
> The "ls: reading directory /tmp: Input/Output error" was a good clue that
> pointed me to right direction. Before I was chasing errors in wrong
> places.

Unfortunately, I have to report the problem is still there with the patch 
you sent applied (v2.1c-3.diff.bz2) on 2.6.8.1 with loop-AES-v2.1c, preempt 
disabled (regparams still on, /proc/config.gz attached). Attached are 
another strace output of "ls /tmp", and the output of "ls -la /tmp".

I managed to find a way to easily trigger the bug: cd into directory 
~/Mail/Spamverdacht/new and type "ls -la". Currently, that dir is empty. 
Doing the same thing in ~/downloads (dir #2 having shown the error) didn't 
cause problems.

This is the log output appearing after me triggering the bug. Strange thing 
is that after remounting for e2fsck, e2fsck didn't find any error at all.

Aug 29 15:09:29 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 8192
Aug 29 15:09:29 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 16384
Aug 29 15:09:29 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 24576
Aug 29 15:09:29 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 32768
Aug 29 15:09:29 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 40960
Aug 29 15:09:29 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 49152
Aug 29 15:09:29 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 57344
Aug 29 15:09:29 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 65536
Aug 29 15:09:29 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 73728
Aug 29 15:09:29 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 81920
Aug 29 15:09:29 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 90112
Aug 29 15:09:29 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 98304
Aug 29 15:09:29 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 106496
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 114688
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 122880
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 131072
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 139264
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 147456
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 155648
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 163840
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 172032
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 180224
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 188416
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 196608
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 204800
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 212992
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 221184
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 229376
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 237568
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 245760
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 253952
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 262144
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 270336
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 278528
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 286720
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 294912
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 303104
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 311296
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 319488
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 327680
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 335872
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 344064
Aug 29 15:09:30 [kernel] EXT3-fs error (device loop0): ext3_readdir: 
directory #802557 contains a hole at offset 352256
Aug 29 15:09:30 [kernel] ext3_abort called.



Regards,



David

Attachment: config-2.6.8.1-preempt-disabled.gz
Description: GNU Zip compressed data

execve("/bin/ls", ["ls", "/tmp/"], [/* 44 vars */]) = 0
uname({sys="Linux", node="marsupilami", ...}) = 0
brk(0)                                  = 0x8059000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40000000
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=136274, ...}) = 0
mmap2(NULL, 136274, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40001000
close(3)                                = 0
open("/lib/librt.so.1", O_RDONLY)       = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200/\351"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=32284, ...}) = 0
mmap2(0x47e91000, 29960, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x47e91000
mmap2(0x47e98000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6) = 0x47e98000
close(3)                                = 0
open("/lib/libncurses.so.5", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\22\32"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=317539, ...}) = 0
mmap2(0x49193000, 276228, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x49193000
mmap2(0x491ce000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x3b) = 0x491ce000
mmap2(0x491d6000, 1796, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x491d6000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\315\244"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1161360, ...}) = 0
mmap2(0x47a55000, 1089260, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x47a55000
mmap2(0x47b59000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x103) = 0x47b59000
mmap2(0x47b5d000, 7916, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x47b5d000
close(3)                                = 0
open("/lib/libpthread.so.0", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\351"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=69240, ...}) = 0
mmap2(0x47c8a000, 66892, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x47c8a000
mmap2(0x47c98000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xd) = 0x47c98000
mmap2(0x47c99000, 5452, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x47c99000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40023000
set_thread_area({entry_number:-1 -> 6, base_addr:0x400235b0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0x40001000, 136274)              = 0
set_tid_address(0x400235f8)             = 7465
rt_sigaction(SIGRTMIN, {0x47c8e658, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbffff2b8, 32, (nil), 0}) = 0
open("/dev/urandom", O_RDONLY)          = 3
read(3, "q\"\245\20", 4)                = 4
close(3)                                = 0
brk(0)                                  = 0x8059000
brk(0x807a000)                          = 0x807a000
brk(0)                                  = 0x807a000
rt_sigaction(SIGTERM, {0x8049a04, [TERM], SA_RESTART}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGKILL, {0x8049a04, [KILL], SA_RESTART}, {0x47a7cbdd, [], SA_RESTART}, 8) = -1 EINVAL (Invalid argument)
rt_sigaction(SIGSTOP, {0x8049a04, [STOP], SA_RESTART}, {SIG_DFL}, 8) = -1 EINVAL (Invalid argument)
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffff2c8) = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(1, TIOCGWINSZ, 0xbffff370)        = -1 ENOTTY (Inappropriate ioctl for device)
stat64("/tmp/", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=24184, ...}) = 0
socket(PF_UNIX, SOCK_STREAM, 0)         = 3
connect(3, {sa_family=AF_UNIX, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=498, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40001000
read(3, "# /etc/nsswitch.conf:\n# $Header:"..., 4096) = 498
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40001000, 4096)                = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=136274, ...}) = 0
mmap2(NULL, 136274, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40001000
close(3)                                = 0
open("/lib/libnss_compat.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\21"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=27452, ...}) = 0
mmap2(NULL, 29824, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40024000
mmap2(0x4002b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6) = 0x4002b000
close(3)                                = 0
open("/lib/libnsl.so.1", O_RDONLY)      = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\v\372"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=78016, ...}) = 0
mmap2(0x48f9d000, 80512, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x48f9d000
mmap2(0x48fae000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x11) = 0x48fae000
mmap2(0x48faf000, 6784, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x48faf000
close(3)                                = 0
munmap(0x40001000, 136274)              = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=136274, ...}) = 0
mmap2(NULL, 136274, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40001000
close(3)                                = 0
open("/lib/libnss_nis.so.2", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\35\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=34472, ...}) = 0
mmap2(NULL, 36260, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4002c000
mmap2(0x40034000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x7) = 0x40034000
close(3)                                = 0
open("/lib/libnss_files.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\35\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=34700, ...}) = 0
mmap2(NULL, 36756, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40035000
mmap2(0x4003d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x7) = 0x4003d000
close(3)                                = 0
munmap(0x40001000, 136274)              = 0
open("/etc/passwd", O_RDONLY)           = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
_llseek(3, 0, [0], SEEK_CUR)            = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=2268, ...}) = 0
mmap2(NULL, 2268, PROT_READ, MAP_SHARED, 3, 0) = 0x40001000
_llseek(3, 2268, [2268], SEEK_SET)      = 0
munmap(0x40001000, 2268)                = 0
close(3)                                = 0
socket(PF_UNIX, SOCK_STREAM, 0)         = 3
connect(3, {sa_family=AF_UNIX, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
open("/etc/group", O_RDONLY)            = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
_llseek(3, 0, [0], SEEK_CUR)            = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=877, ...}) = 0
mmap2(NULL, 877, PROT_READ, MAP_SHARED, 3, 0) = 0x40001000
_llseek(3, 877, [877], SEEK_SET)        = 0
munmap(0x40001000, 877)                 = 0
close(3)                                = 0
open("/tmp/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|S_ISVTX|0777, st_size=24184, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40001000
getdents64(3, 0x40001024, 131072)       = -1 EIO (Input/output error)
munmap(0x40001000, 135168)              = 0
close(3)                                = 0
write(2, "ls: ", 4ls: )                     = 4
write(2, "reading directory /tmp/", 23reading directory /tmp/) = 23
write(2, ": Input/output error", 20: Input/output error)    = 20
write(2, "\n", 1
)                       = 1
exit_group(1)                           = ?
ls: reading directory /tmp/: Input/output error
total 0


Attachment: pgp86NyoMKD0z.pgp
Description: PGP signature


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux