[Pkg-utopia-maintainers] Bug#588373: hal: hangs on drive zeroed with dd

brian m. carlson sandals at crustytoothpaste.net
Wed Jul 7 20:17:04 UTC 2010


Package: hal
Version: 0.5.14-2
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.521329] INFO: task hald-addon-stor:30005 blocked for more than 120 seconds.
  [128520.521334] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
  [128520.521338] hald-addon-st D ffff880001a15200     0 30005   1501 0x00000000
  [128520.521346]  ffff88005aa89c00 0000000000000086 ffffffff810f4a8b 0000000000000019
  [128520.521354]  ffff8800bd0e5400 0000000000015200 0000000000015200 0000000000015200
  [128520.521361]  ffff880066ccdfd8 0000000000015200 ffff88005aa89c00 ffff880066ccdfd8
  [128520.521368] Call Trace:
  [128520.521374]  [<ffffffff810f4a8b>] ? __pollwait+0x0/0xd0
  [128520.521385]  [<ffffffff81179de1>] ? get_disk+0x76/0x9c
  [128520.521391]  [<ffffffff812f88af>] ? __mutex_lock_common+0x13e/0x1aa
  [128520.521398]  [<ffffffff81179ac7>] ? exact_match+0x0/0x5
  [128520.521404]  [<ffffffff812f89e8>] ? mutex_lock+0x1a/0x32
  [128520.521411]  [<ffffffff8110b2b6>] ? __blkdev_get+0x8b/0x383
  [128520.521418]  [<ffffffff8110b5bb>] ? blkdev_open+0x0/0x96
  [128520.521425]  [<ffffffff8110b622>] ? blkdev_open+0x67/0x96
  [128520.521431]  [<ffffffff810e618b>] ? __dentry_open+0x16f/0x2a9
  [128520.521437]  [<ffffffff810ef949>] ? inode_permission+0x82/0xa1
  [128520.521443]  [<ffffffff810f0aba>] ? do_last+0x411/0x56a
  [128520.521449]  [<ffffffff810f24e0>] ? do_filp_open+0x1ee/0x58e
  [128520.521457]  [<ffffffff810f6526>] ? dput+0x2c/0x15d
  [128520.521463]  [<ffffffff810e5f3c>] ? do_sys_open+0x56/0xf9
  [128520.521469]  [<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 hal depends on:
ii  adduser                      3.112       add and remove users and groups
ii  dbus                         1.2.24-1    simple interprocess messaging syst
ii  hal-info                     20091130-1  Hardware Abstraction Layer - fdi f
ii  libblkid1                    2.17.2-3.1  block device id library
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  libexpat1                    2.0.1-7     XML parsing C library - runtime li
ii  libglib2.0-0                 2.24.1-1    The GLib library of C routines
ii  libhal-storage1              0.5.14-2    Hardware Abstraction Layer - share
ii  libhal1                      0.5.14-2    Hardware Abstraction Layer - share
ii  libusb-0.1-4                 2:0.1.12-15 userspace USB programming library
ii  lsb-base                     3.2-23.1    Linux Standard Base 3.2 init scrip
ii  mount                        2.17.2-3.1  Tools for mounting and manipulatin
ii  pciutils                     1:3.1.7-4   Linux PCI Utilities
ii  udev                         158-1       /dev/ and hotplug management daemo
ii  usbutils                     0.87-5      Linux USB utilities

Versions of packages hal recommends:
ii  consolekit      0.4.1-4                  framework for defining and trackin
ii  eject           2.1.5+deb1+cvs20081104-7 ejects CDs and operates CD-Changer
ii  pm-utils        1.3.0-2                  utilities and scripts for power ma

Versions of packages hal suggests:
ii  gnome-device-manager          0.2-3      GNOME device manager based on HAL

-- 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/258b09dc/attachment.pgp>


More information about the Pkg-utopia-maintainers mailing list