Public bug reported: ---Problem Description--- FW ==
Firmware Revision : 00.36 Firmware Build Time : 20171118 PNOR Build Time : 20171110 CPLD Version : B2.91.00 Test case ====== 146351: OP:System Stress_RAID1_Pegas 1.1_ZoemIO-24_KVM ZoemIO24 = PM8069 For this test case, I created a raid1 in the KVM host using 2 SAS drives which are controlled by the PM8069 onboard sas/sata controller . I rebooted my machine to complete my set up for other test cases which I planned to run them together. I then passed this raid1 to a guest. In the guest, as soon as I su - to htx, these messages appeared on the SOL of the guest As a side note. There was no error when raid1 was created and after I rebooted this machine [Tue Dec 19 15:51:08 2017] scsi_io_completion: 496 callbacks suppressed [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#0 Sense Key : Illegal Request [current] [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#0 Add. Sense: Invalid field in cdb [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#0 CDB: Read(10) 28 40 00 00 00 00 00 00 10 00 [Tue Dec 19 15:51:08 2017] print_req_error: 496 callbacks suppressed [Tue Dec 19 15:51:08 2017] print_req_error: critical target error, dev sdb, sector 0 [Tue Dec 19 15:51:08 2017] buffer_io_error: 418 callbacks suppressed [Tue Dec 19 15:51:08 2017] Buffer I/O error on dev sdb, logical block 0, async page read [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#1 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#1 Sense Key : Illegal Request [current] [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#1 Add. Sense: Invalid field in cdb [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#1 CDB: Read(10) 28 40 00 00 00 10 00 00 10 00 [Tue Dec 19 15:51:08 2017] print_req_error: critical target error, dev sdb, sector 16 [Tue Dec 19 15:51:08 2017] Buffer I/O error on dev sdb, logical block 1, async page read [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#2 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#2 Sense Key : Illegal Request [current] [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#2 Add. Sense: Invalid field in cdb [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#2 CDB: Read(10) 28 40 00 00 00 20 00 00 10 00 [Tue Dec 19 15:51:08 2017] print_req_error: critical target error, dev sdb, sector 32 [Tue Dec 19 15:51:08 2017] Buffer I/O error on dev sdb, logical block 2, async page read [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#3 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#3 Sense Key : Illegal Request [current] [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#3 Add. Sense: Invalid field in cdb [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#3 CDB: Read(10) 28 40 00 00 00 30 00 00 10 00 [Tue Dec 19 15:51:08 2017] print_req_error: critical target error, dev sdb, sector 48 [Tue Dec 19 15:51:08 2017] Buffer I/O error on dev sdb, logical block 3, async page read [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#4 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#4 Sense Key : Illegal Request [current] [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#4 Add. Sense: Invalid field in cdb [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#4 CDB: Read(10) 28 40 00 00 00 40 00 00 10 00 [Tue Dec 19 15:51:08 2017] print_req_error: critical target error, dev sdb, sector 64 [Tue Dec 19 15:51:08 2017] Buffer I/O error on dev sdb, logical block 4, async page read [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#5 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#5 Sense Key : Illegal Request [current] [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#5 Add. Sense: Invalid field in cdb [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#5 CDB: Read(10) 28 40 00 00 00 50 00 00 10 00 [Tue Dec 19 15:51:08 2017] print_req_error: critical target error, dev sdb, sector 80 [Tue Dec 19 15:51:08 2017] Buffer I/O error on dev sdb, logical block 5, async page read [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#6 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#6 Sense Key : Illegal Request [current] [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#6 Add. Sense: Invalid field in cdb [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#6 CDB: Read(10) 28 40 00 00 00 60 00 00 10 00 [Tue Dec 19 15:51:08 2017] print_req_error: critical target error, dev sdb, sector 96 [Tue Dec 19 15:51:08 2017] Buffer I/O error on dev sdb, logical block 6, async page read [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#7 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#7 Sense Key : Illegal Request [current] [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#7 Add. Sense: Invalid field in cdb [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#7 CDB: Read(10) 28 40 00 00 00 70 00 00 10 00 [Tue Dec 19 15:51:08 2017] print_req_error: critical target error, dev sdb, sector 112 [Tue Dec 19 15:51:08 2017] Buffer I/O error on dev sdb, logical block 7, async page read [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#0 Sense Key : Illegal Request [current] [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#0 Add. Sense: Invalid field in cdb [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#0 CDB: Read(10) 28 40 00 00 00 00 00 02 00 00 [Tue Dec 19 15:51:08 2017] print_req_error: critical target error, dev sdb, sector 0 [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#0 Sense Key : Illegal Request [current] [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#0 Add. Sense: Invalid field in cdb [Tue Dec 19 15:51:08 2017] sd 0:0:0:2: [sdb] tag#0 CDB: Read(10) 28 40 00 00 00 00 00 00 10 00 [Tue Dec 19 15:51:08 2017] print_req_error: critical target error, dev sdb, sector 0 [Tue Dec 19 15:51:08 2017] Buffer I/O error on dev sdb, logical block 0, async page read [Tue Dec 19 15:51:08 2017] Buffer I/O error on dev sdb, logical block 1, async page read [Tue Dec 19 15:51:08 2017] sdb: unable to read partition table [Tue Dec 19 15:51:09 2017] sdb: unable to read partition table [Tue Dec 19 15:51:09 2017] sdb: unable to read partition table [root@bos1u5p2 ~]# </cde:init_github_desc> ---uname output--- Ubuntu 18.04 Machine Type = power9 ------------ The fix was pushed upstream. Please note that there are now 2 patches instead of one: one from Paolo Bonzini and the one I've sent. We need both. The patches follows: https://github.com/qemu/qemu/commit/2343be0d7ee8a6e02c2bf99d0243492085c8d399 https://github.com/qemu/qemu/commit/29e560f00e2bc1b5731c8276031aaf192de55d9d --------- Thanks, Daniel ==== Without the previously mentioned patches, the system cannot pass a RAID volume on the primary disk controller to KVM guests. ** Affects: qemu (Ubuntu) Importance: Undecided Assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) Status: New ** Tags: architecture-ppc64le bugnameltc-165721 severity-high targetmilestone-inin--- ** Tags added: architecture-ppc64le bugnameltc-165721 severity-high targetmilestone-inin--- ** Changed in: ubuntu Assignee: (unassigned) => Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) ** Package changed: ubuntu => qemu (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1762854 Title: SCSI pass-thru of aacraid RAID1 is inaccessible (Microsemi) (qemu-kvm) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1762854/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
