Subject: uvm_fault, panic
To: None <port-i386@netbsd.org>
From: Dominik Zaczkowski <kaostar@wp.pl>
List: port-i386
Date: 04/17/2007 14:47:08
Hi,

I was leaving X session when i get panic:

root@nbbox$ dmesg -N netbsd.1 -M netbsd.1.core
...
uvm_fault(0xcb6ba62c, 0, 0, 1) -> 0xe
fatal page fault in supervisor mode
trap type 6 code 0 eip c01e1bdf cs 8 eflags 210246 cr2 c ilevel 0
panic: trap
syncing disks...

root@nbbox$ gdb netbsd.1 
...
(gdb) target kcore netbsd.1.core
panic: trap
#0  0x000c13b8 in ?? ()
(gdb) where
#0  0x000c13b8 in ?? ()
#1  0xc0211261 in cpu_reboot ()
#2  0xc01b66ba in panic ()
#3  0xc02178b7 in trap ()
#4  0xc0102cb3 in calltrap ()
#5  0xc01dc842 in VOP_POLL ()
#6  0xc01b97b0 in selscan ()
#7  0xc01b9551 in selcommon ()
#8  0xc01b9352 in sys_select ()
#9  0xc0217355 in syscall_plain ()

3 months ago i had almost same : 

root@nbbox$ dmesg -N netbsd.0 -M netbsd.0.core
...
uvm_fault(0xcb2221c8, 0, 0, 1) -> 0xe
fatal page fault in supervisor mode
trap type 6 code 0 eip c01bbc86 cs 8 eflags 210282 cr2 10 ilevel 0
panic: trap

root@nbbox$ gdb netbsd.0                        
...
(gdb) target kcore netbsd.0.core
panic: trap
#0  0x000c4a00 in ?? ()
(gdb) where
#0  0x000c4a00 in ?? ()
#1  0xc01fb029 in cpu_reboot ()
#2  0xc01a0b5a in panic ()
#3  0xc020167f in trap ()
#4  0xc0102cb3 in calltrap ()
#5  0xc01cc534 in spec_advlock ()
#6  0xc01c71a2 in VOP_ADVLOCK ()
#7  0xc01805ab in closef ()
#8  0xc020111d in syscall_plain ()

Mayby it can help to the developers, and if not please give me some hint howto track this bug down, because i still cant repeat that panic. TIA

And sry for my eng. ;)