[Pkg-utopia-maintainers] Bug#593479: /usr/sbin/hald: Hal spews continuous polling errors and ignored hal-disable-polling

J L Kolpin jasonk at ncat.org
Wed Aug 18 14:34:07 UTC 2010


Package: hal
Version: 0.5.11-8
Severity: important
File: /usr/sbin/hald


Have been getting the following Hal error continuously every two minutes:

Aug 18 00:01:00 SERVER kernel: [4662990.161419] INFO: task
hald-addon-stor:3209 blocked for more than 120 seconds.
Aug 18 00:01:00 SERVER kernel: [4662990.161427] "echo 0 >
/proc/sys/kernel/hung_task_timeout_secs" disables this message.
Aug 18 00:01:00 SERVER kernel: [4662990.161432] hald-addon-st D f8991aa0
/0  3209      1
Aug 18 00:01:00 SERVER kernel: [4662990.161440]        f6eff4e0 00000082
/0000000c f8991aa0 c01e1d55 f6eff66c c180bfc0 00000000
Aug 18 00:01:00 SERVER kernel: [4662990.161455]        00000000 0b8b81f5
/f893a1d2 f3a3fb9b 00000000 00000000 00000000 000000ff
Aug 18 00:01:00 SERVER kernel: [4662990.161469]        7fffffff 7fffffff
/f3a3fc10 00000002 c02b8e01 f8991aa0 00000000 00000082
Aug 18 00:01:00 SERVER kernel: [4662990.161483] Call Trace:
Aug 18 00:01:00 SERVER kernel: [4662990.161513]  [<c01e1d55>]
__delay+0x6/0x7
Aug 18 00:01:00 SERVER kernel: [4662990.161538]  [<f893a1d2>]
cdrom_do_newpc_cont+0x0/0x2c [ide_cd_mod]
Aug 18 00:01:00 SERVER kernel: [4662990.161570]  [<c02b8e01>]
schedule_timeout+0x13/0x86
Aug 18 00:01:00 SERVER kernel: [4662990.161590]  [<c02b8c40>]
schedule+0x64e/0x66f
Aug 18 00:01:00 SERVER kernel: [4662990.161602]  [<c01e1d55>]
__delay+0x6/0x7
Aug 18 00:01:00 SERVER kernel: [4662990.161619]  [<c02b8525>]
wait_for_common+0xaf/0x10f
Aug 18 00:01:00 SERVER kernel: [4662990.161633]  [<c011b73c>]
default_wake_function+0x0/0x8
Aug 18 00:01:00 SERVER kernel: [4662990.161654]  [<f897ff3a>]
ide_do_drive_cmd+0xd6/0xf2 [ide_core]
Aug 18 00:01:00 SERVER kernel: [4662990.161699]  [<f8938c6d>]
ide_cd_queue_pc+0x35/0xb4 [ide_cd_mod]
Aug 18 00:01:00 SERVER kernel: [4662990.161719]  [<c01d278b>]
__blk_put_request+0x24/0x75
Aug 18 00:01:00 SERVER kernel: [4662990.161738]  [<c01d2ac8>]
blk_put_request+0x22/0x36
Aug 18 00:01:00 SERVER kernel: [4662990.161752]  [<f897ff4c>]
ide_do_drive_cmd+0xe8/0xf2 [ide_core]
Aug 18 00:01:00 SERVER kernel: [4662990.161783]  [<f8938f4c>]
cdrom_check_status+0x5a/0x65 [ide_cd_mod]
Aug 18 00:01:00 SERVER kernel: [4662990.164441]  [<c01d544b>]
blk_end_sync_rq+0x0/0x25
Aug 18 00:01:00 SERVER kernel: [4662990.164463]  [<f8938fb8>]
ide_cd_read_toc+0x61/0x3b2 [ide_cd_mod]
Aug 18 00:01:00 SERVER kernel: [4662990.164501]  [<f8939853>]
idecd_revalidate_disk+0x10/0x16 [ide_cd_mod]
Aug 18 00:01:00 SERVER kernel: [4662990.164518]  [<c01d544b>]
blk_end_sync_rq+0x0/0x25
Aug 18 00:01:00 SERVER kernel: [4662990.164546]  [<c01764e3>]
get_super+0x15/0x7a
Aug 18 00:01:00 SERVER kernel: [4662990.164562]  [<c0194503>]
__invalidate_device+0x2e/0x34
Aug 18 00:01:00 SERVER kernel: [4662990.164577]  [<c0194542>]
check_disk_change+0x39/0x57
Aug 18 00:01:00 SERVER kernel: [4662990.164590]  [<f8932f2a>]
cdrom_open+0x882/0x8f8 [cdrom]
Aug 18 00:01:00 SERVER kernel: [4662990.164606]  [<c017a8fc>]
do_lookup+0x53/0x153
Aug 18 00:01:00 SERVER kernel: [4662990.164624]  [<c01829d2>] dput+0x15/0xbb
Aug 18 00:01:00 SERVER kernel: [4662990.164634]  [<c017c945>]
__link_path_walk+0xb0b/0xb26
Aug 18 00:01:00 SERVER kernel: [4662990.164651]  [<c01de29c>]
kobject_get+0xf/0x13
Aug 18 00:01:00 SERVER kernel: [4662990.164660]  [<c01d70c5>]
get_disk+0x33/0x49
Aug 18 00:01:00 SERVER kernel: [4662990.164670]  [<c01d70e2>]
exact_lock+0x7/0xd
Aug 18 00:01:00 SERVER kernel: [4662990.164677]  [<c023c2ce>]
kobj_lookup+0xe4/0x10e
Aug 18 00:01:00 SERVER kernel: [4662990.164697]  [<f89384f1>]
idecd_open+0x44/0x6b [ide_cd_mod]
Aug 18 00:01:00 SERVER kernel: [4662990.164715]  [<c0194b31>]
do_open+0xb6/0x28d
Aug 18 00:01:00 SERVER kernel: [4662990.164738]  [<c0194e83>]
blkdev_open+0x0/0x4d
Aug 18 00:01:00 SERVER kernel: [4662990.164745]  [<c0194ea8>]
blkdev_open+0x25/0x4d
Aug 18 00:01:00 SERVER kernel: [4662990.164758]  [<c01731a3>]
__dentry_open+0x10d/0x1fc
Aug 18 00:01:00 SERVER kernel: [4662990.164777]  [<c01732ae>]
nameidata_to_filp+0x1c/0x2c
Aug 18 00:01:00 SERVER kernel: [4662990.164792]  [<c017d9fa>]
do_filp_open+0x34f/0x684
Aug 18 00:01:00 SERVER kernel: [4662990.164804]  [<c0126669>]
__do_softirq+0x66/0xd3
Aug 18 00:01:00 SERVER kernel: [4662990.164825]  [<f8930322>]
cdrom_release+0x179/0x1ae [cdrom]
Aug 18 00:01:00 SERVER kernel: [4662990.164836]  [<c0110299>]
smp_apic_timer_interrupt+0x6b/0x76
Aug 18 00:01:00 SERVER kernel: [4662990.164900]  [<c0172fc0>]
do_sys_open+0x40/0xb0
Aug 18 00:01:00 SERVER kernel: [4662990.164924]  [<c0173074>]
sys_open+0x1e/0x23
Aug 18 00:01:00 SERVER kernel: [4662990.164938]  [<c0103857>]
sysenter_past_esp+0x78/0xb1
Aug 18 00:01:00 SERVER kernel: [4662990.164982]  =======================

