Linux-Hams archive - September 1997: Re: Baycom problem - success

Re: Baycom problem - success

Nuno Sucena Almeida (vebaxsh.heojdraubl@exitstrategy.co.uk)
31 Aug 1997 10:19:31 GMT


Andrzej Szreter <ysaq.oxavldlevu@jimbotest.com> sabiamente escreveu:
> I changed uart to 16550A and now all is ok,
> (I didn't checked earlier, cause baycom (2.0.30) hangs on it)

Hello, i had linux 2.0.30+modules13 running on a 386DX40 with 16450
UART's without a problem.
But now i have a linux 2.0.30+modules14c on a 486DX100 with 16550A
UARTS and the kernel doesn't hang, but to initialize with
ifconfig bc0 [etc] up i need to repeat it several times until the IRQ
counter starts running , like this:

echo "ifconfig (TCP/IP) :"
valor1=""
valor2=$valor1
maximo=60
numero=0
while [ "${valor2}" = "${valor1}" ];
do
/sbin/ifconfig ${device} down
/sbin/ifconfig ${device} ${ipaddr} netmask ${ipmask} broadcast ${ipbrod} \
mtu ${mtu} up
valor1=`grep baycom /proc/interrupts`
sleep 1
valor2=`grep baycom /proc/interrupts`
numero=$[ $numero + 1 ]
if [ "$numero" = "$maximo" ]; then echo 'ERROR!'; break; fi
echo -e "$numero \c"
done

A friend of mine , with a P166 UART 16550A has exactly the same problem
but to manage to run it he need to have a lot of I/O , like a MP3 sound
file running! It seems that the baycom driver has some timing problems,
Tom? I talk about this some months ago...Anyone with the same problem?
Thanks

-- 
Nuno Sucena
CT1FOX CQG9304 CQM9228                  Eng.Electrote'cnica FCTUC
To reply by e-mail use *slug* as user and *cygnus.ci.uc.pt* as domain.
My web page & PGP sig are located at the same place.