Strange Ambient interaction with Miami
  • Order of the Butterfly
    Order of the Butterfly
    koan
    Posts: 303 from 2005/11/21
    From: UK
    Since starting to use MorphOS 1.4.5 I managed to set up Miami
    Deluxe and could get about 4000 cps from my dial up ISP through
    AWeb.

    It's not a perfect setup, I've had many strange hangs, AWeb not
    finishing downloading some files, giving up on some. AWeb suddenly
    decides it's not going to show any pictures sometimes. Some
    problems with YAM too, very slow to connect etc; so in general
    things were about usable but I really want to solve these problems.

    Now I am regularly updating Ambient from CVS and over the last month or two I notice that online connections have got really bad.
    Long pauses, Miami makes itself offline for no reason, etc.
    It's unusable now. I also noticed that I can't start Miami sometimes,
    I get an error window with "A TCP/IP stack is already running".

    The only thing I have changed is Ambient. So now I am wondering,
    how can I find the cause of the problem and fix it ? Possibly Ambient
    is using memory expected by the virtual bsdsocket.library but I don't
    know enough about these things.

    What tools can I use to debug this situation ?

    many thanks

    koan
  • »25.05.06 - 08:19
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Robin
    Posts: 741 from 2003/2/24
    From Ambient menu select "Exchange..."

    Thats a tool that can show you a few programs
    that are running (commodities)
    When Miami complains there is a stack running
    that means exactly that.

    Perhaps you run MOSNet, Genesi or old Miami
    at the same time?

    So have a look it there is MOSNet or Genesi
    or Miami listed in Exchange-Window when the
    complain comes up ...
  • »25.05.06 - 08:41
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    GK_LKA
    Posts: 481 from 2004/3/28
    From: Hungary
    I have the same config (MOS 1.4.5, MiamiDX, MUI4 alpha and CVS Ambient updated daily) and have no problems. Miami works upto 7MB/s without any troubles.
    [ GK / LKA Team ]
  • »25.05.06 - 08:48
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Framiga
    Posts: 363 from 2003/7/11
    From: Milan-Italy
    @koan

    about the slowdown, seen that your using dialup, probably is the debug output of MOS/AmbientCVS out of the serial port.

    "I get an error window with "A TCP/IP stack is already running"."

    check to don't have MosNET assigned with its own miami.library that could bangs with MiamiDX.
  • »25.05.06 - 09:33
    Profile
  • deb
  • Butterfly
    Butterfly
    deb
    Posts: 76 from 2004/11/17
    Having two of the same mcc's in sys:classes/mui and sys:morphos/classes/mui can give very strange problems in MorphOS.
  • »25.05.06 - 09:43
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    koan,

    as previously said, your problem is probably due to serial debug caused by ambient. ambient cvs versions are compiled with debug enabled and output quite a lot, enough to prevent your dialup link from working properly. With such a link, you'd better use ramdebug option at boot.

    framiga,

    about this "stack already running"...
    Listers use usergroup.library to display user/group columns. The problem is that amitcp/mosnet can't start if disk-based usergroup.library was already opened before. Same for miami. But if you only use miami and didn't install mosnet/amitcp, there is no problem, because usergroup.library is created on-the-fly (like bsdsocket.library) so ambient can't open it before the stack is running.

    Anyway this behaviour can probably be modified a bit, by only trying to open usergroup.library if a stack is detected.
  • »25.05.06 - 11:50
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Framiga
    Posts: 363 from 2003/7/11
    From: Milan-Italy
    Hello Fab

    interesting.. thanks :-)

    i didn't know that listers uses usergroup.library. (i'm using Scalos btw)

    Are you speaking about the latest AmbientCVS?
  • »25.05.06 - 14:44
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    Yes, ambient uses it since 5th april 2006. :)
  • »25.05.06 - 15:21
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    koan
    Posts: 303 from 2005/11/21
    From: UK
    @all

    Thanks for your replies.

    I am only running Miami, I definitely don't have another TCP/IP
    stack running.

    I will try Fab's suggestion: I will make sure ramdebug
    option is selected.

    koan
  • »25.05.06 - 16:09
    Profile