[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-atm
Subject:    Problem with LANE initialization at Linux boot
From:       "Marian Mihok" <mihok_marian () vse ! sk>
Date:       2000-04-21 19:46:58
[Download RAW message or body]

Hi
I have one problem which I try to solve, but I'm not successful.

I have a PC with the IBM Turboways 25 Mbps NIC adapter, I installed driver version \
it25-0.59c, kernel version 2.2.9 and protocol version 0.59, as it is recommended in \
driver installation docs. We use LAN emulation so I compiled ilmid, atmsigd and \
zepelin from ATM distribution. I wrote the following script:

echo "Starting atmsigd"
start-stop-daemon --start --exec /usr/local/sbin/atmsigd &
sleep 5
echo "Starting ilmid"
start-stop-daemon --start --exec /usr/local/sbin/ilmid -- -l /var/log/ilmid.log -u \
3.1 & sleep 5
echo "Starting zeppelin"
start-stop-daemon --start --exec /usr/local/sbin/zeppelin -- -t 1516 -n serv-intra -i \
0 -s 451122334455667788000001010000821082100F & sleep 8

At linux boot I load ATM driver as a module. After I logon, when I run this script, \
everything works OK. lec0 is created, I can use it without any problems.

The problem begins, when I run this script at linux startup. I tried to start it out \
of an S99 in rc3.d, so this script was executed as the last. This script was \
executed, atmsigd and ilmid were initialized correctly, but zeppelin ended with the \
following error:

zeppelin:lec.c: Entering Join phase
zeppelin:lec.c: Skipping LECS, connecting straight to LES
zeppelin:conn.c: init_conn_params, conn_type 1
zeppelin:conn.c: init_conn_params, QoS 'ubr,aal5:max_sdu=1516'
zeppelin:conn.c: snap[0] = 0x00
zeppelin:conn.c: snap[1] = 0xa0
zeppelin:conn.c: snap[2] = 0x3e
zeppelin:conn.c: snap[3] = 0x00
zeppelin:conn.c: snap[4] = 0x01
zeppelin:conn.c: Outgoing call setup
zeppelin:conn.c: LE Control SVC setup
zeppelin:conn.c: get_socket: got fd 4
zeppelin:conn.c: bind error: Cannot assign requested address
zeppelin:lec.c: Control direct SVC failed
zeppelin:conn.c: random_delay: sleeping 3.86000 seconds
etc. it repeated

I got the same error when I specified our LECS server with c parameter or when I run \
zeppelin without parameters.

When I ran this script manually, I could specify LECS, LES or nothing to zeppelin, \
and it initialized OK.

One more note:
When I didn't specify -l parameter to ilmid, I got the same error in zeppelin, even \
if I ran this script manually. The log file, which I specify after -l parameter is \
created, but it is allways empty.

I thied it repeatedly about 50 times, I tried various combinations with script file \
and I always got the same results.

Please, help me if you can.

Thank you very much.

Marian Mihok


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-2" http-equiv=Content-Type>
<META content="MSHTML 5.00.2014.210" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face="Arial CE" size=2></FONT></DIV>
<DIV>Hi</DIV>
<DIV><FONT face="Arial CE" size=2>I have one problem which I try to solve, but 
I'm not successful.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial CE"><FONT size=2>I&nbsp;have a PC with&nbsp;the IBM 
Turboways 25 Mbps NIC adapter, I installed driver version <I>it25-0.59c</I>, 
kernel version 2.2.9 and protocol version 0.59, as it is recommended in driver 
installation docs.</FONT></FONT></DIV>
<DIV><FONT face="Arial CE" size=2>We use LAN emulation so I compiled ilmid, 
atmsigd and zepelin from ATM distribution.</FONT></DIV>
<DIV><FONT face="Arial CE" size=2>I wrote the following script:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial CE" size=2>echo "Starting atmsigd"<BR>start-stop-daemon 
--start --exec /usr/local/sbin/atmsigd &amp;<BR>sleep 5<BR>echo "Starting 
ilmid"<BR>start-stop-daemon --start --exec /usr/local/sbin/ilmid -- -l 
/var/log/ilmid.log -u 3.1 &amp;<BR>sleep 5<BR>echo "Starting 
zeppelin"<BR>start-stop-daemon --start --exec /usr/local/sbin/zeppelin -- -t 
1516 -n serv-intra -i 0 -s 451122334455667788000001010000821082100F 
&amp;<BR>sleep 8</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial CE" size=2>At linux boot I load ATM driver as a module. 
After I logon, when I run this script, everything works OK. lec0 is created, I 
can use it without any problems.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial CE" size=2>The problem begins, when I run this script at 
linux startup. I tried to start it out of an S99 in rc3.d, so this script was 
executed as the last. This script was executed, atmsigd and ilmid were 
initialized correctly, but zeppelin ended with the following error:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial CE" size=2>zeppelin:lec.c: Entering Join 
phase</FONT></DIV>
<DIV><FONT face="Arial CE" size=2>zeppelin:lec.c: Skipping LECS, connecting 
straight to LES</FONT></DIV>
<DIV><FONT face="Arial CE" size=2>zeppelin:conn.c: init_conn_params, conn_type 
1</FONT></DIV>
<DIV><FONT face="Arial CE" size=2>zeppelin:conn.c: init_conn_params, QoS 
'ubr,aal5:max_sdu=1516'</FONT></DIV>
<DIV><FONT face="Arial CE" size=2>zeppelin:conn.c: snap[0] = 
0x00<BR>zeppelin:conn.c: snap[1] = 0xa0<BR>zeppelin:conn.c: snap[2] = 
0x3e<BR>zeppelin:conn.c: snap[3] = 0x00<BR>zeppelin:conn.c: snap[4] = 
0x01<BR>zeppelin:conn.c: Outgoing call setup</FONT></DIV>
<DIV><FONT face="Arial CE" size=2>zeppelin:conn.c: LE Control SVC 
setup</FONT></DIV>
<DIV><FONT face="Arial CE" size=2>zeppelin:conn.c: get_socket: got fd 
4</FONT></DIV>
<DIV><FONT face="Arial CE" size=2>zeppelin:conn.c: bind error: Cannot assign 
requested address</FONT></DIV>
<DIV><FONT face="Arial CE" size=2>zeppelin:lec.c: Control direct SVC 
failed</FONT></DIV>
<DIV><FONT face="Arial CE" size=2>zeppelin:conn.c: random_delay: sleeping 
3.86000 seconds</FONT></DIV>
<DIV><FONT face="Arial CE" size=2>etc. it repeated</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial CE" size=2>I got the same error when I specified our LECS 
server with c parameter or when I run zeppelin without parameters.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial CE" size=2>When I ran this script manually, I could 
specify LECS, LES or nothing to zeppelin, and it initialized OK.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial CE" size=2>One more note:</FONT></DIV>
<DIV><FONT face="Arial CE" size=2>When I didn't specify -l parameter to ilmid, I 
got the same error in zeppelin, even if I ran this script manually. The log 
file, which I specify after -l parameter is created, but it is allways 
empty.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial CE" size=2>I thied it repeatedly about 50 times, I tried 
various combinations with script file and I always got the same 
results.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial CE" size=2>Please, help me if you can.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial CE" size=2>Thank you very much.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial CE" size=2>Marian 
Mihok<BR><BR></FONT></DIV></FONT></DIV></BODY></HTML>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic