
|
[openbeosnetteam]
||
[Date Prev]
[06-2006 Date Index]
[Date Next]
||
[Thread Prev]
[06-2006 Thread Index]
[Thread Next]
[openbeosnetteam] Re: FreeBSD vs. our stack
- From: Oliver Tappe <openbeos@xxxxxxxxxxxxxxx>
- To: openbeosnetteam@xxxxxxxxxxxxx
- Date: Mon, 05 Jun 2006 20:33:11 +0200
On 2006-06-05 at 11:46:20 [+0200], Philippe Houdoin
<philippe.houdoin@xxxxxxx> wrote:
> Oliver asked:
>
> > Talking about the userland/kernel netstacks, I wonder if it should
> > be possible to run BONE's netstack our own userland stack in
> > parallel (using two separate network cards of course. I tried
> > experimenting with that but whenever I started net_stack_tester, the
> > BONE-stack stopped working.
> > I'm not sure at all, but shouldn't this work, at least in theory?
>
> It should work, and used to, not just theorically.
>
> > Or do the two stacks clash at a certain point?
>
> Nope, they should not.
> I guess something break.
> IIRC, we define the root of our network stack modules "names" in
> hearders/private/net/net_module.h. Except when it build for Haiku, it's
> "obos_network". Do you build the userland stack modules for haiku target?
No, I built it for BONE.
> BTW, maybe we could just define this root always to
> "haiku_network",whatvever
> the target, until we reach R1?
>
> Another issue could be in the way we try to open every /dev/net/*/* from the
> ethernet interface module. Several R5/BONE drivers wrongly allow being
> opened several times...
And so did our RTL8139 driver, which I have just fixed. That was the reason
the parallel testing of BONE/haiku-userland didn't work for me. Now that the
RTL8139 driver doesn't open a device multiple times, both stacks can be
tested. Many thanks for the hint!
cheers,
Oliver
|

|