[Pkg-utopia-maintainers] Bug#588376: udisks: hangs on drive zeroed with dd

brian m. carlson sandals at crustytoothpaste.net
Wed Jul 7 20:26:21 UTC 2010


Package: udisks
Version: 1.0.1+git20100614-1
Severity: normal

Take an 8GB flash drive and run the following:

  lakeview no % sudo dd if=/dev/zero of=/dev/sdb bs=1M 
  dd: writing `/dev/sdb': No space left on device

Then sync the disk and read dmesg:

  [128520.521115] INFO: task udisks-daemon:2586 blocked for more than 120 seconds.
  [128520.521123] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
  [128520.521128] udisks-daemon D 0000000101e85c9e     0  2586   2585 0x00000000
  [128520.521137]  ffff8800377d6900 0000000000000082 ffff8800bee9c340 0000000000000000
  [128520.521145]  ffff8800bea7b800 0000000000015200 0000000000015200 0000000000015200
  [128520.521153]  ffff8800bdaa9fd8 0000000000015200 ffff8800377d6900 ffff8800bdaa9fd8
  [128520.521161] Call Trace:
  [128520.521202]  [<ffffffff812f88af>] ? __mutex_lock_common+0x13e/0x1aa
  [128520.521211]  [<ffffffff81179ac7>] ? exact_match+0x0/0x5
  [128520.521217]  [<ffffffff812f89e8>] ? mutex_lock+0x1a/0x32
  [128520.521226]  [<ffffffff8110b2b6>] ? __blkdev_get+0x8b/0x383
  [128520.521234]  [<ffffffff8110b5bb>] ? blkdev_open+0x0/0x96
  [128520.521240]  [<ffffffff8110b622>] ? blkdev_open+0x67/0x96
  [128520.521247]  [<ffffffff810e618b>] ? __dentry_open+0x16f/0x2a9
  [128520.521254]  [<ffffffff810ef949>] ? inode_permission+0x82/0xa1
  [128520.521261]  [<ffffffff810f0aba>] ? do_last+0x411/0x56a
  [128520.521267]  [<ffffffff810f24e0>] ? do_filp_open+0x1ee/0x58e
  [128520.521275]  [<ffffffff810f6526>] ? dput+0x2c/0x15d
  [128520.521281]  [<ffffffff810e5f3c>] ? do_sys_open+0x56/0xf9
  [128520.521288]  [<ffffffff810089c2>] ? system_call_fastpath+0x16/0x1b

Ideally, the task would not hang.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.34-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages udisks depends on:
ii  dbus                  1.2.24-1           simple interprocess messaging syst
ii  libatasmart4          0.17+git20100219-2 ATA S.M.A.R.T. reading and parsing
ii  libc6                 2.11.2-2           Embedded GNU C Library: Shared lib
ii  libdbus-1-3           1.2.24-1           simple interprocess messaging syst
ii  libdbus-glib-1-2      0.86-1             simple interprocess messaging syst
ii  libdevmapper1.02.1    2:1.02.48-2        The Linux Kernel Device Mapper use
ii  libglib2.0-0          2.24.1-1           The GLib library of C routines
ii  libgudev-1.0-0        158-1              GObject-based wrapper library for 
ii  libparted0debian1     2.3-1              The GNU Parted disk partitioning s
ii  libpolkit-backend-1-0 0.96-2             PolicyKit backend API
ii  libpolkit-gobject-1-0 0.96-2             PolicyKit Authorization API
ii  libsgutils2-2         1.29-1             utilities for devices using the SC
ii  libudev0              158-1              libudev shared library
ii  udev                  158-1              /dev/ and hotplug management daemo

Versions of packages udisks recommends:
ii  dosfstools                  3.0.9-1      utilities for making and checking 
ii  hdparm                      9.27-2       tune hard disk parameters for high
ii  mtools                      4.0.12-1     Tools for manipulating MSDOS files
ii  ntfs-3g                     1:2010.3.6-1 read-write NTFS driver for FUSE
ii  ntfsprogs                   2.0.0-1+b1   tools for doing neat things in NTF
ii  policykit-1                 0.96-2       framework for managing administrat

Versions of packages udisks suggests:
pn  cryptsetup                    <none>     (no description available)
pn  mdadm                         <none>     (no description available)
pn  reiserfsprogs                 <none>     (no description available)
pn  xfsprogs                      <none>     (no description available)

-- no debconf information

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20100707/4ebc9211/attachment.pgp>


More information about the Pkg-utopia-maintainers mailing list