Amit is on vacation for the following week, so I ran the test again with
'4.4.0-36-generic #55~lp1622894' and the sg device gets created when the alua
driver is loaded:
but when I remove the lpfc driver there's still a stack trace in syslog:
I'll try now with the mainline kernel.
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
sg devices are not being created for SCSI storage controller devices
starting from v4.4.0-30
Status in linux package in Ubuntu:
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:
- When turning on SCSI logging to the maximum
(https://access.redhat.com/articles/337903 - 0xfffffff), 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
- 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.
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
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
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)
ProcFB: 0 svgadrmfb
root=UUID=6738fbd7-7243-4860-949f-717dfd084c43 ro quiet splash
ProcVersionSignature: Ubuntu 4.4.0-31.50-generic 4.4.13
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)
dmi.bios.vendor: Phoenix Technologies LTD
dmi.board.name: 440BX Desktop Reference Platform
dmi.board.vendor: Intel Corporation
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.vendor: No Enclosure
dmi.product.name: VMware Virtual Platform
dmi.sys.vendor: VMware, Inc.
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~kernel-packages
Post to : firstname.lastname@example.org
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp