lkml.org 
[lkml]   [2005]   [Dec]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: system keeps freezing once every 24 hours / random apps crashing
On Sat, Dec 31, 2005 at 07:43:43PM +0100, Jiri Slaby wrote:
> >Hi Sami,
> >
> >That caused also a crash, i kept pressing the v key and within 15
> >seconds it crashed, then i saw the crash-info appear in the log and when
> >i clicked on mozilla then it crashed too but without crahs info and
> >system froze totally.
> >
> >Below the crash info:
> >
> >Dec 31 17:38:32 localhost kernel: Unable to handle kernel paging request
> >at virtual address c8111000
> >Dec 31 17:38:32 localhost kernel: printing eip:
> >Dec 31 17:38:32 localhost kernel: c036037a
> >Dec 31 17:38:32 localhost kernel: *pgd = 21063
> >Dec 31 17:38:32 localhost kernel: *pmd = 21063
> >Dec 31 17:38:32 localhost kernel: *pte = 8111000
> >Dec 31 17:38:32 localhost kernel: Oops: 0002 [#4]
> [snip]
> Could you try the attached patch?
>
> --
> diff --git a/drivers/media/video/bttv-risc.c b/drivers/media/video/bttv-risc.c
> --- a/drivers/media/video/bttv-risc.c
> +++ b/drivers/media/video/bttv-risc.c
> @@ -53,7 +53,7 @@ bttv_risc_packed(struct bttv *btv, struc
> /* estimate risc mem: worst case is one write per page border +
> one write per scan line + sync + jump (all 2 dwords) */
> instructions = (bpl * lines) / PAGE_SIZE + lines;
> - instructions += 2;
> + instructions += 4;
> if ((rc = btcx_riscmem_alloc(btv->c.pci,risc,instructions*8)) < 0)
> return rc;

This patch has the effect that xawtv crashed system two times faster
than earlier... now we're at two seconds.

--
-
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/

\
 
 \ /
  Last update: 2005-12-31 23:05    [W:0.075 / U:1.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site