From nobody@FreeBSD.org  Mon May  2 14:46:25 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 868E016A4CF
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  2 May 2005 14:46:25 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4798E43D39
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  2 May 2005 14:46:25 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j42EkOWP041184
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 2 May 2005 14:46:24 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j42EkOwU041183;
	Mon, 2 May 2005 14:46:24 GMT
	(envelope-from nobody)
Message-Id: <200505021446.j42EkOwU041183@www.freebsd.org>
Date: Mon, 2 May 2005 14:46:24 GMT
From: Grayich <grayich@ukr.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: bug /dev/bpf           (/usr/ports/net-mgmt/bpft/)
X-Send-Pr-Version: www-2.3

>Number:         80539
>Category:       kern
>Synopsis:       bug /dev/bpf           (/usr/ports/net-mgmt/bpft/)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 02 14:50:10 GMT 2005
>Closed-Date:    Mon Oct 24 01:58:08 GMT 2005
>Last-Modified:  Mon Oct 24 01:58:08 GMT 2005
>Originator:     Grayich
>Release:        FreeBSD 5.4-RC3
>Organization:
>Environment:
FreeBSD homnet.homeip.net FreeBSD 5.4-RC3 FreeBSD FreeBSD 5.4-RC3 #0: Mon May  2 15:28:05 EEST 2005     gray@homnet.homeip.net:/usr/obj/usr/src/sys/NEW  i386
>Description:
Excuse what not on English. > (russian)

 '5.3-RELEASE-p10' (/usr/ports/net-mgmt/bpft/)  !

 'make world'  'FreeBSD 5.4-RC3':
'bpft'     ,  trafstat -i ng0  ,  'trafsave all'  ...
, :
  5_3 
make buildworld
make buildkernel
make installkernel
reboot
  'bpft'    ( 'make installworld' !!!)

 ,       /dev/bpf

>How-To-Repeat:

>Fix:
      
>Release-Note:
>Audit-Trail:

From: Gray <grayich@ukr.net>
To: bug-followup@FreeBSD.org, grayich@ukr.net
Cc:  
Subject: Re: i386/80539: bug /dev/bpf           (/usr/ports/net-mgmt/bpft/)
Date: Thu, 5 May 2005 00:08:36 +0300

 Translation + addition:
 
 In '5.3-RELEASE-p10' (/usr/ports/net-mgmt/bpft /) perfectly works!
 Also works in 5.4 PRELEASE...
 
 Has made ' make world ' up to ' FreeBSD 5.4-RC3 ':
 'bpft' is started and like as works, but trafstat -i ng0 in general hangs, and ' trafsave all ' nothing deduces...
 Further, I do(make):
 Reception of initial codes 5_3 and performance:
 make buildworld
 make buildkernel KERNCONF=NEW
 make installkernel KERNCONF=NEW (in 'NEW' all with 'GENERIC' with addition of options 'IPFW')
 reboot
 Then 'bpft' already begins to work (without ' make installworld '!!!)
 
 There are suspicions, that there are problems with a nucleus in '/dev/bpf '
 
 

From: "Volker Stolz" <vs@freebsd.org>
To: bug-followup@freebsd.org, grayich@ukr.net, aquatique-ports@rambler.ru
Cc:  
Subject: Re: i386/80539: bug /dev/bpf           (/usr/ports/net-mgmt/bpft/)
Date: Fri, 19 Aug 2005 15:19:06 +0200

 Evgueni, could you please take a look at this and translate or possibly  
 even solve this problem?
 
 Volker

From: "Evgueni V. Gavrilov" <aquatique@rusunix.org>
To: bug-followup@FreeBSD.org, grayich@ukr.net
Cc:  
Subject: Re: i386/80539: bug /dev/bpf           (/usr/ports/net-mgmt/bpft/)
Date: Sat, 20 Aug 2005 11:27:42 +0700

 I'll research this issue
 
 to tell the truth, I didn't quite catch the difference and the ways of 
 step 1 and 2. possibly first step (upgrading to 5.4-RC3) was done using 
 binary upgrade
 
 Translation of original PR description follows
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 /usr/ports/net-mgmt/bpft/ works fine in 5.3-RELEASE-p10
 
 1) the system was upgraded to 5.4-RC3
 bpft starts and works, but `trafstat -i ng0` hangs and `trafsave all` 
 shows nothing
 
 2) the system was upgraded to RELENG_5_3 further
 
 new world was built, new kernel was built and installed, but new world 
 was not installed, i.e. new kernel was built using old world
 
 such a system runs bpft fine, so the originator suspects the troubles in 
 bpf(4) of the RELENG_5_3 branch

From: "Evgueni V. Gavrilov" <aquatique@rusunix.org>
To: bug-followup@FreeBSD.org, grayich@ukr.net,
	"Volker Stolz" <vs@freebsd.org>
Cc:  
Subject: Re: i386/80539: bug /dev/bpf           (/usr/ports/net-mgmt/bpft/)
Date: Sat, 20 Aug 2005 16:43:23 +0700

 looks like the source of the trouble is a desync of world/kernel, 
 mentioned in original PR description
 
 aquatique# trafstat -i fxp0
 
   (fxp0) aquatique.domain at Aug 20 16:33:37 - Aug 20 16:36:21
   Summary: 232207 data bytes, 297211 all bytes, 7 records
       From           Port          To            Port  Proto     Data 
      All
 ch.domain          ssh     aquatique.domain     50302   tcp     191744 
     225440
 lionant-2.domain   syslog  aquatique.domain     syslog  udp      22614 
      31910
 aquatique.domain   50302   ch.domain            ssh     tcp        240 
      19116
 rusunix.org        imaps   aquatique.domain     50034   tcp       9114 
      10258
 www.freebsd.org    http    aquatique.domain     60597   tcp       5475 
       5899
 aquatique.domain   50034   rusunix.org          imaps   tcp       1061 
       2321
 dhcp7-7.domain     netbio  172.16.255.255       netbio  udp       1959 
       2267
 aquatique# trafsave all
 aquatique# trafsave fxp0
 aquatique# trafsave all
 aquatique# traflog -i fxp0 -l
   #        Started            Dumped            Data         All     Recs
 001   Aug 20 16:33:37   Aug 20 16:36:51       278710       359290     11
 002   Aug 20 16:36:51   Aug 20 16:37:05        19637        25513      3
 003   Aug 20 16:37:05   Aug 20 16:37:57        62720        80588      3
 aquatique# uname -a
 FreeBSD aquatique.domain 5.4-RELEASE-p4 FreeBSD 5.4-RELEASE-p4 #0: Fri 
 Jul  8 10:41:44 OMSST 2005 
 aquatique@aquatique.domain:/big2/obj/usr/src/sys/AQUATIQUE  i386
State-Changed-From-To: open->feedback 
State-Changed-By: vs 
State-Changed-When: Mon Aug 22 09:11:24 GMT 2005 
State-Changed-Why:  
Can you please rebuild both world and kernel and check again? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80539 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Mon Oct 24 01:56:37 GMT 2005 
State-Changed-Why:  
Feedback timeout (2 months).  This most likely was a problem with the 
userland and kernel being out of sync. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=80539 
>Unformatted:
