Go to the FreeLists Home Page Home Signup Help Login
 



[openbeosnetteam] || [Date Prev] [04-2002 Date Index] [Date Next] || [Thread Prev] [04-2002 Thread Index] [Thread Next]

[openbeosnetteam] Progress???

  • From: "David Reid" <dreid@xxxxxxxxxxxx>
  • To: "OpenBeOS Network Team" <openbeosnetteam@xxxxxxxxxxxxx>
  • Date: Mon, 8 Apr 2002 03:22:24 +0100
Well, this will be almost the last one for a few days as I'm away again
soon...

A little tale that may amuse some and should shed some light on how
complicated our little project is getting...

Imagine my surprise when after having cvs'up'd all my code, got it all
working in userland and went to try the kernel version, only to have it hang
for no apparent reason when trying to init the socket driver??!! Puzzled, I
looked at the debugging output and saw - nothing! Not a whimper. I restarted
and added as much debugging as seemed prudent and tried again. More, but
still nothing of any value... So, I had a think and looked through recent
commits. yes Philippe, I'm afraid it was your moving the core->start() out
that did it! I think what's wrong is that almost all the modules actually
call get_module() for core, so you end up in a loop whereby the module can't
get a handle as it's not loaded (still in the B_MODULE_INIT phase) and the
module can't finish loading as it's waiting on the module... Anyway, I
reversed the patch (just that part) and tried again, all is now well.

yes, our architecture really is that twisted and involved :)  I'll be
writing some stuff about how it all works soon, so those of you panicking
can relax :) It's really not *that* bad, honest!

The TCP module is coming along with a lot of the code written, now just more
debugging required. Also some more changes to libnet and we're looking in
good shape...

Anyway, it's getting late so I'm off to bed. Now I'm happier it works (at
least a little bit) I'll commit the TCP stuff in the morning...

david







[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.