All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] find_iomem hangs up
@ 2006-04-05 10:01 Victor V. Vengerov
  2006-04-05 14:19 ` Jeff Dike
  0 siblings, 1 reply; 2+ messages in thread
From: Victor V. Vengerov @ 2006-04-05 10:01 UTC (permalink / raw)
  To: user-mode-linux-devel

Hi,

When I've build uml with mmapper driver in, and attempted to pass 
something like iomem=xxx,yyy in command line, guest kernel hang up on 
boot. This is because of error in find_iomem - see patch below.

Victor

Index: linux-2.6.15.4.x/arch/um/kernel/physmem.c
===================================================================
--- linux-2.6.15.4.x/arch/um/kernel/physmem.c   (revision 23)
+++ linux-2.6.15.4.x/arch/um/kernel/physmem.c   (revision 24)
@@ -408,6 +408,7 @@
                        *len_out = region->size;
                        return(region->virt);
                }
+               region = region->next;
        }

        return(0);

-- 
Victor Vengerov
OKTET Labs, St.-Petersburg, Russia   Web: www.oktetlabs.ru
Phone +7 812 4286709(office) +7 812 9389372(mobile) +7 812 4281653(home)



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-05 15:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-05 10:01 [uml-devel] find_iomem hangs up Victor V. Vengerov
2006-04-05 14:19 ` Jeff Dike

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.