From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52057) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmzOA-0001Zz-NM for qemu-devel@nongnu.org; Thu, 22 Sep 2016 04:29:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmzO6-00032f-EG for qemu-devel@nongnu.org; Thu, 22 Sep 2016 04:29:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmzO6-00032E-4g for qemu-devel@nongnu.org; Thu, 22 Sep 2016 04:29:46 -0400 Date: Thu, 22 Sep 2016 10:29:39 +0200 From: Igor Mammedov Message-ID: <20160922102939.6e05581d@nial.brq.redhat.com> In-Reply-To: <1468475796-7397-1-git-send-email-peterx@redhat.com> References: <1468475796-7397-1-git-send-email-peterx@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v12 00/27] IOMMU: Enable interrupt remapping for Intel IOMMU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Xu Cc: qemu-devel@nongnu.org, ehabkost@redhat.com, mst@redhat.com, jasowang@redhat.com, rkrcmar@redhat.com, alex.williamson@redhat.com, jan.kiszka@web.de, wexu@redhat.com, pbonzini@redhat.com, marcel@redhat.com, davidkiarie4@gmail.com, rth@twiddle.net On Thu, 14 Jul 2016 13:56:09 +0800 Peter Xu wrote: > This is v12 for Intel IR. Rebased to lastest master, with some tiny > tweaks from v11. Please check changelog below. Hi Peter, While testing current master 9b8595bc with merged IR remapping and default IDE disk as following: qemu-system-x86_64 --enable-kvm -m 2G -snapshot -M q35 \ -smp 1,sockets=7,cores=32,threads=1,maxcpus=240 \ -device qemu64-x86_64-cpu,socket-id=1,core-id=30,thread-id=0 \ -device intel-iommu,intremap=on -machine kernel_irqchip=split \ rhel73_disk.img I see errors, on QEMU stderr: KVM: injection failed, MSI lost (Operation not permitted) [...] and in guest: [ 48.377370] ata1.00: exception Emask 0x0 SAct 0x7c0fffff SErr 0x0 action 0x6 frozen [ 48.378069] ata1.00: failed command: WRITE FPDMA QUEUED [ 48.378493] ata1.00: cmd 61/08:00:90:0a:c0/00:00:00:00:00/40 tag 0 ncq 4096 out [ 48.378493] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) [...] [ 48.465957] ata1: hard resetting link [ 48.772096] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 53.773067] ata1.00: qc timeout (cmd 0xec) [ 53.774054] ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4) [ 53.775126] ata1.00: revalidation failed (errno=-5) [...] [ 94.394215] ata1.00: qc timeout (cmd 0xec) [ 94.395163] ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4) [ 94.396213] ata1.00: revalidation failed (errno=-5) [ 94.397184] ata1.00: disabled [ 94.398021] ata1.00: device reported invalid CHS sector 0 [...] [ 94.725462] sd 0:0:0:0: [sda] FAILED Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK [ 94.726559] sd 0:0:0:0: [sda] CDB: Write(10) 2a 00 00 c0 09 00 00 00 08 00 [ 94.727462] blk_update_request: I/O error, dev sda, sector 12585216 [ 94.728320] Buffer I/O error on dev sda1, logical block 1572896, lost async page write [...] [ 94.771975] Buffer I/O error on dev sda1, logical block 2097257, lost async page write [ 94.773458] EXT4-fs warning (device sda1): ext4_end_bio:316: I/O error -5 writing to inode 524365 (offset 0 size 0 starting block 2130264) [ 94.773540] EXT4-fs warning (device sda1): ext4_end_bio:316: I/O error -5 writing to inode 525096 (offset 0 size 8192 starting block 2130596) [ 94.773541] Buffer I/O error on device sda1, logical block 2130338 [...] [ 94.783649] EXT4-fs error (device sda1): ext4_wait_block_bitmap:494: comm kworker/u480:5: Cannot read block bitmap - block_group = 11, block_bitmap = 1038 [ 94.786408] EXT4-fs (sda1): Delayed block allocation failed for inode 524366 at logical offset 1280 with max blocks 1 with error 5 [ 94.788973] EXT4-fs (sda1): This should not happen!! Data will be lost