cmd2001 / build-edk2-gvtd

Automatically Build GVT-d Ready OVMF and OpROM
The Unlicense
83 stars 18 forks source link

请问7代7100T是否可用呢? #9

Open Hi-Jiajun opened 2 weeks ago

Hi-Jiajun commented 2 weeks ago

已经尝试了很多天了,只能通过vbios_gvt_uefi.rom在windows驱动加载完成后点亮,尽管按照教程一步步去做了之后还是无法点亮bios,也是从主板提取的GOP

cmd2001 commented 2 weeks ago

提供虚拟机详细配置和启动日志,后者获取方式为配置文件args中加入-debugcon file:/root/d-debug.log -global isa-debugcon.iobase=0x402,待启动完成后查看/root/d-debug.log

Hi-Jiajun commented 2 weeks ago

agent: 1 args: -debugcon file:/root/d-debug.log -global isa-debugcon.iobase=0x402 -smp 4,cores=2,threads=2 -set device.hostpci0.addr=02.0 -set device.hostpci0.x-igd-gms=0x2 -set device.hostpci0.x-igd-opregion=on balloon: 0 bios: ovmf boot: order=scsi0 cores: 4 cpu: host efidisk0: local:100/vm-100-disk-0.qcow2,efitype=4m,pre-enrolled-keys=1,size=528K hostpci0: 0000:00:02.0,legacy-igd=1,romfile=B660_GOP.rom hostpci1: 0000:00:1f.3 hostpci2: 0000:06:10.0 hotplug: disk,network,usb,memory ide0: local:iso/Win11_23H2_Chinese_Simplified_x64v2.iso,media=cdrom,size=6673154K ide1: local:iso/virtio-win-0.1.248.iso,media=cdrom,size=715188K ide2: local:iso/HotPE-240201.iso,media=cdrom,size=661868K localtime: 1 memory: 8192 meta: creation-qemu=8.1.5,ctime=1719670817 name: Win11Test net0: virtio=BC:24:11:7A:8D:79,bridge=vmbr0,firewall=1 numa: 1 ostype: l26 scsi0: local:100/vm-100-disk-2.qcow2,iothread=1,size=80G scsihw: virtio-scsi-single smbios1: uuid=1def6551-aad0-497e-9ff4-0ccbd0abd217 sockets: 1 tablet: 0 tpmstate0: local:100/vm-100-disk-1.raw,size=4M,version=v2.0 usb0: host=046d:c534 usb1: host=046d:c53f usb2: host=2-6 vga: none

image image image image image image

root@PVE-7100T:~# uname -a Linux PVE-7100T 6.8.8-2-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.8-2 (2024-06-24T09:00Z) x86_64 GNU/Linux

root@PVE-7100T:~# cat /etc/default/grub

If you change this file, run 'update-grub' afterwards to update

/boot/grub/grub.cfg.

For full documentation of the options in this file, see:

info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0 GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR=lsb_release -i -s 2> /dev/null || echo Debian GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on initcall_blacklist=sysfb_init" GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"

If your computer has multiple operating systems installed, then you

probably want to run os-prober. However, if your computer is a host

for guest OSes installed via LVM or raw disk devices, running

os-prober can cause damage to those guest OSes as it mounts

filesystems to look for things.

GRUB_DISABLE_OS_PROBER=false

Uncomment to enable BadRAM filtering, modify to suit your needs

This works with Linux (no patch required) and with any kernel that obtains

the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)

GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

Uncomment to disable graphical terminal

GRUB_TERMINAL=console

The resolution used on graphical terminal

note that you can use only modes which your graphic card supports via VBE

you can see them in real GRUB with the command `vbeinfo'

GRUB_GFXMODE=640x480

Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux

GRUB_DISABLE_LINUX_UUID=true

Uncomment to disable generation of recovery mode menu entries

GRUB_DISABLE_RECOVERY="true"

Uncomment to get a beep at grub start

GRUB_INIT_TUNE="480 440 1"

root@PVE-7100T:~# cat /etc/modules

/etc/modules: kernel modules to load at boot time.

#

This file contains the names of kernel modules that should be loaded

at boot time, one per line. Lines beginning with "#" are ignored.

Parameters can be specified after the module name.

vfio

vfio_iommu_type1

vfio_pci

vfio_virqfd

coretemp nct6775

root@PVE-7100T:~# cat /etc/modprobe.d/ kvm.conf pve-blacklist.conf
root@PVE-7100T:~# cat /etc/modprobe.d/kvm.conf options kvm ignore_msrs=Y report_ignored_msrs=0 root@PVE-7100T:~# cat /etc/modprobe.d/pve-blacklist.conf

This file contains a list of modules which are not supported by Proxmox VE

nvidiafb see bugreport https://bugzilla.proxmox.com/show_bug.cgi?id=701

blacklist nouveau blacklist nvidia blacklist nvidiafb blacklist snd_hda_codec_hdmi blacklist snd_hda_intel blacklist snd_hda_codec blacklist snd_hda_core blacklist radeon blacklist amdgpu blacklist i915 options vfio_iommu_type1 allow_unsafe_interrupts=1

root@PVE-7100T:~# cat d-debug.log SecCoreStartupWithStack(0xFFFCC000, 0x820000)

Hi-Jiajun commented 1 week ago

Select Item: 0x0 FW CFG Signature: 0x554D4551 Select Item: 0x1 FW CFG Revision: 0x3 QemuFwCfg interface (DMA) is supported. Select Item: 0x19 Select Item: 0x19 Select Item: 0x27 Select Item: 0x28 SetupOpRegion: 0000:00:02.0: OpRegion @ 0x3FBBF000 size 0x2000 SetupStolenMemory: 0000:00:02.0: stolen memory @ 0x37700000 size 0x4800000

⬆️这是使用默认OVMF加上vbios_gvt_uefi.rom的结果