Re: 2.4.17 agpgart process hang on crash

From: Lars Christensen (larsch@cs.auc.dk)
Date: Sat Feb 02 2002 - 18:13:54 EST


On Sat, 2 Feb 2002, Andrew Morton wrote:

> Lars Christensen wrote:
> >
> > Hi. I have experienced a problem with the combination of kernel-2.4.16,
> > the kernel agpgart module and NVIDIA supplied drivers. I don't know which
> > is the cause of the problem.
> >
> > Symptoms: Whenever an OpenGL application crashes (segfault etc.), the
> > process hangs and can't be killed. Responds to no signals (not even 9). ps
> > -ef hangs, it seems, when the crashed process is to be listed (some other
> > processes are listed first).
> >
> > Hardware: AMD Athlon 1.333HGZ, ASUS M266 motherboard (AMD761 AGP
> > chipset), NVIDIA GeForce2 MX400 gfx card.
> >
> > The mem=nopentium option have no effect on the problem, but it doesn't
> > occur if I use the NVIDIA AGP drivers or kernel 2.4.16 agp drivers. I am
> > not able to test the 2.4.17 agpgart with other 3D hardware that nvidia.
> >
>
> This is possibly because the crashing application tries to dump
> core, and the kernel gets a fault accessing the video card's
> mapping, and deadlocks over the recursive attempt to take mmap_sem.
>
> Please apply this patch:
>
> http://www.zip.com.au/~akpm/linux/2.4/2.4.18-pre7/fbmem-mmap.patch
>
> and send a report back.

No luck. Still hangs (e.g. with ./testgart & pkill -ABRT testgart), with
and without that patch and with and without 2.4.18-pre7. Does seem to
happen when dumping core--it doesn't happen with core dumping disabled.

-- 
Lars Christensen, larsch@cs.auc.dk

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:00:25 EST