You are not logged in.

#1 2016-07-20 22:33:41

bbx
Member
Registered: 2016-07-20
Posts: 1

vfio-pci 0000:01:00.0: Invalid PCI ROM header signature-ThinkpadP50

Hi

I am unable to install nvidia drivers from windows 10 x64 guest, could anyone suggest what am i missing.

below is my setup.

I have kernel 4.6.4-1-ARCH #1 SMP PREEMPT, qemu 2.5.

my launch script is

#!/bin/bash
OPTS=""
# Basic CPU settings.
OPTS="$OPTS -machine pc-q35-2.6,accel=kvm -cpu host,kvm=off,hv_spinlocks=0x1fff,hv_relaxed,hv_vapic,hv_time,hv_vendor_id=NewHwd"
OPTS="$OPTS -smp 8,sockets=1,cores=4,threads=2"
# Enable KVM full virtualization support.
OPTS="$OPTS -enable-kvm"
# Assign memory to the vm.
OPTS="$OPTS -m 4000"
# VFIO GPU and GPU sound passthrough.
OPTS="$OPTS -device vfio-pci,host=01:00.0,multifunction=on,x-vga=on,romfile=/home/user/Downloads/HP.Quadro2000M.2048.110113.rom"
#OPTS="$OPTS -device vfio-pci,host=02:00.1"
# Supply OVMF (general UEFI bios, needed for EFI boot support with GPT disks).
OPTS="$OPTS -drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/x64/ovmf_code_x64.bin"
OPTS="$OPTS -drive if=pflash,format=raw,file=/usr/share/ovmf/x64/ovmf_vars_x64.bin"
# Load our created VM image as a harddrive.
OPTS="$OPTS -hda /var/lib/libvirt/images/win10.qcow2"
# Load our OS setup image e.g. ISO file.
OPTS="$OPTS -cdrom /home/user/Downloads/Win10_1511_2_English_x64.iso"
# Use the following emulated video device (use none for disabled).
OPTS="$OPTS -vga qxl"
# Redirect QEMU's console input and output.
OPTS="$OPTS -monitor stdio"

sudo qemu-system-x86_64 $OPTS



lspci  shows

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM107GLM [Quadro M2000M] [10de:13b0] (rev a2) (prog-if 00 [VGA controller])
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at d3000000 (32-bit, non-prefetchable) [size=16M]
        Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Memory at d0000000 (64-bit, prefetchable) [size=32M]
        I/O ports at 6000 [size=128]
        Expansion ROM at d4000000 [size=512K]
        Capabilities: <access denied>
        Kernel driver in use: vfio-pci
        Kernel modules: nouveau





from qemu console
info pci  shows

Bus  0, device   3, function 0:
    VGA controller: PCI device 10de:13b0
      IRQ 11.
      BAR0: 32 bit memory at 0x98000000 [0x98ffffff].
      BAR1: 64 bit prefetchable memory at 0x800000000 [0x80fffffff].
      BAR3: 64 bit prefetchable memory at 0x810000000 [0x811ffffff].
      BAR5: I/O at 0x6000 [0x607f].
      BAR6: 32 bit memory at 0xffffffffffffffff [0x0000fffe].
      id ""





dmesg | grep vfio

[ 6328.161009] vfio-pci 0000:01:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0x0000
[ 8356.513697] vfio-pci 0000:01:00.0: enabling device (0400 -> 0403)
[ 8357.523769] vfio_ecap_init: 0000:01:00.0 hiding ecap 0x1e@0x258
[ 8357.523791] vfio_ecap_init: 0000:01:00.0 hiding ecap 0x19@0x900

Offline

#2 2016-07-20 22:36:30

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: vfio-pci 0000:01:00.0: Invalid PCI ROM header signature-ThinkpadP50

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB