Re: mbuf usage in packets..

2008-04-28 Thread Mike Silbersack
On Mon, 28 Apr 2008, Julian Elischer wrote: profiling diff attached.. slightly imporved version that allows you to clear the stats without rebooting I see an indentation glitch and a spelling error or two, but the general concept looks great! If you want to wait a few days, maybe I cou

Re: mbuf usage in packets..

2008-04-28 Thread Julian Elischer
Julian Elischer wrote: I wrote a cruddy little profiler to profile the packets being sent on my system.. after a bit of a live session including things like "ls -lR /usr" [...] profiling diff attached.. slightly imporved version that allows you to clear the stats without rebooting Inde

Re: panic: _mtx_lock_sleep: recursed on non-recursive mutex if_addr_mtx

2008-04-28 Thread Ed Maste
On Tue, Mar 25, 2008 at 04:00:33PM -0400, Ed Maste wrote: > GENERIC CURRENT as of this morning. > > panic: _mtx_lock_sleep: recursed on non-recursive mutex if_addr_mtx @ > /d2/emaste/HEAD/src/sys/netinet6/ip6_output.c:719 > ... > panic() at panic+0x176 > _mtx_lock_sleep() at _mtx_lock_sleep+0x18

Re: if_vge.c TX checksum errors on 6.3R-p2 7.0R-p1

2008-04-28 Thread Pyun YongHyeon
On Mon, Apr 28, 2008 at 02:19:17AM -0700, Dewayne Geraghty wrote: > Hi, I have four VIA motherboards each containing a vge0 device, three are > misbehaving. > > On both the 7.0R-p1 and the 6.3Rp2 motherboards, the network cable needs > to be unplugged and replugged into the motherboard

mbuf usage in packets..

2008-04-28 Thread Julian Elischer
I wrote a cruddy little profiler to profile the packets being sent on my system.. after a bit of a live session including things like "ls -lR /usr" I dumped out the results: [EMAIL PROTECTED]:sysctl -b kern.ipc.mbufprofile wasted: 0 0 0 0 0 736 13092 66773 54226 0 23 2322 21696 0 0 0 used: 0 0

Re: kern/123172: [bce] Watchdog timeout problems with if_bce

2008-04-28 Thread vwe
Synopsis: [bce] Watchdog timeout problems with if_bce State-Changed-From-To: open->feedback State-Changed-By: vwe State-Changed-When: Mon Apr 28 21:21:28 UTC 2008 State-Changed-Why: Please show us output of `ifconfig bge0' Also, can you please check if you still experience errors when disabling

RE: kern/123166: [re] CARP messages filtered by Realtek driver on > 6.2

2008-04-28 Thread Auke Zaaiman
Hi, Below the output of pciconf -l: [EMAIL PROTECTED]:8:0: class=0x02 card=0x816910ec chip=0x816910ec rev=0x10 hdr=0x00 [EMAIL PROTECTED]:9:0: class=0x02 card=0x816910ec chip=0x816910ec rev=0x10 hdr=0x00 And yes, we are able and willing to establish exactly which change has broken the

Re: kern/123123: [re][patch] Realtek RTL8111C detection and failure

2008-04-28 Thread vwe
Old Synopsis: [re] Realtek RTL8111C detection and failure New Synopsis: [re][patch] Realtek RTL8111C detection and failure Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: vwe Responsible-Changed-When: Mon Apr 28 20:49:41 UTC 2008 Responsible-Changed-Why: this is lo

Re: kern/123166: [re] CARP messages filtered by Realtek driver on > 6.2

2008-04-28 Thread gavin
Old Synopsis: CARP messages filtered by Realtek driver on > 6.2 New Synopsis: [re] CARP messages filtered by Realtek driver on > 6.2 State-Changed-From-To: open->feedback State-Changed-By: gavin State-Changed-When: Mon Apr 28 19:46:36 UTC 2008 State-Changed-Why: To submitter: Can you give the ou

Re: kern/123138: [bpf] [patch] bpf incorrectly determines outgoing routed packets as incoming when BIOCSDIRECTION is used

2008-04-28 Thread jkim
Synopsis: [bpf] [patch] bpf incorrectly determines outgoing routed packets as incoming when BIOCSDIRECTION is used Responsible-Changed-From-To: freebsd-net->jkim Responsible-Changed-By: jkim Responsible-Changed-When: Mon Apr 28 19:19:36 UTC 2008 Responsible-Changed-Why: This is my bug. Grab. h

Re: kern/123172: [bce] Watchdog timeout problems with if_bce

2008-04-28 Thread gavin
Old Synopsis: Watchdog timeout problems with if_bce New Synopsis: [bce] Watchdog timeout problems with if_bce Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: gavin Responsible-Changed-When: Mon Apr 28 19:11:25 UTC 2008 Responsible-Changed-Why: Over to maintainers h

Re: OS throws away large packets

2008-04-28 Thread Tom Judge
Mr Y wrote: Hi all, I'm trying to implement Large Recieve Offload for an Ethernet driver on FreeBSD 6.3, but all my >MTU packets are being thrown by the OS. I'm using mbuf chains in this imlpementation, each mbuf is a cluster of MCLBYTES bytes. They are linked by the m_next pointer. The first pa

OS throws away large packets

2008-04-28 Thread Mr Y
Hi all, I'm trying to implement Large Recieve Offload for an Ethernet driver on FreeBSD 6.3, but all my >MTU packets are being thrown by the OS. I'm using mbuf chains in this imlpementation, each mbuf is a cluster of MCLBYTES bytes. They are linked by the m_next pointer. The first packet being thr

Re: if_vge.c TX checksum errors on 6.3R-p2 7.0R-p1

2008-04-28 Thread Andrew Snow
Dewayne Geraghty wrote: > Hi, I have four VIA motherboards each containing a vge0 device, three are misbehaving. > > On both the 7.0R-p1 and the 6.3Rp2 motherboards, the network cable needs to be unplugged and replugged into the motherboard, before ping will respond in either direction. The

Re: kern/122875: "rstatd: Can't get namelist. 1" - fbsd 7.0-stable (works ok in 7.0-release)

2008-04-28 Thread Kris Kennaway
hotlips Internet admin wrote: The following reply was made to PR kern/122875; it has been noted by GNATS. From: hotlips Internet admin <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: kern/122875: "rstatd: Can't get namelist. 1" - fbsd 7.0-stable (

Re: misc/123066: kernel trap with ipsec

2008-04-28 Thread misha saf
The following reply was made to PR kern/123066; it has been noted by GNATS. From: misha saf <[EMAIL PROTECTED]> To: "Bjoern A. Zeeb" <[EMAIL PROTECTED]> Cc: Kris Kennaway <[EMAIL PROTECTED]>, , <[EMAIL PROTECTED]> Subject: Re: misc/123066: kernel trap with ipsec Date: Mon, 28 Apr 2008 15:30:12 +0

custom modifications to libalias for detailed translation information (patch included)

2008-04-28 Thread David Todd
Gentlemen, I've expanded upon the work of Masahiro Sekiguchi <[EMAIL PROTECTED]>'s patch for libalias located at: http://www.fexx.org/ybb/alias_db.c.diff.txt This alias_db.c diff modified libalias in a way to replace the original /var/log/alias.log file with one that reported running statistics i

Re: misc/123066: kernel trap with ipsec

2008-04-28 Thread misha saf
* "Bjoern A. Zeeb" <[EMAIL PROTECTED]> [Mon, 28 Apr 2008 08:22:20 + (UTC)]: On Mon, 28 Apr 2008, misha saf wrote: Hi, > db> trace > Tracing pid 996 tid 100075 td 0xc1ed2210 > generic_bcopy(c1c8b700, c1eeac80,0,14,9,...) at generic_bcopy+0x1a > ipsec4_process_packet(c1c8b700, c1eeac80,20,0,c

Current problem reports assigned to freebsd-net@FreeBSD.org

2008-04-28 Thread FreeBSD bugmaster
Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description o kern/35442 net[sis] [patch] Problem transmitting runts in if_sis dri a kern/38554 netchang

if_vge.c TX checksum errors on 6.3R-p2 7.0R-p1

2008-04-28 Thread Dewayne Geraghty
Hi, I have four VIA motherboards each containing a vge0 device, three are misbehaving. On both the 7.0R-p1 and the 6.3Rp2 motherboards, the network cable needs to be unplugged and replugged into the motherboard, before ping will respond in either direction. The driver is issueing "incorre

Re: capturing packets on 250mb link

2008-04-28 Thread Ganbold
Vlad GALU wrote: On 4/28/08, Ganbold <[EMAIL PROTECTED]> wrote: Vlad, Vlad GALU wrote: On 4/28/08, Ganbold <[EMAIL PROTECTED]> wrote: Hi all, What is the best way to capture packets on 250mb link? What kernel features/modules or tools (less CPU/RAM overhead) should I

Re: capturing packets on 250mb link

2008-04-28 Thread Vlad GALU
On 4/28/08, Vlad GALU <[EMAIL PROTECTED]> wrote: > On 4/28/08, Ganbold <[EMAIL PROTECTED]> wrote: > > Vlad, > > > > > > Vlad GALU wrote: > > > > > On 4/28/08, Ganbold <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Hi all, > > > > > > > > What is the best way to capture packets on 250mb

Re: capturing packets on 250mb link

2008-04-28 Thread Vlad GALU
On 4/28/08, Ganbold <[EMAIL PROTECTED]> wrote: > Vlad, > > > Vlad GALU wrote: > > > On 4/28/08, Ganbold <[EMAIL PROTECTED]> wrote: > > > > > > > Hi all, > > > > > > What is the best way to capture packets on 250mb link? > > > What kernel features/modules or tools (less CPU/RAM overhead) should I

Re: capturing packets on 250mb link

2008-04-28 Thread Ganbold
Vlad, Vlad GALU wrote: On 4/28/08, Ganbold <[EMAIL PROTECTED]> wrote: Hi all, What is the best way to capture packets on 250mb link? What kernel features/modules or tools (less CPU/RAM overhead) should I use? Given your OS version, I'd say that setting the BPF buffer size to a

Re: misc/123066: kernel trap with ipsec

2008-04-28 Thread Bjoern A. Zeeb
The following reply was made to PR kern/123066; it has been noted by GNATS. From: "Bjoern A. Zeeb" <[EMAIL PROTECTED]> To: misha saf <[EMAIL PROTECTED]> Cc: Kris Kennaway <[EMAIL PROTECTED]>, freebsd-net@FreeBSD.org, [EMAIL PROTECTED] Subject: Re: misc/123066: kernel trap with ipsec Date: Mon

Re: capturing packets on 250mb link

2008-04-28 Thread Vlad GALU
On 4/28/08, Ganbold <[EMAIL PROTECTED]> wrote: > Hi all, > > What is the best way to capture packets on 250mb link? > What kernel features/modules or tools (less CPU/RAM overhead) should I use? Given your OS version, I'd say that setting the BPF buffer size to around 1MB and setting the moni

Re: misc/123066: kernel trap with ipsec

2008-04-28 Thread Bjoern A. Zeeb
On Mon, 28 Apr 2008, misha saf wrote: Hi, db> trace Tracing pid 996 tid 100075 td 0xc1ed2210 generic_bcopy(c1c8b700, c1eeac80,0,14,9,...) at generic_bcopy+0x1a ipsec4_process_packet(c1c8b700, c1eeac80,20,0,c1f00924,...) at ipsec4_process_packet+0x28b Could you alos lookup which line of code

Re: Connecting P1i to FreeBSD

2008-04-28 Thread Sepherosa Ziehau
On Mon, Apr 28, 2008 at 7:22 AM, Ivan Voras <[EMAIL PROTECTED]> wrote: > Sepherosa Ziehau wrote: > > > > > > > I think you are using iwi to do the tap, could you put iwi into > > > monitor mode, since iwi is "smart" device which may filter certain > > > type of frames in non-monitor mode? > > >