Multipath does not work with EMC 5300 Storage

Bug #1096002 reported by guozhonghua
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Hi,
I setup one host installed Ubuntu 12.04 with kernel version 3.2.0.I connect the host with EMC Stroage of 5300 with FC directly.
I wanted use the feature of multipath, but it does not work.

The log is as below:

the syslog is :
Jan 4 15:32:29 cvknode133 kernel: [14788.818398] device-mapper: table: 252:2: multipath: error getting device
Jan 4 15:32:29 cvknode133 kernel: [14788.826062] device-mapper: ioctl: error adding target to table
Jan 4 15:32:29 cvknode133 multipathd: dm-2: remove map (uevent)
Jan 4 15:32:29 cvknode133 multipathd: dm-2: devmap not registered, can't remove
Jan 4 15:32:29 cvknode133 multipathd: dm-2: remove map (uevent)
Jan 4 15:32:29 cvknode133 multipathd: dm-2: devmap not registered, can't remove
Jan 4 15:32:29 cvknode133 kernel: [14788.828229] device-mapper: table: 252:2: multipath: error getting device
Jan 4 15:32:29 cvknode133 kernel: [14788.835525] device-mapper: ioctl: error adding target to table
Jan 4 15:32:29 cvknode133 multipathd: dm-2: remove map (uevent)
Jan 4 15:32:29 cvknode133 multipathd: dm-2: devmap not registered, can't remove
Jan 4 15:32:29 cvknode133 multipathd: dm-2: remove map (uevent)
Jan 4 15:32:29 cvknode133 multipathd: dm-2: devmap not registered, can't remove
Jan 4 15:32:29 cvknode133 kernel: [14788.839135] device-mapper: table: 252:2: multipath: error getting device
Jan 4 15:32:29 cvknode133 kernel: [14788.846118] device-mapper: ioctl: error adding target to table
Jan 4 15:32:29 cvknode133 multipathd: dm-2: remove map (uevent)
Jan 4 15:32:29 cvknode133 multipathd: dm-2: devmap not registered, can't remove
Jan 4 15:32:29 cvknode133 kernel: [14788.849331] device-mapper: table: 252:2: multipath: error getting device
Jan 4 15:32:29 cvknode133 kernel: [14788.855998] device-mapper: ioctl: error adding target to table
Jan 4 15:32:29 cvknode133 multipathd: dm-2: remove map (uevent)
Jan 4 15:32:29 cvknode133 multipathd: dm-2: devmap not registered, can't remove
Jan 4 15:32:29 cvknode133 udevd[19111]: inotify_add_watch(6, /dev/dm-2, 10) failed: No such file or directory
Jan 4 15:32:29 cvknode133 multipathd: dm-2: remove map (uevent)
Jan 4 15:32:29 cvknode133 multipathd: dm-2: devmap not registered, can't remove
Jan 4 15:32:29 cvknode133 kernel: [14788.859838] sd 0:0:0:16385: emc: Invalid information section length 128
Jan 4 15:32:29 cvknode133 kernel: [14788.859842] sd 0:0:0:16385: emc: detected Clariion FC (Legacy), flags 1
Jan 4 15:32:29 cvknode133 kernel: [14788.859939] sd 0:0:0:16385: emc: Invalid failover mode 2
Jan 4 15:32:29 cvknode133 kernel: [14788.859942] sd 0:0:0:16385: emc: not attached
Jan 4 15:32:29 cvknode133 kernel: [14788.866610] device-mapper: table: 252:2: multipath: error attaching hardware handler
Jan 4 15:32:29 cvknode133 multipathd: dm-2: remove map (uevent)
Jan 4 15:32:29 cvknode133 multipathd: dm-2: devmap not registered, can't remove
Jan 4 15:32:29 cvknode133 kernel: [14788.879802] device-mapper: ioctl: error adding target to table
Jan 4 15:32:29 cvknode133 multipathd: dm-2: remove map (uevent)
Jan 4 15:32:29 cvknode133 multipathd: dm-2: devmap not registered, can't remove
Jan 4 15:32:29 cvknode133 multipathd: dm-2: remove map (uevent)
Jan 4 15:32:29 cvknode133 multipathd: dm-2: devmap not registered, can't remove
Jan 4 15:32:29 cvknode133 kernel: [14788.882923] sd 0:0:0:16385: emc: Invalid information section length 128
Jan 4 15:32:29 cvknode133 kernel: [14788.882928] sd 0:0:0:16385: emc: detected Clariion FC (Legacy), flags 1
Jan 4 15:32:29 cvknode133 kernel: [14788.883019] sd 0:0:0:16385: emc: Invalid failover mode 2
Jan 4 15:32:29 cvknode133 kernel: [14788.883022] sd 0:0:0:16385: emc: not attached
Jan 4 15:32:29 cvknode133 kernel: [14788.889542] device-mapper: table: 252:2: multipath: error attaching hardware handler
Jan 4 15:32:29 cvknode133 kernel: [14788.903347] device-mapper: ioctl: error adding target to table
Jan 4 15:32:29 cvknode133 udevd[19111]: inotify_add_watch(6, /dev/dm-2, 10) failed: No such file or directory
Jan 4 15:32:29 cvknode133 multipathd: dm-2: remove map (uevent)
Jan 4 15:32:29 cvknode133 multipathd: dm-2: devmap not registered, can't remove
Jan 4 15:32:29 cvknode133 udevd[19111]: inotify_add_watch(6, /dev/dm-2, 10) failed: No such file or directory
Jan 4 15:32:29 cvknode133 multipathd: dm-2: remove map (uevent)
Jan 4 15:32:29 cvknode133 multipathd: dm-2: devmap not registered, can't remove

