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

Re: [Xen-devel] Mkinitramfs wants minimum 2.6.19 kernel!


  • To: "Jan De Landtsheer" <jan.de.landtsheer@xxxxxxxxxx>
  • From: "Emre Erenoglu" <erenoglu@xxxxxxxxx>
  • Date: Mon, 5 Mar 2007 15:16:43 +0100
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Jacob Gorm Hansen <jacobg@xxxxxxx>
  • Delivery-date: Mon, 05 Mar 2007 06:15:49 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Mr+VMZ11bO94bIk8CQSJPuN28WrCSJJhjANFM/ej0nfOTO5IvN4VkEKG+RrNtpIWf4vtb8ltl0Bin/iNqAceMSw27YtLfyPfLfcComwoy4IX+oelw2CMBx1Kjs7tYpu617z9+FWYDwmXXI5Jmfsz3MLcGZPaTMxpy8jgmd6B7iI=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi All,

Thanks for your answers. I filed a bug report to Ubuntu Feisty guys
and got this response:

From: scott@xxxxxxxxxx
Date: Mon, 5 Mar 2007 10:19:22 +0000
Subject: [Bug 89773] Re: Cannot Create initrd image for kernel < 2.6.19
To: erenoglu@xxxxxxxxxxx

This is correct.

We don't support booting feisty with kernels < 2.6.19

** Changed in: udev (Ubuntu)
Status: Unconfirmed => Rejected

--
Cannot Create initrd image for kernel < 2.6.19
https://launchpad.net/bugs/89773

So it seems Feisty is dead regarding Xen compilation from Source
(nevertheless, they have packages for Xen 3.0.3 or 3.0.4).

Can you guys suggest me another distro for having my base Dom0 on?
Maybe Gentoo, Fedora Core or Suse?

Jan, how can I implement your workaround? When I use bash -x I don't
see any file it greps. Here's the output:

emre@xen:~$ bash -x /usr/sbin/mkinitramfs
+ umask 0022
+ keep=n
+ CONFDIR=/etc/initramfs-tools
+ verbose=n
+ errors_to='2>/dev/null'
+ BUSYBOXDIR=/usr/lib/initramfs-tools/bin/
++ getopt -o d:ko:r:v --long
supported-host-version:,supported-target-version: -n
/usr/sbin/mkinitramfs --
+ OPTIONS=' --'
+ '[' 0 '!=' 0 ']'
+ eval set -- ' --'
++ set -- --
+ true
+ case "$1" in
+ shift
+ break
+ '[' -n '' ']'
+ '[' -n '' ']'
+ . /usr/share/initramfs-tools/scripts/functions
+ . /usr/share/initramfs-tools/hook-functions
+ . /etc/initramfs-tools/initramfs.conf
++ MODULES=most
++ BUSYBOX=y
++ BOOT=local
++ DEVICE=eth0
++ NFSROOT=auto
+ EXTRA_CONF=
+ for i in '/usr/share/initramfs-tools/conf.d/*' '${CONFDIR}/conf.d/*'
++ basename '/usr/share/initramfs-tools/conf.d/*'
++ grep '^[a-z0-9][a-z0-9\._-]*$'
++ grep -v '\.dpkg-.*$'
+ EXTRA_CONF=' '
+ for i in '/usr/share/initramfs-tools/conf.d/*' '${CONFDIR}/conf.d/*'
++ basename /etc/initramfs-tools/conf.d/resume
++ grep '^[a-z0-9][a-z0-9\._-]*$'
++ grep -v '\.dpkg-.*$'
+ EXTRA_CONF='  resume'
+ for i in '${EXTRA_CONF}'
+ '[' -e /etc/initramfs-tools/conf.d/resume ']'
+ . /etc/initramfs-tools/conf.d/resume
++ RESUME=UUID=4f62d698-306b-4ab3-8dee-8350b5115dd3
+ '[' -n '' ']'
+ '[' -z '' ']'
+ usage
+ cat

Usage: /usr/sbin/mkinitramfs [OPTION]... <-o outfile> [version]

Options:
 -d confdir  Specify an alternative configuration directory.
 -k          Keep temporary directory used to make the image.
 -o outfile  Write to outfile.
 -r root     Override ROOT setting in mkinitrd.conf.

See mkinitramfs(8) for further details.
+ exit 1


Thanks a lot,

Emre



On 3/5/07, Jan De Landtsheer <jan.de.landtsheer@xxxxxxxxxx> wrote:


do a bash -x of mkinitramfs, and alter the latest file it greps form to be
2.6.18, it just works after that



-----Original Message-----
From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx on behalf of
Jacob Gorm Hansen
Sent: Mon 3/5/2007 1:38 PM
To: Emre Erenoglu
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Mkinitramfs wants minimum 2.6.19 kernel!

On Mon, 2007-03-05 at 02:23 +0100, Emre Erenoglu wrote:
> Dear Developers,

> root@xen:/boot/xen# depmod 2.6.18-xen
> root@xen:/boot/xen# mkinitramfs -o /boot/xen/initrd-2.6.18-xen.img
2.6.18-xen
> W: udev hook script requires at least kernel version 2.6.19
> W: not generating requested initramfs for kernel 2.6.18-xen
>
> So mkinitramfs complains that my udev scripts need at least kernel
> 2.6.19. Would one of you have any clue on how to overcome this
> problem?

Perhaps switch to a distro not written by thirteen-year olds... I am
pretty disgusted at the level of 'integration' between many modern
distros and the Linux kernel. It used to be you could just drop in
whatever kernel you liked, but these days your system may not even boot
if you don't have a bleeding-edge kernel.

In other words, I would report this bug to Ubuntu or whoever wrote the
script.

Regards,
Jacob


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




-----Original Message-----
From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx on behalf of
Jacob Gorm Hansen
Sent: Mon 3/5/2007 1:38 PM
To: Emre Erenoglu
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Mkinitramfs wants minimum 2.6.19 kernel!

On Mon, 2007-03-05 at 02:23 +0100, Emre Erenoglu wrote:
> Dear Developers,

> root@xen:/boot/xen# depmod 2.6.18-xen
> root@xen:/boot/xen# mkinitramfs -o /boot/xen/initrd-2.6.18-xen.img
2.6.18-xen
> W: udev hook script requires at least kernel version 2.6.19
> W: not generating requested initramfs for kernel 2.6.18-xen
>
> So mkinitramfs complains that my udev scripts need at least kernel
> 2.6.19. Would one of you have any clue on how to overcome this
> problem?

Perhaps switch to a distro not written by thirteen-year olds... I am
pretty disgusted at the level of 'integration' between many modern
distros and the Linux kernel. It used to be you could just drop in
whatever kernel you liked, but these days your system may not even boot
if you don't have a bleeding-edge kernel.

In other words, I would report this bug to Ubuntu or whoever wrote the
script.

Regards,
Jacob


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






--
Emre Erenoglu
erenoglu@xxxxxxxxx
emre.erenoglu@xxxxxxxxxxxx

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


 


Rackspace

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