** Description changed: + Link to a patch series to the stable: + https://www.spinics.net/lists/stable/msg458515.html + QLogic FC adapters don't work in direct mode on focal (at least QLE2692, and QLE2694, QLE2742 are affected): [ 266.821659] qla2xxx [0000:05:00.0]-3874:3: ELS_DCMD PLOGI sent, hdl=1a, loopid=0, to port_id 000002 from port_id 000001 [ 266.822926] qla2xxx [0000:05:00.0]-583f:3: ELS IOCB Done -Driver ELS logo error hdl=1a comp_status=0x0 error subcode 1=0x0 error subcode 2=0x0 total_byte=0x74 [ 266.822933] qla2xxx [0000:05:00.0]-3872:3: ELS_DCMD ELS done rc 0 hdl=1a, portid=000002 21:00:34:80:0d:74:14:d2 [ 266.822937] qla2xxx [0000:05:00.0]-2918:3: qla_handle_els_plogi_done 1764 21:00:34:80:0d:74:14:d2 post PRLI [ 266.822965] qla2xxx [0000:05:00.0]-291b:3: Async-prli - 21:00:34:80:0d:74:14:d2 hdl=0, loopid=0 portid=000002 retries=29 nvme. [ 266.823008] qla2xxx [0000:05:00.0]-5837:3: Async-prli failed - 21:00:34:80:0d:74:14:d2 hdl=1b portid=000002 comp=31 iop0=18 iop1=b0000. [ 266.823011] qla2xxx [0000:05:00.0]-2929:3: qla2x00_async_prli_sp_done 21:00:34:80:0d:74:14:d2 res 0 [ 266.823014] qla2xxx [0000:05:00.0]-2918:3: qla24xx_handle_prli_done_event 1934 21:00:34:80:0d:74:14:d2 post NVMe prli [ 266.823019] qla2xxx [0000:05:00.0]-e801:3: Scheduling sess 00000000a438982b for deletion 21:00:34:80:0d:74:14:d2 [ 266.823031] qla2xxx [0000:05:00.0]-290a:3: qlt_unreg_sess sess 00000000a438982b for deletion 21:00:34:80:0d:74:14:d2 [ 266.823039] qla2xxx [0000:05:00.0]-f884:3: qlt_free_session_done: se_sess 0000000000000000 / sess 00000000a438982b from port 21:00:34:80:0d:74:14:d2 loop_id 0x00 s_id 00:00:02 logout 1 keep 0 els_logo 0 [ 266.823043] qla2xxx [0000:05:00.0]-f886:3: qlt_free_session_done: waiting for sess 00000000a438982b logout [ 266.823066] qla2xxx [0000:05:00.0]-2870:3: Async-logout - hdl=0 loop-id=0 portid=000002 21:00:34:80:0d:74:14:d2. [ 266.823087] qla2xxx [0000:05:00.0]-5836:3: Async-logout complete - 21:00:34:80:0d:74:14:d2 hdl=1c portid=000002 iop0=0. [ 266.823093] qla2xxx [0000:05:00.0]-f893:3: qlt_logo_completion_handler: se_sess 0000000000000000 / sess 00000000a438982b from port 21:00:34:80:0d:74:14:d2 loop_id 0x00 s_id 00:00:02 LOGO failed: 0x0 [ 266.928413] qla2xxx [0000:05:00.0]-f887:3: qlt_free_session_done: sess 00000000a438982b logout completed [ 266.931754] qla2xxx [0000:05:00.0]-f89a:3: se_sess 0000000000000000 / sess 00000000a438982b port 21:00:34:80:0d:74:14:d2 is gone, no own PLOGI pending (ref=-1) The snippet above shows that qla2xxx is trying to send NVMe PRLI instead of FCP PRLI to FCP target and link connection doesn't succeed. The same bug exists in linux-stable since 5.4.69. P2P worked until 5.4.69 but issue_lip was broken and link was not recovered after issue_lip. We have triaged the issue and found a way to fix it by backporting and properly merging upstream patches and will send a series to linux-stable - shortly. + shortly. (https://www.spinics.net/lists/stable/msg458515.html) ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: linux-image-5.4.0-71-generic 5.4.0-71.79 ProcVersionSignature: Ubuntu 5.4.0-71.79-generic 5.4.101 Uname: Linux 5.4.0-71-generic x86_64 AlsaVersion: Advanced Linux Sound Architecture Driver Version k5.4.0-71-generic. AplayDevices: Error: [Errno 2] No such file or directory: 'aplay' ApportVersion: 2.20.11-0ubuntu27.16 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer' Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer' CasperMD5CheckResult: skip Date: Thu Apr 15 15:43:55 2021 IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' Lsusb: - Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd QEMU USB Tablet - Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub - Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub - Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub - Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub + Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd QEMU USB Tablet + Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub + Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub + Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub + Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Lsusb-t: - /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M - /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M - /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M - /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M - |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 480M + /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M + /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M + /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M + /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M + |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 480M MachineType: QEMU Standard PC (Q35 + ICH9, 2009) ProcFB: 0 qxldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-71-generic root=UUID=fed00282-cd6d-405e-ba8d-3f1d5cd7bcff ro net.ifnames=0 biosdevname=0 quiet console=ttyS0 console=tty1 RelatedPackageVersions: - linux-restricted-modules-5.4.0-71-generic N/A - linux-backports-modules-5.4.0-71-generic N/A - linux-firmware 1.187.10 + linux-restricted-modules-5.4.0-71-generic N/A + linux-backports-modules-5.4.0-71-generic N/A + linux-firmware 1.187.10 RfKill: Error: [Errno 2] No such file or directory: 'rfkill' SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 04/01/2014 dmi.bios.vendor: SeaBIOS dmi.bios.version: rel-1.12.0-59-gc9ba527-rebuilt.opensuse.org dmi.chassis.type: 1 dmi.chassis.vendor: QEMU dmi.chassis.version: pc-q35-4.2 dmi.modalias: dmi:bvnSeaBIOS:bvrrel-1.12.0-59-gc9ba527-rebuilt.opensuse.org:bd04/01/2014:svnQEMU:pnStandardPC(Q35+ICH9,2009):pvrpc-q35-4.2:cvnQEMU:ct1:cvrpc-q35-4.2: dmi.product.name: Standard PC (Q35 + ICH9, 2009) dmi.product.version: pc-q35-4.2 dmi.sys.vendor: QEMU
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1924588 Title: P2P mode doesn't work in qla2xxx Status in linux package in Ubuntu: Confirmed Bug description: Link to a patch series to the stable: https://www.spinics.net/lists/stable/msg458515.html QLogic FC adapters don't work in direct mode on focal (at least QLE2692, and QLE2694, QLE2742 are affected): [ 266.821659] qla2xxx [0000:05:00.0]-3874:3: ELS_DCMD PLOGI sent, hdl=1a, loopid=0, to port_id 000002 from port_id 000001 [ 266.822926] qla2xxx [0000:05:00.0]-583f:3: ELS IOCB Done -Driver ELS logo error hdl=1a comp_status=0x0 error subcode 1=0x0 error subcode 2=0x0 total_byte=0x74 [ 266.822933] qla2xxx [0000:05:00.0]-3872:3: ELS_DCMD ELS done rc 0 hdl=1a, portid=000002 21:00:34:80:0d:74:14:d2 [ 266.822937] qla2xxx [0000:05:00.0]-2918:3: qla_handle_els_plogi_done 1764 21:00:34:80:0d:74:14:d2 post PRLI [ 266.822965] qla2xxx [0000:05:00.0]-291b:3: Async-prli - 21:00:34:80:0d:74:14:d2 hdl=0, loopid=0 portid=000002 retries=29 nvme. [ 266.823008] qla2xxx [0000:05:00.0]-5837:3: Async-prli failed - 21:00:34:80:0d:74:14:d2 hdl=1b portid=000002 comp=31 iop0=18 iop1=b0000. [ 266.823011] qla2xxx [0000:05:00.0]-2929:3: qla2x00_async_prli_sp_done 21:00:34:80:0d:74:14:d2 res 0 [ 266.823014] qla2xxx [0000:05:00.0]-2918:3: qla24xx_handle_prli_done_event 1934 21:00:34:80:0d:74:14:d2 post NVMe prli [ 266.823019] qla2xxx [0000:05:00.0]-e801:3: Scheduling sess 00000000a438982b for deletion 21:00:34:80:0d:74:14:d2 [ 266.823031] qla2xxx [0000:05:00.0]-290a:3: qlt_unreg_sess sess 00000000a438982b for deletion 21:00:34:80:0d:74:14:d2 [ 266.823039] qla2xxx [0000:05:00.0]-f884:3: qlt_free_session_done: se_sess 0000000000000000 / sess 00000000a438982b from port 21:00:34:80:0d:74:14:d2 loop_id 0x00 s_id 00:00:02 logout 1 keep 0 els_logo 0 [ 266.823043] qla2xxx [0000:05:00.0]-f886:3: qlt_free_session_done: waiting for sess 00000000a438982b logout [ 266.823066] qla2xxx [0000:05:00.0]-2870:3: Async-logout - hdl=0 loop-id=0 portid=000002 21:00:34:80:0d:74:14:d2. [ 266.823087] qla2xxx [0000:05:00.0]-5836:3: Async-logout complete - 21:00:34:80:0d:74:14:d2 hdl=1c portid=000002 iop0=0. [ 266.823093] qla2xxx [0000:05:00.0]-f893:3: qlt_logo_completion_handler: se_sess 0000000000000000 / sess 00000000a438982b from port 21:00:34:80:0d:74:14:d2 loop_id 0x00 s_id 00:00:02 LOGO failed: 0x0 [ 266.928413] qla2xxx [0000:05:00.0]-f887:3: qlt_free_session_done: sess 00000000a438982b logout completed [ 266.931754] qla2xxx [0000:05:00.0]-f89a:3: se_sess 0000000000000000 / sess 00000000a438982b port 21:00:34:80:0d:74:14:d2 is gone, no own PLOGI pending (ref=-1) The snippet above shows that qla2xxx is trying to send NVMe PRLI instead of FCP PRLI to FCP target and link connection doesn't succeed. The same bug exists in linux-stable since 5.4.69. P2P worked until 5.4.69 but issue_lip was broken and link was not recovered after issue_lip. We have triaged the issue and found a way to fix it by backporting and properly merging upstream patches and will send a series to linux- stable shortly. (https://www.spinics.net/lists/stable/msg458515.html) ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: linux-image-5.4.0-71-generic 5.4.0-71.79 ProcVersionSignature: Ubuntu 5.4.0-71.79-generic 5.4.101 Uname: Linux 5.4.0-71-generic x86_64 AlsaVersion: Advanced Linux Sound Architecture Driver Version k5.4.0-71-generic. AplayDevices: Error: [Errno 2] No such file or directory: 'aplay' ApportVersion: 2.20.11-0ubuntu27.16 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer' Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer' CasperMD5CheckResult: skip Date: Thu Apr 15 15:43:55 2021 IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' Lsusb: Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd QEMU USB Tablet Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Lsusb-t: /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 480M MachineType: QEMU Standard PC (Q35 + ICH9, 2009) ProcFB: 0 qxldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-71-generic root=UUID=fed00282-cd6d-405e-ba8d-3f1d5cd7bcff ro net.ifnames=0 biosdevname=0 quiet console=ttyS0 console=tty1 RelatedPackageVersions: linux-restricted-modules-5.4.0-71-generic N/A linux-backports-modules-5.4.0-71-generic N/A linux-firmware 1.187.10 RfKill: Error: [Errno 2] No such file or directory: 'rfkill' SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 04/01/2014 dmi.bios.vendor: SeaBIOS dmi.bios.version: rel-1.12.0-59-gc9ba527-rebuilt.opensuse.org dmi.chassis.type: 1 dmi.chassis.vendor: QEMU dmi.chassis.version: pc-q35-4.2 dmi.modalias: dmi:bvnSeaBIOS:bvrrel-1.12.0-59-gc9ba527-rebuilt.opensuse.org:bd04/01/2014:svnQEMU:pnStandardPC(Q35+ICH9,2009):pvrpc-q35-4.2:cvnQEMU:ct1:cvrpc-q35-4.2: dmi.product.name: Standard PC (Q35 + ICH9, 2009) dmi.product.version: pc-q35-4.2 dmi.sys.vendor: QEMU To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1924588/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp