Re: Zeroconfig and Multicast DNS

2006-08-23 Thread Ian Smith
I've been watching this thread with great interest, having recently been introduced to the possibilities of OLSR (net/olsrd) for local (and beyond) P2P wi-mesh networks, and wondering if/how zeroconf fits in. Some refs: My discovery point, a great (online) book found from a review by Geoff Huston

Re: bge(4) one packet wedge

2006-08-23 Thread Gleb Smirnoff
On Wed, Aug 23, 2006 at 12:53:49PM -0700, David Christensen wrote: D> This "lost interrupt" type of problem is addressed by the use of the D> status_tag D> field in the status block. (Listed as bge_rsvd0 in the bge_status_block D> structure). D> Everytime the status block is updated a new tag va

Re: Zeroconfig and Multicast DNS

2006-08-23 Thread Fredrik Lindberg
Pat Lashley wrote: The one thing I'd be worried about is how the socket code handles connect() requests. My hope would be that it would pick the address that goes with the router to be used and thus the LLA would never be the source of a packet going to a non-LLA address in normal circumstanc

Re: ppp(8) / ng_pppoe: choked output queue?

2006-08-23 Thread Julian Elischer
Stefan Bethke wrote: Hi, just found my router being unable to reestablish the PPPoE connection this morning. This had been going on for about four hours before I restarted ppp. Any ideas what would cause the output queue to choke, why it would report Already in NETWORK phase, why the ou

ppp(8) / ng_pppoe: choked output queue?

2006-08-23 Thread Stefan Bethke
Hi, just found my router being unable to reestablish the PPPoE connection this morning. This had been going on for about four hours before I restarted ppp. Any ideas what would cause the output queue to choke, why it would report Already in NETWORK phase, why the output queue is choking

Re: bge(4) one packet wedge

2006-08-23 Thread Pyun YongHyeon
On Wed, Aug 23, 2006 at 12:53:49PM -0700, David Christensen wrote: > This "lost interrupt" type of problem is addressed by the use of the > status_tag > field in the status block. (Listed as bge_rsvd0 in the bge_status_block > structure). > Everytime the status block is updated a new tag va

Re: bge(4) one packet wedge

2006-08-23 Thread Oleg Bulyzhin
On Wed, Aug 23, 2006 at 06:21:28PM -0700, David Christensen wrote: > Here's how it's done in Linux: > > static void tg3_disable_ints(struct tg3 *tp) > { > tw32(TG3PCI_MISC_HOST_CTRL, >(tp->misc_host_ctrl | MISC_HOST_CTRL_MASK_PCI_INT)); > tw32_mailbox_f(MAILBOX_INTERRUPT_0

RE: bge(4) one packet wedge

2006-08-23 Thread David Christensen
> > > Could you please answer few questions? > > > > > > 1) I've found status tag is returned in status block even if > > > bit 9 of Misc. > > >Host Control Register is not set, is it ok? > > > > Which controller are you using? This bit is reserved on the 5700 > > (which didn't support tagg

Re: bge(4) one packet wedge

2006-08-23 Thread Oleg Bulyzhin
On Wed, Aug 23, 2006 at 05:54:24PM -0700, David Christensen wrote: > > On Wed, Aug 23, 2006 at 12:53:49PM -0700, David Christensen wrote: > > > This "lost interrupt" type of problem is addressed by the use of the > > > status_tag > > > field in the status block. (Listed as bge_rsvd0 in the > > b

RE: bge(4) one packet wedge

2006-08-23 Thread David Christensen
> On Wed, Aug 23, 2006 at 12:53:49PM -0700, David Christensen wrote: > > This "lost interrupt" type of problem is addressed by the use of the > > status_tag > > field in the status block. (Listed as bge_rsvd0 in the > bge_status_block > > structure). > > Everytime the status block is updated a

Re: bge(4) one packet wedge

2006-08-23 Thread Oleg Bulyzhin
On Wed, Aug 23, 2006 at 12:53:49PM -0700, David Christensen wrote: > This "lost interrupt" type of problem is addressed by the use of the > status_tag > field in the status block. (Listed as bge_rsvd0 in the bge_status_block > structure). > Everytime the status block is updated a new tag value i

Re: Zeroconfig and Multicast DNS

2006-08-23 Thread Pat Lashley
DHCP+static is rather weird, but common enough that we do support it. I suspect LLA with other address types is also of use at least some of the time so we should ideally support it. Actually if we don't mind always configuring a LLA I think we might support be OK right now as long as the LLA da

Re: Zeroconfig and Multicast DNS

2006-08-23 Thread Brooks Davis
On Wed, Aug 23, 2006 at 03:07:32PM -0400, Pat Lashley wrote: > >> I would agree that LLA is part of the minimal set; and as I mentioned > >> before, it is the only part for which there is currently no FreeBSD > >> solution. It should be possible to enable LLA on a per-NIC basis in > >> rc.conf; and

Re: Zeroconfig and Multicast DNS

2006-08-23 Thread Pat Lashley
> I would agree that LLA is part of the minimal set; and as I mentioned > before, it is the only part for which there is currently no FreeBSD > solution. It should be possible to enable LLA on a per-NIC basis in > rc.conf; and it should be possible to have both LLA and non-LLA addresses > on the s

Re: Zeroconfig and Multicast DNS

2006-08-23 Thread Pat Lashley
> 2. What are the linux flavors doing? It appears that the Avahi (http://avahi.org/) responder is the current leader, it's API compatible (client wise) with mDNSResponder. It is my impression that the mDNSResponder API compatibility lib/shim is a build-time option and not actually used by the

Re: Zeroconfig and Multicast DNS

2006-08-23 Thread Brooks Davis
On Wed, Aug 23, 2006 at 02:12:20PM -0400, Pat Lashley wrote: > >If no one else steps forward, I will be glad to lead the charge to get an > >implementation of this committed. Before I do though, we'll need to get > >some > >basic questions answered (some of which have already been discussed here).

Re: Zeroconfig and Multicast DNS

2006-08-23 Thread Pat Lashley
If no one else steps forward, I will be glad to lead the charge to get an implementation of this committed. Before I do though, we'll need to get some basic questions answered (some of which have already been discussed here). 1. What are the other *BSDs doing in this area? 2. What are the linux f

Re: Zeroconfig and Multicast DNS

2006-08-23 Thread Fredrik Lindberg
Doug Barton wrote: I find it very interesting. :) One of my side projects at the moment is to come further up to speed on the subject of multicast DNS in general, so I'm following this discussion with a great deal of interest. I'd really like to see FreeBSD take a lead in this area, since the mo

RE: bge(4) one packet wedge

2006-08-23 Thread David Christensen
This "lost interrupt" type of problem is addressed by the use of the status_tag field in the status block. (Listed as bge_rsvd0 in the bge_status_block structure). Everytime the status block is updated a new tag value is written to the status block. When the ISR starts the driver should record

Re: Zeroconfig and Multicast DNS

2006-08-23 Thread Brooks Davis
On Wed, Aug 23, 2006 at 12:48:02PM -0700, Doug Barton wrote: > Brooks, if you're reading this, can I count on you to broach the question > about the Apache license in [EMAIL PROTECTED] Will do. -- Brooks pgpxSVsk16XB7.pgp Description: PGP signature

Re: Zeroconfig and Multicast DNS

2006-08-23 Thread Doug Barton
Fredrik Lindberg wrote: > The thing is that I would like to see mDNS in base (and the other > zeroconfig utilities). ... > However that doesn't have a chance of happening unless a committer finds > it interesting. I find it very interesting. :) One of my side projects at the moment is to come

Re: bge(4) one packet wedge

2006-08-23 Thread Oleg Bulyzhin
On Wed, Aug 23, 2006 at 10:26:48PM +0400, Oleg Bulyzhin wrote: > On Wed, Aug 23, 2006 at 08:16:49PM +0400, Gleb Smirnoff wrote: > > Colleagues, > > > > I've faced a problem in bge(4) when a single packet is in the RX > > ring, but it isn't noticed by the driver. A reception of a packet > > tri

Re: bge(4) one packet wedge

2006-08-23 Thread Julian Elischer
Gleb Smirnoff wrote: Colleagues, I've faced a problem in bge(4) when a single packet is in the RX ring, but it isn't noticed by the driver. A reception of a packet triggers interrupt and both packets are processed - an old one and the new one. To reproduce the problem you need to run netper

Re: bge(4) one packet wedge

2006-08-23 Thread Oleg Bulyzhin
On Wed, Aug 23, 2006 at 08:16:49PM +0400, Gleb Smirnoff wrote: > Colleagues, > > I've faced a problem in bge(4) when a single packet is in the RX > ring, but it isn't noticed by the driver. A reception of a packet > triggers interrupt and both packets are processed - an old one > and the new o

Re: Zeroconfig and Multicast DNS

2006-08-23 Thread Fredrik Lindberg
Bruce Walker wrote: Fredrik Lindberg wrote: mDNSResponder-108 appears to still be under APSL 2, I don't know if that license is acceptable for base utilities, if it is, it might be a viable alternative. It should be under the Apache 2.0 license now. Yes, you are correct. I just grabbed the

Re: Zeroconfig and Multicast DNS

2006-08-23 Thread Brooks Davis
On Wed, Aug 23, 2006 at 01:45:10PM -0400, Bruce Walker wrote: > Fredrik Lindberg wrote: > >mDNSResponder-108 appears to still be under APSL 2, I don't > >know if that license is acceptable for base utilities, if it is, it > >might be a viable alternative. > > It should be under the Apache 2.0 lice

Re: Zeroconfig and Multicast DNS

2006-08-23 Thread Bruce Walker
Fredrik Lindberg wrote: mDNSResponder-108 appears to still be under APSL 2, I don't know if that license is acceptable for base utilities, if it is, it might be a viable alternative. It should be under the Apache 2.0 license now. Here's the announcement from the bonjour-dev list ...

Re: Zeroconfig and Multicast DNS

2006-08-23 Thread Fredrik Lindberg
Pat Lashley wrote: As I investigate further, it appears that avahi is the most mature, feature-rich, and widely supported and adopted mDNS implementation. The only potential drawback would be the GPL. I've also discovered that Apple are moving the iCal server, Bonjour, and launchd to the A

bge(4) one packet wedge

2006-08-23 Thread Gleb Smirnoff
Colleagues, I've faced a problem in bge(4) when a single packet is in the RX ring, but it isn't noticed by the driver. A reception of a packet triggers interrupt and both packets are processed - an old one and the new one. To reproduce the problem you need to run netperf (from ports collect