panic: ifmedia_set when pluging CardBus LAN card xl(4) on 9.1-release
Olivier Cochard-Labbé
olivier at cochard.me
Tue Apr 16 09:33:59 UTC 2013
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: <MII bus> 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 <xl_ifmedia_upd>,
ifmedia_sts=0xc099dad0 <xl_ifmedia_sts>, 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 <cbb_event_thread>,
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
More information about the freebsd-net
mailing list