Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jan 2000 00:43:44 +0900
From:      Jun Kuriyama <kuriyama@sky.rim.or.jp>
To:        wpaul@skynet.ctr.columbia.edu
Cc:        current@freebsd.org
Subject:   Re: panic in uipc_mbuf.c or if_aue.c
Message-ID:  <14461.62128.675464.13362J@localhost.sky.rim.or.jp>
In-Reply-To: In your message of "Wed, 12 Jan 2000 10:40:59 -0500 (EST)" <200001121541.KAA23708@skynet.ctr.columbia.edu>
References:  <14460.40191.708206.82051O@localhost.sky.rim.or.jp> <200001121541.KAA23708@skynet.ctr.columbia.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Bill Paul <wpaul@skynet.ctr.columbia.edu>
> We need version information! How recent is your version of -current!
> What's the rcsid from if_aue.c! Details please!

 * $FreeBSD: src/sys/dev/usb/if_aue.c,v 1.5 2000/01/10 23:12:50 wpaul Exp $
 
> Print out the contents of the mbuf!! Show is what it thinks the real
> length is!

I replaced binary data to "...data..." which may confuse mail agent.
I don't know this is enough or not.  Please let me know if you want
more information.  I'll update if_aue.c to v1.6 and try without IPFW.


(kgdb) up 11
#11 0xc021b7af in aue_encap (sc=0xc0828600, m=0xc05d4e00, idx=0)
    at ../../dev/usb/if_aue.c:1107
l1107           m_copydata(m, 0, m->m_pkthdr.len, c->aue_buf + 2);
(kgdb) list
1102    
1103            /*
1104             * Copy the mbuf data into a contiguous buffer, leaving two
1105             * bytes at the beginning to hold the frame length.
1106             */
1107            m_copydata(m, 0, m->m_pkthdr.len, c->aue_buf + 2);
1108            c->aue_mbuf = m;
1109    
1110            /*
1111             * XXX I don't understand why, but transfers that
(kgdb) print *m
$1 = {m_hdr = {mh_next = 0xc05ac100, mh_nextpkt = 0x0, 
    mh_data = 0xc05d4e22 "", mh_len = 54, mh_type = 2, mh_flags = 2}, M_dat = {
    MH = {MH_pkthdr = {rcvif = 0x0, len = 1514, header = 0x280602bc "\""}, 
      MH_dat = {MH_ext = {
          ext_buf = 0x30005000 <Address 0x30005000 out of bounds>, 
          ext_free = 0x311a0043, ext_size = 1629896704, ext_ref = 0x8c710}, 
        MH_databuf = "...data...", '\000' <repeats 41 times>}}, 
    M_databuf = "...data...", '\000' <repeats 41 times>}}
(kgdb) print *m->m_hdr.mh_next
$2 = {m_hdr = {mh_next = 0x0, mh_nextpkt = 0x0, 
    mh_data = 0xc05cd800 "...data..."..., 
    mh_len = 284, mh_type = 1, mh_flags = 1}, M_dat = {MH = {MH_pkthdr = {
        rcvif = 0xc0828600, len = 60, header = 0x280602bc "\""}, MH_dat = {
        MH_ext = {
          ext_buf = 0xc05cd800 "...data..."..., 
          ext_free = 0, ext_size = 2048, ext_ref = 0}, 
        MH_databuf = "...data..."}}, 
    M_databuf = "...data..."}}
(kgdb)


Jun Kuriyama // kuriyama@sky.rim.or.jp
            // kuriyama@FreeBSD.org


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?14461.62128.675464.13362J>