linux-um archives
 help / color / mirror / Atom feed
From: "Victor V. Vengerov" <Victor.Vengerov@oktetlabs.ru>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] find_iomem hangs up
Date: Wed, 05 Apr 2006 14:01:51 +0400	[thread overview]
Message-ID: <4433958F.3090200@oktetlabs.ru> (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

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

             reply	other threads:[~2006-04-05 10:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-05 10:01 Victor V. Vengerov [this message]
2006-04-05 14:19 ` [uml-devel] find_iomem hangs up Jeff Dike

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=4433958F.3090200@oktetlabs.ru \
    --to=victor.vengerov@oktetlabs.ru \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox