All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Frantisek Rysánek" <rysanek@fccps.cz>
To: <marcelo@conectiva.com.br>
Cc: "Francois Romieu" <romieu@fr.zoreil.com>,
	<henrique2.gobbi@cyclades.com>, <linux-kernel@vger.kernel.org>
Subject: Re: Why is generic hldc beig ignored?   RE:Linux 2.4.22-pre4
Date: Mon, 14 Jul 2003 13:36:15 +0200	[thread overview]
Message-ID: <002a01c349fc$23a0e8c0$ec00000a@fccps.cz> (raw)
In-Reply-To: 20030711212551.A25528@electric-eye.fr.zoreil.com

Dear Mr. Tosatti,

I've been asked by Mr. Francois Romieu, the author of
drivers/net/wan/dscc4.c,
to give you a summary of my user-space experience with recent versions
of dscc4.c and the Generic HDLC Layer (drivers/net/wan/hdlc_*.c, hdlc.o).

The message is: it works, to the extent that it can be configured and
TCP/IP works. I've tried DSCC4 hardware back-to-back and against
a Cisco, in a few different configurations. I've tried the three basic
encapsulations: cisco-hdlc, itu-hdlc and sync ppp.
I don't know enough FR and X.25 to be able to come up with a workable
setup (didn't even try).

I was using linux 2.4.21-rc1 and 2.4.21 (release). This works, but that
version of dscc4.c suffers from a hardware quirk in the DSCC4 hardware
- the port/link cannot be reconfigured without a cold reboot.
The effects of this quirk are alleviated by a patch to dscc4.c that has been
submitted by F.Romieu for approval to the linux kernel and that reportedly
has made i to the -ac series, but not to the vanilla 2.4.21.
I have not touched the sources of the Generic HDLC Layer (hdlc*.c) that is
present in 2.4.21-rc1 to 2.4.21. I was using the vanilla source without
modification. I don't know about any differences in the hdlc*.c in the -ac
series - I didn't investigate that flavor.

As for the userspace sethdlc.c by Krzystof Halasa: I was using ver.1.12,
modified by Mr. Romieu, who has "cut some non-compiling functionality."
The current version from Krzysztof Halasa is 1.15.

I barely had the time to test basic workability and document my test bench.
Unfortunately I did not do any stress/long-term/feature-crosscompatibility
testing.
Specifically, I was using uniprocessor machines only (no SMP).
I did not test all the features available in the Generic HDLC Layer, I don't
even
fully understand all the technologies covered - I was only interested in
basic
point-to-point IP over sync serial.

I've written a short mini-HOWTO - the chapter on test results in terms of
transfer rates and ping round trips is at
http://sweb.cz/Frantisek.Rysanek/sync/dscc4+HDLC-Mini-HOWTO.html#Drivers.ope
n.tests

I hope that I was not completely wasting your time :-)
If you have further questions, ask me.
Thanks for the great job that you're doing.

Sincerely yours

Frank Rysanek



----- Original Message -----
From: "Francois Romieu" <romieu@fr.zoreil.com>
To: "Frantisek Rysánek" <rysanek@fccps.cz>
Sent: Friday, July 11, 2003 9:25 PM
Subject: [marcelo@conectiva.com.br: Re: Why is generic hldc beig ignored?
RE:Linux 2.4.22-pre4]


> Imho l-k is waiting for a summary of your experiences with post
> 2.4.21-pre linux hdlc.
>
> Btw latest dscc4 updates are available in Alan Cox's -ac series.
>
> ----- Forwarded message from Marcelo Tosatti
<marcelo@conectiva.com.br> -----
>
> From: Marcelo Tosatti <marcelo@conectiva.com.br>
> Date: Fri, 11 Jul 2003 14:18:10 -0300 (BRT)
> Subject: Re: Why is generic hldc beig ignored?   RE:Linux 2.4.22-pre4
> X-X-Sender: marcelo@freak.distro.conectiva
> To: Henrique Oliveira <henrique2.gobbi@cyclades.com>
> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
>    Kevin Curtis <kevin.curtis@farsite.co.uk>,
>    lkml <linux-kernel@vger.kernel.org>
> References: <7C078C66B7752B438B88E11E5E20E72E25C978@GENERAL.farsite.co.uk>
>  <Pine.LNX.4.55L.0307101410570.25103@freak.distro.conectiva>
>  <003101c34712$a9b8f480$602fa8c0@henrique>
<1057914760.8028.27.camel@dhcp22.swansea.linux.org.uk>
>  <013901c347cd$44586f60$602fa8c0@henrique>
> X-Spam-Status: No, hits=-28.7 required=4.0
> tests=EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES,REPLY_WITH_QUOTES,
>       USER_AGENT_PINE,X_MAILING_LIST
> version=2.53-fr_1
> X-Spam-Level:
> X-Spam-Checker-Version: SpamAssassin 2.53-fr_1 (1.174.2.15-2003-03-30-exp)
>
>
>
> On Fri, 11 Jul 2003, Henrique Oliveira wrote:
>
> > Hello !!!
> > No offence here but the generic hdlc layer's been always confusing. I
will
> > write here what I believe is going on.
> > Until version 2.4.20 we had the old hdlc layer, with only one source
file
> > hdlc.c. People that wanted to use the new hdlc layer had to apply a
patch
> > provided by Halasa or by the WAN cards vendors. The kernel 2.4.21 came
out
> > with the new hdlc layer, that includes a couple of files:
hdlc_generic.c,
> > hdlc_fr.c, hdlc_ppp.c, hdlc_raw.c, etc. I don't know the status of
the -ac
> > tree but I can say that the kernel 2.4.21 has the new code.
> > The new hdlc layer really needs new tools. This new tool can
(supposedly) be
> > found at Halasa's web site. I don't know if someone has tested these
tools
> > but I am about to run a test this afternoon. If someone is interested on
the
> > results, just drop me a line.
>
> I am.
>
> Please report the results of your tests and CC lkml.
>
> And Alan, what the -ac tree hdlc changes are about ?
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>
> ----- End forwarded message -----


       reply	other threads:[~2003-07-14 11:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20030711212551.A25528@electric-eye.fr.zoreil.com>
2003-07-14 11:36 ` Frantisek Rysánek [this message]
2003-07-14 12:27   ` Why is generic hldc beig ignored? RE:Linux 2.4.22-pre4 Francois Romieu
2003-07-14 13:16   ` Krzysztof Halasa
2003-07-11  8:30 Kevin Curtis
  -- strict thread matches above, loose matches on Subject: below --
2003-07-10 15:38 Kevin Curtis
2003-07-10 17:11 ` Marcelo Tosatti
2003-07-10 18:39   ` Henrique Oliveira
2003-07-11  9:12     ` Alan Cox
2003-07-11 16:55       ` Henrique Oliveira
2003-07-11 17:18         ` Marcelo Tosatti
2003-07-11 17:27           ` Jeff Garzik
2003-07-11 18:05             ` Krzysztof Halasa
2003-07-11 18:00       ` Krzysztof Halasa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='002a01c349fc$23a0e8c0$ec00000a@fccps.cz' \
    --to=rysanek@fccps.cz \
    --cc=henrique2.gobbi@cyclades.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    --cc=romieu@fr.zoreil.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.