[Pkg-iscsi-maintainers] Bug#582450: /etc/init.d/iscsitarget stop hangs with adjusted worker threads

Patrik Schindler poc at pocnet.net
Thu May 20 19:11:22 UTC 2010


Package: iscsitarget
Version: 0.4.16+svn162-3.1+lenny1
Severity: important

When lessening the worker threads to 4 in ietd.conf, following messages appear
in kern.log:

May 20 20:41:11 leela kernel: [  647.928588] iSCSI Enterprise Target Software - version 0.4.16
May 20 20:41:11 leela kernel: [  647.928588] iscsi_trgt: Registered io type fileio
May 20 20:41:11 leela kernel: [  647.928588] iscsi_trgt: Registered io type blockio
May 20 20:41:11 leela kernel: [  647.928588] iscsi_trgt: Registered io type nullio
May 20 20:41:12 leela kernel: [  647.992217] iscsi_trgt: wthread_start(165) Fail to stop a worker thread -4
May 20 20:41:12 leela kernel: [  648.013219] iscsi_trgt: wthread_start(165) Fail to stop a worker thread -4

>From this point, it's not possible to stop ietd (hangs with state D). It's also
not possible to reboot the machine cleanly. Reboot -f works, though.


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

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages iscsitarget depends on:
ii  libc6                   2.7-18lenny2     GNU C Library: Shared libraries
ii  libssl0.9.8             0.9.8g-15+lenny6 SSL shared libraries

Versions of packages iscsitarget recommends:
pn  iscsitarget-module            <none>     (no description available)

Versions of packages iscsitarget suggests:
pn  iscsitarget-source            <none>     (no description available)

-- no debconf information





More information about the Pkg-iscsi-maintainers mailing list