[Bug 1622894] Re: sg devices are not being created for SCSI storage controller devices starting from v4.4.0-30

2017-01-28 Thread Amit Oren
Hi Joseph,

Seems like it doesn't.

Thanks,
Amit

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1622894

Title:
  sg devices are not being created for SCSI storage controller devices
  starting from v4.4.0-30

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1622894/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1611360] Re: Xenial 32-bit: multipath exits with SIGSEGV

2016-11-14 Thread Amit Oren
Tested package multipath-tools | 0.5.0+git1.656f8865-5ubuntu7.1
successfully on xenial on i386 architecture. The test case basically
follows the lines of the one described by Jon Grimm in comment #19.

** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611360

Title:
  Xenial 32-bit: multipath exits with SIGSEGV

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1611360/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1611360] Re: Xenial 32-bit: multipath exits with SIGSEGV

2016-11-09 Thread Amit Oren
Thanks Martin. As previously posted, I will test this package as soon as
it is released to the Xenial repo.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611360

Title:
  Xenial 32-bit: multipath exits with SIGSEGV

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1611360/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1629644] Re: Trusty: failure to detect device with 0.4.9-3ubuntu7.5

2016-11-02 Thread Amit Oren
Thanks.

I want to perform a git bisection on this revision.
I cloned the relevant bazaar branch (trusty-updated) but revision 
0.4.9-3ubuntu7.5 does not exist there (neither in any other trusty branch). Any 
way in which I can get it?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1629644

Title:
  Trusty: failure to detect device with 0.4.9-3ubuntu7.5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1629644/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1611360] Re: Xenial 32-bit: multipath exits with SIGSEGV

2016-10-24 Thread Amit Oren
Hi Jon!

Thanks, I was not aware of that :)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611360

Title:
  Xenial 32-bit: multipath exits with SIGSEGV

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1611360/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1611360] Re: Xenial 32-bit: multipath exits with SIGSEGV

2016-10-22 Thread Amit Oren
Thanks Jon Grimm and everyone else, but can you also fix it in Xenial?
We are using Xenial on our servers as it is LTS, and giving support for Xenial 
to our customers for this very reason, and we did not intend to upgrade to 
Zesty anytime soon. I don't want to use pinning for that specific package or 
any sort of bug-prone solution...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611360

Title:
  Xenial 32-bit: multipath exits with SIGSEGV

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1611360/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1629644] Re: Trusty: failure to detect device with 0.4.9-3ubuntu7.5

2016-10-20 Thread Amit Oren
I made a mistake in the previous comment: I re-validated it a few times
on my setup, the issue is present when upgrading from 7.4 to the
proposed 7.5.

** Summary changed:

- Trusty: failure to detect device with 0.4.9-3ubuntu7.6
+ Trusty: failure to detect device with 0.4.9-3ubuntu7.5

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1629644

Title:
  Trusty: failure to detect device with 0.4.9-3ubuntu7.5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1629644/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1629644] Re: Trusty: failure to detect device with 0.4.9-3ubuntu7.14

2016-10-13 Thread Amit Oren
Thanks for the replies.

@racb After further bisection I can now say the first version the issue
occurs in is 0.4.9-3ubuntu7.6.

@louis-bouchard Unfortunately, updating the initrd.img file and
rebooting the server did not fix the issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1629644

Title:
  Trusty: failure to detect device with 0.4.9-3ubuntu7.14

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1629644/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1622894] Re: sg devices are not being created for SCSI storage controller devices starting from v4.4.0-30

2016-10-13 Thread Amit Oren
Hi, any news?
Should I re-open #1567602 (you can see from the bisection the commit leads to 
this issue)?

Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1622894

Title:
  sg devices are not being created for SCSI storage controller devices
  starting from v4.4.0-30

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1622894/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1622894] Re: sg devices are not being created for SCSI storage controller devices starting from v4.4.0-30

