[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: "Teck Choon Giam" <giamteckchoon@xxxxxxxxx>
  • 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
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.