From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernhard Held Subject: Re: Very high memory usage with KVM Date: Mon, 10 Aug 2009 18:15:17 +0200 Message-ID: <4A804795.8080302@mgpi.de> References: <20090725174340.GA21733@defiant.freesoftware.org> <4A6C3EAD.9040303@redhat.com> <20090726145603.GD31411@defiant.freesoftware.org> <4A6C721F.8030702@redhat.com> <20090726155012.GE31411@defiant.freesoftware.org> <4A6C821B.5020007@redhat.com> <20090808005428.GB6072@defiant.freesoftware.org> <4A7FC0F0.4080205@mgpi.de> <20090810152241.GC16293@defiant.freesoftware.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit To: dbareiro@gmx.net, kvm@vger.kernel.org Return-path: Received: from smtp.mgpi.de ([212.202.249.42]:46701 "EHLO smtp.mgpi.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753081AbZHJQPS (ORCPT ); Mon, 10 Aug 2009 12:15:18 -0400 In-Reply-To: <20090810152241.GC16293@defiant.freesoftware.org> Sender: kvm-owner@vger.kernel.org List-ID: Hi Daniel! > I've set in the kernel config: > > CONFIG_FIRMWARE_IN_KERNEL=y And what happened? Are you sure you recompiled and booted the new kernel with CONFIG_FIRMWARE_IN_KERNEL=y? > Although I don't see the asked file in initramfs. The file with full > path is /lib/firmware/bnx2/bnx2-mips-06-4.6.16.fw: > > # zcat /boot/initrd.img-2.6.30.4-dgb | cpio -t | grep bnx2 > lib/modules/2.6.30.4-dgb/kernel/drivers/net/bnx2.ko > 300859 blocks > > Whereupon this variable is set to 'y' would not have to be sufficient? > > > 1) Perhaps firmware must be in some other directory. > 2) Perhaps there is no access to the FS in /lib at the moment that loads > drivers. > Obviously bnx2.ko is loaded from initramfs. At that time the root filesystem is not accessible. I expected CONFIG_FIRMWARE_IN_KERNEL=y is sufficient to solve the problem. Here is what I would try: - make sure the firmware is included in your kernel, or - keep bnx2.ko from including in initramfs (unless you boot via network), or - include /lib/firmware/bnx2/bnx2-mips-06-4.6.16.fw in initramfs HTH Bernhard