Subject: port-i386/1266: imask on i386 needs to include IPL_TTY in IPL_NET with ppp/slip
To: None <gnats-bugs@gnats.netbsd.org>
From: John Kohl <jtk@kolvir.blrc.ma.us>
List: netbsd-bugs
Date: 07/24/1995 23:48:18
>Number:         1266
>Category:       port-i386
>Synopsis:       kernel crashes using ethernet & ppp & disk--probably imask problems
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 25 00:05:02 1995
>Last-Modified:
>Originator:     John Kohl
>Organization:
NetBSD Kernel Hackers `R` Us
>Release:        NetBSD-current as of July 24 1995
>Environment:
	
System: NetBSD pattern 1.0A NetBSD 1.0A (PATTERN) #41: Mon Jul 24 22:26:13 EDT 1995     jtk@pattern:/u1/NetBSD-current/src/sys/arch/i386/compile/PATTERN i386

>Description:
When running disk-intensive operations with both a DC21041 and a ppp
line (ISDN 56000 bps, 57600 serial line rate), I got frequent panics.
One was a "malloc: wrong bucket".

>How-To-Repeat:
beat on ppp and another net at the same time

>Fix:
This sesm to have cured my problems, but I can't be sure I'm just being
lucky after rebooting.

===================================================================
RCS file: RCS/isa_machdep.c,v
retrieving revision 1.1
diff -c -r1.1 isa_machdep.c
*** isa_machdep.c	1995/07/25 02:25:22	1.1
--- sys/arch/i386/isa/isa_machdep.c	1995/07/25 02:25:39
***************
*** 200,205 ****
--- 200,206 ----
  #if NSL > 0 || NPPP > 0
  	/* In the presence of SLIP or PPP, imp > tty. */
  	imask[IPL_IMP] |= imask[IPL_TTY];
+ 	imask[IPL_NET] |= imask[IPL_TTY];
  #endif
  
  	/*

>Audit-Trail:
>Unformatted: