On Saturday 10 September 2016 17:02:44 José Ramón Muñoz Pekkarinen wrote:
> Yep, there is no other graphic card on this machine, might this be a
> problem of efi fb or sime fb jumping on the igd?
> 
> Thanks!
> 
> José.
> 
> On 10 Sep 2016 18:52, "Alex Williamson" <alex.l.william...@gmail.com> wrote:
> > On Sat, Sep 10, 2016 at 9:51 AM, José Ramón Muñoz Pekkarinen <
> > 
> > koali...@gmail.com> wrote:
> >> Hi Alex,
> >> 
> >> Sorry to say I'm using 4.7.2, so that might not be the problem, any other
> >> idea?
> > 
> > Is IGD the host boot graphics?  It needs to be.


        Some output for perusal:

qemu call:

qemu-system-x86_64 -enable-kvm -vga none -cpu host -smp 3,cores=3,threads=1 \   
                                                                                
                                                                            
        -m 7G -mem-path /mnt/hugepages \                                        
                                                                                
                                                                            
        -device vfio-pci,host=00:02.0,addr=02.0 \                               
                                                                                
                                                                            
        -netdev user,id=user.0,smb=/home/pekkari/share -device 
e1000,netdev=user.0 \                                                           
                                                                                
             
        -device ich9-usb-uhci3,id=uhci -device usb-ehci,id=ehci -device nec-
usb-xhci,id=xhci \                                                              
                                                                                
        -object input-linux,id=kbd,evdev=/dev/input/by-path/platform-i8042-
serio-0-event-kbd,grab_all=on \                                                 
                                                                                
 
        -object input-linux,id=mouse,evdev=/dev/input/by-path/platform-i8042-
serio-2-event-mouse \                                                           
                                                                               
        -drive file=win7.img,format=raw,cache=none,aio=native,if=virtio

output:

qemu-system-x86_64: -device vfio-pci,host=00:02.0,addr=02.0: Failed to mmap 
0000:00:02.0 BAR 2. Performance may be slow                                     
                                                                                
qemu-system-x86_64: -device vfio-pci,host=00:02.0,addr=02.0: IGD device 
0000:00:02.0 has no ROM, legacy mode disabled                                   
                                                                                
    
Could not initialize SDL(No available video device) - exiting

lspci -k:

00:02.0 VGA compatible controller: Intel Corporation Sky Lake Integrated 
Graphics (rev 07)                                                               
                                                                                
   
        Subsystem: CLEVO/KAPOK Computer Sky Lake Integrated Graphics            
                                                                                
                                                                            
        Kernel driver in use: vfio-pci                                          
                                                                                
                                                                            
        Kernel modules: i915

uname -a:

Linux ant 4.7.2 #1 SMP Fri Sep 2 08:54:30 BST 2016 x86_64 Intel(R) Core(TM) 
i7-6500U CPU @ 2.50GHz GenuineIntel GNU/Linux

GRUB_CMDLINE_LINUX:

GRUB_CMDLINE_LINUX="dolvm crypt_root=/dev/sda3 real_root=/dev/ant/root 
resume=/dev/ant/swap default_hugepagesz=1GB hugepagesz=1GB hugepages=8 vfio-
pci.ids=8086:1916"

dmesg | grep -e DMAR -e IOMMU

[    0.000000] ACPI: DMAR 0x0000000087B81888 0000A8 (v01 INTEL  SKL      
00000001 INTL 00000001)
[    0.037092] DMAR: Host address width 39
[    0.037094] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[    0.037101] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap 1c0000c40660462 
ecap 7e3ff0505e
[    0.037105] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[    0.037109] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008c40660462 
ecap f050da
[    0.037112] DMAR: RMRR base: 0x000000874ff000 end: 0x0000008751efff
[    0.037115] DMAR: RMRR base: 0x00000088800000 end: 0x0000008affffff
[    0.037117] DMAR-IR: IOAPIC id 2 under DRHD base  0xfed91000 IOMMU 1
[    0.037120] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[    0.038634] DMAR-IR: Enabled IRQ remapping in xapic mode
[    1.968949] DMAR: No ATSR found
[    1.969158] DMAR: dmar0: Using Queued invalidation
[    1.969165] DMAR: dmar1: Using Queued invalidation
[    1.969287] DMAR: Setting RMRR:
[    1.969337] DMAR: Setting identity map for device 0000:00:02.0 [0x88800000 
- 0x8affffff]
[    1.969365] DMAR: Setting identity map for device 0000:00:14.0 [0x874ff000 
- 0x8751efff]
[    1.969373] DMAR: Prepare 0-16MiB unity mapping for LPC
[    1.969404] DMAR: Setting identity map for device 0000:00:1f.0 [0x0 - 
0xffffff]
[    1.969417] DMAR: Intel(R) Virtualization Technology for Directed I/O
[  241.638241] DMAR: DRHD: handling fault status reg 2
[  241.638247] DMAR: [DMA Write] Request device [00:02.0] fault addr 0 [fault 
reason 02] Present bit in context entry is clear
[  242.436755] DMAR: DRHD: handling fault status reg 2
[  242.436771] DMAR: [DMA Write] Request device [00:02.0] fault addr 0 [fault 
reason 02] Present bit in context entry is clear

        Feel free to request anything that can help to spot the problem.

        Best regards.

        José.


_______________________________________________
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users

Reply via email to