Re: Ethernet Switch Framework

2012-01-28 Thread Warner Losh
On Jan 28, 2012, at 4:00 PM, Juli Mallett wrote: > It makes me wonder if the understanding of the relationship in FreeBSD > isn't backwards. Yes, the MAC sits on a bus and is memory-mapped, but > you can conceptualize of it as a child of the PHY, rather than the > parent of it, especially in syst

Re: 9-stable - ifmedia_set: no match for 0x0/0xfffffff

2012-01-28 Thread Randy Bush
> What happens if you set hw.bge.allow_asf to 0 and use auto-negotiation > on both sides? it works! the switch was already auto-neg, and i forced auto-neg on the server side. thanks. this was not pleasant. did i remember to whine that i am in tokyo and the server is on the beast coast of the s

Re: kern/164534: [bpf] net.bpf.zerocopy_enable=1 makes pflogd eat cpu and hang

2012-01-28 Thread csjp
Synopsis: [bpf] net.bpf.zerocopy_enable=1 makes pflogd eat cpu and hang Responsible-Changed-From-To: freebsd-net->csjp Responsible-Changed-By: csjp Responsible-Changed-When: Sun Jan 29 02:52:14 UTC 2012 Responsible-Changed-Why: Take, we have fixes for this, but not real sure we have a solution ag

Re: Ethernet Switch Framework

2012-01-28 Thread Juli Mallett
On Sat, Jan 28, 2012 at 14:12, Aleksandr Rybalko wrote: > As I see from your patch, mdio/miiproxy require special bits in MAC > driver. When I design switch framework, I keeping in mind that > MAC drivers should be standard as possible I don't understand why this is desirable in practice. It's a

Re: Ethernet Switch Framework

2012-01-28 Thread Aleksandr Rybalko
On Wed, 25 Jan 2012 09:57:32 +0100 Stefan Bethke wrote: > My suggestion is to take my bus attachment code (incl. mdio and > miiproxy) and ray's ioctl and userland code. As I see from your patch, mdio/miiproxy require special bits in MAC driver. When I design switch framework, I keeping in mind t

Re: 9-stable - ifmedia_set: no match for 0x0/0xfffffff

2012-01-28 Thread Marius Strobl
On Sun, Jan 29, 2012 at 04:56:28AM +0900, Randy Bush wrote: > > Hrm, the problem apparently is that while when probing, the PHY > > still knows about the media it supports, it just has forgotten > > about it after the reset during attach. There was a change prior > > to 8.2 which would turn this fr

Re: 9-stable - ifmedia_set: no match for 0x0/0xfffffff

2012-01-28 Thread Randy Bush
>> Have you tried to set the loader-tunable hw.bge.allow_asf to 0? >> The default for that option still is different between 8 and 9+. > it no longer panics when booting, but the interface comes up not > seeing carrier an additional datum. o with hw.bge.allow_asf untouched, i.e. default o with

Re: 9-stable - ifmedia_set: no match for 0x0/0xfffffff

2012-01-28 Thread Randy Bush
> Hrm, the problem apparently is that while when probing, the PHY > still knows about the media it supports, it just has forgotten > about it after the reset during attach. There was a change prior > to 8.2 which would turn this from silently being ignored (which > generally might or might not work

Re: a question about flowtable

2012-01-28 Thread Kip Macy
On 01/28/2012 02:12 AM, Weongyo Jeong wrote: > Hello Kip, > > I had looked flowtable code briefly and still not sure whether I > understand it correctly. At this moment I have a question. > > Is it possible to apply flowtable techniques for forwarding packets? If > I understand it right it looks

Re: kerberized NFS

2012-01-28 Thread Giulio Ferro
Thank you to all of you for your replies. I'll try next week and let you know. My mail server was down for a few hours, but everything should be ok now... Giulio. ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebs

Re: kerberized NFS

2012-01-28 Thread Rick Macklem
Giulio Ferro wrote: > I forgot to mentioned that I compiled both servers with > option KGSSAPI and device crypto, and I enabled gssd > on both. > > Is there anyone who was able to configure this setup? > I had a server at the nfsv4 testing event last June and it worked ok. I haven't tried one sinc

Re: 9-stable - ifmedia_set: no match for 0x0/0xfffffff

2012-01-28 Thread Marius Strobl
On Sat, Jan 28, 2012 at 09:34:04PM +0900, Randy Bush wrote: > >> ok, i > >> o used device.hints to disable both bge interfaces > >> o booted successfully > >> o used serial console > >> o ifconfiged bge0 to the normal addresses > >> o and it is working > >> > >> i suspect that something

Re: 9-stable - ifmedia_set: no match for 0x0/0xfffffff

2012-01-28 Thread Randy Bush
>> ok, i >> o used device.hints to disable both bge interfaces >> o booted successfully >> o used serial console >> o ifconfiged bge0 to the normal addresses >> o and it is working >> >> i suspect that something sucks in bge initialization at startup. >> insightful, i know. sorry. > >

Re: 9-stable - ifmedia_set: no match for 0x0/0xfffffff

2012-01-28 Thread Marius Strobl
On Thu, Jan 26, 2012 at 12:24:11PM +0900, Randy Bush wrote: > ok, i > o used device.hints to disable both bge interfaces > o booted successfully > o used serial console > o ifconfiged bge0 to the normal addresses > o and it is working > > i suspect that something sucks in bge initializa

Re: kerberized NFS

2012-01-28 Thread Giulio Ferro
I forgot to mentioned that I compiled both servers with option KGSSAPI and device crypto, and I enabled gssd on both. Is there anyone who was able to configure this setup? ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinf