NetBSD Problem Report #9275
Received: (qmail 4248 invoked from network); 22 Jan 2000 18:20:06 -0000
Message-Id: <200001221819.NAA01193@tome.neutralgood.org>
Date: Sat, 22 Jan 2000 13:19:10 -0500 (EST)
From: kpn@neutralgood.org
Reply-To: kpn@neutralgood.org
To: gnats-bugs@gnats.netbsd.org
Subject: PPP on Alpha nonfunctional with only one ppp configured in kernel.
X-Send-Pr-Version: 3.95
>Number: 9275
>Category: port-alpha
>Synopsis: PPP nonfunctional w/ pseudo-device ppp 1
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: port-alpha-maintainer
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jan 22 10:20:59 +0000 2000
>Closed-Date: Sat Jan 22 18:29:33 +0000 2000
>Last-Modified: Sat Jan 22 18:29:50 +0000 2000
>Originator: Kevin P. Neal
>Release: 1.4.1
>Organization:
--
Kevin P. Neal http://www.pobox.com/~kpn/
"You know, I think I can hear the machine screaming from here... \
'help me! hellpp meeee!'" - Heather Flanagan, 14:52:23 Wed Jun 10 1998
>Environment:
System: NetBSD tome.neutralgood.org 1.4.1 NetBSD 1.4.1 (TOME) #37: Sat Jan 22 02:57:05 EST 2000 kpn@tome.neutralgood.org:/usr/src/sys/arch/alpha/compile/TOME alpha
>Description:
See kern/8816 for original report.
If a kernel is configured on an Alpha with:
pseudo-device ppp 1
... then PPP is nonfunctional. Instead ppp logs an error about the line
being only 7 bits wide.
Originally I confirmed that ppp would work if four devices were configured
in (the default in GENERIC and ALPHA). It looks like ppp will work if more
than one device is configured.
>How-To-Repeat:
1) Compile a kernel on an Alpha with only one ppp pseudo-device.
2) Try to use ppp.
3) Lose.
>Fix:
Change /usr/src/sys/arch/alpha/alpha/machdep.c like so:
*** machdep.c Sat Jan 22 02:52:08 2000
--- machdep.c.old Sat Jan 22 13:06:53 2000
***************
*** 1995,2005 ****
DONETISR(NETISR_CCITT, ccittintr());
#endif
#ifdef NATM
DONETISR(NETISR_NATM, natmintr());
#endif
! #if NPPP > 0
DONETISR(NETISR_PPP, pppintr());
#endif
#undef DONETISR
}
--- 1995,2005 ----
DONETISR(NETISR_CCITT, ccittintr());
#endif
#ifdef NATM
DONETISR(NETISR_NATM, natmintr());
#endif
! #if NPPP > 1
DONETISR(NETISR_PPP, pppintr());
#endif
#undef DONETISR
}
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: thorpej
State-Changed-When: Sat Jan 22 10:29:33 PST 2000
State-Changed-Why:
Fixed, thanks! (Wow, that one was really Cool!)
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.