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-users

Re: [Xen-users] compiling kernel in Centos Domu

To: Ian Tobin <itobin@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] compiling kernel in Centos Domu
From: Teck Choon Giam <giamteckchoon@xxxxxxxxx>
Date: Thu, 6 Oct 2011 03:09:15 +0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 05 Oct 2011 12:12:25 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=RWLz16+K4t2/KQLKBv9nBcvoVkVQSZ6fpL7kChHvUGw=; b=o1SNo0MmN7pKUwiHJ/aoXkiKeWEEvpfFm/0omryTRHEjytEAPedr1DkDq4uiATJs9C yrVXtewlx7v17QHSOk4owFRJQYu0bp+wszKCmt6mGNq85CGz8dUpsPY5MMXIZkbdLp+t sja5sAZLo9xis2C2RgQggonIsQsxiNrmFn78c=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <039E0B4AA9103344A80DA55DDDC76A936A6070@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <039E0B4AA9103344A80DA55DDDC76A936A6070@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Oct 6, 2011 at 2:57 AM, Ian Tobin <itobin@xxxxxxxxxxxxx> wrote:
> Hi,
>
>
>
> Im trying to compile kernel 3.0.4 inside Centos 5 DomU
>
>
>
> The steps I do are
>
>
>
> Make bzImage
>
> Make modules
>
> Make modules_install
>
> Depmod –a
>
> mkinitrd /boot/initrd.img-3.0.4 3.0.4
>
>
>
> but them im getting this
>
>
>
> -bash-3.2# mkinitrd /boot/initrd.img-3.0.4 3.0.4
>
> ls: /etc/modprobe.d/*.conf: No such file or directory
>
> No module ehci-hcd found for kernel 3.0.4, aborting.
>
>
>
> If I exclude the modules its goes on forever.  I don’t have this issue in
> Debian Domu so what am I missing?
>

Certain modules are built-in depending on your kernel config.  You
might want to try the below and see whether does your domU boot with
that kernel:

mkinitrd -v -f --builtin=ehci-hcd --builtin=uhci-hcd
--builtin=ohci-hcd --builtin=usb-storage /boot/initrd.img-3.0.4 3.0.4

Thanks.

Kindest regards,
Giam Teck Choon

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