From owner-freebsd-current Thu Jan 13 7:43:54 2000 Delivered-To: freebsd-current@freebsd.org Received: from serio.al.rim.or.jp (serio.al.rim.or.jp [202.247.191.123]) by hub.freebsd.org (Postfix) with ESMTP id D1F1514BF2 for ; Thu, 13 Jan 2000 07:43:49 -0800 (PST) (envelope-from kuriyama@sky.rim.or.jp) Received: from mail1.rim.or.jp by serio.al.rim.or.jp (8.8.8/3.7W/HMX-12) with ESMTP id AAA26665; Fri, 14 Jan 2000 00:43:45 +0900 (JST) Received: from rhea.sky.rim.or.jp (ppp539.kt.rim.or.jp [202.247.140.189]) by mail1.rim.or.jp (3.7W/) id AAA04060; Fri, 14 Jan 2000 00:43:47 +0900 (JST) Received: from localhost.sky.rim.or.jp (localhost [127.0.0.1]) by rhea.sky.rim.or.jp (8.9.3/3.7W/rhea-1.2) with ESMTP id AAA27972; Fri, 14 Jan 2000 00:43:46 +0900 (JST) Date: Fri, 14 Jan 2000 00:43:44 +0900 Message-ID: <14461.62128.675464.13362J@localhost.sky.rim.or.jp> From: Jun Kuriyama To: wpaul@skynet.ctr.columbia.edu Cc: current@freebsd.org Subject: Re: panic in uipc_mbuf.c or if_aue.c 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> User-Agent: Wanderlust/1.0.3 (Notorious) SEMI/1.13.3 (Komaiko) FLIM/1.12.5 (Hirahata) MULE XEmacs/20.4 (Emerald) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.3 - "Komaiko") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From: Bill Paul > 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
, ext_free = 0x311a0043, ext_size = 1629896704, ext_ref = 0x8c710}, MH_databuf = "...data...", '\000' }}, M_databuf = "...data...", '\000' }} (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