WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

[Xen-ia64-devel] Re: blkbk/netbk modules fail to load on fedora xen/ia64

To: Aron Griffis <aron@xxxxxx>, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] Re: blkbk/netbk modules fail to load on fedora xen/ia64
From: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Date: Fri, 22 Sep 2006 18:32:29 +0900
Cc: fedora-xen@xxxxxxxxxx, jean-paul.pigache@xxxxxxxx, "Silbermann, Martine" <martine.silbermann@xxxxxx>, ia64 Fedora Core Development <fedora-ia64-list@xxxxxxxxxx>, David Cardos <david.cardos@xxxxxx>
Delivery-date: Fri, 22 Sep 2006 02:33:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060922022456.GA13132@xxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20060922011305.GA28162@xxxxxxxxx> <7AC6DDE9DEC138takebe_akio@xxxxxxxxxxxxxx> <20060922022456.GA13132@xxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi, Aron and all

>> We may have to change dom0_mem of FC6 default to 1GB.
>> But I think the best fix is (1) statically link the modules.
>> (Because all kernel-xen need blkbk/netbk and xenblk/net. 
>> ide module is also static link. And because xen community member
>> test the statically linked modules, I think the statically linked
>> modules is stabler than the dynamic linked modlues.)
>
>I don't mind asking RH to statically link the modules if there is good
>reason.  However I don't understand why it is needed.  512M is a lot
>of memory!  How can it be filled to the extent that the blkbk/netbk
>modules won't load?  What are their requirements?
>

Please see the following error message.
    FATAL: Error inserting blkbk
    (/lib/modules/2.6.17-1.2566.fc6xen/kernel/drivers/xen/
    blkback/blkbk.ko): Cannot allocate memory
    modprobe: page allocation failure. order:8, mode:0xd0

blkbk.ko request order8 pages in blkif_init().
order8 pages is very big.
page_alloc() probably fail when it is requested order8 pages,
because page_alloc() must return contiguos pages.
Especially after boot and terminate some processes,
page_alloc() is hard to allocate order8 pages.

So when dom0_mem=1G, page_allo() is easier to allocate them 
than dom0_mem=512M.
And when statically linked modules, page_alloc() is the easest 
to allocate them.

I think implementation of blk/netbk.ko is not good.
But I think statically linked modules is the best solution in your 
solutions.
And I think this issue is happened in the case of not only ia64,
but also x86.
(In the case of x86, default size of dom0_mem is physcal memory size.
So this issue is hard to be happened.)

Please commets.

FYI
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=202971

Best Regards,

Akio Takebe


_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel