It looks like the Nvidia driver is attempting to allocate memory while holding a spinlock. Either that or we're explicitly in a critical section when it calls the UMA memory allocation routine (or malloc in this case). That's most likely a problem in the Nvidia driver (judging solely from your backtrace) and so I would advise you to contact its maintainer. -Bosko On Sat, Aug 23, 2003 at 07:00:47PM -0400, elec_at_netpirate.org wrote: > > > Hi I am running FreeBSD 5.1-CURRENT #4: Sat Aug 23 18:14:15 AST 2003. > I have been trying to use the NVidia driver from the > /usr/ports/x11/nvidia-driver but it causes random panics like this. > > The full backtrace is at http://196.12.160.4/~iceadmin/btfull > > > If you need more information ask please. > > > (kgdb) bt > #0 doadump () at ../../../kern/kern_shutdown.c:240 > #1 0xc031b04c in boot (howto=260) at ../../../kern/kern_shutdown.c:372 > #2 0xc031b3d7 in panic () at ../../../kern/kern_shutdown.c:550 > #3 0xc0322f65 in mi_switch () at ../../../kern/kern_synch.c:473 > #4 0xc032285a in msleep (ident=0xc060e578, mtx=0xc060e580, priority=68, > wmesg=0xc052bcab "wdrain", timo=0) at ../../../kern/kern_synch.c:255 > #5 0xc0361fd2 in bwrite (bp=0xc7a5ec08) at ../../../kern/vfs_bio.c:363 > #6 0xc0363d81 in vfs_bio_awrite (bp=0xc7a5ec08) > at ../../../kern/vfs_bio.c:1709 > #7 0xc036b647 in vop_stdfsync (ap=0xcd849944) > at ../../../kern/vfs_default.c:737 > #8 0xc02e0c00 in spec_fsync (ap=0xcd849944) > at ../../../fs/specfs/spec_vnops.c:417 > #9 0xc02dfed8 in spec_vnoperate (ap=0x0) > at ../../../fs/specfs/spec_vnops.c:122 > #10 0xc0455047 in ffs_sync (mp=0xc2b5ea00, waitfor=2, cred=0xc12b8e80, > td=0xc05e2120) at vnode_if.h:627 > #11 0xc037795b in sync (td=0xc05e2120, uap=0x0) > at ../../../kern/vfs_syscalls.c:142 > #12 0xc031aba0 in boot (howto=256) at ../../../kern/kern_shutdown.c:281 > #13 0xc031b3d7 in panic () at ../../../kern/kern_shutdown.c:550 > #14 0xc033fff0 in witness_lock (lock=0xc061b820, flags=8, > file=0xc053cdcf "vm/uma_core.c", line=1381) > ---Type <return> to continue, or q <return> to quit--- > at ../../../kern/subr_witness.c:610 > #15 0xc031144a in _mtx_lock_flags (m=0xc12cd130, opts=0, > file=0xc0579fec "\t?S?\t", line=-1067337696) > at ../../../kern/kern_mutex.c:336 > #16 0xc047dd96 in uma_zalloc_arg (zone=0xc061b820, udata=0x0, flags=257) > at ../../../vm/uma_core.c:1381 > #17 0xc030f8b3 in malloc (size=3234049760, type=0xc089b300, flags=257) > at ../../../vm/uma.h:229 > #18 0xc086ae87 in os_alloc_mem () from /boot/kernel/nvidia.ko > #19 0xc074a7fc in __nvsym00027 () from /boot/kernel/nvidia.ko > #20 0xc08551d9 in __nvsym04619 () from /boot/kernel/nvidia.ko > #21 0xc0855025 in __nvsym00709 () from /boot/kernel/nvidia.ko > #22 0xc07da74f in __nvsym03562 () from /boot/kernel/nvidia.ko > #23 0xc07d9731 in __nvsym03559 () from /boot/kernel/nvidia.ko > #24 0xc081af2a in __nvsym00646 () from /boot/kernel/nvidia.ko > #25 0xc074cbf7 in __nvsym00752 () from /boot/kernel/nvidia.ko > #26 0xc074d929 in rm_isr_bh () from /boot/kernel/nvidia.ko > #27 0xc086c418 in nvidia_intr () from /boot/kernel/nvidia.ko > #28 0xc03075b2 in ithread_loop (arg=0xc29fa080) > at ../../../kern/kern_intr.c:534 > #29 0xc03065bf in fork_exit (callout=0xc0307430 <ithread_loop>, arg=0x0, > frame=0x0) at ../../../kern/kern_fork.c:796 > > Abel Alejandro. > > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > > _______________________________________________ > freebsd-current_at_freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org" > -- Bosko Milekic * bmilekic_at_technokratis.com * bmilekic_at_FreeBSD.org TECHNOkRATIS Consulting Services * http://www.technokratis.com/Received on Mon Aug 25 2003 - 18:44:41 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:20 UTC