Regression in IXGBE(4) on 12.0-RELEASE?

2019-08-06 Thread Greg Rivers
These Intel NICs have been performing very well for me:

ix0@pci0:7:0:0: class=0x02 card=0x17d3103c chip=0x10fb8086 rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = '82599ES 10-Gigabit SFI/SFP+ Network Connection'
class  = network
subclass   = ethernet

On 11.2-RELEASE, the cards probe like this:

ix0:  port 
0x7000-0x701f mem 0xf7f0-0xf7ff,0xf7ef-0xf7ef3fff irq 28 at device 
0.0 numa-domain 0 on pci1
ix0: Using MSI-X interrupts with 9 vectors
ix0: Ethernet address: 8c:dc:d4:af:8a:e0
ix0: PCI Express Bus: Speed 5.0GT/s Width x8
ix0: netmap queues/slots: TX 8/2048, RX 8/2048

As expected, all 8 queues are enabled on the NIC, with 8 corresponding 
interrupt threads pinned to 8 different CPUs

But on 12.0-RELEASE, the cards probe like this:

ix0:  port 0x4020-0x403f mem 
0xe290-0xe29f,0xe2a04000-0xe2a07fff at device 0.0 numa-domain 0 on pci4
ix0: using 2048 tx descriptors and 2048 rx descriptors
ix0: msix_init qsets capped at 16
ix0: Unable to map MSIX table 
ix0: Using an MSI interrupt
ix0: allocated for 1 queues
ix0: allocated for 1 rx queues
ix0: Ethernet address: 48:df:37:62:be:38
ix0: PCI Express Bus: Speed 5.0GT/s Width x8
ix0: netmap queues/slots: TX 1/2048, RX 1/2048
ix0: link state changed to UP

MSI-X is disabled, and only one queue is enabled. I'm sure this is going to 
perform poorly under high network loads. Does anyone know why this is?

-- 
Greg Rivers


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: UEFI, ipmi console and double text (DDOOUUBBLLE TTEEXXT)

2019-08-06 Thread Warner Losh
On Tue, Aug 6, 2019 at 4:32 PM mike tancsa  wrote:

> I did a fresh install of a RELENG12 image and did EFI for the boot /
> install process.  Most everything seems to work ok, but the boot menu
> gets double text printing. As before and after is OK, its not a huge
> thing, but is there a way to fix this ?
>
> loader.conf is simple
>
> comconsole_speed="115200"   # Set the current serial console speed
> boot_multicons="YES"
> boot_serial="YES"
> console="comconsole,efi"
>

Don't do that. console="efi" is all you need with your BIOS. The BIOS does
the splitting between screen and COM port, which is why you are getting
doubled characters.

Warner


