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: "Teck Choon Giam" <giamteckchoon@xxxxxxxxx>
Subject: RE: [Xen-users] compiling kernel in Centos Domu
From: "Ian Tobin" <itobin@xxxxxxxxxxxxx>
Date: Wed, 5 Oct 2011 20:13:27 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 05 Oct 2011 12:14:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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> <CAEwRVpPWhqg2O2C1B5MLotRNN7a-5G_nanUSaOVPaZ9OGm5HnQ@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcyDkkkGUFoNXa5+S3O5MLxY0UwWQAAAH7XQ
Thread-topic: [Xen-users] compiling kernel in Centos Domu
Hi,

This is what I get now

-bash-3.2# mkinitrd -v -f --builtin=ehci-hcd --builtin=uhci-hcd 
--builtin=ohci-hcd --builtin=usb-storage /boot/initrd.img-3.0.4 3.0.4
Creating initramfs
ls: /etc/modprobe.d/*.conf: No such file or directory
Modulefile is
module ehci-hcd assumed to be built in
module ohci-hcd assumed to be built in
module uhci-hcd assumed to be built in
Looking for deps of module ext3
Looking for driver for device hda1
Looking for driver for device hda2


Its just hanging

Thanks

Ian



-----Original Message-----
From: Teck Choon Giam [mailto:giamteckchoon@xxxxxxxxx] 
Sent: 05 October 2011 20:09
To: Ian Tobin
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] compiling kernel in Centos Domu

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