From owner-freebsd-net@FreeBSD.ORG Tue Apr 16 09:33:59 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 085487D8 for ; Tue, 16 Apr 2013 09:33:59 +0000 (UTC) (envelope-from cochard@gmail.com) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx1.freebsd.org (Postfix) with ESMTP id C351BE65 for ; Tue, 16 Apr 2013 09:33:58 +0000 (UTC) Received: by mail-ve0-f175.google.com with SMTP id m1so222337ves.20 for ; Tue, 16 Apr 2013 02:33:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:from:date:x-google-sender-auth :message-id:subject:to:content-type; bh=xFIZV6UTg/8eqVzQdBy0izec1ahvJWDI4YsOjmiCzOE=; b=ihzyxaE7hjUHeqk8yQ1WiqyNhIbwlZaRYUlhl3yLrmUdelUqnE/cSvY8f3S79OEWNA a0CMw4hiSr4cr5ZrdFrxjNshBSHALCRFe37+CglDyJDJsc0LHmy24dUm5z2nEN1dMZms tUn1Sd49RmOiMYltaOCtPMWwCD55T5kX45+HtzqOZa4eGwyXZa0peZyyL6CefWv/6+GJ Dw8Zbbud0dCnEbZI1P0bOsCht7R7LA1HfGemQf/Zg2B5A1ok4qURf9cIavO0F9pKo/fa Q7l8BAm2GKDZrU/8obpcxmhkb4c+TVfRMQEwmunt3Cu6NCO/TUCwMuHPDAGWrUVYwnpZ YAIg== X-Received: by 10.221.1.144 with SMTP id nq16mr878008vcb.57.1366104837902; Tue, 16 Apr 2013 02:33:57 -0700 (PDT) MIME-Version: 1.0 Sender: cochard@gmail.com Received: by 10.59.9.103 with HTTP; Tue, 16 Apr 2013 02:33:37 -0700 (PDT) From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= Date: Tue, 16 Apr 2013 11:33:37 +0200 X-Google-Sender-Auth: e343A7A_iKPN1g03I_D23Kv4ABg Message-ID: Subject: panic: ifmedia_set when pluging CardBus LAN card xl(4) on 9.1-release To: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Apr 2013 09:33:59 -0000 Hi, When I'm plugging CardBus PC Card (3CXFE575BT) on my old laptop it produces a crash. Full core dump here (30MB): http://gugus69.free.fr/freebsd/crash.cardbus.3CXFE575BT.tgz Here an extract of the core.txt file: xl0: <3Com 3c575B Fast Etherlink XL> port 0x1080-0x10ff mem 0x90010000-0x9001007f,0x90011000-0x9001107f irq 10 at device 0.0 on cardbus1 miibus1: on xl0 tdkphy0: <78Q2120 10/100 media interface> PHY 0 on miibus1 tdkphy0: no media present ifmedia_set: no match for 0x0/0xfffffff panic: ifmedia_set cpuid = 0 KDB: stack backtrace: #0 0xc0af3aff at kdb_backtrace+0x4f #1 0xc0ac052f at panic+0x16f #2 0xc0b7d511 at ifmedia_set+0x41 #3 0xc0793eca at miibus_mediainit+0x8a #4 0xc0796041 at mii_phy_dev_attach+0x251 #5 0xc079aa49 at tdkphy_attach+0x29 #6 0xc0aed7f6 at device_attach+0x376 #7 0xc0aeecec at device_probe_and_attach+0x2c #8 0xc0aeed19 at bus_generic_attach+0x19 #9 0xc0794505 at miibus_attach+0xd5 #10 0xc0aed7f6 at device_attach+0x376 #11 0xc0aeecec at device_probe_and_attach+0x2c #12 0xc0aeed19 at bus_generic_attach+0x19 #13 0xc0794b72 at mii_attach+0x4c2 #14 0xc099ea8b at xl_attach+0xc6b #15 0xc0aed7f6 at device_attach+0x376 #16 0xc0aeecec at device_probe_and_attach+0x2c #17 0xc066c0c4 at cardbus_attach_card+0x584 #0 doadump (textdump=1) at pcpu.h:244 244 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump (textdump=1) at pcpu.h:244 #1 0xc0ac027f in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:448 #2 0xc0ac0572 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:636 #3 0xc0b7d511 in ifmedia_set (ifm=0xc6bee7c0, target=0) at /usr/src/sys/net/if_media.c:181 #4 0xc0793eca in miibus_mediainit (dev=0xc6f0ab80) at /usr/src/sys/dev/mii/mii.c:352 #5 0xc0796041 in mii_phy_dev_attach (dev=0xc6d8c900, flags=1048576, mpf=0xc0f8e8e4, add_media=1) at miibus_if.h:74 #6 0xc079aa49 in tdkphy_attach (dev=0xc6d8c900) at /usr/src/sys/dev/mii/tdkphy.c:112 #7 0xc0aed7f6 in device_attach (dev=0xc6d8c900) at device_if.h:180 #8 0xc0aeecec in device_probe_and_attach (dev=0xc6d8c900) at /usr/src/sys/kern/subr_bus.c:2699 #9 0xc0aeed19 in bus_generic_attach (dev=0xc6f0ab80) at /usr/src/sys/kern/subr_bus.c:3427 #10 0xc0794505 in miibus_attach (dev=0xc6f0ab80) at /usr/src/sys/dev/mii/mii.c:153 #11 0xc0aed7f6 in device_attach (dev=0xc6f0ab80) at device_if.h:180 #12 0xc0aeecec in device_probe_and_attach (dev=0xc6f0ab80) at /usr/src/sys/kern/subr_bus.c:2699 #13 0xc0aeed19 in bus_generic_attach (dev=0xc6e1b800) at /usr/src/sys/kern/subr_bus.c:3427 #14 0xc0794b72 in mii_attach (dev=0xc6e1b800, miibus=0xc7ffc034, ifp=0xc3fdd000, ifmedia_upd=0xc099d380 , ifmedia_sts=0xc099dad0 , capmask=-1, phyloc=-1, offloc=-1, flags=0) at /usr/src/sys/dev/mii/mii.c:514 #15 0xc099ea8b in xl_attach (dev=0xc6e1b800) at /usr/src/sys/dev/xl/if_xl.c:1395 #16 0xc0aed7f6 in device_attach (dev=0xc6e1b800) at device_if.h:180 #17 0xc0aeecec in device_probe_and_attach (dev=0xc6e1b800) at /usr/src/sys/kern/subr_bus.c:2699 #18 0xc066c0c4 in cardbus_attach_card (cbdev=0xc3f43d00) at /usr/src/sys/dev/cardbus/cardbus.c:199 #19 0xc07e5e5f in cbb_event_thread (arg=0xc3e9e000) at card_if.h:83 #20 0xc0a90526 in fork_exit (callout=0xc07e5ac0 , arg=0xc3e9e000, frame=0xd797ed08) at /usr/src/sys/kern/kern_fork.c:992 #21 0xc0e0f6e4 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:276 (kgdb) Regards, Olivier