Dear Developers, I''m sorry to disturb you with this problem, however, I couldn''t find any clue in neither Ubuntu nor Xen mail lists, so this was my last way out: I have a Ubuntu Feisty latest beta on my system with 2.6.20-9-generic kernel from Ubuntu Archives. I built the latest Xen from mercurial repository (as of March 4, 2007) in this system, everything went fairly well after including bcc, -fno-stack-protector tricks etc. now I''m trying to build an initrd image, as I have LVM and RAID on my disks. Here''s the problem: 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? Thanks and Best regards, Emre _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Petersson, Mats
2007-Mar-05 11:49 UTC
RE: [Xen-devel] Mkinitramfs wants minimum 2.6.19 kernel!
> -----Original Message----- > From: xen-devel-bounces@lists.xensource.com > [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of > Emre Erenoglu > Sent: 05 March 2007 01:24 > To: xen-devel@lists.xensource.com > Subject: [Xen-devel] Mkinitramfs wants minimum 2.6.19 kernel! > > Dear Developers, > > I''m sorry to disturb you with this problem, however, I couldn''t find > any clue in neither Ubuntu nor Xen mail lists, so this was my last way > out: > > I have a Ubuntu Feisty latest beta on my system with 2.6.20-9-generic > kernel from Ubuntu Archives. > > I built the latest Xen from mercurial repository (as of March 4, 2007) > in this system, everything went fairly well after including bcc, > -fno-stack-protector tricks etc. > > now I''m trying to build an initrd image, as I have LVM and > RAID on my disks. > > Here''s the problem: > > 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?My guess is that you can simply edit mkinitramfs to "chop out" the check for version of the kernel. However, there may be other parts of the produced file that doesn''t work - the check is PROBABLY there for some good reason! But it''s a simple change - just do "<your favourite editor> `which mkinitramfs`" [note that those are "back-quotes" around the "which" statement] and search for the error message, then remove (comment out by adding # at the start of the lines) the whole if-statement that checks the version. The other, more complex solution would be to change the version of the kernel in Xen. There''s been a few posts on Xen-users to explain how to do that, but if you''re not familiar with debugging why a Linux kernel doesn''t work, that''s probably not an easy to achieve task. -- Mats> > Thanks and Best regards, > > Emre > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jacob Gorm Hansen
2007-Mar-05 12:38 UTC
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@lists.xensource.com http://lists.xensource.com/xen-devel
Jan De Landtsheer
2007-Mar-05 13:12 UTC
RE: [Xen-devel] Mkinitramfs wants minimum 2.6.19 kernel!
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@lists.xensource.com on behalf of Jacob Gorm Hansen Sent: Mon 3/5/2007 1:38 PM To: Emre Erenoglu Cc: xen-devel@lists.xensource.com 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@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Emre Erenoglu
2007-Mar-05 14:16 UTC
Re: [Xen-devel] Mkinitramfs wants minimum 2.6.19 kernel!
Hi All, Thanks for your answers. I filed a bug report to Ubuntu Feisty guys and got this response:> From: scott@ubuntu.com > Date: Mon, 5 Mar 2007 10:19:22 +0000 > Subject: [Bug 89773] Re: Cannot Create initrd image for kernel < 2.6.19 > To: erenoglu@hotmail.com > > 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/89773So 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@qlayer.com> 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@lists.xensource.com on behalf of > Jacob Gorm Hansen > Sent: Mon 3/5/2007 1:38 PM > To: Emre Erenoglu > Cc: xen-devel@lists.xensource.com > 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@lists.xensource.com > http://lists.xensource.com/xen-devel > > > > > -----Original Message----- > From: xen-devel-bounces@lists.xensource.com on behalf of > Jacob Gorm Hansen > Sent: Mon 3/5/2007 1:38 PM > To: Emre Erenoglu > Cc: xen-devel@lists.xensource.com > 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@lists.xensource.com > http://lists.xensource.com/xen-devel > > > >-- Emre Erenoglu erenoglu@gmail.com emre.erenoglu@erenoglu.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Chuck Short
2007-Mar-05 14:20 UTC
Re: [Xen-devel] Mkinitramfs wants minimum 2.6.19 kernel!
Hi, Feisty has support for 3.0.3. apt-get install ubuntu-xen{desktop,server}. chuck On 3/5/07, Jacob Gorm Hansen <jacobg@diku.dk> wrote:> 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@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Emre Erenoglu
2007-Mar-05 17:18 UTC
Re: [Xen-devel] Mkinitramfs wants minimum 2.6.19 kernel!
Hi Chuck, First of all, thank you very much for your response. I just sent you a personal email as I didn''t recognize you sent a response here. Chuck, I''m more looking into having 3.0.4 or a development version of 3.0.5 (as I do daily builds). I think at least having 3.0.4 is necessary as it has a lot of fixes for HVM domains. Is it possible to install 3.0.3 with 2.6.19 from the packagas, than "upgrade" to 3.0.4 or latest daily build without touching the 2.6.19 kernel? Please let me know if you''d need some help (testing, bug reporting, porting to 2.6.20 etc.) with Xen on Ubuntu! Thanks, Emre On 3/5/07, Chuck Short <zulcss@gmail.com> wrote:> Hi, > > Feisty has support for 3.0.3. > > apt-get install ubuntu-xen{desktop,server}. > > chuck > > On 3/5/07, Jacob Gorm Hansen <jacobg@diku.dk> wrote: > > 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@lists.xensource.com > > http://lists.xensource.com/xen-devel > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >-- Emre Erenoglu erenoglu@gmail.com emre.erenoglu@erenoglu.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Cédric Schieli
2007-Mar-05 17:51 UTC
Re: [Xen-devel] Mkinitramfs wants minimum 2.6.19 kernel!
Hello, I''ve setup a repository dedicated to Xen 3.0.4 for Feisty. It is located at http://cedric.gabriello.fr/ubuntu Hypervisor and tools are 3.0.4 plus some pygrub and pvfb fixes backported from xen-unstable Kernel is Chuck''s 3.0.3 plus pvfb kernel parts backported from xen-unstable I''ve built i386 packages only but they should build on amd64 without much trouble. Cedric 2007/3/5, Emre Erenoglu <erenoglu@gmail.com>:> > Hi Chuck, > > First of all, thank you very much for your response. I just sent you a > personal email as I didn''t recognize you sent a response here. > > Chuck, I''m more looking into having 3.0.4 or a development version of > 3.0.5 (as I do daily builds). I think at least having 3.0.4 is > necessary as it has a lot of fixes for HVM domains. > > Is it possible to install 3.0.3 with 2.6.19 from the packagas, than > "upgrade" to 3.0.4 or latest daily build without touching the 2.6.19 > kernel? > > Please let me know if you''d need some help (testing, bug reporting, > porting to 2.6.20 etc.) with Xen on Ubuntu! > > Thanks, > > Emre > > > On 3/5/07, Chuck Short <zulcss@gmail.com> wrote: > > Hi, > > > > Feisty has support for 3.0.3. > > > > apt-get install ubuntu-xen{desktop,server}. > > > > chuck > > > > On 3/5/07, Jacob Gorm Hansen <jacobg@diku.dk> wrote: > > > 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@lists.xensource.com > > > http://lists.xensource.com/xen-devel > > > > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > > > > > -- > Emre Erenoglu > erenoglu@gmail.com > emre.erenoglu@erenoglu.com > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Emre Erenoglu
2007-Mar-05 19:34 UTC
Re: [Xen-devel] Mkinitramfs wants minimum 2.6.19 kernel!
Thank you all. I''ll now try Cedric''s repositories. Best regards, Emre On 3/5/07, Cédric Schieli <cschieli@gmail.com> wrote:> Hello, > > > I''ve setup a repository dedicated to Xen 3.0.4 for Feisty. > It is located at http://cedric.gabriello.fr/ubuntu > Hypervisor and tools are 3.0.4 plus some pygrub and pvfb fixes backported > from xen-unstable > Kernel is Chuck''s 3.0.3 plus pvfb kernel parts backported from xen-unstable > I''ve built i386 packages only but they should build on amd64 without much > trouble. > > > Cedric > > > 2007/3/5, Emre Erenoglu <erenoglu@gmail.com>: > > Hi Chuck, > > > > First of all, thank you very much for your response. I just sent you a > > personal email as I didn''t recognize you sent a response here. > > > > Chuck, I''m more looking into having 3.0.4 or a development version of > > 3.0.5 (as I do daily builds). I think at least having 3.0.4 is > > necessary as it has a lot of fixes for HVM domains. > > > > Is it possible to install 3.0.3 with 2.6.19 from the packagas, than > > "upgrade" to 3.0.4 or latest daily build without touching the 2.6.19 > > kernel? > > > > Please let me know if you''d need some help (testing, bug reporting, > > porting to 2.6.20 etc.) with Xen on Ubuntu! > > > > Thanks, > > > > Emre > > > > > > On 3/5/07, Chuck Short <zulcss@gmail.com> wrote: > > > Hi, > > > > > > Feisty has support for 3.0.3. > > > > > > apt-get install ubuntu-xen{desktop,server}. > > > > > > chuck > > > > > > On 3/5/07, Jacob Gorm Hansen <jacobg@diku.dk> wrote: > > > > 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@lists.xensource.com > > > > http://lists.xensource.com/xen-devel > > > > > > > > > > _______________________________________________ > > > Xen-devel mailing list > > > Xen-devel@lists.xensource.com > > > http://lists.xensource.com/xen-devel > > > > > > > > > -- > > Emre Erenoglu > > erenoglu@gmail.com > > emre.erenoglu@erenoglu.com > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > > > >-- Emre Erenoglu erenoglu@gmail.com emre.erenoglu@erenoglu.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel