Re: system keeps freezing once every 24 hours / random apps crashing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux