Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 May 2001 16:41:05 +0930
From:      Greg Lehey <grog@lemis.com>
To:        FreeBSD Stable Users <freebsd-stable@freebsd.org>
Subject:   Panic on boot on today's -STABLE
Message-ID:  <20010527164105.N29739@wantadilla.lemis.com>

next in thread | raw e-mail | index | archive | help
I've just built a new kernel on my SMP -STABLE machine, and I get a
repeated panic on running ifconfig.  Here's a backtrace:

(gdb) bt
#0  0xc038f777 in ?? ()
#1  0xc014908d in mii_mediachg (mii=0xc1224b00) at ../../dev/mii/mii.c:293
#2  0xc020a661 in dc_init (xsc=0xc1229000) at ../../pci/if_dc.c:2986
#3  0xc01afbb6 in ether_ioctl (ifp=0xc1229000, command=-2145359604, data=0xc12d3f00 "\230?-Á¨?-Á¸?-Á")
    at ../../net/if_ethersubr.c:733
#4  0xc020a813 in dc_ioctl (ifp=0xc1229000, command=2149607692, data=0xc12d3f00 "\230?-Á¨?-Á¸?-Á")
    at ../../pci/if_dc.c:3084
#5  0xc01c38b5 in in_ifinit (ifp=0xc1229000, ia=0xc12d3f00, sin=0xcad77eb8, scrub=0) at ../../netinet/in.c:671
#6  0xc01c33c1 in in_control (so=0xc9cdff00, cmd=2151704858, data=0xcad77ea8 "dc0", ifp=0xc1229000, p=0xca3ca440)
    at ../../netinet/in.c:412
#7  0xc01aed4f in ifioctl (so=0xc9cdff00, cmd=2151704858, data=0xcad77ea8 "dc0", p=0xca3ca440) at ../../net/if.c:972
#8  0xc017b936 in soo_ioctl (fp=0xc12a5280, cmd=2151704858, data=0xcad77ea8 "dc0", p=0xca3ca440)
    at ../../kern/sys_socket.c:143
#9  0xc01787f2 in ioctl (p=0xca3ca440, uap=0xcad77f80) at ../../sys/file.h:178
#10 0xc0289f75 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 0, tf_esi = -1077936724, 
      tf_ebp = -1077936960, tf_isp = -891846700, tf_ebx = 134669336, tf_edx = 3, tf_ecx = 134749072, tf_eax = 54, 
      tf_trapno = 12, tf_err = 2, tf_eip = 134529672, tf_cs = 31, tf_eflags = 663, tf_esp = -1077937100, tf_ss = 47})
    at ../../i386/i386/trap.c:1150
#11 0xc027462b in Xint0x80_syscall ()
#12 0x80486e1 in ?? ()
#13 0x8048135 in ?? ()
(gdb) kldstat
Undefined command: "kldstat".  Try "help".
(gdb) f 1
#1  0xc014908d in mii_mediachg (mii=0xc1224b00) at ../../dev/mii/mii.c:293
293                     rv = (*child->mii_service)(child, mii, MII_MEDIACHG);
(gdb) p *child
$1 = {
  mii_dev = 0xc1229000, 
  mii_list = {
    le_next = 0xc02b7ad0, 
    le_prev = 0xc121c004
  }, 
  mii_phy = -1070456236, 
  mii_inst = -1054752000, 
  mii_service = 0xc12d3f60, 
  mii_pdata = 0x0, 
  mii_auto_ch = {
    callout = 0x0
  }, 
  mii_flags = 1, 
  mii_capabilities = -2013069307, 
  mii_ticks = 0, 
  mii_active = 0
}
(gdb) 

From the dmesg (all available if you need it):

  dc0: <Macronix 98715AEC-C 10/100BaseTX> port 0xc400-0xc4ff mem 0xeb000000-0xeb0000ff irq 3 at device 9.0 on pci0
  dc0: Ethernet address: 00:80:c6:f9:d3:fa
  miibus0: <MII bus> on dc0
  dcphy0: <Intel 21143 NWAY media interface> on miibus0
  dcphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

I can't get a dump for some reason (well, it dumps, but when I reboot
the system claims there isn't one).  I can repeat the problem,
however.

Greg
--
Finger grog@lemis.com for PGP public key
See complete headers for address and phone numbers

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010527164105.N29739>