2016-10-06 Thread Amit Oren
Finished the kernel bisection process, this is the result:
"8d83f8015312b0d600157dd4b6a70ae6d9ee17f9 is the first bad commit
commit 8d83f8015312b0d600157dd4b6a70ae6d9ee17f9
Author: Hannes Reinecke 
Date:   Tue Dec 1 10:16:57 2015 +0100

scsi: Add scsi_vpd_tpg_id()

Implement scsi_vpd_tpg_id() to extract the target
port group id and the relative port id from
SCSI VPD page 0x83.

Reviewed-by: Johannes Thumshirn 
Reviewed-by: Christoph Hellwig 
Signed-off-by: Hannes Reinecke 
Signed-off-by: Martin K. Petersen 

BugLink: http://bugs.launchpad.net/bugs/1567602

(cherry-picked from commit a8aa3978588a4fa2d9edabc151adedd97bbed091)
Signed-off-by: Stefan Bader 
Acked-by: Brad Figg 
Signed-off-by: Kamal Mostafa 

:04 04 d72abb718bfaeada82e7585afeb1a63b8d546395 
e7d570069d9649a70a4f2c6ac0a0f8845036df37 M  drivers
:04 04 110a71ec936859fb0eb36f19750c7d58e555d471 
29349614b62275e58c12832ebed2dd77ae44e9d3 M  include"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1622894

Title:
  sg devices are not being created for SCSI storage controller devices
  starting from v4.4.0-30

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1622894/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1629644] [NEW] Trusty: failure to detect device with 0.4.9-3ubuntu7.14

2016-10-02 Thread Amit Oren
Public bug reported:

When trying to detect a device with the latest 0.4.9-3ubuntu7.14 version, no 
device is detected.
When downgrading to 0.4.9-3ubuntu7 everything works fine.
See this console log for more detail: 
https://gist.github.com/amito/4108cd7ee895baecc9a6412e7c5fdeac

** Affects: multipath-tools (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1629644

Title:
  Trusty: failure to detect device with 0.4.9-3ubuntu7.14

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1629644/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1611360] Re: Xenial 32-bit: multipath exits with SIGSEGV

2016-10-02 Thread Amit Oren
Ping?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611360

Title:
  Xenial 32-bit: multipath exits with SIGSEGV

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1611360/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1611360] Re: Xenial 32-bit: multipath exits with SIGSEGV

2016-10-02 Thread Amit Oren
** Summary changed:

- Segmentation fault on Xenial 32 bit 
+ Xenial 32-bit: multipath exits with SIGSEGV

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611360

Title:
  Xenial 32-bit: multipath exits with SIGSEGV

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1611360/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1622894] WifiSyslog.txt

2016-09-13 Thread Amit Oren
apport information

** Attachment added: "WifiSyslog.txt"
   
https://bugs.launchpad.net/bugs/1622894/+attachment/4739837/+files/WifiSyslog.txt

** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1622894

Title:
  sg devices are not being created for SCSI storage controller devices
  starting from v4.4.0-30

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1622894/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1622894] ProcInterrupts.txt

2016-09-13 Thread Amit Oren
apport information

** Attachment added: "ProcInterrupts.txt"
   
https://bugs.launchpad.net/bugs/1622894/+attachment/4739834/+files/ProcInterrupts.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1622894

Title:
  sg devices are not being created for SCSI storage controller devices
  starting from v4.4.0-30

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1622894/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1622894] JournalErrors.txt

2016-09-13 Thread Amit Oren
apport information

** Attachment added: "JournalErrors.txt"
   
https://bugs.launchpad.net/bugs/1622894/+attachment/4739830/+files/JournalErrors.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1622894

Title:
  sg devices are not being created for SCSI storage controller devices
  starting from v4.4.0-30

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1622894/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1622894] UdevDb.txt

2016-09-13 Thread Amit Oren
apport information

** Attachment added: "UdevDb.txt"
   https://bugs.launchpad.net/bugs/1622894/+attachment/4739836/+files/UdevDb.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1622894

Title:
  sg devices are not being created for SCSI storage controller devices
  starting from v4.4.0-30

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1622894/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1622894] ProcEnviron.txt

2016-09-13 Thread Amit Oren
apport information

** Attachment added: "ProcEnviron.txt"
   
https://bugs.launchpad.net/bugs/1622894/+attachment/4739833/+files/ProcEnviron.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1622894

Title:
  sg devices are not being created for SCSI storage controller devices
  starting from v4.4.0-30

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1622894/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1622894] ProcCpuinfo.txt

2016-09-13 Thread Amit Oren
apport information

** Attachment added: "ProcCpuinfo.txt"
   
https://bugs.launchpad.net/bugs/1622894/+attachment/4739832/+files/ProcCpuinfo.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1622894

Title:
  sg devices are not being created for SCSI storage controller devices
  starting from v4.4.0-30

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1622894/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1622894] CurrentDmesg.txt

2016-09-13 Thread Amit Oren
apport information

** Attachment added: "CurrentDmesg.txt"
   
https://bugs.launchpad.net/bugs/1622894/+attachment/4739829/+files/CurrentDmesg.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1622894

Title:
  sg devices are not being created for SCSI storage controller devices
  starting from v4.4.0-30

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1622894/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1622894] ProcModules.txt

2016-09-13 Thread Amit Oren
apport information

** Attachment added: "ProcModules.txt"
   
https://bugs.launchpad.net/bugs/1622894/+attachment/4739835/+files/ProcModules.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1622894

Title:
  sg devices are not being created for SCSI storage controller devices
  starting from v4.4.0-30

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1622894/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1622894] Lspci.txt

2016-09-13 Thread Amit Oren
apport information

** Attachment added: "Lspci.txt"
   https://bugs.launchpad.net/bugs/1622894/+attachment/4739831/+files/Lspci.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1622894

Title:
  sg devices are not being created for SCSI storage controller devices
  starting from v4.4.0-30

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1622894/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1622894] Re: sg devices are not being created for SCSI storage controller devices starting from v4.4.0-30

2016-09-13 Thread Amit Oren
apport information

** Tags added: apport-collected xenial

** Description changed:

  Most storage array expose a store controller device to logical unit 0.
  Following LP #1567602, when this happens and the alua driver is loaded, 
Ubuntu doesn't create the sg device for it, and linux fails to discover the 
disks that are attached to higher logical unit numbers.
  
  With kernel version 4.4.0-31, we tried a number of things:
  - With a disk mapped to LUN0, everything is working.
  - Without a disk mapped to LUN0, nothing works - linux doesn't see disks 
mapped to higher LUNs, calling rescan_scsi_bus throws a stack trace to syslog: 
https://gist.github.com/grzn/20c05ce3fc96062ec9572fd5b8093b55
  - When turning on SCSI logging to the maximum 
(https://access.redhat.com/articles/337903 - 0xfff), we see that after ALUA 
driver rejected the SCSI controller nothing happens (look for 18:0:0:0 which is 
a controller here 
(https://gist.github.com/grzn/f8b65dd07b2df5f3f72ca8121d8c93ad) vs 19:0:00 
which is a disk here 
(https://gist.github.com/grzn/48da86b7f7390dab2983927862cda949).
  - When removing the scsi_dh_alua driver and then reloading the lpfc driver, 
everything is working as expected when no disk is mapped to LUN0.
+ --- 
+ AlsaDevices:
+  total 0
+  crw-rw 1 root audio 116,  1 Sep 12 18:00 seq
+  crw-rw 1 root audio 116, 33 Sep 12 18:00 timer
+ AplayDevices: Error: [Errno 2] No such file or directory
+ ApportVersion: 2.20.1-0ubuntu2.1
+ Architecture: amd64
+ ArecordDevices: Error: [Errno 2] No such file or directory
+ AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
+ DistroRelease: Ubuntu 16.04
+ HibernationDevice: RESUME=UUID=1b089ce2-057f-44d6-9e53-5ee1b7fb5be9
+ IwConfig: Error: [Errno 2] No such file or directory
+ Lsusb: Error: command ['lsusb'] failed with exit code 1:
+ MachineType: VMware, Inc. VMware Virtual Platform
+ Package: linux (not installed)
+ PciMultimedia:
+  
+ ProcFB: 0 svgadrmfb
+ ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-31-generic 
root=UUID=6738fbd7-7243-4860-949f-717dfd084c43 ro quiet splash
+ ProcVersionSignature: Ubuntu 4.4.0-31.50-generic 4.4.13
+ RelatedPackageVersions:
+  linux-restricted-modules-4.4.0-31-generic N/A
+  linux-backports-modules-4.4.0-31-generic  N/A
+  linux-firmware1.157.3
+ RfKill: Error: [Errno 2] No such file or directory
+ Tags:  xenial xenial
+ Uname: Linux 4.4.0-31-generic x86_64
+ UnreportableReason: The report belongs to a package that is not installed.
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups:
+  
+ _MarkForUpload: False
+ dmi.bios.date: 09/17/2015
+ dmi.bios.vendor: Phoenix Technologies LTD
+ dmi.bios.version: 6.00
+ dmi.board.name: 440BX Desktop Reference Platform
+ dmi.board.vendor: Intel Corporation
+ dmi.board.version: None
+ dmi.chassis.asset.tag: No Asset Tag
+ dmi.chassis.type: 1
+ dmi.chassis.vendor: No Enclosure
+ dmi.chassis.version: N/A
+ dmi.modalias: 
dmi:bvnPhoenixTechnologiesLTD:bvr6.00:bd09/17/2015:svnVMware,Inc.:pnVMwareVirtualPlatform:pvrNone:rvnIntelCorporation:rn440BXDesktopReferencePlatform:rvrNone:cvnNoEnclosure:ct1:cvrN/A:
+ dmi.product.name: VMware Virtual Platform
+ dmi.product.version: None
+ dmi.sys.vendor: VMware, Inc.

** Attachment added: "CRDA.txt"
   https://bugs.launchpad.net/bugs/1622894/+attachment/4739828/+files/CRDA.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1622894

Title:
  sg devices are not being created for SCSI storage controller devices
  starting from v4.4.0-30

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1622894/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1622894] [NEW] sg devices are not being created for SCSI storage controller devices starting from v4.4.0-30

2016-09-13 Thread Amit Oren
Public bug reported:

Most storage array expose a store controller device to logical unit 0.
Following LP #1567602, when this happens and the alua driver is loaded, Ubuntu 
doesn't create the sg device for it, and linux fails to discover the disks that 
are attached to higher logical unit numbers.

With kernel version 4.4.0-31, we tried a number of things:
- With a disk mapped to LUN0, everything is working.
- Without a disk mapped to LUN0, nothing works - linux doesn't see disks mapped 
to higher LUNs, calling rescan_scsi_bus throws a stack trace to syslog: 
https://gist.github.com/grzn/20c05ce3fc96062ec9572fd5b8093b55
- When turning on SCSI logging to the maximum 
(https://access.redhat.com/articles/337903 - 0xfff), we see that after ALUA 
driver rejected the SCSI controller nothing happens (look for 18:0:0:0 which is 
a controller here 
(https://gist.github.com/grzn/f8b65dd07b2df5f3f72ca8121d8c93ad) vs 19:0:00 
which is a disk here 
(https://gist.github.com/grzn/48da86b7f7390dab2983927862cda949).
- When removing the scsi_dh_alua driver and then reloading the lpfc driver, 
everything is working as expected when no disk is mapped to LUN0.

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1622894

Title:
  sg devices are not being created for SCSI storage controller devices
  starting from v4.4.0-30

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1622894/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs