lkml.org 
[lkml]   [2004]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: rc4-mm1 and pwc-unofficial: kernel BUG and scheduling while atomic [u]
From
Date
On Sun, 2004-10-17 at 02:30 -0700, William Lee Irwin III wrote:
> On Sun, Oct 17, 2004 at 09:36:14AM +0200, Norbert Preining wrote:
> > @@ -1618,7 +1618,7 @@
> > pos = (unsigned long)pdev->image_data;
> > while (size > 0) {
> > page = kvirt_to_pa(pos);
> > - if (remap_page_range(vma, start, page, PAGE_SIZE,
> > PAGE_SHARED))
> > + if (remap_pfn_range(vma, start, page, PAGE_SIZE, PAGE_SHARED))
> > return -EAGAIN;
> >
> > start += PAGE_SIZE;
> > the module compiled and loaded without problem, but when starting
> > gnomemeeting I get the following kernel BUG and scheduling while atomic:
>
> You need to right shift the argument by PAGE_SHIFT.
>

I am trying to get vesafb-tng to work with rc4-mm1, but are not sure
when to shift the argument by PAGE_SHIFT, and when not to. The patches
from you in rc4-mm1 sometimes shifts the second arg, other times the
third, and other times not at all. Is there a easy way for a mostly
clueless person to figure out when to shift what argument and when not?


Thanks,

--
Martin Schlemmer

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.035 / U:0.796 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site