From owner-freebsd-current@FreeBSD.ORG Sat Apr 10 22:07:59 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 381151065670 for ; Sat, 10 Apr 2010 22:07:59 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by mx1.freebsd.org (Postfix) with ESMTP id 078638FC19 for ; Sat, 10 Apr 2010 22:07:58 +0000 (UTC) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.14.3/8.14.3) with ESMTP id o3AM7uPb060629; Sat, 10 Apr 2010 18:07:56 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <201004102207.o3AM7uPb060629@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Sat, 10 Apr 2010 18:07:52 -0400 To: Jack Vogel , "Bjoern A. Zeeb" From: Mike Tancsa In-Reply-To: References: <201004081831.o38IVR3s043434@lava.sentex.ca> <20100409164115.GB1085@michelle.cdnetworks.com> <201004091900.o39J0b0k051687@lava.sentex.ca> <20100409201307.GF1085@michelle.cdnetworks.com> <201004092105.o39L5SSh052323@lava.sentex.ca> <201004101446.o3AEkQ0O058513@lava.sentex.ca> <20100410160008.Q40281@maildrop.int.zabbadoz.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: pyunyh@gmail.com, freebsd-current@freebsd.org Subject: Re: LOR on em in HEAD ( was Re: em driver regression X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Apr 2010 22:07:59 -0000 At 03:29 PM 4/10/2010, Jack Vogel wrote: >Added the missing locks around calls to rxeof and checked it in a minute ago. > >Sorry guys! Looks good for me now. BTW, I thought the multi-queue was supposed to be disabled on the em nic ? em0: port 0x3040-0x305f mem 0xc1b00000-0xc1b1ffff,0xc1b25000-0xc1b25fff irq 20 at device 25.0 on pci0 em0: Using MSI interrupt em0: [FILTER] em0: Ethernet address: 00:15:17:c8:4b:99 em1: port 0x1000-0x101f mem 0xc1900000-0xc191ffff,0xc1920000-0xc1923fff irq 16 at device 0.0 on pci3 em1: Using MSIX interrupts with 5 vectors em1: [ITHREAD] em1: [ITHREAD] em1: [ITHREAD] em1: [ITHREAD] em1: [ITHREAD] em1: Ethernet address: 00:15:17:c8:4b:98 0(i5b)% vmstat -i interrupt total rate irq4: uart0 6285 13 irq21: ehci0 728 1 irq23: ehci1 1078 2 cpu0: timer 924321 1992 irq256: em0 9375 20 irq257: em1 127 0 irq258: em1 7 0 irq261: em1 2 0 irq262: ahci0 69 0 cpu3: timer 923686 1990 cpu1: timer 923651 1990 cpu2: timer 923597 1990 Total 3712926 8001 0(i5b)% em0@pci0:0:25:0: class=0x020000 card=0x34ec8086 chip=0x10ef8086 rev=0x05 hdr=0x00 vendor = 'Intel Corporation' class = network subclass = ethernet cap 01[c8] = powerspec 2 supports D0 D3 current D0 cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message cap 13[e0] = PCI Advanced Features: FLR TP em1@pci0:3:0:0: class=0x020000 card=0x34ec8086 chip=0x10d38086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'Intel 82574L Gigabit Ethernet Controller (82574L)' class = network subclass = ethernet cap 01[c8] = powerspec 2 supports D0 D3 current D0 cap 05[d0] = MSI supports 1 message, 64 bit cap 10[e0] = PCI-Express 1 endpoint max data 128(256) link x1(x1) cap 11[a0] = MSI-X supports 5 messages in map 0x1c enabled >Jack > > >On Sat, Apr 10, 2010 at 9:05 AM, Bjoern A. Zeeb ><bzeeb-lists@lists.zabbadoz.net> wrote: >On Sat, 10 Apr 2010, Mike Tancsa wrote: > >Hi Mike, > > >At 05:11 PM 4/9/2010, Jack Vogel wrote: >Don't know, but I would just ignore it, I think its a false warning anyway. > > >OK. I updated to HEAD as of this AM, but now I get a panic at bootup > >... > >Trying to mount root from nfs: >NFS ROOT: 10.255.255.1:/usr/home/pxe9/ >panic: mutex em0:rx(0) not owned at >/usr/HEAD/src/sys/modules/em/../../dev/e1000/if_em.c:4093 >cpuid = 3 >KDB: enter: panic >[ thread pid 0 tid 100032 ] >Stopped at kdb_enter+0x3a: movl $0,kdb_why >db> bt >Tracing pid 0 tid 100032 td 0xc5f5bb40 >kdb_enter(c0cb0e9d,c0cb0e9d,c0caf56e,c5b2ac28,3,...) at kdb_enter+0x3a >panic(c0caf56e,c6002024,c11a0357,ffd,c5b2ac7c,...) at panic+0x136 >_mtx_assert(c6002010,4,c11a0357,ffd,64,...) at _mtx_assert+0x87 >em_rxeof(246,c5ff7d98,c5b2aca8,c088e194,c5ff7d98,...) at em_rxeof+0x3b >em_handle_que(c6006000,1,c0cb5c9c,4f,c5ff7d98,...) at em_handle_que+0x38 >taskqueue_run(c5ff7d80,c5ff7d98,c0ca6410,0,c0caf5f6,...) at >taskqueue_run+0x103 >taskqueue_thread_loop(c600a520,c5b2ad38,c0cac192,343,c0e0ce20,...) >at taskqueue_thread_loop+0x68 >fork_exit(c08dcde0,c600a520,c5b2ad38) at fork_exit+0xb8 >fork_trampoline() at fork_trampoline+0x8 >--- trap 0, eip = 0, esp = 0xc5b2ad70, ebp = 0 --- >db> > > > >This is a bug that seems to only happen in the Kitchener area as I hit >it with a machine there just a few minutes ago as well. > >This one has fixed it for me: >http://lists.freebsd.org/pipermail/svn-src-head/2010-April/016249.html > >/bz > >-- >Bjoern A. Zeeb It will not break if you know what you are doing. > -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike