All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Osterlund <petero2@telia.com>
To: kraxel@bytesex.org
Cc: linux-kernel list <linux-kernel@vger.kernel.org>,
	Eyal Lebedinsky <eyal@eyal.emu.id.au>
Subject: Re: 2.6.10-rc1 bttv oops in btcx_riscmem_free
Date: 07 Nov 2004 00:17:00 +0100	[thread overview]
Message-ID: <m3llder2j7.fsf@telia.com> (raw)
In-Reply-To: <m3wtx86s07.fsf@telia.com>

Peter Osterlund <petero2@telia.com> writes:

> Eyal Lebedinsky <eyal@eyal.emu.id.au> writes:
> 
> > Watching on Mythtv, I stopped watching on the client. at this point
> > the picture froze. Looking in dmesg I see this oops. The machine
> > quicly becomes unusable ('ps aux' hangs).
> > 
> > I then applied the v4l patches off the list. Still the same problem.
> > 
> > Unable to handle kernel paging request at virtual address 85525fe9
> 
> I have similar problems using 2.6.10-rc1-bk8. Often when I exit
> tvtime, I get "unable to handle kernel paging request" or "unable to
> handle kernel NULL pointer", see below.

I found the bug. Here is a patch to fix it.

Signed-off-by: Peter Osterlund <petero2@telia.com>
---

 linux-petero/drivers/media/video/video-buf.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/media/video/video-buf.c~bttv-fix3 drivers/media/video/video-buf.c
--- linux/drivers/media/video/video-buf.c~bttv-fix3	2004-11-07 00:10:04.632421064 +0100
+++ linux-petero/drivers/media/video/video-buf.c	2004-11-07 00:10:04.635420608 +0100
@@ -1063,7 +1063,7 @@ videobuf_vm_close(struct vm_area_struct 
 				continue;
 			map->q->bufs[i]->map   = NULL;
 			map->q->bufs[i]->baddr = 0;
-			map->q->ops->buf_release(vma->vm_file,map->q->bufs[i]);
+			map->q->ops->buf_release(vma->vm_file->private_data,map->q->bufs[i]);
 		}
 		kfree(map);
 	}
_

-- 
Peter Osterlund - petero2@telia.com
http://w1.894.telia.com/~u89404340

      parent reply	other threads:[~2004-11-06 23:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-30 13:49 2.6.10-rc1 bttv oops in btcx_riscmem_free Eyal Lebedinsky
2004-10-30 17:22 ` Peter Osterlund
2004-10-31 14:59   ` Peter Osterlund
2004-11-04 11:29   ` Gerd Knorr
2004-11-04 20:26     ` Peter Osterlund
2004-11-06 23:17   ` Peter Osterlund [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3llder2j7.fsf@telia.com \
    --to=petero2@telia.com \
    --cc=eyal@eyal.emu.id.au \
    --cc=kraxel@bytesex.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.