[Pkg-cryptsetup-devel] Bug#409875: Stacktrace

Johannes Schlumberger asso at doriath.informatik.uni-erlangen.de
Tue Feb 6 11:17:44 CET 2007


Hi,
after catching a little sleep I made a stacktrace of the cryptsetup call in my
initial mail. It is attached.

I think the Problem is in line 105 of the trace, since I do not have much
knowledge about devicemapper internas I am not able to see what is going wrong
exactly.
regards,
    Johannes
-------------- next part --------------
execve("/sbin/cryptsetup", ["cryptsetup", "-c", "aes", "-s", "256", "-d", "/dev/stdin", "create", "root", "/dev/md0"], [/* 37 vars */]) = 0
uname({sys="Linux", node="asso", ...})  = 0
brk(0)                                  = 0x80a1000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fb1000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fb0000
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=34425, ...}) = 0
mmap2(NULL, 34425, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fa7000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libpopt.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\0\22\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=26444, ...}) = 0
mmap2(NULL, 29484, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f9f000
mmap2(0xb7fa6000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0xb7fa6000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libdevmapper.so.1.02", 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\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=66292, ...}) = 0
mmap2(NULL, 69304, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f8e000
mmap2(0xb7f9d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe) = 0xb7f9d000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libuuid.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\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9128, ...}) = 0
mmap2(NULL, 12064, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f8b000
mmap2(0xb7f8d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7f8d000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/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\240O\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1241580, ...}) = 0
mmap2(NULL, 1247388, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e5a000
mmap2(0xb7f81000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x127) = 0xb7f81000
mmap2(0xb7f88000, 10396, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f88000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libselinux.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\0P8\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=79368, ...}) = 0
mmap2(NULL, 84884, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e45000
mmap2(0xb7e58000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12) = 0xb7e58000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libsepol.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\0200\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=219824, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e44000
mmap2(NULL, 265152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e03000
mmap2(0xb7e39000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x35) = 0xb7e39000
mmap2(0xb7e3a000, 39872, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e3a000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libdl.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\f\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9592, ...}) = 0
mmap2(NULL, 12404, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7dff000
mmap2(0xb7e01000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7e01000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7dfe000
mprotect(0xb7f81000, 20480, PROT_READ)  = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7dfe6c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0xb7fa7000, 34425)               = 0
access("/etc/selinux/", F_OK)           = -1 ENOENT (No such file or directory)
brk(0)                                  = 0x80a1000
brk(0x80c2000)                          = 0x80c2000
open("/proc/mounts", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7faf000
read(3, "rootfs / rootfs rw 0 0\n/dev/root"..., 1024) = 699
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb7faf000, 4096)                = 0
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1884048, ...}) = 0
mmap2(NULL, 1884048, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7c32000
close(3)                                = 0
mlockall(MCL_CURRENT|MCL_FUTURE)        = 0
open("/proc/devices", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7faf000
read(3, "Character devices:\n  1 mem\n  2 p"..., 1024) = 452
close(3)                                = 0
munmap(0xb7faf000, 4096)                = 0
open("/proc/misc", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7faf000
read(3, " 63 device-mapper\n166 i2octl\n200"..., 1024) = 71
close(3)                                = 0
munmap(0xb7faf000, 4096)                = 0
stat64("/dev/mapper/control", {st_mode=S_IFCHR|0660, st_rdev=makedev(10, 63), ...}) = 0
open("/dev/mapper/control", O_RDWR|O_LARGEFILE) = 3
open("/proc/devices", O_RDONLY|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7faf000
read(4, "Character devices:\n  1 mem\n  2 p"..., 1024) = 452
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0xb7faf000, 4096)                = 0
ioctl(3, DM_VERSION, 0x80a1ed0)         = 0
ioctl(3, DM_TABLE_STATUS, 0x80a1ed0)    = -1 ENXIO (No such device or address)
open("/dev/md0", O_RDONLY|O_LARGEFILE)  = 4
ioctl(4, BLKROGET, 0xbfd09dd0)          = 0
ioctl(4, BLKGETSIZE64, 0xbfd09dc8)      = 0
close(4)                                = 0
open("/dev/stdin", O_RDONLY|O_LARGEFILE) = 4
ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfd09a38) = -1 ENOTTY (Inappropriate ioctl for device)
read(4, "\5", 1)                        = 1
read(4, "7", 1)                         = 1
read(4, "\272", 1)                      = 1
read(4, "5", 1)                         = 1
read(4, "\260", 1)                      = 1
read(4, "\5", 1)                        = 1
read(4, "\276", 1)                      = 1
read(4, "\323", 1)                      = 1
read(4, "\263", 1)                      = 1
read(4, "!", 1)                         = 1
read(4, "z", 1)                         = 1
read(4, "\302", 1)                      = 1
read(4, "\307", 1)                      = 1
read(4, "\305", 1)                      = 1
read(4, "\220", 1)                      = 1
read(4, ":", 1)                         = 1
read(4, "\260", 1)                      = 1
read(4, "\270", 1)                      = 1
read(4, "h", 1)                         = 1
read(4, "{", 1)                         = 1
read(4, "T", 1)                         = 1
read(4, "S", 1)                         = 1
read(4, "\264", 1)                      = 1
read(4, "\357", 1)                      = 1
read(4, "\354", 1)                      = 1
read(4, "\324", 1)                      = 1
read(4, "\177", 1)                      = 1
read(4, "\30", 1)                       = 1
read(4, "F", 1)                         = 1
read(4, "\342", 1)                      = 1
read(4, "\177", 1)                      = 1
read(4, "v", 1)                         = 1
close(4)                                = 0
ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfd09a38) = -1 EBADF (Bad file descriptor)
ioctl(3, DM_DEV_CREATE, 0x80a2040)      = 0
ioctl(3, DM_TABLE_LOAD, 0x80a2040)      = -1 EINVAL (Invalid argument)
open("/usr/share/locale/locale.alias", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=2582, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7faf000
read(4, "# Locale name alias data base.\n#"..., 4096) = 2582
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0xb7faf000, 4096)                = 0
open("/usr/share/locale/en_US.ISO-8859-15/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US.iso885915/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.ISO-8859-15/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.iso885915/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
ioctl(3, DM_DEV_REMOVE, 0x80a1fd0)      = 0
ioctl(3, DM_DEV_REMOVE, 0x80a1f68)      = -1 ENXIO (No such device or address)
close(3)                                = 0
stat64("/dev/mapper/root", 0xbfd09cc0)  = -1 ENOENT (No such file or directory)
umask(0)                                = 022
mknod("/dev/mapper/root", S_IFBLK|0660, makedev(253, 2)) = 0
umask(022)                              = 0
chown32("/dev/mapper/root", 0, 6)       = 0
open("/proc/filesystems", O_RDONLY|O_LARGEFILE) = 3
read(3, "nodev\tsysfs\nnodev\trootfs\nnodev\tb"..., 4095) = 289
close(3)                                = 0
stat64("/dev/mapper/root", {st_mode=S_IFBLK|0660, st_rdev=makedev(253, 2), ...}) = 0
unlink("/dev/mapper/root")              = 0
open("/usr/share/locale/en_US.ISO-8859-15/LC_MESSAGES/cryptsetup-luks.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US.iso885915/LC_MESSAGES/cryptsetup-luks.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/cryptsetup-luks.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.ISO-8859-15/LC_MESSAGES/cryptsetup-luks.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.iso885915/LC_MESSAGES/cryptsetup-luks.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/cryptsetup-luks.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "Command failed", 14Command failed)          = 14
write(2, ": device-mapper: reload ioctl fa"..., 55: device-mapper: reload ioctl failed: Invalid argument
) = 55
exit_group(-22)                         = ?
Process 3042 detached


More information about the Pkg-cryptsetup-devel mailing list