From owner-freebsd-questions Tue Oct 5 11:33:49 1999 Delivered-To: freebsd-questions@freebsd.org Received: from bsd01.community.net.uk (bsd01.community.net.uk [195.72.164.132]) by hub.freebsd.org (Postfix) with ESMTP id DEC121531D for ; Tue, 5 Oct 1999 11:33:46 -0700 (PDT) (envelope-from rpb@community.net.uk) Received: from rpb2 (rpb2.community.net.uk [195.72.164.126]) by bsd01.community.net.uk (8.9.3/8.9.3) with SMTP id TAA06139; Tue, 5 Oct 1999 19:32:58 +0100 (BST) From: "Ray Bellis" To: "John Hay" Cc: Subject: RE: Crashes with WANic 405 and FreeBSD 3.3 Date: Tue, 5 Oct 1999 19:30:38 +0100 Message-ID: <000001bf0f5f$b87be3e0$7ea448c3@community.net.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 In-Reply-To: <199910051816.UAA92587@zibbi.mikom.csir.co.za> Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > I've been trying to upgrade a system with a WANic 405 card to FreeBSD > > 3.3-RELEASE and whenever the sr0 device is ifconfig'ed up the system > > completely freezes a couple of seconds later. > > > > The sr(4) driver seems almost untouched compared to the 2.2.8-stable > > version, could there be a major bug in sppp(4) or similar that's causing > > this? > > I don't know of any problems with the sr(4) driver. Sppp(4) has been > rewritten between FreeBSD 2.x and 3.x, mainly to make it usable for > the isdn folks too. In the process the leased line stuff lost out a > little. :-( At the moment I'm busy looking at it. It is ok once the > link is up, but there is a few problems with it still. > > The one is if the link is put into loopback. It looks like it go into > transmit frenzy, which might be what you are seeing. > > The other problem is when the link is down long enough for sppp to > timeout, then it won't bring ppp up again if the link is restored. > An ifconfig sr0 down; ifconfig sr0 up normally fix this. > > Do you see any error or other related messages on the console? Is > it totally dead? Can you still ping it over the ethernet? Assuming > you have an ethernet connection too. The console remains active for about two seconds, and then freezes completely without any error messages being generated. Hardware reset is the only way out. I haven't checked whether the ethernet connection still responds, but I'm not optimistic. I'll try that out in the morning. This happened both with a Cisco 2501 back-to-back with the card and with the card completely disconnected from anything else. I guess as it's not an instantaneous crash that sppp(4) is most likely to blaim, maybe the -debug flag to ifconfig might actually show some PPP state transitions before the crash happens. I'll give that a try in the morning as well. regards, Ray. -- Ray Bellis, MA(Oxon) - Technical Director - community internet plc Windsor House, 12 High Street, Kidlington, Oxford, OX5 2PJ tel: +44 1865 856000 email: ray.bellis@community.net.uk fax: +44 1865 856001 web: http://www.community.net.uk/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message