Re: off-by-one error in ip_fragment, recently.

2004-01-11 Thread David Gilbert
One more update before I go to bed. On major change in if_gre.c has been to change gh->gi_len = m->m_pkthdr.len; to gh->gi_len = htons(m->m_pkthdr.len); ... which is a fairly semantic change. Now ip_output() is called immediately after that ... and ip_output seems to expect the length in the

Re: off-by-one error in ip_fragment, recently.

2004-01-11 Thread David Gilbert
Further in followup to the ip_fragment() bug, at the crash, off = 1500, len = 1480 and ip->ip_len = 21248. So m_copym() is being called with off > len. Dave. -- |David Gilbert, Independent Contractor. | Two thing

Compatibility problem: DFE-570TX (dc(4)) & Linksys router/switch

2004-01-11 Thread Kenneth W Cochran
Hello: Update... (Former subject was "(revised) 4.*9*-stable & Linksys WRT54G won't talk w/each other" on -questions and -net) Ethernet card: D-Link DFE-570TX Interfaces: dc0 - "public" to outside Internet, address assigned by DHCP/dhclient, 100baseTX full-duplex connection to a Motorola S

Gratituous ARP and the em driver

2004-01-11 Thread Nielsen
When I change IP addresses on my 'em' gigabit NIC, ARP isn't sent properly. This appears to be the problem in the following bug report, however i'm using the 'fixed' version of the em driver (in FreeBSD 4.9). http://www.freebsd.org/cgi/query-pr.cgi?pr=54488 Does anyone have any tips on how to g

Re: prism 2.5 timeout in wi_cmd 0x010b

2004-01-11 Thread Kevin Oberman
> Date: Sun, 11 Jan 2004 01:15:53 -0800 > From: Lorenzo Vicisano <[EMAIL PROTECTED]> > > same result: the patch doesn't fix the problem. > > However after upgrding the Prism firmware (1.1.0 -> 1.1.1) > the lock up stopped. > > Still I cannot get more that 2.5Mb/s Tx from the Prism (as a client)

Re: prism 2.5 timeout in wi_cmd 0x010b

2004-01-11 Thread Marko Zec
On Sunday 11 January 2004 23:00, Peter Radcliffe wrote: > "M. Warner Losh" <[EMAIL PROTECTED]> probably said: > > You really really really want to be using 1.4.5 firmware. Older > > firmware is known to be buggy. > > I've got newer firmware but no way to actually upgrade it. IBM > doesn;t supply a

Re: prism 2.5 timeout in wi_cmd 0x010b

2004-01-11 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Lorenzo Vicisano <[EMAIL PROTECTED]> writes: : Warner, : : On Sun, Jan 11, 2004 at 02:23:57PM -0700, M. Warner Losh wrote: : > In message: <[EMAIL PROTECTED]> : > Lorenzo Vicisano <[EMAIL PROTECTED]> writes: : > : However after upgrding the P

Re: prism 2.5 timeout in wi_cmd 0x010b

2004-01-11 Thread Lorenzo Vicisano
> I've got newer firmware but no way to actually upgrade it. IBM doesn;t > supply a meanthod to upgrade to anythig newer than I have installed... > > Got an installer ? I used the windoze installer and info from http://linux.junsun.net/intersil-prism/index.html Lorenzo __

Re: prism 2.5 timeout in wi_cmd 0x010b

2004-01-11 Thread Marko Zec
On Sunday 11 January 2004 10:15, Lorenzo Vicisano wrote: > same result: the patch doesn't fix the problem. > > However after upgrding the Prism firmware (1.1.0 -> 1.1.1) > the lock up stopped. > > Still I cannot get more that 2.5Mb/s Tx from the Prism (as a client) > to another client (Aironet). A

Re: prism 2.5 timeout in wi_cmd 0x010b

2004-01-11 Thread Lorenzo Vicisano
Warner, On Sun, Jan 11, 2004 at 02:23:57PM -0700, M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> > Lorenzo Vicisano <[EMAIL PROTECTED]> writes: > : However after upgrding the Prism firmware (1.1.0 -> 1.1.1) > : the lock up stopped. > > You really really really want to be usin

Re: Paper on device polling and packet capture performance

2004-01-11 Thread Petri Helenius
Bruce M Simpson wrote: I'd be happy to review other patches for this. My personal feeling though is that the actual performance increase may not be that great, but it's a case of someone implementing it and doing the math. Writing to memory, specially on SMP systems, is very expensive. So eli

Re: Paper on device polling and packet capture performance

2004-01-11 Thread Don Lewis
On 11 Jan, Bruce M Simpson wrote: > On Fri, Jan 09, 2004 at 03:51:43PM -0600, Guy Helmer wrote: >> I want to look at memory-mapped access to the BPF device. >> This would preserve the existing network device drivers >> while reducing mbuf copies, context switches/user-kernel >> transitions, and lat

Re: prism 2.5 timeout in wi_cmd 0x010b

2004-01-11 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Lorenzo Vicisano <[EMAIL PROTECTED]> writes: : However after upgrding the Prism firmware (1.1.0 -> 1.1.1) : the lock up stopped. You really really really want to be using 1.4.5 firmware. Older firmware is known to be buggy. Warner _

Re: off-by-one error in ip_fragment, recently.

2004-01-11 Thread David Gilbert
OK, I've created kern/61215 on this issue. The backtrace is: #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 #1 0xc0508512 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:372 #2 0xc0508868 in panic () at /usr/src/sys/kern/kern_shutdown.c:550 #3 0xc0544fa5 in m_copym (m=0x0, of

Re: Paper on device polling and packet capture performance

2004-01-11 Thread Bruce M Simpson
On Fri, Jan 09, 2004 at 03:51:43PM -0600, Guy Helmer wrote: > I want to look at memory-mapped access to the BPF device. > This would preserve the existing network device drivers > while reducing mbuf copies, context switches/user-kernel > transitions, and latency. Performance ought to be > compara

Re: prism 2.5 timeout in wi_cmd 0x010b

2004-01-11 Thread Lorenzo Vicisano
same result: the patch doesn't fix the problem. However after upgrding the Prism firmware (1.1.0 -> 1.1.1) the lock up stopped. Still I cannot get more that 2.5Mb/s Tx from the Prism (as a client) to another client (Aironet). A little better (3 / 3.5) from the Prism to the AP (DI 614+). "wi" is