> ipmi_load="YES"
> comconsole_port="0x2f8"   # for SuperMicro boards
>
>
>
>
> Press DEL to run
> Setup
> Press F11 to invoke Boot
> Menu
> Press F12 to boot from
> PXE/LAN
>   DXE--Ready to Boot..Consoles: EFI
> console
> LLooaaddiinngg
> //bbtt//llooaaddeerr..ccoonnfB2
>
> -- Command line arguments: loader.efi
>EFI version: 2.40
>EFI Firmware: American Megatrends (rev 5.11)
>Console: efi (0x2000)
>Load Path: \EFI\BOOT\BOOTX64.EFI
>Load Device:
>
> PciRoot(0x0)/Pci(0x17,0x0)/Sata(0x2,0x,0x0)/HD(1,GPT,09C9B414-AA1E-11E9-BBD8-6045CBA08A84,0x28,0x64000)
>BootCurrent: 0006
>BootOrder: 0006[*] 0007 0004 0003 0005
>BootInfo Path:
>
> HD(1,GPT,09C9B414-AA1E-11E9-BBD8-6045CBA08A84,0x28,0x64000)/\EFI\BOOT\BOOTX64.EFI
> Ignoring Boot0006: Only one DP found
> Trying ESP:
>
> PciRoot(0x0)/Pci(0x17,0x0)/Sata(0x2,0x,0x0)/HD(1,GPT,09C9B414-AA1E-11E9-BBD8-6045CBA08A84,0x28,0x64000)
> Setting currdev to disk0p1:
> Trying:
>
> PciRoot(0x0)/Pci(0x17,0x0)/Sata(0x2,0x,0x0)/HD(2,GPT,09D3BF1A-AA1E-11E9-BBD8-6045CBA08A84,0
> Setting currdev to disk0p2:
> Trying:
>
> PciRoot(0x0)/Pci(0x17,0x0)/Sata(0x2,0x,0x0)/HD(3,GPT,09DEAE25-AA1E-11E9-BBD8-6045CBA08A84,0x1064800,0x39321800)
> Setting currdev to zfs:bucam/ROOT/default:
> Loading /boot/defaults/loader.conf
> Loading /boot/device.hints
> Loading /boot/loader.conf
> -
> JH  
> __  __
>  H  ||||  ||__  \\  //
> ||  \\
>  H  ||  ||__  __    ____  ||  ||__))  ||  ((__
> ||  ||||  ||
>  H  ||__||  ''//  __  \\//  __  \\||__  <<
> \\__;2HH  ||  ||  ||  ||  ||////||  ||__))
> ||))  ||  ||||  ||
>
>  H  ||  ||  ||  ||  ||||  ||
> ||||
>  H  ||__||  ||__||
> \\__||\\__//||__//||__//
>H
> ````
>  HH-Í-Í-Í-Í-ÍHWWeellccoommee  ttoo
>
> FFrrBBSSDDÍ-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-ÍÍ-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í
>  H|º   H|º H  ++oo
> ..``  //yy::``++..
>  H|ºH11..  BBtt  MMuullttii  uusseerr
> [[EEnntteerr]]`::..::oo``++--
>  H|ºH22..  BBtt  SSiinnggllee  uusseerrH|º H
> yy//  --//``  --oo//
>  H|ºH33..  EEssccaappee  ttoo  llooaaddeerr
> pprroommpptt   //ssyy++::..
>  H|ºH44..  RReebbttH|º H
> //  ``//
>  H|ºH  H|º H
> ``::::``
>  H|ºHOOppttiioonnss::  H|º H
> ``::::``
>  55..  KKeerrnneell::  ddeeffaauulltt//22kkeerrnneell  ((11  ooff
> 22))   //
>  H|ºH66..  BB[25;1HH   H|º H
> ..----..
>  H|º   H|º H
> --..
>  H|º   H
> ``::````::``
>H|º H
> .. 22;48
>  H\È   H/¼ H
> ..--....
>HAAuuttoobbtt  iinn  44  sseeccoonnddss,,  hhiitt
> [[EEnntteerr]]  ttoo  bbtt  oorr  aannyy  ootthheerr  kkeeyy  ttoo
> ssttoopp
>
> HLLooaaddiinngg  kkeerrnneell..
>
> //bbtt//kkeerrnneell//kkeerrnneell  tteexxtt==00xxaa889988cc22
> ddaattaa==00xx3344aa8822cc++00xx6644ff99ddcc
> ssyymmss==[[00xx88++00xx110055118800++00xx88++00xx11bb7755]]
>
> ---<>---
> Copyright (c) 1992-2019 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
> The Regents of the University of California. All rights reserved.
> FreeBSD is a registered trademark of The FreeBSD Foundation.
> FreeBSD 12.0-STABLE r350629 server amd64
> FreeBSD clang version 8.0.1 

UEFI, ipmi console and double text (DDOOUUBBLLE TTEEXXT)

2019-08-06 Thread mike tancsa
I did a fresh install of a RELENG12 image and did EFI for the boot /
install process.  Most everything seems to work ok, but the boot menu
gets double text printing. As before and after is OK, its not a huge
thing, but is there a way to fix this ?

loader.conf is simple

comconsole_speed="115200"   # Set the current serial console speed
boot_multicons="YES"
boot_serial="YES"
console="comconsole,efi"
ipmi_load="YES"
comconsole_port="0x2f8"   # for SuperMicro boards




Press DEL to run
Setup 
Press F11 to invoke Boot
Menu  
Press F12 to boot from
PXE/LAN 
  DXE--Ready to Boot..Consoles: EFI
console
LLooaaddiinngg 
//bbtt//llooaaddeerr..ccoonnf    B2

-- Command line arguments: loader.efi
   EFI version: 2.40
   EFI Firmware: American Megatrends (rev 5.11)
   Console: efi (0x2000)
   Load Path: \EFI\BOOT\BOOTX64.EFI
   Load Device:
PciRoot(0x0)/Pci(0x17,0x0)/Sata(0x2,0x,0x0)/HD(1,GPT,09C9B414-AA1E-11E9-BBD8-6045CBA08A84,0x28,0x64000)
   BootCurrent: 0006
   BootOrder: 0006[*] 0007 0004 0003 0005
   BootInfo Path:
HD(1,GPT,09C9B414-AA1E-11E9-BBD8-6045CBA08A84,0x28,0x64000)/\EFI\BOOT\BOOTX64.EFI
Ignoring Boot0006: Only one DP found
Trying ESP:
PciRoot(0x0)/Pci(0x17,0x0)/Sata(0x2,0x,0x0)/HD(1,GPT,09C9B414-AA1E-11E9-BBD8-6045CBA08A84,0x28,0x64000)
Setting currdev to disk0p1:
Trying:
PciRoot(0x0)/Pci(0x17,0x0)/Sata(0x2,0x,0x0)/HD(2,GPT,09D3BF1A-AA1E-11E9-BBD8-6045CBA08A84,0
Setting currdev to disk0p2:
Trying:
PciRoot(0x0)/Pci(0x17,0x0)/Sata(0x2,0x,0x0)/HD(3,GPT,09DEAE25-AA1E-11E9-BBD8-6045CBA08A84,0x1064800,0x39321800)
Setting currdev to zfs:bucam/ROOT/default:
Loading /boot/defaults/loader.conf
Loading /boot/device.hints
Loading /boot/loader.conf
-
JH       
__  __   
 H  ||    ||  ||    __  \\  // 
||      \\ 
 H  ||  ||__  __    __    __  ||  ||__))  ||  ((__ 
||  ||    ||  ||
 H  ||    __||  ''//  __  \\//  __  \\||    __  << 
\\__;2HH  ||  ||  ||  ||  ||    //    //||  ||__)) 
||))  ||  ||||  ||

 H  ||  ||  ||  ||  ||    ||      ||   
||    ||
 H  ||__||  ||__||   
\\__||\\__//||__//||__// 
   H   
``    ``
 HH-Í-Í-Í-Í-ÍHWWeellccoommee  ttoo 
FFrrBBSSDDÍ-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-ÍÍ-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í-Í
 H|º   H|º H  ++oo 
..``  //yy::``    ++..
 H|ºH11..  BBtt  MMuullttii  uusseerr 
[[EEnntteerr]]`::..    ::oo    ``++--
 H|ºH22..  BBtt  SSiinnggllee  uusseerrH|º H 
