Subject: kern/2170: Kernel crash in mi_switch()
To: None <gnats-bugs@NetBSD.ORG>
From: Alec Peterson <chuckie@news1.panix.com>
List: netbsd-bugs
Date: 03/03/1996 19:04:40
>Number:         2170
>Category:       kern
>Synopsis:       Kernel crash in mi_switch()
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar  3 19:20:08 1996
>Last-Modified:
>Originator:     Alec Peterson
>Organization:
Panix Public Access Internet and UNIX
>Release:        <NetBSD-current source date>current as of 2/15/96
>Environment:
	
System: NetBSD news1.panix.com 1.1A NetBSD 1.1A (NEWS) #0: Sat Feb 3 21:52:33 EST 1996 chuckie@juggler.nfs100.access.net:/usr/local/src/current/src/sys/arch/i386/compile/NEWS i386

Pentium 133, 96MB RAM, 2 BusLogic 956C controllers.

>Description:
Our news server has crashed multiple times on mi_switch().  The traceback is:

gdb -k netbsd.7 netbsd.7.core
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.11 (i386-netbsd), Copyright 1993 Free Software Foundation, Inc...
(no debugging symbols found)...
panic: trap
#0  0xf81110a1 in mi_switch ()
(kgdb) where
#0  0xf81110a1 in mi_switch ()
#1  0xf8110ba1 in tsleep ()
#2  0xf8179fd7 in lock_clear_recursive ()
#3  0xf8179afd in lock_clear_recursive ()
#4  0xf8180612 in vm_pager_get_pages ()
#5  0xf8180678 in vm_pager_get ()
#6  0xf817a60a in vm_fault ()
#7  0xf817acdd in vm_fault_wire ()
#8  0xf817c9f8 in vm_map_pageable ()
#9  0xf817b1f3 in swapin ()
#10 0xf817b2d1 in scheduler ()
#11 0xf8107dce in main ()

If you want the core file, I'll send it along for you (although it is 96MB).
	
>How-To-Repeat:
I cannot reliably reproduce the problem, although it has happened at least
twice.
	
>Fix:
Don't know.
	
>Audit-Trail:
>Unformatted: