Subject: UVM deadlock?
To: None <current-users@NetBSD.ORG>
From: Kazushi (Jam) Marukawa <jam@pobox.com>
List: current-users
Date: 05/10/1998 19:34:41
Dear all,
I have a problem that the system is halted when I'm using
UVM. I tried to trace by using DDB like following. I made
some traces. They look like some deadlock situation. Are
there any information or advices about this problem?
When I was using NetBSD-1.3 current with UVM and PMAP_NEW
configuration on my i386 box and executing big applications
on it, the system was halted. For example, it was halted
when I was using netscape with 5 screens and gimp with over
100MB swap file.
Yesterday I bought a serial cable, had made other note PC as
a console and had waited the situation. Today the system is
halted without any message on console. Then I start DDB
from the console by sending a break signal. I got following
traces by using only "trace" command and "continue" command.
In addition, the kernel source codes which I'm using are
supped at May 9 19:35:02 1998.
Just now, I'll planing to install current kernel source
codes into my note PC to check much information about above
situation. Are there any advices to do? Or are there any
solutions of this behavior?
db> trace
_Debugger(f05ebdc0,41903001,1,f0101ec2,1) at _Debugger+0x4
_comintr(f0531a00) at _comintr+0x95
_Xintr4() at _Xintr4+0x6f
--- interrupt ---
_amap_alloc(7000,0,1,3,f7d65f30) at _amap_alloc+0x36
_amap_copy(f0931400,f0989780,1,1,41903000,41903001) at _amap_copy+0xad
_uvmfault_amapcopy(f7d65f30,41903000,f0931400,f08d4200,f09d1500) at _uvmfault_a
mapcopy+0x126
_uvm_fault(f0931400,41903000,0,3) at _uvm_fault+0x1e1
_trap() at _trap+0x444
--- trap (number 6) ---
0x56f11:
db> c
~Stopped at _Debugger+0x4: leave
db> trace
_Debugger(f05ebdc0,0,e000d6e3,f0101ec2,f7d36f1c) at _Debugger+0x4
_comintr(f0531a00) at _comintr+0x95
_Xintr4() at _Xintr4+0x6f
--- interrupt ---
bpendtsleep(f02acc1c,4,f0215c9b,0) at bpendtsleep+0x1b
_thread_sleep_msg(f02acc1c,0,0,f0215c9b,0) at _thread_sleep_msg+0x37
_uvm_pageout(f011f0e4,f06084d7,b,f02e6f14,f010034f) at _uvm_pageout+0x71
_start_pagedaemon(f0608400) at _start_pagedaemon+0x29
Bad frame pointer: 0xf02e6f14
db> c
~Stopped at _Debugger+0x4: leave
db> trace
_Debugger(f05ebdc0,f02a0d5c,f02acc1c,f08d4200,1000) at _Debugger+0x4
_comintr(f0531a00) at _comintr+0x95
_Xintr4() at _Xintr4+0x6f
--- interrupt ---
_wakeup(f02acc1c,3,f7d65f30,f7d65e4c,f020c68a) at _wakeup+0xfc
_uvm_wait(f020c515) at _uvm_wait+0x47
_uvmfault_amapcopy(f7d65f30,41903000,f0931400,f08d4200,f09d1500) at _uvmfault_a
mapcopy+0x166
_uvm_fault(f0931400,41903000,0,3) at _uvm_fault+0x1e1
_trap() at _trap+0x444
--- trap (number 6) ---
0x56f11:
db> c
~Stopped at _Debugger+0x4: leave
db> trace
_Debugger(f05ebdc0,f0608400,355637ad,f011fb0c,f05eb740) at _Debugger+0x4
_comintr(f0531a00) at _comintr+0x95
_Xintr4() at _Xintr4+0x6f
--- interrupt ---
_microtime(c000c440,2456,3,0,f7d36f50) at _microtime+0x2c
bpendtsleep(f02acc1c,4,f0215c9b,0) at bpendtsleep
_thread_sleep_msg(f02acc1c,0,0,f0215c9b,0) at _thread_sleep_msg+0x37
_uvm_pageout(f011f0e4,f06084d7,b,f02e6f14,f010034f) at _uvm_pageout+0x71
_start_pagedaemon(f0608400) at _start_pagedaemon+0x29
Bad frame pointer: 0xf02e6f14
db> ps
PID PPID PGRP UID S FLAGS COMMAND WAIT
842 232 232 32767 3 0x104 delegated UVM ama
837 415 837 1000 3 0x4086 rftp ttyin
800 415 800 1000 3 0x4082 rftp ttyin
579 458 579 1000 4 0x5002 less
578 577 570 1000 4 0x4002 less
577 570 570 1000 4 0x4082 sh
570 458 570 1000 4 0x5082 man
569 568 567 1000 4 0x4002 less
568 567 567 1000 4 0x4082 sh
567 458 567 1000 4 0x5082 man
483 306 483 1000 3 0x4082 zsh ttyin
458 306 458 1000 3 0x4082 zsh ttyin
417 415 417 1000 3 0x4080 perl select
415 312 415 1000 2 0x4486 emacs
378 377 377 1000 3 0x4186 netscape select
377 308 377 1000 3 0x4106 netscape UVM ama
361 307 361 1000 3 0x4182 ssh select
356 1 356 0 2 0x84 pppd
312 306 312 1000 3 0x4082 zsh pause
311 310 310 1000 3 0x4082 script-fu select
310 308 310 1000 3 0x4006 gimp UVM ama
308 306 308 1000 3 0x4082 zsh ttyin
307 306 307 1000 3 0x4082 zsh pause
306 305 306 1000 3 0x184 screen-3.7.4 select
305 293 305 1000 3 0x4182 screen-3.7.4 pause
293 292 293 1000 3 0x4082 zsh pause
292 291 291 1000 3 0x4186 kterm select
291 279 291 1000 3 0x4082 sh wait
289 279 289 1000 3 0x4086 wmx select
279 257 279 1000 3 0x4082 zsh ttyin
257 253 257 1000 3 0x4182 xterm select
254 253 254 1000 2 0x4104 XF86_Mach64
253 234 253 1000 3 0x4082 xinit wait
237 1 237 1000 3 0x80 ssh-agent select
235 1 235 0 2 0x4086 getty
234 1 234 1000 3 0x4082 zsh pause
232 1 232 32767 2 0x584 delegated
229 1 229 0 3 0x80 socks5 netcon
226 1 226 0 3 0x80 sshd select
219 1 219 0 3 0x80 inetd select
207 1 3 0 3 0x4082 xfs select
204 1 204 0 2 0x584 sendmail
182 1 182 0 2 0x584 cron
180 1 180 0 2 0x84 update
123 1 123 0 3 0x80 portmap select
118 1 118 0 3 0x84 named select
110 1 110 0 2 0x84 syslogd
>2 0 0 0 3 0x204 pagedaemon daemon_
1 0 1 0 3 0x4080 init wait
0 -1 0 0 3 0x204 swapper schedul
-- Kazushi
Atlee is a very modest man. And with reason.
-- Winston Churchill