Skip to contentSkip to conversation

find_iomem hangs up

uml-devel Applied Victor V. Vengerov 2 participants 2 messages Apr 5, 2006 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

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

arch/um/kernel/physmem.c (revision 24) renamed from arch/um/kernel/physmem.c (revision 23) +1 -0
Index: linux-2.6.15.4.x/arch/um/kernel/physmem.c
===================================================================
@@ -408,6 +408,7 @@
                       *len_out = region->size;
                       return(region->virt);
               }
+               region = region->next;
       }
 
       return(0);
Signature · 15 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Applied
#1 lore raw
Quoted 3 lines · Victor V. Vengerov

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.

Applied, thanks.

Jeff

-------------------------------------------------------
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel