Package: e2fsprogs
Version: 1.40-1
Severity: normal

Mounting a ext3 filesystem loopback:
$ sudo mount -o loop,offset=31744 xo-initrd-test.img xo-initrd-test-mnt
uses 100% CPU and never terminates.  gdb indicates that the process is
stuck in blkid_verify():

$ sudo gdb mount 9420
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
Attaching to program: /bin/mount, process 9420
Reading symbols from /lib/libblkid.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libblkid.so.1
Reading symbols from /lib/libuuid.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libuuid.so.1
Reading symbols from /lib/i686/cmov/libc.so.6...(no debugging symbols 
found)...done.
Loaded symbols for /lib/i686/cmov/libc.so.6
Reading symbols from /lib/libdevmapper.so.1.02.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/libdevmapper.so.1.02.1
Reading symbols from /lib/libselinux.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libselinux.so.1
Reading symbols from /lib/libsepol.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libsepol.so.1
Reading symbols from /lib/i686/cmov/libpthread.so.0...
(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
[New Thread -1210542400 (LWP 9420)]
Loaded symbols for /lib/i686/cmov/libpthread.so.0
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/i686/cmov/libdl.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib/i686/cmov/libdl.so.2

0xb7f5c341 in blkid_verify () from /lib/libblkid.so.1
(gdb) 

In particular, single-stepping through the loop indicates that we are looping
between line 966 and 1006 of e2fsprogs-1.40/lib/blkid/probe.c.  We iterate
though the entire type_array table (lines 977-996) without reaching
found_type, so we "Zap the device filesystem information and try again" ---
but we don't find it when we try again, either.  Infinite loop.

Let me know if I can provide any further information to help you debug this.
 --scott

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages e2fsprogs depends on:
ii  e2fslibs                      1.40-1     ext2 filesystem libraries
ii  libblkid1                     1.40-1     block device id library
ii  libc6                         2.5-11     GNU C Library: Shared libraries
ii  libcomerr2                    1.40-1     common error description library
ii  libss2                        1.40-1     command-line interface parsing lib
ii  libuuid1                      1.40-1     universally unique id library

e2fsprogs recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to