List Info

Thread: uvm_fault() panic with 4.99.21 in fifo_poll()




uvm_fault() panic with 4.99.21 in fifo_poll()
country flaguser name
United States
2007-07-21 18:35:32
Hi,

I had a panic this evening while shutting down my laptop.
Here is the
end of the msgbuf:

wsdisplay0: screen 4 added (80x25, vt100 emulation)
acpiacad0: AC adapter online
[...]
acpi0: power button pressed, shutting down!
syncing disks... done
unmounting file systems..
uvm_fault(0xca8abe00,0, 1) -> 0xe

dumping to dev 0,1 offset 264823.dump 383 382 ....

I've been able to get a core, but the kernel was not build
with
debugging information, so the trace is not really helpful:

#0  0xc03a90df in cpu_reboot ()
[...]
#5  0xc03a524e in kdb_trap ()
#6  0xc03b39f5 in trap ()
#7  0xc0102cdf in calltrap ()
#8  0xc035ba89 in fifo_poll ()
#9  0xc035abeb in VOP_POLL ()
#10 0xc0328a9a in selscan ()
#11 0xc0328e95 in selcommon ()
#12 0xc0329149 in sys_select ()
#13 0xc03b3406 in syscall_plain ()
#14 0xc01004b7 in syscall1 ()

It looks similar to http://mail-index.netbsd.org/port-i386/2007/04/17/000
7.html 
I'll update tonight to the latest -current and see if it
happens
again ...
 
 - Arnaud


Re: uvm_fault() panic with 4.99.21 in fifo_poll()
country flaguser name
Finland
2007-07-21 18:50:19
On Sat Jul 21 2007 at 23:35:32 +0000, Arnaud Lacombe wrote:
> Hi,
> 
> I had a panic this evening while shutting down my
laptop. Here is the
> end of the msgbuf:
> 
> wsdisplay0: screen 4 added (80x25, vt100 emulation)
> acpiacad0: AC adapter online
> [...]
> acpi0: power button pressed, shutting down!
> syncing disks... done
> unmounting file systems..
> uvm_fault(0xca8abe00,0, 1) -> 0xe
> 
> dumping to dev 0,1 offset 264823.dump 383 382 ....
> 
> I've been able to get a core, but the kernel was not
build with
> debugging information, so the trace is not really
helpful:
> 
> #0  0xc03a90df in cpu_reboot ()
> [...]
> #5  0xc03a524e in kdb_trap ()
> #6  0xc03b39f5 in trap ()
> #7  0xc0102cdf in calltrap ()
> #8  0xc035ba89 in fifo_poll ()
> #9  0xc035abeb in VOP_POLL ()
> #10 0xc0328a9a in selscan ()
> #11 0xc0328e95 in selcommon ()
> #12 0xc0329149 in sys_select ()
> #13 0xc03b3406 in syscall_plain ()
> #14 0xc01004b7 in syscall1 ()

It would be interesting to know the file system this vnode
is on.
You might be able to extract that information even without
debugging
symbols by some offset tricks.  The vnode address is the
first argument
to VOP_POLL.

Anyway, I'm guessing the vnode was reclaimed before this
call and
therefore vp->v_data is NULL.  Maybe some fs can block in
reclaim
(although that would be a bit too easy)?

> It looks similar to http://mail-index.netbsd.org/port-i386/2007/04/17/000
7.html 
> I'll update tonight to the latest -current and see if
it happens
> again ...

*might* even be related to
http://mail-index.netbsd.org/current-users/2007/0
7/16/0008.html
and
http://mail-index.netbsd.org/current-users/2007/0
7/17/0028.html

who knows?  (if someone does, please tell me ;)

-- 
Antti Kantee <pookaiki.fi>                     Of course
he runs NetBSD
http://www.iki.fi/pooka/
                         http://www.NetBSD.org/
    "la qualité la plus indispensable du cuisinier est
l'exactitude"

Re: uvm_fault() panic with 4.99.21 in fifo_poll()
country flaguser name
United States
2007-07-23 06:11:53
On Sat, Jul 21, 2007 at 11:35:32PM +0000, Arnaud Lacombe
wrote:
> acpi0: power button pressed, shutting down!
> syncing disks... done
> unmounting file systems..
> uvm_fault(0xca8abe00,0, 1) -> 0xe
> 
I've been able to reproduce the panic, but still on 4.99.21.
It seems to be
triggered after a long bittorrent activity on the disk. I
keep record of the
argument address recorded by ddb and try to see what happen
...

 - Arnaud


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )