[Bug 280601] pci_xhci: portregs_write to unpowered port 1 : it seems that this bug still exists in some Linux distros...

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 03 Aug 2024 20:26:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280601

            Bug ID: 280601
           Summary: pci_xhci: portregs_write to unpowered port 1 : it
                    seems that this bug still exists in some Linux
                    distros...
           Product: Base System
           Version: 14.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bhyve
          Assignee: virtualization@FreeBSD.org
          Reporter: marietto2008@gmail.com

Created attachment 252487
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=252487&action=edit
This image shows that I'm the patch,but the bug is still there.

Hello.

I know that this bug :

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275760

has been already fixed,but it seems that it still exists or a very similar bug
does exists in FreeBSD 14.1-RELEASE-p2,because I'm trying to install Bliss OS
using the following parameters :

/usr/sbin/./bhyve-win -S -c sockets=1,cores=2,threads=2 -m 4G -w -H \
-s 0,hostbridge \
-s
1,ahci-cd,/bhyve/Files/ISO/Android/Bliss-v14.10.2-x86_64-OFFICIAL-opengapps-20240603.iso,bootindex=1
\
-s 2,ahci-hd,/mnt/$vmdisk4'p2'/bhyve/img/Android/bliss.img \
-s 10,virtio-net,tap8 \
-s 11,virtio-9p,sharename=/ \
-s 12,hda,play=/dev/dsp,rec=/dev/dsp \
-s 29,fbuf,tcp=0.0.0.0:5908,w=1600,h=950 \
-s 30,xhci,tablet \
-s 31,lpc \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_BHF_CODE.fd \
vm0:8 < /dev/null & sleep 2 && vncviewer 0:8

and boom : I see the same error that should have been fixed some time ago :

wrmsr to register 0x140(0) on vcpu 0
wrmsr to register 0x140(0) on vcpu 1
wrmsr to register 0x140(0) on vcpu 2
wrmsr to register 0x140(0) on vcpu 3
rdmsr to register 0x64d on vcpu 3
rdmsr to register 0x64e on vcpu 1
rdmsr to register 0x34 on vcpu 1
rdmsr to register 0xc0011029 on vcpu 0
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
rdmsr to register 0x64d on vcpu 0
Unhandled ps2 mouse command 0xe1
Unhandled ps2 mouse command 0x0a
Unhandled ps2 mouse command 0x01
Unhandled ps2 mouse command 0x41
Unhandled ps2 mouse command 0x88
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1
pci_xhci: portregs_write to unpowered port 1

and yes,I'm using the patch of @peter grehan,as you can see from the attached
image...

-- 
You are receiving this mail because:
You are the assignee for the bug.