Bug 920083
| Summary: | virtio-scsi gives errors like: sd 2:0:0:0: [sda] Invalid command failure | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | bfan | ||||||||||||||
| Component: | qemu-kvm | Assignee: | Markus Armbruster <armbru> | ||||||||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||||||||||
| Severity: | high | Docs Contact: | |||||||||||||||
| Priority: | high | ||||||||||||||||
| Version: | 7.0 | CC: | acathrow, hhuang, juzhang, leiwang, michen, pbonzini, qguan, rjones, sluo, virt-maint, wshi | ||||||||||||||
| Target Milestone: | rc | ||||||||||||||||
| Target Release: | --- | ||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||
| OS: | Linux | ||||||||||||||||
| Whiteboard: | |||||||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||
| Last Closed: | 2013-05-27 06:44:52 UTC | Type: | Bug | ||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||
| Embargoed: | |||||||||||||||||
| Attachments: |
|
||||||||||||||||
|
Description
bfan
2013-03-11 10:37:07 UTC
Created attachment 708708 [details]
guestfish boot log
Created attachment 708713 [details]
/var/log/message
Created attachment 708715 [details]
libguestfs-test-tool.log
Created attachment 708717 [details]
guestfish -v -x -N fs:ext3 exit
I'm more sure than before this is a kernel or qemu or virtio-scsi bug in RHEL 7. Nothing like this happens in Fedora 18. The log shows: [ 0.510742] scsi2 : Virtio SCSI HBA [ 0.513571] scsi 2:0:0:0: Direct-Access QEMU QEMU HARDDISK 1.4. PQ: 0 ANSI: 5 [ 0.514436] scsi 2:0:1:0: Direct-Access QEMU QEMU HARDDISK 1.4. PQ: 0 ANSI: 5 [ 0.526318] sd 2:0:0:0: [sda] 204800 512-byte logical blocks: (104 MB/100 MiB) [ 0.527064] sd 2:0:1:0: [sdb] 8388608 512-byte logical blocks: (4.29 GB/4.00 GiB) and then shortly afterwards lots and lots of this: [ 1.247328] sd 2:0:0:0: [sda] Invalid command failure [ 1.248467] sd 2:0:0:0: [sda] [ 1.249108] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [ 1.250161] sd 2:0:0:0: [sda] [ 1.250704] Sense Key : Illegal Request [current] [ 1.251654] sd 2:0:0:0: [sda] [ 1.252282] Add. Sense: Invalid field in cdb [ 1.253136] sd 2:0:0:0: [sda] CDB: [ 1.253730] Read(10): 28 00 00 03 1f ff 00 00 01 00 [ 1.255074] end_request: critical target error, dev sda, sector 204799 virtio-scsi is not a separate component. Can you try swapping out qemu and kernel? That is, using the RHEL7 appliance on F18 libguestfs, or the F18 appliance on RHEL7 libguestfs? bfan: If you want to follow Paolo's suggestion, then just run: libguestfs-make-fixed-appliance --xz on one machine, and copy the generated file 'appliance-<VERSION>.tar.xz' to another machine. They unpack that file and follow the simple instructions in the README file, which are also online here: http://libguestfs.org/download/binaries/appliance/README.txt (In reply to comment #12) > They unpack that file and follow the simple > instructions in the README file, which are also online here: > http://libguestfs.org/download/binaries/appliance/README.txt Erm, I mean: You don't need to do the compiling bit. Just setting LIBGUESTFS_PATH to wherever you unpacked the appliance is sufficient. Created attachment 709476 [details]
Use rhel7 appliance in FC18
Created attachment 709477 [details]
Use FC18 appliance in rhel7
(In reply to comment #13) > (In reply to comment #12) > > They unpack that file and follow the simple > > instructions in the README file, which are also online here: > > http://libguestfs.org/download/binaries/appliance/README.txt > > Erm, I mean: You don't need to do the compiling bit. Just > setting LIBGUESTFS_PATH to wherever you unpacked the appliance > is sufficient. Use rhel7 appliance in FC18, works well. attached: "Use rhel7 appliance in FC18" Use FC18 appliance in rhel7, failed with same reason. attached: "Use FC18 appliance in rhel7" FC18: 3.6.10-4.fc18.x86_64 guestfish 1.20.2fedora=18,release=5.fc18,libvirt (In reply to comment #16) > (In reply to comment #13) > > (In reply to comment #12) > > > They unpack that file and follow the simple > > > instructions in the README file, which are also online here: > > > http://libguestfs.org/download/binaries/appliance/README.txt > > > > Erm, I mean: You don't need to do the compiling bit. Just > > setting LIBGUESTFS_PATH to wherever you unpacked the appliance > > is sufficient. > > Use rhel7 appliance in FC18, works well. > attached: "Use rhel7 appliance in FC18" > > Use FC18 appliance in rhel7, failed with same reason. > attached: "Use FC18 appliance in rhel7" > > FC18: > 3.6.10-4.fc18.x86_64 > guestfish 1.20.2fedora=18,release=5.fc18,libvirt This implies that it's a qemu-on-RHEL 7 bug. Reassigning accordingly. bfan, what's the QEMU version you're testing? And Richard, can you test rawhide please? I'd hope that this just fixes itself with the next RHEL7 rebase... (In reply to comment #18) > bfan, what's the QEMU version you're testing? > qemu-kvm-1.4.0-1.el7 and qemu-1.2.2-6.fc18 > And Richard, can you test rawhide please? I'd hope that this just fixes > itself with the next RHEL7 rebase... (In reply to Paolo Bonzini from comment #18) > bfan, what's the QEMU version you're testing? > > And Richard, can you test rawhide please? I'd hope that this just fixes > itself with the next RHEL7 rebase... I wonder if this is still a problem? I've been using upstream qemu from git and qemu-1.5.0-1.fc20.x86_64 and have not seen any virtio-scsi bugs for a long long time. (In reply to Richard W.M. Jones from comment #20) > (In reply to Paolo Bonzini from comment #18) > > bfan, what's the QEMU version you're testing? > > > > And Richard, can you test rawhide please? I'd hope that this just fixes > > itself with the next RHEL7 rebase... > > I wonder if this is still a problem? I've been using upstream > qemu from git and qemu-1.5.0-1.fc20.x86_64 and have not seen any > virtio-scsi bugs for a long long time. I tried qemu-kvm-1.5.0-1.el7.x86_64 with latest rhel7 eng tree, it works Closing out as per comment#21. |