RE: Bug help- HDLC/FCS errors!

2003-02-12 Thread Rick Crawford
Bill Moran [EMAIL PROTECTED] wrote:

   Add this to your ppp.conf file
   
   disable pred1 deflate lqr
   denypred1 deflate lqr

I tried adding the lqr (others were already disabled  denied).
This seems to help somewhat -- e.g, I had 1 session that
lasted over 4 hours and terminated normally without HDLC errors :-)

But other sessions die the same old way, with nothing in my ppp.log
between PPP enabled and the error, e.g:

Feb 12 12:19:25 localhost ppp[177]: tun0: Phase: Parent: PPP enabled 
Feb 12 13:05:19 localhost ppp[180]: tun0: Phase: deflink: HDLC errors - FCS: 
1, ADDR: 0, COMD: 0, PROTO: 0 

I doubt it's a problem with my phone line or power quality --
I never had this problem using Mindspring as my ISP.  And my system
is in the same place as before (2 year old house, with Cat-5 wiring).

So I still need ideas for fixes, how to enable extra logging, etc.

Also, isn't there an underlying FreeBSD bug?  Shouldn't both ppp
and the OS be able to recover gracefully after HDLC errors?

-rick




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Bug help- HDLC/FCS errors!

2003-02-09 Thread JoeB
Add this to your ppp.conf file

disable pred1 deflate lqr# compression features  line quality
reporting
denypred1 deflate lqr# compression features  line
quality reporting

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Bill Moran
Sent: Sunday, February 09, 2003 2:22 PM
To: Rick Crawford
Cc: [EMAIL PROTECTED]
Subject: Re: Bug help- HDLC/FCS errors!

Rick Crawford wrote:
 Hi, I *desperately* need either a fix for the problem below,
 or hardware specs for a new system (under $1,000)
 that you can *guarantee* will work properly.
 (Yes, I'm so desperate I'm willing to spend big bucks to make this
disappear!)

 The problem is, I'm getting killed by HDLC errors, e.g:

 ppp[200]: tun0: Phase: deflink: HDLC errors - FCS: 4,
 ADDR: 0, COMD: 0, PROTO: 0

 is a typical ppp.log error under FreeBSD 4.5.

 Sometimes I can gracefully kill (-TERM) and successfully restart
ppp.
 But often, I get complete system hang, and must powercycle.
 (Every time I search freebsd.org bug archives, my
 system hangs when I try to read the first matching search item!)

 Under Windows98, it just hangs occasionally with no error msgs.
 (Hence unclear if that's merely normal Microsoft quality,
 or if the same underlying hardware problem is troubling both OS.)

 These errors occur *frequently* with my preferred ISPs --
 access4less and SBC/Yahoo, but almost never occurred using
Earthlink/Mindspring
 (which was slow as molasses, so I had to switch ISPs).

 Often (but not always), HDLC errs in ppp.log are preceded by:
   tun0: Warning: Packet too large (4102), discarding.

 I'm using standard hardware flow control.

snip lots of stuff

I don't _know_ what your problem is, but ...

Try running memtest and cpuburn on this machine and make sure the
hardware is
stable.  I've spend hours and hours trying to diagnose
software/config problems
when the real issue was unreliable hardware.

If that checks out, make sure your power is clean.  I'm dealing with
a client
right now that's having problems with a modem, and when we plug the
system in
at our office, it works fine.  I'm taking an AVR UPS in on Monday to
see if that
solves their problem.

Hope this is helpful.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message