[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns]: Who will help me?



My b5 is quite old, but when looking at lantest.tcl I found out it was using 
Mac/Csma/Ca wich is broken. So that test might be broken altogether.

The method initialized() of wired-phy.h spells like this:

  inline int     initialized() {
        return (node_ && uptarget_ && downtarget_ );
        }
        
You need to look at vlan.tcl in methods LanNode::addNode and LanIface::init to 
make sure this variables are correctly set for the Phy object.

$phy node $node			;# addNode	(sets node_)
$phy channel $channel		;# addNode	(sets downtarget_)
$phy up-target $mac		;# LanIface init (sets uptarget_)



>X-Authentication-Warning: mash.CS.Berkeley.EDU: majrdomo set sender to 
[email protected] using -f
>Date: Mon, 29 May 2000 15:51:30 +0800
>From: ��־����Rzl�� <[email protected]>
>To: "[email protected]" <[email protected]>
>Subject: [ns]: Who will help me?
>Mime-Version: 1.0
>Content-Transfer-Encoding: 8bit
>X-MIME-Autoconverted: from quoted-printable to 8bit by mash.CS.Berkeley.EDU id 
AAA97913
>
>Dear ns-users,
>
>When I use ns (version 2.1b5) to simulate the exaples lantest.tcl in ~ns\tcl\ex 
directory, a error message appears like this:
>	Assertion failed: initialized(), file wired-phy.cc, line 80
>
>	abnormal program termination
>
>How to solve this problem?
>
>
>
>            ��־����Rzl��
>            [email protected], [email protected]
>----------------------------------------------------
>Ren Zhiliang, The State Key Laboratory of 
>Itelligence Technology and Systems
>Tsinghua University, Tel 62778212
>Beijing, P.R. China

Tarik