yy//  --//``  --oo//
 H|ºH33..  EEssccaappee  ttoo  llooaaddeerr 
pprroommpptt   //ssyy++::..
 H|ºH44..  RReebbtt    H|º H   
//  ``    //
 H|ºH  H|º H 
``::    ::``
 H|ºHOOppttiioonnss::  H|º H 
``::    ::``
 55..  KKeerrnneell::  ddeeffaauulltt//22kkeerrnneell  ((11  ooff 
22))   //
 H|ºH66..  BB[25;1HH   H|º H   
..--    --..
 H|º   H|º H 
    --..
 H|º   H   
``::``    ``::``
   H|º H   
.. 22;48
 H\È   H/¼ H 
..--....
   HAAuuttoobbtt  iinn  44  sseeccoonnddss,,  hhiitt 
[[EEnntteerr]]  ttoo  bbtt  oorr  aannyy  ootthheerr  kkeeyy  ttoo 
ssttoopp   

HLLooaaddiinngg  kkeerrnneell..

//bbtt//kkeerrnneell//kkeerrnneell  tteexxtt==00xxaa889988cc22 
ddaattaa==00xx3344aa8822cc++00xx6644ff99ddcc 
ssyymmss==[[00xx88++00xx110055118800++00xx88++00xx11bb7755]]

---<>---
Copyright (c) 1992-2019 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
    The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 12.0-STABLE r350629 server amd64
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on
LLVM 8.0.1)
VT(efifb): resolution 1024x768
CPU: Intel(R) Xeon(R) CPU E3-1230 v6 @ 3.50GHz (3504.15-MHz K8-class CPU)