Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Mar 2003 21:19:20 -0800
From:      Alfred Perlstein <bright@mu.org>
To:        sam@freebsd.org
Cc:        imp@freebsd.org, current@freebsd.org
Subject:   wi driver
Message-ID:  <20030317051920.GN4145@elvis.mu.org>

next in thread | raw e-mail | index | archive | help
um..

#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:239
#1  0xc027719a in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:371
#2  0xc0277403 in panic () at /usr/src/sys/kern/kern_shutdown.c:542
#3  0xc0227ac2 in wi_start (ifp=0xc1985000) at /usr/src/sys/dev/wi/if_wi.c:845
#4  0xc02dd413 in ieee80211_mgmt_output (ifp=0xc1985000, ni=0xc1985478, 
    m=0xc0ba8800, type=160) at /usr/src/sys/net/if_ieee80211subr.c:550
#5  0xc02df439 in ieee80211_send_disassoc (ic=0xc1985000, ni=0xc1985478, 
    type=160, reason=8) at /usr/src/sys/net/if_ieee80211subr.c:1668
#6  0xc02e05b2 in ieee80211_new_state (ifp=0xc1985000, nstate=8, mgt=-1)
    at /usr/src/sys/net/if_ieee80211subr.c:2262
#7  0xc0229313 in wi_info_intr (sc=0xc1985000)
    at /usr/src/sys/dev/wi/if_wi.c:1531
#8  0xc0226ffd in wi_intr (arg=0xc1985000) at /usr/src/sys/dev/wi/if_wi.c:599
#9  0xc01af153 in pccard_intr (arg=0xc1911900)
    at /usr/src/sys/dev/pccard/pccard.c:1196
#10 0xc01b51a8 in cbb_intr (arg=0xc0b98200)
    at /usr/src/sys/dev/pccbb/pccbb.c:1046
(kgdb) up
#3  0xc0227ac2 in wi_start (ifp=0xc1985000) at /usr/src/sys/dev/wi/if_wi.c:845
845                     ("wi_start: if_flags %x\n", ifp->if_flags));
(kgdb) list
840             if (sc->sc_flags & WI_FLAGS_OUTRANGE) {
841                     WI_UNLOCK(sc);
842                     return;
843             }
844             KASSERT((ifp->if_flags & IFF_OACTIVE) == 0,
845                     ("wi_start: if_flags %x\n", ifp->if_flags));
846     
847             memset(&frmhdr, 0, sizeof(frmhdr));
848             cur = sc->sc_txnext;
849             for (;;) {
(kgdb) print *ifp
$1 = {if_softc = 0xc1985000, if_name = 0xc0409bbd "wi", if_link = {
    tqe_next = 0x0, tqe_prev = 0xc0b99208}, if_addrhead = {
    tqh_first = 0xc1982400, tqh_last = 0xc1982060}, if_klist = {
    slh_first = 0x0}, if_pcount = 0, if_bpf = 0xc1911800, if_index = 3, 
  if_unit = 0, if_timer = 1, if_nvlans = 0, if_flags = 35907, 
  if_capabilities = 0, if_capenable = 0, if_ipending = 0, if_linkmib = 0x0, 
  if_linkmiblen = 0, if_data = {ifi_type = 6 '\006', ifi_physical = 0 '\0', 
    ifi_addrlen = 6 '\006', ifi_hdrlen = 24 '\030', ifi_recvquota = 0 '\0', 
    ifi_xmitquota = 0 '\0', ifi_mtu = 1500, ifi_metric = 0, 
    ifi_baudrate = 11000000, ifi_ipackets = 18096, ifi_ierrors = 0, 
    ifi_opackets = 11877, ifi_oerrors = 47, ifi_collisions = 3333, 
    ifi_ibytes = 4567681, ifi_obytes = 1120601, ifi_imcasts = 6436, 
    ifi_omcasts = 0, ifi_iqdrops = 0, ifi_noproto = 0, ifi_hwassist = 0, 
    ifi_unused = 0, ifi_lastchange = {tv_sec = 1047770516, tv_usec = 70680}}, 
  if_multiaddrs = {tqh_first = 0xc18b35a0, tqh_last = 0xc18b3580}, 
  if_amcount = 0, if_output = 0xc02db640 <ether_output>, 
  if_input = 0xc02dbd30 <ether_input>, if_start = 0xc0227a10 <wi_start>, 
  if_done = 0, if_ioctl = 0xc0228230 <wi_ioctl>, 
  if_watchdog = 0xc02280d0 <wi_watchdog>, if_poll_recv = 0, if_poll_xmit = 0, 
  if_poll_intren = 0, if_poll_slowinput = 0, if_init = 0xc0227060 <wi_init>, 
  if_resolvemulti = 0xc02dc520 <ether_resolvemulti>, if_snd = {ifq_head = 0x0, 
    ifq_tail = 0x0, ifq_len = 0, ifq_maxlen = 50, ifq_drops = 0, ifq_mtx = {
      mtx_object = {lo_class = 0xc045f6e0, lo_name = 0xc0409bbd "wi", 
        lo_type = 0xc041619d "if send queue", lo_flags = 196608, lo_list = {
          tqe_next = 0x0, tqe_prev = 0x0}, lo_witness = 0x0}, mtx_lock = 4, 
      mtx_recurse = 0, mtx_blocked = {tqh_first = 0x0, tqh_last = 0xc1985108}, 
      mtx_contested = {le_next = 0x0, le_prev = 0x0}}}, if_poll_slowq = 0x0, 
  if_prefixhead = {tqh_first = 0x0, tqh_last = 0xc198511c}, 
  if_broadcastaddr = 0xc0467140 "ÿÿÿÿÿÿ", if_label = {l_flags = 0, 
    l_perpolicy = {{l_ptr = 0x0, l_long = 0}, {l_ptr = 0x0, l_long = 0}, {
        l_ptr = 0x0, l_long = 0}, {l_ptr = 0x0, l_long = 0}}}}


What's up here?


-- 
-Alfred Perlstein [alfred@freebsd.org]
'Instead of asking why a piece of software is using "1970s technology,"
 start asking why software is ignoring 30 years of accumulated wisdom.'

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




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