From nobody Sat Sep 9 19:51:38 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RjkBg0Tqfz4t4J2 for ; Sat, 9 Sep 2023 19:51:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RjkBf6m2Bz3Kh3 for ; Sat, 9 Sep 2023 19:51:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694289098; a=rsa-sha256; cv=none; b=n4MX5FJTblN0CsFS0BFzW9sH34n5zj6OjwXgBPt0hrpxBh5JKBq6jeJd7vbu9mpkfr9A8H 4grGlMzw5VfpQds8b8szd0XetUnidcM5FFYYEzhpdgXw7c/kCDOnQg/TE/Eo6Hw315dlsr s39HNXwok01UlxdRHDPV7wrgGgZs0vAd9OlxiKirRYkGsR2OIJBlLVIBGaZwCcTTuYzzUn Se0mRikm3R5fn35YS6v8a2ecRV9SkT2zPAaW2Y9ANoE9CNyVRM0KMsT17CMTh1fh+MAZaz n33vY/Gn/EfOurYw1nj2rYCTHeFq8r1WPb3Jgdyrg4CssTRHBgsiwor7kkrw+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694289098; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ysjsWgIU63PgksPTBU5kdUA2Y5uFOmTdll49FPo6Vo4=; b=us+pFLh0QyhyFY4rtFWFVWoEjWLpNYdVGKr1fA8B/PkpwVrPX0E5MVeTNRADcOHvgfdGdX Yc2Q9rgDz+mvv1l4qIGirMJeAlTXfbudGi0UG2LORg/pRmxjyIMlK1qMoaJ52mHdeQv9iw 9qo6tw8Je2OAVFJ2EMo4Tvn6NMQPjct4tsdmaYElEdR1olCuFGQ7fB2d1HjeM3mbqd6f3X azxsaqc4wRsMFWLayrLROMJ9tl94g7GEDHGDXnBj7aGX03kJwnGQLjcRiMss19JeEQoztg iCcYR4v0HG6dABegDanOKodPztxcFN9d0ZkcBVMVptfUMcygxSUcBIhjT4WoBg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RjkBf4twSzdYP for ; Sat, 9 Sep 2023 19:51:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 389Jpc5u065788 for ; Sat, 9 Sep 2023 19:51:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 389JpcS3065787 for virtualization@FreeBSD.org; Sat, 9 Sep 2023 19:51:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 273372] SR-IOV Networking in Bhyve Causes Chelsio T520-SO-CR to Fail on Host, Kernel Panic if Reset Date: Sat, 09 Sep 2023 19:51:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: bhyve X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: mark@markmcb.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273372 --- Comment #4 from Mark McBride --- I just attempted 14 vfs with 14-BETA1 as the host. Still fails. As requested ... # sysctl -n dev.t5nex.0.misc.devlog=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 Seq# Tstamp Level Facility Message=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 0 427889 INFO CORE log initialized @ 0x200a00= 00 size 32768 (128 entries) fwrev 0x011b0400 pcie_fw 0x0014cc10=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 1 521576 INFO CORE bootstrap firmware took 27 msecs to run=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 2 525170 INFO CORE Serial Configuration versi= on: 0x1006000 VPD version: 0x1=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 3 525173 INFO CORE pcie: npf 7 (pfbitmap 0x7f) nvf 64 (pf 0..7 0x1010101000000000) vfstride 4=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 4 535983 INFO CORE flr_timer_start: flowc_id = 125 0x205fff80 buf 0x205fc0c0=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 5 575529 INFO CF cf_parse: file memtype 0x1 memaddr 0x5e0000 mapped @ 0x205e0000:=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20 6 575559 INFO CF configuration file parser:= pl timeout value is too large, changing from 10000 to 4194usecs=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 7 576541 INFO CORE configured with caps nbm|l= ink 0x00000000 switch|nic 0x00030001 toe|rdma 0x00010003 iscsi|crypto 0x00410000 fcoe:0x0=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 8 576579 NOTICE CORE pfvf_init: 150 SMT entires= are still unused=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 9 576592 INFO HW hw_tp_tcp_tunings: tuning = for LAN environment=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 10 576622 INFO RES le configuration: nentries 2048 route 32 clip 32 filter 1440 server 416 active 128 hash 0 nserversram = 0=20=20=20=20 11 577565 INFO DMAQ Firmware using new VIID fo= rmat ([11:9] PFN, [8] VI Valid, [7:0] VIN)=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20 12 578623 INFO RES flowc_table 0x200c8000, si= ze 211456=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 13 580825 NOTICE RI Not enough memory for 21 ird/ord per conn, ird/ord changed to 21=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 14 582460 INFO CORE flr_timer_start: flowc_id = 1651 0x200fb980 buf 0x2039c800=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 15 612719 INFO RES le initialization: nentries 2048 route 32 clip 32 filter 1440 server 416 active 128 hash 0 nserversram = 0=20=20=20=20 16 836644 INFO PORT module[0]: gpio 11 vendor = id 004020, identifier 0x03, SFP28(byte 36/192) 0xff, SFP(byte 3/131) 0x00, 1G (byte 6) 0x00=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 17 836646 INFO PORT optical length(byte 15/142= ) 0, copper cable(byte 8/147) 0x04, length(byte 18/146) 3, module_type 0x04=20= =20=20=20=20=20=20=20=20=20 18 836649 INFO PORT hw_mac_init_port[0], ptype 0x9, speed 0x4, lanes 0x1, fec 0x0=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 19 836685 INFO TM pktsched channel 0 sets sp= eed (from 0) to 10000000 kbps=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 20 836693 INFO PORT port_init: TRY_OTHER_SPEED flag is default set for T5=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 21 836696 INFO PORT port_refill_other_speed: module speed 0x4, try speed 0x6=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 22 842475 INFO PORT module[1]: gpio 15 vendor = id 004020, identifier 0x03, SFP28(byte 36/192) 0xff, SFP(byte 3/131) 0x00, 1G (byte 6) 0x00=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 23 842476 INFO PORT optical length(byte 15/142= ) 0, copper cable(byte 8/147) 0x04, length(byte 18/146) 3, module_type 0x04=20= =20=20=20=20=20=20=20=20=20 24 842478 INFO PORT hw_mac_init_port[1], ptype 0x9, speed 0x4, lanes 0x2, fec 0x0=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 25 842503 INFO TM pktsched channel 1 sets sp= eed (from 0) to 10000000 kbps=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 26 842509 INFO PORT port_init: TRY_OTHER_SPEED flag is default set for T5=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 27 842510 INFO PORT port_refill_other_speed: module speed 0x4, try speed 0x6=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 28 842521 INFO TM pktsched channel 2 sets sp= eed (from 0) to 1000000 kbps=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 29 842534 INFO TM pktsched channel 3 sets sp= eed (from 0) to 1000000 kbps=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 30 11621579 NOTICE FLR pfn 1 vfn 1 via command=20= =20=20=20=20=20=20=20 31 11675139 NOTICE FLR pfn 1 vfn 2 via command=20= =20=20=20=20=20=20=20 32 11732187 NOTICE FLR pfn 1 vfn 3 via command=20= =20=20=20=20=20=20=20 33 11784054 NOTICE FLR pfn 1 vfn 4 via command=20= =20=20=20=20=20=20=20 34 11836035 NOTICE FLR pfn 1 vfn 5 via command 35 11888064 NOTICE FLR pfn 1 vfn 6 via command 36 11947325 NOTICE FLR pfn 1 vfn 7 via command 37 12002982 NOTICE FLR pfn 1 vfn 8 via command 38 12061187 NOTICE FLR pfn 1 vfn 9 via command 39 12114554 NOTICE FLR pfn 1 vfn 10 via command 40 12442526 INFO PORT port_link_state_handler[0] powering up 41 12442541 INFO PORT port[0] update (flowcid 14= 56 rc 0) 42 12742529 INFO PORT port_hss_sigdet[0]: hss_si= gdet changed to 0x1 43 12742533 INFO PORT hw_mac_link_status[0] int_cause 0x13019f0, link_status 0x12 44 12942526 INFO PORT port[0] link up (1) (speed= 0x4 acaps 0x70004 lpcaps 0x70000) 45 12942531 INFO PORT port[0] set PAUSE PARAMS: pppen 0 txpe 0x1 rxpe 0x1 46 12942539 INFO PORT port[0] update (flowcid 14= 56 rc 0) 47 26080128 ERR CORE insufficient caps to proce= ss mailbox cmd: pfn 0x1 vfn 0x1; r_caps 0x86 wx_caps 0x82 required r_caps 0x81 w_caps 0x5 48 26142587 INFO PORT port_link_state_handler[1] powering up 49 26142593 INFO PORT port[1] update (flowcid 14= 75 rc 0) 50 26442579 INFO PORT port_hss_sigdet[1]: hss_si= gdet changed to 0x2 51 28492130 ERR CORE insufficient caps to proce= ss mailbox cmd: pfn 0x1 vfn 0x2; r_caps 0x86 wx_caps 0x82 required r_caps 0x81 w_caps 0x5 52 28542596 INFO PORT port[1] update (flowcid 14= 75 rc 0) 53 28542600 INFO PORT port[1] update (flowcid 14= 76 rc 0) 54 30042592 INFO PORT port_hss_sigdet[1]: hss_si= gdet changed to 0x0 55 30642594 INFO PORT port_hss_sigdet[1]: hss_si= gdet changed to 0x2 56 30642596 INFO PORT hw_mac_link_status[1] int_cause 0x10018f0, link_status 0x12 57 30742595 INFO PORT hw_mac_link_status[1] int_cause 0x10018f0, link_status 0x12 58 30942601 INFO PORT port[1] link up (1) (speed= 0x4 acaps 0x70004 lpcaps 0x70000) 59 30942605 INFO PORT port[1] set PAUSE PARAMS: pppen 0 txpe 0x1 rxpe 0x1 60 30942614 INFO PORT port[1] update (flowcid 14= 75 rc 0) 61 30942617 INFO PORT port[1] update (flowcid 14= 76 rc 0) 62 30948649 ERR CORE insufficient caps to proce= ss mailbox cmd: pfn 0x1 vfn 0x3; r_caps 0x86 wx_caps 0x82 required r_caps 0x81 w_caps 0x5 63 31042603 INFO PORT port[1] update (flowcid 14= 75 rc 0) 64 31042607 INFO PORT port[1] update (flowcid 14= 76 rc 0) 65 31042610 INFO PORT port[1] update (flowcid 14= 77 rc 0) 66 33283779 ERR CORE insufficient caps to proce= ss mailbox cmd: pfn 0x1 vfn 0x4; r_caps 0x86 wx_caps 0x82 required r_caps 0x81 w_caps 0x5 67 33342616 INFO PORT port[1] update (flowcid 14= 75 rc 0) 68 33342621 INFO PORT port[1] update (flowcid 14= 76 rc 0) 69 33342625 INFO PORT port[1] update (flowcid 14= 77 rc 0) 70 33342628 INFO PORT port[1] update (flowcid 14= 78 rc 0) 71 36739130 ERR CORE insufficient caps to proce= ss mailbox cmd: pfn 0x1 vfn 0x6; r_caps 0x86 wx_caps 0x82 required r_caps 0x81 w_caps 0x5 72 36742629 INFO PORT port[1] update (flowcid 14= 75 rc 0) 73 36742634 INFO PORT port[1] update (flowcid 14= 76 rc 0) 74 36742637 INFO PORT port[1] update (flowcid 14= 77 rc 0) 75 36742641 INFO PORT port[1] update (flowcid 14= 78 rc 0) 76 36742644 INFO PORT port[1] update (flowcid 14= 80 rc 0) 77 39149129 ERR CORE insufficient caps to proce= ss mailbox cmd: pfn 0x1 vfn 0x7; r_caps 0x86 wx_caps 0x82 required r_caps 0x81 w_caps 0x5 78 39242638 INFO PORT port[1] update (flowcid 14= 75 rc 0) 79 39242643 INFO PORT port[1] update (flowcid 14= 76 rc 0) 80 39242646 INFO PORT port[1] update (flowcid 14= 77 rc 0) 81 39242650 INFO PORT port[1] update (flowcid 14= 78 rc 0) 82 39242653 INFO PORT port[1] update (flowcid 14= 80 rc 0) 83 39242656 INFO PORT port[1] update (flowcid 14= 81 rc 0) 84 43102156 ERR CORE insufficient caps to proce= ss mailbox cmd: pfn 0x1 vfn 0x8; r_caps 0x86 wx_caps 0x82 required r_caps 0x81 w_caps 0x5 85 43142655 INFO PORT port[1] update (flowcid 14= 75 rc 0) 86 43142659 INFO PORT port[1] update (flowcid 14= 76 rc 0) 87 43142663 INFO PORT port[1] update (flowcid 14= 77 rc 0) 88 43142666 INFO PORT port[1] update (flowcid 14= 78 rc 0) 89 43142670 INFO PORT port[1] update (flowcid 14= 80 rc 0) 90 43142673 INFO PORT port[1] update (flowcid 14= 81 rc 0) 91 43142676 INFO PORT port[1] update (flowcid 14= 82 rc 0) 92 1548458671 INFO FLR pfn 1 vfn 11 FSM start 93 1548528664 INFO FLR pfn 1 vfn 11 FSM complete 94 1600183614 NOTICE FLR pfn 1 vfn 11 via command 95 1643893645 ERR CORE insufficient caps to proce= ss mailbox cmd: pfn 0x1 vfn 0xb; r_caps 0x86 wx_caps 0x82 required r_caps 0x81 w_caps 0x5 96 1643949059 INFO PORT port[1] update (flowcid 14= 75 rc 0) 97 1643949064 INFO PORT port[1] update (flowcid 14= 76 rc 0) 98 1643949068 INFO PORT port[1] update (flowcid 14= 77 rc 0) 99 1643949072 INFO PORT port[1] update (flowcid 14= 78 rc 0) 100 1643949075 INFO PORT port[1] update (flowcid 14= 80 rc 0) 101 1643949078 INFO PORT port[1] update (flowcid 14= 81 rc 0) 102 1643949081 INFO PORT port[1] update (flowcid 14= 82 rc 0) 103 1643949084 INFO PORT port[1] update (flowcid 14= 85 rc 0) --=20 You are receiving this mail because: You are the assignee for the bug.=