From owner-freebsd-stable@FreeBSD.ORG Thu May 27 08:34:44 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98A201065676 for ; Thu, 27 May 2010 08:34:44 +0000 (UTC) (envelope-from ykirill@yahoo.com) Received: from web120505.mail.ne1.yahoo.com (web120505.mail.ne1.yahoo.com [98.138.85.232]) by mx1.freebsd.org (Postfix) with SMTP id 6DC268FC1E for ; Thu, 27 May 2010 08:34:44 +0000 (UTC) Received: (qmail 9470 invoked by uid 60001); 27 May 2010 08:08:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1274947684; bh=JM8DK7ONvWWnL5h5tWUjonTrFAksX2WYSmtg/NXWCqI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=OJKrx4fLKod7T1jqc2n99eUR82ve0jzkxZX8ld6RIabPqJSEKJad5SnF4pq2z/lVX3hWMRRhYCLbBybH5+Ro3L5tbcdtSjCdrpAiJKxYxT7/rCvqSDk9kgmBB/xIoE64uj9+q9cgEmFrrMh0G0E++w4TwRjMabQVeCh81HN7lfk= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=Oh66YUXEgHpH1P7asxaLSXZIopWN3cu61+fdhm2d3MEiIZuS3GrTMLQGsruRVxoxbmQIt9Mzo5l3V3V+zHpIEytgP6FJd1AshAjOImZfLPinpNjccBFK1TprXcmvzWGCCJpJFEUmABkUPXEh36JlBxxE5DvvOXKC7xgXR/F/3Pg=; Message-ID: <839697.7226.qm@web120505.mail.ne1.yahoo.com> X-YMail-OSG: VfhsQdQVM1m1t6XFU5UwFc4BALMhV52TbMq9fX9o5xjRhb2 uwjo- Received: from [212.74.229.235] by web120505.mail.ne1.yahoo.com via HTTP; Thu, 27 May 2010 01:08:04 PDT X-Mailer: YahooMailClassic/11.0.8 YahooMailWebService/0.8.103.269680 Date: Thu, 27 May 2010 01:08:04 -0700 (PDT) From: Kirill Yelizarov To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Strange igb befavior X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2010 08:34:44 -0000 Hi I'm having reproducible panics with 8-Stable of May13 2010. Panic occurs in igb code. Panic start to happen when i set hw.igb.rxd="4096" and hw.igb.txd="4096" in /boot/loader.conf. Panic happens immediately after boot in igb1 code in my case. igb1 is connected to 100Mbit 3COM switch and switch is not connected to anything else. Here is dmesg for igb # dmesg | grep igb igb0: port 0x2020-0x203f mem 0xb1a20000-0xb1a3ffff,0xb1a44000-0xb1a47fff irq 40 at device 0.0 on pci1 igb0: Using MSIX interrupts with 5 vectors igb0: [ITHREAD] igb0: [ITHREAD] igb0: [ITHREAD] igb0: [ITHREAD] igb0: [ITHREAD] igb0: Ethernet address: 00:15:17:ba:2e:00 igb1: port 0x2000-0x201f mem 0xb1a00000-0xb1a1ffff,0xb1a40000-0xb1a43fff irq 28 at device 0.1 on pci1 igb1: Using MSIX interrupts with 5 vectors igb1: [ITHREAD] igb1: [ITHREAD] igb1: [ITHREAD] igb1: [ITHREAD] igb1: [ITHREAD] igb1: Ethernet address: 00:15:17:ba:2e:01 igb1: link state changed to UP igb0: link state changed to UP border2# ifconfig igb0: flags=8843 metric 0 mtu 1500 options=13b ether 00:15:17:ba:2e:00 inet 192.168.10.2 netmask 0xffffff00 broadcast 192.168.10.255 inet 192.168.10.201 netmask 0xffffffff broadcast 192.168.10.201 inet 192.168.10.202 netmask 0xffffffff broadcast 192.168.10.202 inet 192.168.10.203 netmask 0xffffffff broadcast 192.168.10.203 inet 192.168.10.204 netmask 0xffffffff broadcast 192.168.10.204 media: Ethernet autoselect (1000baseT ) status: active igb1: flags=8843 metric 0 mtu 1500 options=13b ether 00:15:17:ba:2e:01 inet XXX.74.229.230 netmask 0xfffffff0 broadcast XXX.74.229.239 inet XXX.74.229.226 netmask 0xffffffff broadcast XXX.74.229.226 inet XXX.74.229.227 netmask 0xffffffff broadcast XXX.74.229.227 media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 metric 0 mtu 16384 options=3 inet 127.0.0.1 netmask 0xff000000 pfsync0: flags=0<> metric 0 mtu 1460 syncpeer: 224.0.0.240 maxupd: 128 pflog0: flags=141 metric 0 mtu 33152 #pciconf -lv igb0@pci0:1:0:0: class=0x020000 card=0x34de8086 chip=0x10a78086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82575EB Gigabit Network Connection' class = network subclass = ethernet igb1@pci0:1:0:1: class=0x020000 card=0x34de8086 chip=0x10a78086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82575EB Gigabit Network Connection' class = network subclass = ethernet # netstat -i Name Mtu Network Address Ipkts Ierrs Idrop Opkts Oerrs Coll igb0 1500 00:15:17:ba:2e:00 2315 0 0 1415 0 0 igb0 1500 192.168.10.0 border2 1664 - - 1412 - - igb0 1500 192.168.10.20 mysql-border2 0 - - 0 - - igb0 1500 192.168.10.20 apache-border2 0 - - 0 - - igb0 1500 192.168.10.20 squid-border2 0 - - 0 - - igb0 1500 192.168.10.20 postgresql-border 1 - - 0 - - igb1 1500 00:15:17:ba:2e:01 129 0 0 0 0 0 igb1 1500 XXX.74.229.22 border2 0 - - 0 - - igb1 1500 XXX.74.229.22 apache-border2 0 - - 0 - - igb1 1500 XXX.74.229.22 squid-border2 0 - - 0 - - lo0 16384 1 0 0 1 0 0 lo0 16384 your-net localhost 0 - - 1 - - pfsyn 1460 0 0 0 0 0 0 pflog 33152 0 0 0 0 0 0 There are several jails on this server. When i set hw.igb.rxd="2048" and hw.igb.txd="2048" i don't have panic anymore. The reason i tried to add more buffers than default is because i have NFS export on this server. But it is on igb0. igb1 is currently doing nothing but it will soon once the server will be ready for production. I didn't get core dump because my system is rather old. But i can do it if needed. Regards, Kirill