From owner-freebsd-net@freebsd.org Sun Sep 1 09:35:50 2019 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B0199D4F7F for ; Sun, 1 Sep 2019 09:35:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 46Lp464Ggzz470H for ; Sun, 1 Sep 2019 09:35:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 928D6D4F7E; Sun, 1 Sep 2019 09:35:50 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 92512D4F7D for ; Sun, 1 Sep 2019 09:35:50 +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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46Lp463MpJz470G for ; Sun, 1 Sep 2019 09:35:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 56F7F27701 for ; Sun, 1 Sep 2019 09:35:50 +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 x819ZoZg011891 for ; Sun, 1 Sep 2019 09:35:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x819ZoiN011890 for net@FreeBSD.org; Sun, 1 Sep 2019 09:35:50 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: net@FreeBSD.org Subject: [Bug 239240] igb: TX(2) desc avail = 1024, pidx = 0 messages appear when the network card loses ethernet link Date: Sun, 01 Sep 2019 09:35:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: 76nemo76@gmx.ch X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Sep 2019 09:35:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239240 76nemo76@gmx.ch changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |76nemo76@gmx.ch --- Comment #4 from 76nemo76@gmx.ch --- I have the same problem with FreeBSD12 patch level 7. The machine has 4 igb ports running as a bridge. Whe the physical network switch (where the IGB card and thus=20 the bridge is connected) is switched off, I get the messages: Jul 29 14:04:20 oche kernel: igb0: TX(0) desc avail =3D 1024, pidx =3D 0 Jul 29 14:04:51 oche syslogd: last message repeated 18 times and nothing, except a reboot, makes the bridge (and network card) functionn= al again. This parameter is set in the "/boot/loader.conf" --------------------------/boot/loader.conf (extract)--------------------------- # #Increase the memory allocated for the network card #driver. Useful/necessary to take in account #the 4 network card (instead of one). #See this link: #=20 https://docs.netgate.com/pfsense/en/latest/hardware/tuning-and-troubleshoot= il #for some explanations. # kern.ipc.nmbclusters=3D"131072" here is the dmesg.txt of the machine: ------------------------------dmesg----------------------------------------= --- ---<>--- Copyright (c) 1992-2018 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-RELEASE-p7 GENERIC amd64 FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) VT(vga): resolution 640x480 CPU: AMD GX-412TC SOC (998.15-MHz K8-class C= PU) Origin=3D"AuthenticAMD" Id=3D0x730f01 Family=3D0x16 Model=3D0x30 Step= ping=3D1 =20 Features=3D0x178bfbff =20 Features2=3D0x3ed8220b AMD Features=3D0x2e500800 AMD Features2=3D0x1d4037ff Structured Extended Features=3D0x8 XSAVE Features=3D0x1 SVM: NP,NRIP,AFlush,DAssist,NAsids=3D8 TSC: P-state invariant, performance statistics real memory =3D 4294967296 (4096 MB) avail memory =3D 4092137472 (3902 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) random: unblocking device. ioapic1: Changing APIC ID to 5 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-55 on motherboard Launching APs: 1 2 3 Timecounter "TSC" frequency 998147250 Hz quality 1000 random: entropy device external interface netmap: loaded module [ath_hal] loaded module_register_init: MOD_LOAD (vesa, 0xffffffff810f9a00, 0) error 19 kbd0 at kbdmux0 nexus0 vtvga0: on motherboard cryptosoft0: on motherboard aesni0: on motherboard acpi0: on motherboard acpi0: Power Button (fixed) cpu0: on acpi0 atrtc0: port 0x70-0x71 irq 8 on acpi0 atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x818-0x81b on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 2.1 on pci0 pcib1: failed to allocate initial I/O port window: 0x1000-0x1fff pci1: on pcib1 igb0: mem 0xfe500000-0xfe51ffff,0xfe520000-0xfe523fff at device 0.0 on pci1 igb0: attach_pre capping queues at 2 igb0: using 1024 tx descriptors and 1024 rx descriptors igb0: msix_init qsets capped at 2 igb0: pxm cpus: 4 queue msgs: 4 admincnt: 1 igb0: using 2 rx queues 2 tx queues=20 igb0: Using MSIX interrupts with 3 vectors igb0: allocated for 2 tx_queues igb0: allocated for 2 rx_queues igb0: Ethernet address: 00:0d:b9:4e:88:10 igb0: netmap queues/slots: TX 2/1024, RX 2/1024 pcib2: at device 2.2 on pci0 pci2: on pcib2 igb1: port 0x2000-0x201f mem 0xfe600000-0xfe61ffff,0xfe620000-0xfe623fff at device 0.0 on pci2 igb1: attach_pre capping queues at 2 igb1: using 1024 tx descriptors and 1024 rx descriptors igb1: msix_init qsets capped at 2 igb1: pxm cpus: 4 queue msgs: 4 admincnt: 1 igb1: using 2 rx queues 2 tx queues=20 igb1: Using MSIX interrupts with 3 vectors igb1: allocated for 2 tx_queues igb1: allocated for 2 rx_queues igb1: Ethernet address: 00:0d:b9:4e:88:11 igb1: netmap queues/slots: TX 2/1024, RX 2/1024 pcib3: at device 2.3 on pci0 pci3: on pcib3 igb2: port 0x3000-0x301f mem 0xfe700000-0xfe71ffff,0xfe720000-0xfe723fff at device 0.0 on pci3 igb2: attach_pre capping queues at 2 igb2: using 1024 tx descriptors and 1024 rx descriptors igb2: msix_init qsets capped at 2 igb2: pxm cpus: 4 queue msgs: 4 admincnt: 1 igb2: using 2 rx queues 2 tx queues=20 igb2: Using MSIX interrupts with 3 vectors igb2: allocated for 2 tx_queues igb2: allocated for 2 rx_queues igb2: Ethernet address: 00:0d:b9:4e:88:12 igb2: netmap queues/slots: TX 2/1024, RX 2/1024 pcib4: at device 2.4 on pci0 pci4: on pcib4 igb3: port 0x4000-0x401f mem 0xfe800000-0xfe81ffff,0xfe820000-0xfe823fff at device 0.0 on pci4 igb3: attach_pre capping queues at 2 igb3: using 1024 tx descriptors and 1024 rx descriptors igb3: msix_init qsets capped at 2 igb3: pxm cpus: 4 queue msgs: 4 admincnt: 1 igb3: using 2 rx queues 2 tx queues=20 igb3: Using MSIX interrupts with 3 vectors igb3: allocated for 2 tx_queues igb3: allocated for 2 rx_queues igb3: Ethernet address: 00:0d:b9:4e:88:13 igb3: netmap queues/slots: TX 2/1024, RX 2/1024 pci0: at device 8.0 (no driver attached) xhci0: mem 0xfeb22000-0xfeb23fff at device 16.= 0 on pci0 xhci0: 32 bytes context size, 64-bit DMA xhci0: Unable to map MSI-X table=20 usbus0 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 ahci0: port 0x5010-0x5017,0x5020-0x5023,0x5018-0x501f,0x5024-0x5027,0x5000-0x500f mem 0xfeb25000-0xfeb253ff at device 17.0 on pci0 ahci0: AHCI v1.30 with 2 6Gbps ports, Port Multiplier supported with FBS ahcich0: at channel 0 on ahci0 ahcich1: at channel 1 on ahci0 ehci0: mem 0xfeb25400-0xfeb254ff at device 19.= 0 on pci0 usbus1: EHCI version 1.0 usbus1 on ehci0 usbus1: 480Mbps High Speed USB v2.0 isab0: at device 20.3 on pci0 isa0: on isab0 sdhci_pci0: mem 0xfeb25500-0xfeb255ff at device 20.7 on pc= i0 sdhci_pci0: 1 slot(s) allocated mmc0: on sdhci_pci0 amdtemp0: on hostb5 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: console (115200,n,8,1) orm0: at iomem 0xef000-0xeffff pnpid ORM0000 on isa0 uart1: <16550 or compatible> at port 0x2f8 irq 3 on isa0 uart1: non-PNP ISA device will be removed from GENERIC in FreeBSD 12. hwpstate0: on cpu0 fuse-freebsd: version 0.4.4, FUSE ABI 7.8 ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is pres= ent; to enable, add "vfs.zfs.prefetch_disable=3D0" to /boot/loader.c= onf. ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Timecounters tick every 1.000 msec ugen0.1: <0x1022 XHCI root HUB> at usbus0 ugen1.1: at usbus1 uhub0: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 uhub1: on usbus1 mmcsd0: 64GB at mmc0 50.0MHz/4bit/65535-block uhub0: 4 ports with 4 removable, self powered uhub1: 2 ports with 2 removable, self powered ugen1.2: at usbus1 uhub2 on uhub1 uhub2: on usbus1 uhub2: 4 ports with 4 removable, self powered ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ACS-4 ATA SATA 3.x device ada0: Serial Number S41NNB0K101594V ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes) ada0: Command Queueing enabled ada0: 476940MB (976773168 512 byte sectors) Trying to mount root from zfs:zroot/ROOT/default []... GEOM_ELI: Device ada0.eli created. GEOM_ELI: Encryption: AES-XTS 128 GEOM_ELI: Crypto: hardware GEOM_ELI: Device mmcsd0p3.eli created. GEOM_ELI: Encryption: AES-XTS 128 GEOM_ELI: Crypto: hardware bridge0: Ethernet address: 02:91:bc:80:6d:00 lo0: link state changed to UP igb0: promiscuous mode enabled bridge0: link state changed to UP igb1: promiscuous mode enabled igb2: promiscuous mode enabled igb3: promiscuous mode enabled igb3: link state changed to UP intsmb0: at device 20.0 on pci0 smbus0: on intsmb0 Security policy loaded: MAC/ntpd (mac_ntpd) --=20 You are receiving this mail because: You are the assignee for the bug.=