From owner-freebsd-current@FreeBSD.ORG Wed Jun 4 07:21:43 2008 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 D7F391065678 for ; Wed, 4 Jun 2008 07:21:43 +0000 (UTC) (envelope-from thierry@herbelot.com) Received: from postfix2-g20.free.fr (postfix2-g20.free.fr [212.27.60.43]) by mx1.freebsd.org (Postfix) with ESMTP id 4AD658FC47 for ; Wed, 4 Jun 2008 07:21:43 +0000 (UTC) (envelope-from thierry@herbelot.com) Received: from smtp4-g19.free.fr (smtp4-g19.free.fr [212.27.42.30]) by postfix2-g20.free.fr (Postfix) with ESMTP id 8398F26DE226 for ; Wed, 4 Jun 2008 06:49:20 +0200 (CEST) Received: from smtp4-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp4-g19.free.fr (Postfix) with ESMTP id 653773EA0FC; Wed, 4 Jun 2008 08:49:42 +0200 (CEST) Received: from mail.herbelot.nom (bne75-4-82-227-159-103.fbx.proxad.net [82.227.159.103]) by smtp4-g19.free.fr (Postfix) with ESMTP id 1CF473EA0D3; Wed, 4 Jun 2008 08:49:41 +0200 (CEST) Received: from diversion.herbelot.nom (diversion.herbelot.nom [192.168.2.6]) by mail.herbelot.nom (8.14.1/8.14.1) with ESMTP id m546ne1k016574; Wed, 4 Jun 2008 08:49:40 +0200 (CEST) From: Thierry Herbelot To: freebsd-current@freebsd.org Date: Wed, 4 Jun 2008 08:46:33 +0200 User-Agent: KMail/1.9.7 References: <200805291503.15787.jhb@freebsd.org> <200806011726.36771.thierry@herbelot.com> <200806021529.26497.jhb@freebsd.org> In-Reply-To: <200806021529.26497.jhb@freebsd.org> X-Warning: Windows can lose your files X-Op-Sys: Le FriBi de la mort qui tue X-Org: TfH&Co X-MailScanner: Found to be clean MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806040846.33694.thierry@herbelot.com> Cc: Subject: Re: ie(4) MPSAFE patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: thierry@herbelot.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2008 07:21:44 -0000 > > PS : there is also this kind of harmless messages at boot : > > # ifconfig ie1 up > > module_register: module isa/ie_SL already exists! > > Module isa/ie_SL failed to register: 17 > > module_register: module isa/ie_EE16 already exists! > > Module isa/ie_EE16 failed to register: 17 > > module_register: module isa/ie_3C507 already exists! > > Module isa/ie_3C507 failed to register: 17 > > Try http://www.FreeBSD.org/~jhb/patches/ie_mod.patch then, bad luck : panic: _mtx_lock_sleep: recursed on non-recursive mutex ie1 @ /usr/src/sys/dev/ie/if_ie.c:1490 cpuid = 0 KDB: enter: panic [thread pid 383 tid 100045 ] Stopped at kdb_enter+0x3a: movl $0,kdb_why db> where Tracing pid 383 tid 100045 td 0xc1a55230 kdb_enter(c0b2dc12,c0b2dc12,c0b2c98f,c625bad0,0,...) at kdb_enter+0x3a panic(c0b2c98f,c1965270,c0b030de,5d2,c18651e4,...) at panic+0x12c _mtx_lock_sleep(c18651e4,c1a55230,0,c0b030de,5d2,...) at _mtx_lock_sleep+0x4a _mtx_lock_flags(c18651e4,0,c0b030de,5d2,c19a4000,...) at _mtx_lock_flags+0xef ieinit(c1865000,0,c0b030de,665,80206910,...) at ieinit+0x35 ieioctl(c19a4000,80206910,c19adc40,c0b3b131,c19a4000,...) at ieioctl+0x91 ifhwioctl(c1a55230,c0b296da,c1a34c2c,815,c0b296da,...) at ifhwioctl+0x3ca ifioctl(c1a9a000,80206910,c19adc40,c1a55230,c1a55230,...) at ifioctl+0x2e1 soo_ioctl(c1a4f540,80206910,c19adc40,c188b800,c1a55230,...) at soo_ioctl+0x397 kern_ioctl(c1a55230,3,80206910,c19adc40,7bb6c0,...) at kern_ioctl+0x1c8 ioctl(c1a55230,c625bcfc,c,c0b64430,c0be7bf0,...) at ioctl+0x134 syscall(c625bd38) at syscall+0x2a3 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (54, FreeBSD ELF32, ioctl), eip = 0x28169373, esp = 0xbfbfe65c, ebp = 0xbfbfe698 --- db> show locks exclusive sleep mutex ie1 (network driver) r = 0 (0xc18651e4) locked @ /usr/src/sys/dev/ie/if_ie.c:1637 db> ps pid ppid pgrp uid state wmesg wchan cmd 383 150 26 0 R+ CPU 0 ifconfig 150 26 26 0 S+ wait 0xc1a78000 sh 26 1 26 0 Ss+ wait 0xc18c7a70 sh 19 0 0 0 SL sdflush 0xc0cb4e00 [softdepflush] 18 0 0 0 SL syncer 0xc0c54fe0 [syncer] 17 0 0 0 SL vlruwt 0xc1a2ea70 [vnlru] 16 0 0 0 SL psleep 0xc0ca94e4 [bufdaemon] 15 0 0 0 SL pgzero 0xc0cb59f4 [pagezero] 14 0 0 0 SL psleep 0xc0cb561c [vmdaemon] 9 0 0 0 SL psleep 0xc0cb55e4 [pagedaemon] 8 0 0 0 SL pftm 0xc0e12000 [pfpurge] 7 0 0 0 SL waiting_ 0xc0cab19c [sctp_iterator] 6 0 0 0 SL - 0xc186523c [fdc0] 5 0 0 0 SL ccb_scan 0xc0c23d54 [xpt_thrd] 13 0 0 0 SL - 0xc0c54fe8 [yarrow] 4 0 0 0 SL - 0xc0c52dc4 [g_down] 3 0 0 0 SL - 0xc0c52dc0 [g_up] 2 0 0 0 SL - 0xc0c52db8 [g_event] 12 0 0 0 RL (threaded) intr 100028 I [irq5: ie1] 100027 I [swi0: sio] 100026 I [irq7: ppbus0 ppc0] 100024 I [irq1: atkbd0] 100023 I [irq15: ata1] 100022 I [irq14: ata0] 100021 I [irq9: ed0] 100020 I [irq10: xl1] 100019 I [irq11: xl0] 100018 I [swi5: +] 100017 I [swi2: cambio] 100014 I [swi6: task queue] 100013 I [swi6: Giant taskq] 100006 RunQ [swi4: clock sio] 100005 I [swi1: net] 100004 I [swi3: vm] 11 0 0 0 RL [idle: cpu0] 1 0 1 0 SLs wait 0xc1884d0c [init] 10 0 0 0 SL audit_wo 0xc0cb47fc [audit] 0 0 0 0 SLs (threaded) kernel 100015 D - 0xc194ad80 [kqueue taskq] 100012 D - 0xc194b000 [thread taskq] 100010 D - 0xc1868e80 [firmware taskq] 100000 I [swapper] db> TfH