Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 1999 11:38:04 +0300
From:      Maxim Sobolev <sobomax@altavista.net>
To:        Alfred Perlstein <bright@rush.net>
Cc:        stable@FreeBSD.ORG
Subject:   Re: Tun interface related panic
Message-ID:  <379829EC.A575FC89@altavista.net>
References:  <Pine.BSF.3.96.990722161558.27774I-100000@cygnus.rush.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Alfred Perlstein wrote:

> On Thu, 22 Jul 1999, Maxim Sobolev wrote:
>
> > Hi folks,
> >
> > In order to make Real Player (G2 for Windows) work via my dial-on-demand
> > connection to the Internet I slightly modified my ppp.conf and
> > discovered that when I'm trying to connect to any realaudio server my
> > old good FreeBSD box paniced with a 100% correlation (checked 3 times).
> > This machine is a pretty old (Dell P60), but nevertheless it was stable
> > before this incident and didn't give me any troubles since 2.2.7 release
> > was installed there 1.5 years ago. Now it runs 3.2-STABLE, last cvsup'ed
> > and built 5 days ago. Below you can find all relevant to this panic
> > info.
> >
> > In case any other info will be necessary please let me know directly by
> > e-mail because I'm not subscribed on the -stable list. I will wait
> > awhile and will not delete this horrible vmcore.0 file.
>
> excelent bug report, can you please give me additional information
> though?

Nice to hear ;). Of course I'll give any info related to this panic.

> when entering gdb, please try to show me the variables in the
> tunwrite function, for some reason i think it's barfing becasue
> of a zero length write but i'm unsure.
>
> use the "up" command to get to tunwrite
> then "list" and try to show me the output
> of "print uio, top, mp" seperate though.
>
> try to give me as many vars as possible in the function via print.

Following is information you have requested (if I did something wrong, please
let me know with exact instructions):

(kgdb) up
#5  0xc01630f9 in tunwrite (dev=13312, uio=0xc2d15f14, flag=1)
    at ../../net/if_tun.c:559
559  top->m_pkthdr.len = tlen;
(kgdb) list
554   if (top)
555    m_freem (top);
556   return error;
557  }
558
559  top->m_pkthdr.len = tlen;
560  top->m_pkthdr.rcvif = ifp;
561
562 #if NBPFILTER > 0
563  if (ifp->if_bpf) {
(kgdb) print top
$1 = (struct mbuf *) 0x0
(kgdb) print uio
$2 = (struct uio *) 0xc2d15f14
(kgdb) print mp
$3 = (struct mbuf **) 0xc2d15e28
(kgdb) print tlen
$4 = 0
(kgdb) print ifp
$5 = (struct ifnet *) 0xc0225a84
(kgdb) q


-Maxim



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?379829EC.A575FC89>