Subject: kern/20407: panic: trap in uvmpd_scan, when calling uvm_swapout_threads()
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dogcow@babymeat.com>
List: netbsd-bugs
Date: 02/17/2003 22:49:23
>Number:         20407
>Category:       kern
>Synopsis:       panic: trap in uvmpd_scan, when calling uvm_swapout_threads()
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 17 22:50:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Tom Spindler
>Release:        NetBSD 1.6N
>Organization:
	
>Environment:
	
	
System: NetBSD beefcake.babymeat.com 1.6N NetBSD 1.6N (BEEFCAKE) #1: Sun Feb 16 19:50:46 PST 2003 dogcow@beefcake.babymeat.com:/usr/src/sys/arch/i386/compile/BEEFCAKE i386
Architecture: i386
Machine: i386
>Description:
#0  0x1 in ?? ()
#1  0xc021357a in cpu_reboot (howto=260, bootstr=0x0)
    at ../../../../arch/i386/i386/machdep.c:2449
#2  0xc01c1c8f in panic () at ../../../../kern/subr_prf.c:251
#3  0xc021b3e6 in trap (frame={tf_gs = -747634672, tf_fs = 48, 
      tf_es = -747634672, tf_ds = -1071906800, tf_edi = 0, tf_esi = 0, 
      tf_ebp = -747577876, tf_ebx = -743509372, tf_edx = -741694624, 
      tf_ecx = 24, tf_eax = 3, tf_trapno = 6, tf_err = 0, 
      tf_eip = -1071946389, tf_cs = 8, tf_eflags = 66182, tf_esp = -747707520, 
      tf_ss = 256, tf_vm86_es = -1070946530, tf_vm86_ds = 17, tf_vm86_fs = 0, 
      tf_vm86_gs = 0}) at ../../../../arch/i386/i386/trap.c:297
#4  0xc0102b8c in calltrap ()
#5  0xc01e144d in vfs_shutdown () at ../../../../kern/vfs_subr.c:2504
#6  0xc021354f in cpu_reboot (howto=256, bootstr=0x0)
    at ../../../../arch/i386/i386/machdep.c:2436
#7  0xc01c1c8f in panic () at ../../../../kern/subr_prf.c:251
#8  0xc021b3e6 in trap (frame={tf_gs = -1070727152, tf_fs = 48, 
      tf_es = -747634672, tf_ds = -1071972336, tf_edi = 6, tf_esi = 0, 
      tf_ebp = -747577540, tf_ebx = -743509372, tf_edx = 18911, 
      tf_ecx = 56734, tf_eax = -741694624, tf_trapno = 6, tf_err = 0, 
      tf_eip = -1071648803, tf_cs = 8, tf_eflags = 66050, tf_esp = 64015, 
      tf_ss = -1070565264, tf_vm86_es = 0, tf_vm86_ds = 470000, 
      tf_vm86_fs = 64015, tf_vm86_gs = -1070565264})
    at ../../../../arch/i386/i386/trap.c:297
#9  0xc0102b8c in calltrap ()
#10 0xc0209536 in uvmpd_scan () at ../../../../uvm/uvm_pdaemon.c:753
#11 0xc0208e42 in uvm_pageout (arg=0xd36ee380)
    at ../../../../uvm/uvm_pdaemon.c:253

for frame #10:
#10 0xc0209536 in uvmpd_scan () at ../../../../uvm/uvm_pdaemon.c:753
753                     uvm_swapout_threads();

p5 root@beefcake: /var/crash 125 ps swwww -M netbsd.0.core
UID   PID        PPID CPU LID NLWP PRI NI   VSZ RSS WCHAN  STAT TT    TIME COMMAND
  0  3262 -1077943344   0   1    1   2  5   876   0 select U    p0 0:00.00 (xterm)
  0  3263 -1077943344   7   1    1  18  5   228   0 pause  UW   p5 0:07.00 (zsh)
  0  3271 -1077943344  28   1    1  10  5   220   0 wait   UW   p5 0:28.00 (sh)
  0  4271 -1077943344  30   1    1  10  5   436   0 wait   UW   p5 0:30.00 (nbmake)
  0 11179 -1077943344  36   1    1  10  5   140   0 wait   U    p5 0:36.00 (sh)
  0 11180 -1077943344  36   1    1  10  5   128   0 wait   U    p5 0:36.00 (i386--netbsdelf-)
  0 11182 -1077943344  36   1    1  74  5  3304   0 -      U    p5 0:36.00 (cc1)
  0 16765 -1077943344  30   1    1  10  5   136   0 wait   UW   p5 0:30.00 (sh)
  0 16766 -1077943344  30   1    1  10  5   500   0 wait   UW   p5 0:30.00 (nbmake)
  0 16773 -1077943344  30   1    1  10  5   136   0 wait   UW   p5 0:30.00 (sh)
  0 16774 -1077943344  30   1    1  10  5  5996   0 wait   UW   p5 0:30.00 (nbmake)
  0 18555 -1077943344  30   1    1  10  5   136   0 wait   UW   p5 0:30.00 (sh)
  0 18556 -1077943344  36   1    1  10  5 29140   0 wait   U    p5 0:36.00 (nbmake)
  0  3218 -1077943344   0   1    1   2  0   720   0 select UW   E0 0:00.00 (xterm)
  0  3219 -1077943344   0   1    1   2  0   704   0 select UW   E0 0:00.00 (xterm)
  0  3220 -1077943344   0   1    1   2  0   704   0 select UW   E0 0:00.00 (xterm)
  0  3221 -1077943344   0   1    1   2  0   708   0 select UW   E0 0:00.00 (xterm)
  0  3226 -1077943344   0   1    1   2  0   700   0 -      UW   E0 0:00.00 (xterm)
  0   233 -1077943344   3   1    1   3  0    48   0 ttyin  IW   E2 0:03.00 xinit (getty)
  0   234 -1077943344   3   1    1   3  0    48   0 ttyin  IW   E3 0:03.00 /usr/libexec/getty Pc ttyE1 

	
>How-To-Repeat:
I was build.sh'ing, with very little else going on. I have the kernel,
the debug version of the kernel, the crash, and am saving the sys/ source
tree.
	
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: