From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id E0E33CC907B for ; Fri, 16 Feb 2024 04:28:49 -0500 (EST) (envelope-from Stephan.Althaus@Duedinghausen.eu) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id EC85E4B2652; Fri, 16 Feb 2024 04:28:49 -0500 ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=arcseal; t= 1708075729; b=DGPQkOWGw/UhqvhzU3rlsKkjtsNn29BsU8eUfQ6/Dl62/iKccn fcVFbq2Xzyad9pfDK2Ray4mBVd+x/mF/t8CXOZuhwEOCURVPvdCRXEloYebFRsWE SOMZY70B/GriC/wfR8NIUwep9zynvkRHAxtyXauycucJK2mmmB5aXMZZh/nrDqOI xRWzmQABKvLz8fEgK0iuGdsEFNgRtSt/vZVt+7Ctiq5Pj8+pKfRH1ANY6N9Thmc6 p5fLFnQrDRZYrIq8VlIcO2K9m2tbVZJ5eNsYKUPaGWgg2yjriJGUmDX4x2habbQn IH1wtrISiAi9iLnwCuvNMNCQh4NxoRlkoUGA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:date:mime-version:subject:to :references:from:in-reply-to:content-type :content-transfer-encoding; s=arcseal; t=1708075729; bh=JV1V6edK uF3dbVPKE/LQ4EBzNYEvIUp5fXBo0fR9w+E=; b=KSDngCHt1ufhOU4Us+Ou3v34 3jzPmM8yNfB2vodX3HKscAQSdyEk3K1J05E4pQ5YzdqcZn9o1yIvwfJinUQldyXB jWeqddmoey8kCoRMbEqgHsdsLT2k6yR1VM42F+6f8E8AEHFJNuNFkDpyvH1sRXLq ARDbvLxjpY/AT+FXUeMwDVW0DPM83LQMQ5DWJK4qLnk86T63jyIzqrijhlkqoskP Nk30jvytliijyH4iFGyI5xagWenuqHmL6UncBOsxLEst9DqrS+wxyf0hp+EQkOdV 5Up7U4GBQst3jDhszP0znd4fhIAP3HjOLvHUT1P00hi/i4T1pWFR5Pf7wQ9HyQ== ARC-Authentication-Results: i=2; tb-mx1.topicbox.com; arc=pass (as.1.strato.com=pass, ams.1.strato.com=pass) smtp.remote-ip=85.215.255.136; bimi=skipped (DMARC did not pass); dkim=invalid (unsupported algorithm ed25519-sha256, 0-bit key) header.d=hoewweken.de header.i=@hoewweken.de header.b=+N9QPls6 header.a=- header.s=strato-dkim-0003 x-bits=0; dkim=pass (2048-bit rsa key sha256) header.d=hoewweken.de header.i=@hoewweken.de header.b=qckInyGN header.a=rsa-sha256 header.s=strato-dkim-0002 x-bits=2048; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=duedinghausen.eu; iprev=pass smtp.remote-ip=85.215.255.136 (mo4-p05-ob.smtp.rzone.de); spf=none smtp.mailfrom=Stephan.Althaus@Duedinghausen.eu smtp.helo=mo4-p05-ob.smtp.rzone.de; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mo4-p05-ob.smtp.rzone.de policy.ptr=mo4-p05-ob.smtp.rzone.de; x-return-mx=pass header.domain=duedinghausen.eu policy.is_org=yes (MX Records found: duedinghausen.eu); x-return-mx=pass smtp.domain=duedinghausen.eu policy.is_org=yes (MX Records found: duedinghausen.eu); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 Authentication-Results: tb-mx1.topicbox.com; arc=pass (as.1.strato.com=pass, ams.1.strato.com=pass) smtp.remote-ip=85.215.255.136; bimi=skipped (DMARC did not pass); dkim=invalid (unsupported algorithm ed25519-sha256, 0-bit key) header.d=hoewweken.de header.i=@hoewweken.de header.b=+N9QPls6 header.a=- header.s=strato-dkim-0003 x-bits=0; dkim=pass (2048-bit rsa key sha256) header.d=hoewweken.de header.i=@hoewweken.de header.b=qckInyGN header.a=rsa-sha256 header.s=strato-dkim-0002 x-bits=2048; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=duedinghausen.eu; iprev=pass smtp.remote-ip=85.215.255.136 (mo4-p05-ob.smtp.rzone.de); spf=none smtp.mailfrom=Stephan.Althaus@Duedinghausen.eu smtp.helo=mo4-p05-ob.smtp.rzone.de; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mo4-p05-ob.smtp.rzone.de policy.ptr=mo4-p05-ob.smtp.rzone.de; x-return-mx=pass header.domain=duedinghausen.eu policy.is_org=yes (MX Records found: duedinghausen.eu); x-return-mx=pass smtp.domain=duedinghausen.eu policy.is_org=yes (MX Records found: duedinghausen.eu); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvledrvddvgddtfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuf fvfhfhjggtgfesthekredttddvjeenucfhrhhomhepufhtvghphhgrnhcutehlthhhrghu shcuoefuthgvphhhrghnrdetlhhthhgruhhsseffuhgvughinhhghhgruhhsvghnrdgvuh eqnecuggftrfgrthhtvghrnhepgfevudekveffleelhfeigfevkeetfeejvdeutdejvdef ffeiheeviedutdefvddtnecukfhppeekhedrvdduhedrvdehhedrudefieenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeekhedrvdduhedrvdehhedrudef iedphhgvlhhopehmohegqdhptdehqdhosgdrshhmthhprdhriihonhgvrdguvgdpmhgrih hlfhhrohhmpeeoufhtvghphhgrnhdrtehlthhhrghushesffhuvgguihhnghhhrghushgv nhdrvghuqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: none (duedinghausen.eu: No applicable sender policy available) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="Stephan.Althaus@Duedinghausen.eu"; helo=mo4-p05-ob.smtp.rzone.de; client-ip=85.215.255.136 Received: from mo4-p05-ob.smtp.rzone.de (mo4-p05-ob.smtp.rzone.de [85.215.255.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for ; Fri, 16 Feb 2024 04:28:47 -0500 (EST) (envelope-from Stephan.Althaus@Duedinghausen.eu) ARC-Seal: i=1; a=rsa-sha256; t=1708075726; cv=none; d=strato.com; s=strato-dkim-0002; b=qcRJsxGCbtsX2WJio3MM6+paIEmGscKYjk+vepfg5eYTI/PJadG1dSP5A8ReZI4ce5 map4quPkBHBWVOE6zl8RzqdHM9pb4aW4yzTCYj2+Me2vD+X8VdMUcniEo7Yi8YNMCWKU +da4uCC6wVw60B74ooOUBIIYNKPFYCmHGasr/Ov/1SDlE8kpomBSQZbvcdNP57rFw4vu a6C20uk7IUiSrIKAZMT7vMB6cRfnaO8QCC09AEn+5RreA//xUcUDuiohHJ5i7IfFbd+K 8du3Xb/sTg+/h2LaQ80G9Ebcar6HMtGG8RQLUMoQysZQ5lhJARCqMCA8SrmJFimZGkJV /3lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1708075726; s=strato-dkim-0002; d=strato.com; h=In-Reply-To:From:References:To:Subject:Date:Message-ID:Cc:Date:From: Subject:Sender; bh=JV1V6edKuF3dbVPKE/LQ4EBzNYEvIUp5fXBo0fR9w+E=; b=oB2Laa2M9u+wfeYEjZ5oCvCW4CTdRaUzVuA3W0fC1CjWb1oFXrAh7BcJ4N4+fVNZ+8 a1X+Ryatz0Ahe4Zk+17kKzSI1xOzEA6mahVQZaO3m9G6ZwKS53Ap/1N5u61GmNEK6/gl p4k3mqiK2pR+Xo27DGHW6UI95+vBo69Z7C1X9ePSrLZWzIzlltgMOlC+kOlKAKiEsAEN V2Ce6IHFleGq06NU9mSefyYN/3usQga1gCGE3QHaKuH60tZEFQWzQulhdNLA5kArAP/q +oYOmGJ9bumuSccVmmI4wb0b9WVSUQE/0UDYh9CMrgyH9fDrLUczFTSsWnfkeqOvGpAa 3KXQ== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1708075726; s=strato-dkim-0002; d=hoewweken.de; h=In-Reply-To:From:References:To:Subject:Date:Message-ID:Cc:Date:From: Subject:Sender; bh=JV1V6edKuF3dbVPKE/LQ4EBzNYEvIUp5fXBo0fR9w+E=; b=qckInyGNwnnFSnz1GBC95UjSo1H7I7Ckel2s163MDDx4AyuwhUg3Uvc4K5GfPB/Q8s 8bhQUXHZQZCct5rGDzeKkYG3DiSVZfzt4I7d/OOhs2YXhbG4CRU9cxqs6wZP9D9UdbHB 7vEY57hNCJGAyA2V47k16yYunpN3HwN2kn52DI5oZgJjBaxSYlXCCUkG/OQqJVJZnRAs 9wbCnmVKpBuLresRX7aPgln/e0cNLGcNPaW1pwuPn17TbW4eS26+4j8ZkIybqN0DFpRe 5ZjLue+wvPbqfFdI6CrNC3ewsub/pXKFaHmDtD9tNLHSN4NT4+oxGRLsmANKteReXasd Pd7A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1708075726; s=strato-dkim-0003; d=hoewweken.de; h=In-Reply-To:From:References:To:Subject:Date:Message-ID:Cc:Date:From: Subject:Sender; bh=JV1V6edKuF3dbVPKE/LQ4EBzNYEvIUp5fXBo0fR9w+E=; b=+N9QPls6MARpB9KWDXowfT0j6k5yBhT/m/IbKhb1sa7T47hmuoMygwv4X85u4HBA8a QyiZqL3oU2rJgf6/d7Bw== X-RZG-AUTH: ":O2kGeEG7b/pS1EW2TmikjLDsYYueHLp2aWg0q38nsxN1mOntnRORP93PLpfReKNjbyYtOA2nfjhL2eg=" X-RZG-CLASS-ID: mo05 Received: from www.duedinghausen.eu by smtp.strato.de (RZmta 49.11.2 DYNA|AUTH) with ESMTPSA id D49f6701G9SjM3p (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate) for ; Fri, 16 Feb 2024 10:28:45 +0100 (CET) Received: from [192.168.2.63] (speedport.ip [192.168.1.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) (Authenticated sender: steven) by www.duedinghausen.eu (Postfix) with ESMTPSA id 1A8621196AA for ; Fri, 16 Feb 2024 10:27:11 +0100 (CET) Message-ID: Date: Fri, 16 Feb 2024 10:29:28 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [developer] Re: illumos/uefi-edk2 update 2023-11 To: developer@lists.illumos.org References: <86402a35-7a29-4834-90b4-9dde14378237@Duedinghausen.eu> <17077493090.3fA493c4f.212448@composer.illumos.topicbox.com> <7c43f7f5-64d5-4087-b9b6-ccb8f558264b@Duedinghausen.eu> Content-Language: en-US From: Stephan Althaus In-Reply-To: <7c43f7f5-64d5-4087-b9b6-ccb8f558264b@Duedinghausen.eu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: ce20e9f8-ccad-11ee-a806-dfb497a86045 Hello! Small update on this.. The goal i want to achieve is to have a GPU passthrough on OI to a Windows vm with bhyve... I now tested linux/proxmox (kvm)  and FreeBSD 14 (bhyve) with success, so i can assume the Hardware and the BIOS settings are ok. FreeBSD has this version of the edk2 image: $ pkg search edk2 edk2-bhyve-g202308_4           EDK2 Firmware for bhyve .. so version 202311 seems not to be needed (?) What i see if i try it on OI, is that immu-intrmap-enable="true"; in /platform/i86pc/kernel/drv/rootnex.conf leads to error messages when i start the bhyve test script with messages APIC ERROR Interrupt on CPU 0. Status 0 = 0 Status 1 = 40. on the console and the system is not responsive anymore.. Do i _need_ immu-intrmap-enable="true"; ? I currently have these values set: immu-enable="true"; #immu-intrmap-enable="true"; immu-blacklist=                 "SMBIOS","Supermicro","X10DRI-T",""                 ; immu-dvma-mapping="xlate"; immu-dvma-unity-drivers="igb","ahci","ixgbe","ehci","xhci","nvme"; immu-dvma-xlate-drivers="mpt"; Is anyone around with a success story who has been there and done that ? i want to passtrough this: $ pptadm list -o all DEV        VENDOR DEVICE SUBVENDOR SUBDEVICE REV PATH                                              LABEL /dev/ppt0  1002   743f   1da2      e458      c7 /pci@7a,0/pci8086,6f08@3/pci1002,1478@0/pci1002,1479@0/display@0 Advanced Micro Devices, Inc. [AMD/ATI] Navi 24 [Radeon RX 6400/6500 XT/6500M] /dev/ppt1  1002   ab28   1002      ab28      0 /pci@7a,0/pci8086,6f08@3/pci1002,1478@0/pci1002,1479@0/pci1002,ab28@0,1 Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller ... using this test script: $ /usr/sbin/bhyve -U bd60bf59-0ed6-61a1-f0ed-b17e99ada165 -A -H \ -B 1,manufacturer=OpenIndiana,product=OpenIndianaHVM,version=1.0,serial=69a18a85-c1df-c266-f620-a99a632d3c11,sku=001,family=VirtualMachine \ -c 4 -m 16G -w \ -s 31:0,lpc -l bootrom,/usr/share/bhyve/firmware/BHYVE.fd,fwcfg=qemu \ -s 0,hostbridge,model=i440fx  \ -s 4:0,nvme,/dev/zvol/rdsk/home2/vm/win10vol \ -s 6:0,virtio-net-viona,vnic0 \ -s 30:0,fbuf,vga=off,tcp=0.0.0.0:5905 \ -s 30:1,xhci,tablet \ -S -s 8:0,passthru,/dev/ppt0,rom=/home2/vm/Navi24.rom \ -s 8:1,passthru,/dev/ppt1 \ win10 The GPU can be seen within the vm (error 43), it seems the card doesn't get initialized.. Any hints are welcome.. Regards, Stephan