mutlipath -v3 informations:
Jan 04 15:32:29 | sda: state = 2
Jan 04 15:32:29 | sda: checker msg is "cciss_tur checker reports path is down"
Jan 04 15:32:29 | 3600508b1001c685cb4641be8413d66d4: pgfailover = -1 (internal default)
Jan 04 15:32:29 | 3600508b1001c685cb4641be8413d66d4: pgpolicy = multibus (controller setting)
Jan 04 15:32:29 | 3600508b1001c685cb4641be8413d66d4: selector = round-robin 0 (controller setting)
Jan 04 15:32:29 | 3600508b1001c685cb4641be8413d66d4: features = 0 (controller setting)
Jan 04 15:32:29 | 3600508b1001c685cb4641be8413d66d4: hwhandler = 0 (controller setting)
Jan 04 15:32:29 | 3600508b1001c685cb4641be8413d66d4: rr_weight = 1 (controller setting)
Jan 04 15:32:29 | 3600508b1001c685cb4641be8413d66d4: minio = 1000 (controller setting)
Jan 04 15:32:29 | 3600508b1001c685cb4641be8413d66d4: no_path_retry = 12 (controller setting)
Jan 04 15:32:29 | pg_timeout = NONE (internal default)
Jan 04 15:32:29 | 3600508b1001c685cb4641be8413d66d4: set ACT_CREATE (map does not exist)
Jan 04 15:32:29 | 3600508b1001c685cb4641be8413d66d4: domap (0) failure for create/reload map

In the kernel source code, in the function: parse_sp_model;

I want to know the reason of that why multipath feature can not work.

Thanks

Revision history for this message
guozhonghua (guozhonghua) wrote :

In the function, the log is recorded, is it helpful?

static char * parse_sp_model(struct scsi_device *sdev, unsigned char *buffer)
{
 unsigned char len = buffer[4] + 5;
 char *sp_model = NULL;
 unsigned char sp_len, serial_len;

 if (len < 160) {
  sdev_printk(KERN_WARNING, sdev,
       "%s: Invalid information section length %d\n",
       CLARIION_NAME, len);

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1096002/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
guozhonghua (guozhonghua) wrote :

the file is /drivers/scsi/device_handler/scsi_dh_emc.c
I think it may be libiscsi, so set it with libiscsi package.

affects: ubuntu → libiscsi (Ubuntu)
Revision history for this message
James Page (james-page) wrote :

Reassigning to the Linux package as that's where this driver resides (libiscsi is a pure userspace implementation of the iSCSI client protocol).

affects: libiscsi (Ubuntu) → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1096002

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.14 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14-rc6

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: kernel-da-key
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.