After reading and searching I attempted to stop the polling on this device
using

hal-disable-polling --device

The device is a tape drive in a Dell Poweredge, there is no CD/DVD drive in
the machine FYI

When I initially gave the command, the polling on the device continued. I
attempted to restart hal and it did not stop. I stopped hal and noticed
two instances hal-addon-store were still running. After several failed
attempts to kill those processes I realized there was a user logged in using KDE. I logged
the user out and although the hal-addon-store processes were still alive,
the polling stopped. I thought i had got it and restarted hal with no
polling errors the entire evening. Today i showed up and at exactly midnight
the polling began once again filling syslog with dump traces every two
minutes.

After thinking about this i recall when i tried to disable polling there was
mention of a Samsung DVD drive. The only DVD drive ever attached to the
machine was during installation and it was a Samsung USB unit. Looking in
udev I see this drive is still listed in the 70-persistent-cd.rules file.

I hope this all helps as this is the first bug i have ever reported.  

-- System Information:
Debian Release: 5.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-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 hal depends on:
ii  adduser           3.110                  add and remove users and groups
ii  dbus              1.2.1-5+lenny1         simple interprocess messaging syst
ii  hal-info          20080508+git20080601-1 Hardware Abstraction Layer - fdi f
ii  libc6             2.7-18lenny4           GNU C Library: Shared libraries
ii  libdbus-1-3       1.2.1-5+lenny1         simple interprocess messaging syst
ii  libdbus-glib-1-2  0.76-1                 simple interprocess messaging syst
ii  libexpat1         2.0.1-4+lenny3         XML parsing C library - runtime li
ii  libgcc1           1:4.3.2-1.1            GCC support library
ii  libglib2.0-0      2.16.6-3               The GLib library of C routines
ii  libhal-storage1   0.5.11-8               Hardware Abstraction Layer - share
ii  libhal1           0.5.11-8               Hardware Abstraction Layer - share
ii  libsmbios2        2.0.3.dfsg-1           Provide access to (SM)BIOS informa
ii  libstdc++6        4.3.2-1.1              The GNU Standard C++ Library v3
ii  libusb-0.1-4      2:0.1.12-13            userspace USB programming library
ii  libvolume-id0     0.125-7+lenny3         libvolume_id shared library
ii  lsb-base          3.2-20                 Linux Standard Base 3.2 init scrip
ii  mount             2.13.1.1-1             Tools for mounting and manipulatin
ii  pciutils          1:3.0.0-6              Linux PCI Utilities
ii  pm-utils          1.1.2.4-1              utilities and scripts for power ma
ii  udev              0.125-7+lenny3         /dev/ and hotplug management daemo
ii  usbutils          0.73-10lenny2          Linux USB utilities

Versions of packages hal recommends:
ii  eject                       2.1.5+deb1-4 ejects CDs and operates CD-Changer
ii  libsmbios-bin               2.0.3.dfsg-1 Provide access to (SM)BIOS informa

Versions of packages hal suggests:
pn  gnome-device-manager          <none>     (no description available)

-- no debconf information





More information about the Pkg-utopia-maintainers mailing list