Package: open-iscsi
Version: 2.0.865-1
Severity: normal

  When I attempt to run "/etc/init.d/open-iscsi stop" or shut down my 
machine, I get an infinite hang in iscsiadm.  This may be because my 
Dell MD3000i array provides three disks when I've only configured two, 
like so:

Feb 21 22:18:38 localhost kernel: Loading iSCSI transport class v2.0-724.
Feb 21 22:18:38 localhost kernel: iscsi: registered transport (tcp)
Feb 21 22:18:38 localhost kernel: iscsi: registered transport (iser)
Feb 21 22:18:38 localhost iscsid: iSCSI logger with pid=3508 started!
Feb 21 22:18:39 localhost iscsid: transport class version 2.0-724. iscsid 
version 2.0-865
Feb 21 22:18:39 localhost iscsid: iSCSI daemon with pid=3509 started!
Feb 21 22:19:15 localhost kernel: scsi1 : iSCSI Initiator over TCP/IP
Feb 21 22:19:15 localhost kernel: scsi 1:0:0:0: Direct-Access     DELL     
MD3000i          0670 PQ: 0 ANSI: 5
Feb 21 22:19:15 localhost kernel: sd 1:0:0:0: [sdc] 4269801472 512-byte 
hardware sectors (2186138 MB)
Feb 21 22:19:15 localhost kernel: sd 1:0:0:0: [sdc] Write Protect is off
Feb 21 22:19:15 localhost kernel: sd 1:0:0:0: [sdc] Mode Sense: 77 00 10 08
Feb 21 22:19:15 localhost kernel: sd 1:0:0:0: [sdc] Write cache: enabled, read 
cache: enabled, supports DPO and FUA
Feb 21 22:19:15 localhost kernel: sd 1:0:0:0: [sdc] 4269801472 512-byte 
hardware sectors (2186138 MB)
Feb 21 22:19:15 localhost kernel: sd 1:0:0:0: [sdc] Write Protect is off
Feb 21 22:19:15 localhost kernel: sd 1:0:0:0: [sdc] Mode Sense: 77 00 10 08
Feb 21 22:19:15 localhost kernel: sd 1:0:0:0: [sdc] Write cache: enabled, read 
cache: enabled, supports DPO and FUA
Feb 21 22:19:15 localhost kernel:  sdc: unknown partition table
Feb 21 22:19:15 localhost kernel: sd 1:0:0:0: [sdc] Attached SCSI disk
Feb 21 22:19:15 localhost kernel: scsi 1:0:0:1: Direct-Access     DELL     
MD3000i          0670 PQ: 0 ANSI: 5
Feb 21 22:19:15 localhost kernel: sd 1:0:0:1: [sdd] 1586597888 512-byte 
hardware sectors (812338 MB)
Feb 21 22:19:15 localhost kernel: sd 1:0:0:1: [sdd] Write Protect is off
Feb 21 22:19:15 localhost kernel: sd 1:0:0:1: [sdd] Mode Sense: 77 00 10 08
Feb 21 22:19:15 localhost kernel: sd 1:0:0:1: [sdd] Write cache: enabled, read 
cache: enabled, supports DPO and FUA
Feb 21 22:19:15 localhost kernel: sd 1:0:0:1: [sdd] 1586597888 512-byte 
hardware sectors (812338 MB)
Feb 21 22:19:15 localhost kernel: sd 1:0:0:1: [sdd] Write Protect is off
Feb 21 22:19:15 localhost kernel: sd 1:0:0:1: [sdd] Mode Sense: 77 00 10 08
Feb 21 22:19:15 localhost kernel: sd 1:0:0:1: [sdd] Write cache: enabled, read 
cache: enabled, supports DPO and FUA
Feb 21 22:19:15 localhost kernel:  sdd: unknown partition table
Feb 21 22:19:15 localhost kernel: sd 1:0:0:1: [sdd] Attached SCSI disk
Feb 21 22:19:15 localhost kernel: scsi 1:0:0:31: Direct-Access     DELL     
Universal Xport  0670 PQ: 0 ANSI: 5
Feb 21 22:19:15 localhost kernel: sd 1:0:0:31: [sde] 40960 512-byte hardware 
sectors (21 MB)
Feb 21 22:19:15 localhost kernel: sd 1:0:0:31: [sde] Write Protect is off
Feb 21 22:19:15 localhost kernel: sd 1:0:0:31: [sde] Mode Sense: 77 00 10 08
Feb 21 22:19:15 localhost kernel: sd 1:0:0:31: [sde] Write cache: disabled, 
read cache: enabled, supports DPO and FUA
Feb 21 22:19:15 localhost kernel: sd 1:0:0:31: [sde] 40960 512-byte hardware 
sectors (21 MB)
Feb 21 22:19:15 localhost kernel: sd 1:0:0:31: [sde] Write Protect is off
Feb 21 22:19:15 localhost kernel: sd 1:0:0:31: [sde] Mode Sense: 77 00 10 08
Feb 21 22:19:15 localhost kernel: sd 1:0:0:31: [sde] Write cache: disabled, 
read cache: enabled, supports DPO and FUA
Feb 21 22:19:15 localhost kernel:  sde: unknown partition table
Feb 21 22:19:15 localhost kernel: sd 1:0:0:31: [sde] Attached SCSI disk
Feb 21 22:19:15 localhost iscsid: received iferror -22
Feb 21 22:19:15 localhost last message repeated 2 times
Feb 21 22:19:15 localhost iscsid: connection1:0 is operational now
Feb 21 22:19:16 localhost kernel: end_request: I/O error, dev sde, sector 48
Feb 21 22:19:16 localhost kernel: Buffer I/O error on device sde, logical block 
6
Feb 21 22:19:16 localhost kernel: Buffer I/O error on device sde, logical block 
7
Feb 21 22:19:16 localhost kernel: Buffer I/O error on device sde, logical block 
8
Feb 21 22:19:16 localhost kernel: Buffer I/O error on device sde, logical block 
9
Feb 21 22:19:16 localhost kernel: Buffer I/O error on device sde, logical block 
10
Feb 21 22:19:16 localhost kernel: Buffer I/O error on device sde, logical block 
11
Feb 21 22:19:16 localhost kernel: Buffer I/O error on device sde, logical block 
12
Feb 21 22:19:16 localhost kernel: Buffer I/O error on device sde, logical block 
13
Feb 21 22:19:16 localhost kernel: Buffer I/O error on device sde, logical block 
14
Feb 21 22:19:16 localhost kernel: Buffer I/O error on device sde, logical block 
15

  /dev/sdc and /dev/sdd are what I have configured -- I don't know what 
/dev/sde is about, but it's still available during the hang.  During 
the hang this is what goes to syslog:

Feb 21 22:19:30 localhost kernel: sd 1:0:0:0: [sdc] Synchronizing SCSI cache
Feb 21 22:19:30 localhost kernel: sd 1:0:0:1: [sdd] Synchronizing SCSI cache
Feb 21 22:21:26 localhost ntpd[3104]: synchronized to 98.172.38.232, stratum 2
Feb 21 22:21:30 localhost kernel:  session1: iscsi: session recovery timed out 
after 120 secs

  ... and at that point, the /dev/sde device node still exists, though 
/dev/sdc and /dev/sdd don't.  strace reveals that the last few things 
iscsiadm is doing are these:

socket(PF_FILE, SOCK_STREAM, 0)         = 3
connect(3, {sa_family=AF_FILE, [EMAIL PROTECTED], 110) = 0
write(3, "\10\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4760) = 
4760
recvfrom(3,  <unfinished ...>

  ... and that's where it stays.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.22-4-amd64
Locale: LANG=en_US.ISO-8859-1, LC_CTYPE=en_US.ISO-8859-1 (charmap=ISO-8859-1)

Versions of packages open-iscsi depends on:
ii  libc6                  2.3.6.ds1-13etch5 GNU C Library: Shared libraries

open-iscsi 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