Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2001 21:36:19 +0200 (SAT)
From:      John Hay <jhay@icomtek.csir.co.za>
To:        jcv@vbc.net (Jean-Christophe Varaillon)
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: - RISCom card: lcp illegal conf-req in state initial -
Message-ID:  <200102201936.f1KJaJj91966@zibbi.icomtek.csir.co.za>
In-Reply-To: <Pine.BSF.4.10.10102201404400.59157-100000@brunel.uk1.vbc.net> from Jean-Christophe Varaillon at "Feb 20, 2001 02:18:03 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> I am actualy trying to establish the communication between a cisco router
> and my Free BSD machine.
> 
> +-------+			+---------------+
> | cisco |serial interface	| FreeBSD 4.1	|
> | 3600  +-----------------------+		|
> |	|		RISCom	|		|
> +-------+		card	+---------------+
> 	x.x.x.145	x.x.x.146
> 
> I beleive that the router is correclty configured but NOT the FreeBSD
> machine.
> 
> This is what dmesg | grep sr1 shows:
> --------
> sr1: Adapter 0, port 1.
> sr1 XXX: driver didn't set ifq_maxlen
> sr1: transmit failed, ST0 80, ST1 48, ST3 0f, DSR 01.
> ...
> sr1: transmit failed, ST0 80, ST1 48, ST3 0f, DSR 01.
> sr1: transmit failed, ST0 80, ST1 48, ST3 0f, DSR 01.

There is 2 things you should make sure of.

1. If it is an ISA card that you are getting the interrupts. You can check
this with vmstat -i and make sure they do arrive. Some motherboards need
configuration in the BIOS to make isa interrupts work.

2. That the cisco is providing a clock. The sr driver configure the card
to expect a clock and it won't work without it.

> sr1: Down event, taking interface down.
> ...
> sr1: Down event, taking interface down.
> sr1: Down event, taking interface down.
> sr1: lcp illegal conf-req in state initial
> ...
> sr1: lcp illegal conf-req in state initial
> sr1: lcp illegal conf-req in state initial

This is a bug in the state machine of sppp. I have fixed it in -current,
but haven't merged it into stable yet.

> --------
> 
> This is the ifconfig:
> -------
> sr1: flags=8451<UP,POINTOPOINT,RUNNING,OACTIVE,MULTICAST> mtu 1500
>         inet6 fe80::2d0:b7ff:fe09:3333%sr1 --> :: prefixlen 64
> scopeid 0x2 
>         inet x.x.x.146 --> x.x.x.145 netmask 0xfffffffc 
> ------

You can also enable the debug flag in ifconfig, then you will see the
ppp packets, that should also help debuging the problem.

John
-- 
John Hay -- John.Hay@icomtek.csir.co.za

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102201936.f1KJaJj91966>