[emstar-design] Tutorial updates - Getting Started with the EmStar Simulator
Lewis Girod
girod@lecs.cs.ucla.edu
Sun, 7 Nov 2004 10:42:14 -0800
On Fri, 5 Nov 2004 14:11:30 -0800, Karen Yvonne Weeks
<karenyc@stanford.edu> wrote:
>
> > there are two unrelated problems here.
> >
> > first, alberto is correct, there is a command line option to define
> > the interface (it's not parsed from the 'provides' name). i think -d
> > may be correct -- but you can get it from usage info.
> >
> > the second issue is that those errors are actually a form of bug that
> > was introduced recently. there was a recent change to the way the
> > simulator gets configured that results in these errors. the problem
> > is that it should be initializing the link device _before_ parsing the
> > interface name. i didn't see this because i always had an eth0. in
> > the event that udpd is running in simulation, it will goto
> > "skip_init". i'm sort of offline but if you could test this fix and
> > check it in that would be great... (try running udpd in sim and
> > non-sim modes)
> >
> > to fix this, try moving lines 481-488 down to after line 523.
> >
> > Lew
> >
>
> This goes well beyond my current understanding of the simulator, but if
> anyone is planning on doing this I would appreciate it if you would let me
> know the status, so if necessary I can update the tutorial to reflect the
> state of play.
i made the change i described (moving the lines i mentioned down) and
checked it in
this should mean that you no longer see these problems with the
standard options (but do not add the option --provides udp1, this will
break things for you)
this is a bugfix and does not affect the tutorial instructions
>
> Thanks,
> Karen
>